Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017760Openbravo ERPZ. Otherspublic2011-06-21 17:112011-07-06 02:41
maite 
gorkaion 
immediatemajoralways
closedfixed 
5
2.50MP30 
 
Advanced Payables and Receivables Mngmt
No
0017760: Error in payment schedule details when an order is associated to more that one invoice
Error in payment schedule details when an order is associated to more that one invoice
1. Create sales order for any bp. Add Line with 100 units of any product. Complete order
2. Create sales invoice for same bp. Press "Create Lines From" and choose previous order. Go to line and set quantity to 30 to invoice it partially. Complete invoice
3. Create sales invoice for same bp. Press "Create Lines From" and choose previous order. Go to line and set quantity to 70 to invoice it completely. Complete invoice
4. If you press "Add Payment In/Out" you will see that amount is not total of the invoice

Problem is that payment schedule details of both invoices are associated to last invoice created.
No tags attached.
depends on backport 0017764 closed gorkaion Error in payment schedule details when an order is associated to more that one invoice 
Issue History
2011-06-21 17:11maiteNew Issue
2011-06-21 17:11maiteAssigned To => dalsasua
2011-06-21 17:11maiteModules => Advanced Payables and Receivables Mngmt
2011-06-21 17:13maiteversion => 2.50MP30
2011-06-21 19:11maiteIssue Monitored: networkb
2011-06-21 19:12maiteAssigned Todalsasua => gorkaion
2011-06-22 14:08gorkaionPriorityurgent => immediate
2011-06-22 14:08gorkaionStatusnew => scheduled
2011-06-22 14:08gorkaionfix_in_branch => pi
2011-06-23 10:39dmitry_mezentsevIssue Monitored: dmitry_mezentsev
2011-06-24 12:47hgbotCheckin
2011-06-24 12:47hgbotNote Added: 0038524
2011-06-24 12:55gorkaionStatusscheduled => resolved
2011-06-24 12:55gorkaionFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a8722381494b6363cf861a30be3708a004d3c565 [^]
2011-06-24 12:55gorkaionResolutionopen => fixed
2011-06-28 16:00maiteNote Added: 0038564
2011-06-28 16:00maiteStatusresolved => closed
2011-07-06 02:41hudsonbotCheckin
2011-07-06 02:41hudsonbotNote Added: 0038806

Notes
(0038524)
hgbot   
2011-06-24 12:47   
Repository: erp/devel/pi
Changeset: a8722381494b6363cf861a30be3708a004d3c565
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Fri Jun 24 12:44:43 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a8722381494b6363cf861a30be3708a004d3c565 [^]

Fix issue 17760.Fix issue in APRM_GEN_PAYMENTSCHEDULE_INV added a build validation to detect wrong payment plans.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
A modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheck.class
A modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheckData.class
A modules/org.openbravo.advpaymentmngt/src-util/buildvalidation/src/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheck.java
A modules/org.openbravo.advpaymentmngt/src-util/buildvalidation/src/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheck_data.xsql
A modules/org.openbravo.advpaymentmngt/src-util/buildvalidation/src/src/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheckData.java
---
(0038564)
maite   
2011-06-28 16:00   
verified
(0038806)
hudsonbot   
2011-07-06 02:41   
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/f1c481b1a146 [^]

Maturity status: Test