Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011801Openbravo ERP02. Master data managementpublic2009-12-16 17:152010-01-19 01:41
networkb 
harikrishnan 
urgentmajoralways
closedfixed 
5
2.50MP8 
2.50MP112.50MP11 
Core
No
0011801: Invoice date and Movement date are not correct when a POS order is imported
If an order is imported from Import Order, using POS document type, invoice date (in Sales Invoice) and Movement date (Good Shipment) are not correct.

Both are filled by now() instead of Sales order date (Order date).
Go to Master Data Management > Import Data > Import Order.
Create a new record.
Select Document type, POS order, a BP, an address, a product, an Organization, a currency, as Order date (31/12/2009), an UOM, an Ordered quantity, an Unit price, and Tax, Sales transaction (checkbox).
Press "Import order".
Go to the generated Sales invoice and see Invoice date.
Use the same date as the sales order.
No tags attached.
related to defect 00119262.50MP11 closed harikrishnan Import Order creates uncorrect documentno and Date invoice 
related to defect 00119402.50MP14 closed adrianromero Import order creates uncorrect dates 
Issue History
2009-12-16 17:15networkbNew Issue
2009-12-16 17:15networkbAssigned To => rafaroda
2009-12-16 17:27networkbSeverityminor => major
2009-12-16 17:27networkbTarget Version2.50MP12 => 2.50MP11
2009-12-30 18:41psarobeStatusnew => scheduled
2009-12-30 18:41psarobeNote Added: 0023170
2009-12-30 18:41psarobefix_in_branch => pi
2010-01-04 09:27rafarodaNote Added: 0023186
2010-01-04 09:27rafarodaPriorityimmediate => urgent
2010-01-04 09:27rafarodafix_in_branchpi =>
2010-01-08 07:52harikrishnanAssigned Torafaroda => harikrishnan
2010-01-08 08:07hgbotCheckin
2010-01-08 08:07hgbotNote Added: 0023259
2010-01-08 08:07hgbotStatusscheduled => resolved
2010-01-08 08:07hgbotResolutionopen => fixed
2010-01-08 08:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/92ea03a8edc61eb4ee88a4003684debf8f75ec22 [^]
2010-01-11 16:33rafarodaRelationship addedrelated to 0011926
2010-01-12 09:55sureshbabuNote Added: 0023331
2010-01-12 09:55sureshbabuStatusresolved => closed
2010-01-12 09:55sureshbabuFixed in Version => 2.50MP10
2010-01-12 16:35rafarodaRelationship addedrelated to 0011940
2010-01-13 00:00anonymoussf_bug_id0 => 2930988
2010-01-18 11:26sureshbabuFixed in Version2.50MP10 => 2.50MP11
2010-01-19 01:41hudsonbotCheckin
2010-01-19 01:41hudsonbotNote Added: 0023532

Notes
(0023170)
psarobe   
2009-12-30 18:41   
Hi Rafa,

I think there was already an issue related to this. Please contact Mikel for further information
(0023186)
rafaroda   
2010-01-04 09:27   
Changed Priority to Urgent.
(0023259)
hgbot   
2010-01-08 08:07   
Repository: erp/devel/pi
Changeset: 92ea03a8edc61eb4ee88a4003684debf8f75ec22
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Fri Jan 08 12:37:02 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/92ea03a8edc61eb4ee88a4003684debf8f75ec22 [^]

Fixes Issue 11801: Invoice date and Movement date are not correct when a POS order is imported.

---
M src-db/database/model/functions/M_INOUT_CREATE.xml
---
(0023331)
sureshbabu   
2010-01-12 09:55   
Tested, able to import sales order with document type as POS. And also the invoice date is as same as it is mentioned in the sales order.
(0023532)
hudsonbot   
2010-01-19 01:41   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/92ea03a8edc6 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7f3a35240cf9 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15846.obx [^]