Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024564Openbravo ERPZ. Otherspublic2013-08-22 13:312013-09-26 18:12
maite 
pramakrishnan 
urgentmajoralways
closedfixed 
5
 
3.0MP28 
maite
Advanced Payables and Receivables Mngmt
No
0024564: Wrong Payment posting when related invoice is linked to reactivated order
Wrong Payment posting when related invoice is linked to reactivated order
1. Register Sales Order for any BP. Add line for any product and qty=-10. Process Order
2. Register Sales Invoice for same BP. "Create Lines from" previous order and edit line price to set lower price. Process
3. Go to Sales Order and Reactivate it.
4. Go to Sales Invoice and run "Add payment from invoice" process. Realize that 2 details appear (although sales order info does not appear in pop up as is in Draft status).

If you select these 2 details setting total amount for each detail and process payment, when you post it you can verify that accounting entry is not correct
No tags attached.
related to defect 0033500 closed AtulOpenbravo Wrong payment schedule details when return to vendor document is invoiced using credit a memo invoice 
Issue History
2013-08-22 13:31maiteNew Issue
2013-08-22 13:31maiteAssigned To => dmiguelez
2013-08-22 13:31maiteModules => Advanced Payables and Receivables Mngmt
2013-08-22 13:31maiteTriggers an Emergency Pack => No
2013-08-22 13:31maiteIssue Monitored: networkb
2013-08-22 13:33maiteTarget Version => 3.0MP27
2013-08-26 11:47jonalegriaesarteAssigned Todmiguelez => pramakrishnan
2013-09-02 10:12jonalegriaesarteTarget Version3.0MP27 => 3.0MP28
2013-09-12 10:39pramakrishnanStatusnew => scheduled
2013-09-12 10:39pramakrishnanfix_in_branch => pi
2013-09-15 08:56hgbotCheckin
2013-09-15 08:56hgbotNote Added: 0061155
2013-09-15 08:56hgbotStatusscheduled => resolved
2013-09-15 08:56hgbotResolutionopen => fixed
2013-09-15 08:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/05bda9b0567e507880154bb015c51909553f5800 [^]
2013-09-15 08:57pramakrishnanNote Added: 0061156
2013-09-15 08:57pramakrishnanStatusresolved => new
2013-09-15 08:57pramakrishnanResolutionfixed => open
2013-09-15 08:58pramakrishnanReview Assigned To => maite
2013-09-15 08:58pramakrishnanfix_in_branchpi =>
2013-09-15 08:58pramakrishnanStatusnew => scheduled
2013-09-15 08:58pramakrishnanfix_in_branch => pi
2013-09-15 08:58pramakrishnanStatusscheduled => resolved
2013-09-15 08:58pramakrishnanResolutionopen => fixed
2013-09-17 19:03hudsonbotCheckin
2013-09-17 19:03hudsonbotNote Added: 0061251
2013-09-26 18:12maiteNote Added: 0061427
2013-09-26 18:12maiteStatusresolved => closed
2016-08-10 14:29aferrazRelationship addedrelated to 0033500

Notes
(0061155)
hgbot   
2013-09-15 08:56   
Repository: erp/devel/pi
Changeset: 05bda9b0567e507880154bb015c51909553f5800
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Sun Sep 15 12:24:30 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/05bda9b0567e507880154bb015c51909553f5800 [^]

Fixes Issue 24564: Wrong Payment posting
The payment is posted with wrong accounting entry when the related invoice is linked to a reactivated order

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_ORD.xml
---
(0061156)
pramakrishnan   
2013-09-15 08:57   
Reopened to add review assigned to
(0061251)
hudsonbot   
2013-09-17 19:03   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/1c53d622fc50 [^]

Maturity status: Test
(0061427)
maite   
2013-09-26 18:12   
verified