Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0026217 | Retail Modules | Web POS | public | 2014-04-08 18:30 | 2014-06-27 16:50 | |||||||
Reporter | jecharri | |||||||||||
Assigned To | malsasua | |||||||||||
Priority | urgent | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | RMP31.2 | |||||||||||
Target Version | RR14Q3 | Fixed in Version | RR14Q3 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0026217: When the order goes to Errors while importing POS Data due to a wrong configuration in the BP | |||||||||||
Description | When the order goes to Errors while importing POS Data due to a wrong configuration in the BP | |||||||||||
Steps To Reproduce | -Configure a business partner without payment method -Go to Web POS and create and order -Pay it -The order will go to "errors while importing pos data" At this point, you need to edit JSON object and isert a valid payment method id. It will be easier if the user has to change only the BP configuration using UI, so when the java OrderLoader try to create the order, can get the BusinessPartner object using DAL and not from the JSON object. | |||||||||||
Proposed Solution | Instead of taking the BP values from json object, use DAL to get last BP object: order.setPartnerAddress(OBDal.getInstance().get(Location.class, jsonorder.getJSONObject("bp").getString("locId"))); order.setInvoiceAddress(order.getPartnerAddress()); order.setPaymentMethod((FIN_PaymentMethod) OBDal.getInstance().getProxy("FIN_PaymentMethod", jsonorder.getJSONObject("bp").getString("paymentMethod"))); order.setPaymentTerms((PaymentTerm) OBDal.getInstance().getProxy("FinancialMgmtPaymentTerm", jsonorder.getJSONObject("bp").getString("paymentTerms"))); order.setInvoiceTerms(jsonorder.getJSONObject("bp").getString("invoiceTerms")); | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2014-04-08 18:30 | jecharri | New Issue | ||||||||||
2014-04-08 18:30 | jecharri | Assigned To | => malsasua | |||||||||
2014-04-08 18:30 | jecharri | Resolution time | => 1399932000 | |||||||||
2014-04-08 18:30 | jecharri | Triggers an Emergency Pack | => No | |||||||||
2014-06-26 00:06 | hgbot | Checkin | ||||||||||
2014-06-26 00:06 | hgbot | Note Added: 0068324 | ||||||||||
2014-06-26 00:06 | hgbot | Status | new => resolved | |||||||||
2014-06-26 00:06 | hgbot | Resolution | open => fixed | |||||||||
2014-06-26 00:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7b35aae163e6ef90996a7d80b6f64a226e5958ae [^] | |||||||||
2014-06-27 16:50 | hgbot | Checkin | ||||||||||
2014-06-27 16:50 | hgbot | Note Added: 0068422 | ||||||||||
2014-06-27 16:50 | marvintm | Review Assigned To | => marvintm | |||||||||
2014-06-27 16:50 | marvintm | Status | resolved => closed | |||||||||
2014-06-27 16:50 | marvintm | Fixed in Version | => RR14Q3 | |||||||||
2016-04-28 17:09 | VictorVillar | Relationship added | related to 0032777 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|