Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024323Openbravo ERPZ. Otherspublic2013-07-12 12:452013-12-11 17:40
maite 
jecharri 
urgentmajoralways
closedfixed 
5
 
3.0MP28 
Advanced Payables and Receivables Mngmt
No
0024323: Wrong payment detail distribution when negative order is invoiced using fractionated payment term
Wrong payment detail distribution when negative order is invoiced using fractionated payment term
1. Define Payment Term with 60 days in header and add Line for 50% and 30 days
2. Register Sales Order for any BP. Add line for any product with qty=-1 and price=360
3. Register associated Goods Shipment, using Create Lines From
4. Register associated Sales Invoice, using Create Lines From, and setting fractionated payment terms. Complete and press Add Payment. Realize that details distribution is not correct (if you have a look at database details you will see that only one detail is linked to sales order)

If you follow same process for an order with positive quantity, details are properly distributed
No tags attached.
related to defect 00253123.0PR14Q3 closed eduardo_Argal Wrong payment detail distribution when negative order is invoiced using fractionated payment term 
Issue History
2013-07-12 12:45maiteNew Issue
2013-07-12 12:45maiteAssigned To => dmiguelez
2013-07-12 12:45maiteModules => Advanced Payables and Receivables Mngmt
2013-07-12 12:45maiteTriggers an Emergency Pack => No
2013-07-12 12:45maiteIssue Monitored: networkb
2013-07-15 09:32dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-07-22 16:52jonalegriaesarteTarget Version3.0MP26 => 3.0MP27
2013-08-19 16:45jonalegriaesarteTarget Version3.0MP27 => 3.0MP28
2013-09-11 18:32jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2013-09-19 18:33hgbotCheckin
2013-09-19 18:33hgbotNote Added: 0061298
2013-09-19 18:33hgbotStatusnew => resolved
2013-09-19 18:33hgbotResolutionopen => fixed
2013-09-19 18:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e14e28f7db0555b7d54c683e60471d8e182b3ae9 [^]
2013-09-20 16:14hudsonbotCheckin
2013-09-20 16:14hudsonbotNote Added: 0061322
2013-09-23 11:40maiteNote Added: 0061348
2013-09-23 11:40maiteStatusresolved => closed
2013-12-11 17:37jecharriStatusclosed => new
2013-12-11 17:37jecharriResolutionfixed => open
2013-12-11 17:39jecharriStatusnew => scheduled
2013-12-11 17:39jecharrifix_in_branch => pi
2013-12-11 17:40jecharriStatusscheduled => resolved
2013-12-11 17:40jecharriResolutionopen => fixed
2013-12-11 17:40jecharriStatusresolved => closed
2013-12-11 17:40jecharriRelationship addedrelated to 0025312

Notes
(0061298)
hgbot   
2013-09-19 18:33   
Repository: erp/devel/pi
Changeset: e14e28f7db0555b7d54c683e60471d8e182b3ae9
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Sep 19 18:33:31 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e14e28f7db0555b7d54c683e60471d8e182b3ae9 [^]

Fixes issue 24323: Wrong payment detail distribution when negative
order is invoiced using fractionated payment term

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
---
(0061322)
hudsonbot   
2013-09-20 16:14   
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/9adf8dd6aa1b [^]

Maturity status: Test
(0061348)
maite   
2013-09-23 11:40   
verified