You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2007/08/03 19:10:53 UTC
[jira] Assigned: (OFBIZ-1176) POS order status error
[ https://issues.apache.org/jira/browse/OFBIZ-1176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux reassigned OFBIZ-1176:
--------------------------------------
Assignee: Jacques Le Roux
> POS order status error
> ----------------------
>
> Key: OFBIZ-1176
> URL: https://issues.apache.org/jira/browse/OFBIZ-1176
> Project: OFBiz
> Issue Type: Bug
> Components: pos
> Affects Versions: SVN trunk
> Reporter: Bilgin Ibryam
> Assignee: Jacques Le Roux
> Fix For: SVN trunk
>
> Attachments: pos.patch
>
>
> Hi all,
> this is a bug discuss here http://www.nabble.com/POS-order-status-change-error-tf4192871.html#a11923722
> I tracked it down and found the reason for it.
> When an sale is done on POS and paid with CASH, the created entity OrderPaymentPreference->manualRefNum field in null. Then in CheckOuthelper.java:873 our OrderPaymentPreference is filtered and the order is not approved in CheckOuthelper.java:896 .Later it cannot be completed and we get ERROR :
> > Could not change order status ; status is not a valid change.
> I changed in POS the CASH payment method, so now it does like CHECK payment method and puts a "N/A" in manualRefNum field and everything works fine.
> I am not sure that this the rightest way to fix it, because i am not sure whats the purpose of manualRefNum field in OrderPaymentPreference entity.
> May be someone can tell me ? There are some comments in the code but does it mean that if manualRefNum field is null we are not approving the order automatically ?Why ? In which case it should be not null ?
>
> CheckOuthelper.java:873
> // check for online payment methods or in-hand payment types with verbal or external refs
> List exprs = UtilMisc.toList(new EntityExpr("manualRefNum", EntityOperator.NOT_EQUAL, null));
> Regards,
> Bilgin Ibryam
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.