Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process to reverse sales transaction does not work(POS) #498

Closed
wdtz opened this issue Aug 16, 2016 · 1 comment
Closed

Process to reverse sales transaction does not work(POS) #498

wdtz opened this issue Aug 16, 2016 · 1 comment

Comments

@wdtz
Copy link
Collaborator

wdtz commented Aug 16, 2016

Trying to reverse a sales transaction generates the following error: "QueryMoreThanOneRecordsFound"
image

ReverseTheSalesTransaction.process: QueryMoreThanOneRecordsFound [69]
org.adempiere.exceptions.DBException: QueryMoreThanOneRecordsFound
    at org.compiere.model.Query.firstId(Query.java:409)
    at org.compiere.model.Query.firstIdOnly(Query.java:380)
    at org.adempiere.pos.process.ReverseTheSalesTransaction.getRMATypeId(Unknown Source)
    at org.adempiere.pos.process.ReverseTheSalesTransaction.cancelShipments(Unknown Source)
    at org.adempiere.pos.process.ReverseTheSalesTransaction.doIt(Unknown Source)
    at org.compiere.process.SvrProcess.process(SvrProcess.java:171)
    at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:124)
    at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:160)
    at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:105)
    at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:679)
    at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:420)
    at org.compiere.apps.ProcessCtl.process(ProcessCtl.java:217)
    at org.adempiere.webui.apps.ProcessDialog.runProcess(ProcessDialog.java:389)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:209)
    at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
    at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
    at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446)
@wdtz wdtz changed the title Process to reverse sales transaction does not work Process to reverse sales transaction does not work(POS) Aug 16, 2016
@yamelsenih yamelsenih added this to the 3.8.2 milestone Aug 16, 2016
@yamelsenih yamelsenih assigned Raul-mz and e-Evolution and unassigned Raul-mz Aug 16, 2016
@yamelsenih yamelsenih modified the milestones: 3.9.0, 3.9.1 Oct 3, 2016
@e-Evolution e-Evolution removed this from the 3.9.1 milestone Jan 1, 2019
@yamelsenih
Copy link
Member

This was fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants