Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005612Openbravo ERPZ. Otherspublic2008-10-22 13:022008-10-27 10:20
jtarbal 
cromero 
normalmajoralways
closedduplicate 
5
2.40 
 
Core
No
0005612: Error when synchronizing POS Orders with ERP
When synchronizing the Openbravo POS (v2.20) sales orders with the Openbravo ERP (v2.40), no sales orders are imported to OB ERP, although the POS shows a message saying that the imoprtation has been done successfully.

Looking to the OB ERP logs the error happens when trying to insert data in I_ORDER (ORA-01810). Debuging the error, I found where it is exactly:

In ExternalSalesImpl.java in line 417 the date format to be used in the insert is defined. The problem is that the date format is taken from java, that is: dd-MM-yyyy HH:mm:ss. This format is used in the XSQL when doing the insert. In Oracle, MM and mm are the same thing, so an error 01810 is thrown.
No tags attached.
duplicate of defect 00054732.50 closed jarek_wozniak External Sales Webservice can't work anymore after uuid-merge 
Issue History
2008-10-22 13:02jtarbalNew Issue
2008-10-22 13:02jtarbalAssigned To => cromero
2008-10-22 13:02jtarbalsf_bug_id0 => 2186574
2008-10-27 10:19psarobeRegression testing => No
2008-10-27 10:20psarobeRelationship addedduplicate of 0005473
2008-10-27 10:20psarobeStatusnew => closed
2008-10-27 10:20psarobeNote Added: 0009756
2008-10-27 10:20psarobeDuplicate ID0 => 5473
2008-10-27 10:20psarobeResolutionopen => duplicate

Notes
(0009756)
psarobe   
2008-10-27 10:20   
This bug has been fixed because of 5473 although they are different ones