Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015509Openbravo ERP02. Master data managementpublic2010-12-21 19:482011-05-24 10:57
maite 
adrianromero 
urgentmajoralways
closedfixed 
5
2.50MP24 
2.50MP26 
Core
No
0015509: Not possible to process orders imported from POS when APR module is installed
When trying to process orders synchronized from POS (which are already in Import Orders) with APR installed you obtain error:

Process result:
*POS*03 - El pedido facturado tiene pagos creados desde el antiguo flujo de cobros y pagos. Por favor elimínelos antes de completarlos.

1. Synchronize POS with ERP and import one order
2. Master Data Management || Import Data || Import Orders || Import Order : press "Import Orders" and you will obtain error

Debugging the process (ImportOrder.java) problen is that field "paymentrule1) in table "i_order" is filled so process create record in "c_debt_payment" table.
Then when c_order_post is run error is thrown.

Import Order process should be modified to be compatible with APR module
closingMay2011
related to defect 0015491 closed adrianromero "Import Orders" process not prepared to work with APR 
depends on defect 0015646 closed adrianromero Not possible to process orders imported from POS when APR module is installed 
Issue History
2010-12-21 19:48maiteNew Issue
2010-12-21 19:48maiteAssigned To => adrianromero
2010-12-21 19:48maiteModules => Core
2010-12-22 15:51adrianromeroRelationship addedduplicate of 0015491
2010-12-22 15:51adrianromeroNote Added: 0033364
2010-12-22 15:51adrianromeroStatusnew => closed
2010-12-22 15:51adrianromeroResolutionopen => duplicate
2010-12-23 00:00anonymoussf_bug_id0 => 3142121
2011-01-13 14:42adrianromeroRelationship replacedrelated to 0015491
2011-01-13 14:43adrianromeroStatusclosed => new
2011-01-13 14:43adrianromeroResolutionduplicate => open
2011-01-13 14:43adrianromeroStatusnew => scheduled
2011-01-13 14:43adrianromerofix_in_branch => pi
2011-01-13 14:43adrianromeroTypedefect => backport
2011-01-13 14:43adrianromerofix_in_branchpi =>
2011-01-13 14:44adrianromeroIssue cloned0015646
2011-01-13 14:44adrianromeroRelationship addeddepends on 0015646
2011-01-13 16:06hgbotCheckin
2011-01-13 16:06hgbotNote Added: 0033624
2011-01-13 16:06hgbotStatusscheduled => resolved
2011-01-13 16:06hgbotResolutionopen => fixed
2011-01-13 16:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/0ee0a1ac0c68652edb936a4a10368c5beb21c788 [^]
2011-01-13 16:12adrianromeroNote Added: 0033627
2011-05-24 10:03dalsasuaTag Attached: closingMay2011
2011-05-24 10:57dalsasuaStatusresolved => closed

Notes
(0033364)
adrianromero   
2010-12-22 15:51   
This issue is a duplicate of issue 15591 that is scheduled to be resolved
(0033624)
hgbot   
2011-01-13 16:06   
Repository: erp/stable/2.50
Changeset: 0ee0a1ac0c68652edb936a4a10368c5beb21c788
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jan 13 16:05:19 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/0ee0a1ac0c68652edb936a4a10368c5beb21c788 [^]

Fixes issue 0015509: Not possible to process orders imported from POS when APR module is installed
It has been added a condition that if the APRM moudle is installed, the import order process does not add old payments

---
M src/org/openbravo/erpCommon/ad_process/ImportOrder.java
---
(0033627)
adrianromero   
2011-01-13 16:12   
* Testing the issue

Synchronize some orders created in Openbravo POS and test that now this orders can be imported and completed with and without the APR module installed

* Other areas affected

This change only affects to the Import order process.