Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017764Openbravo ERPZ. Otherspublic2011-06-21 17:112011-07-01 10:00
maite 
gorkaion 
immediatemajoralways
closedfixed 
5
2.50MP30 
 
Advanced Payables and Receivables Mngmt
No
0017764: 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.
blocks defect 0017760 closed gorkaion Error in payment schedule details when an order is associated to more that one invoice 
Issue History
2011-06-22 14:08gorkaionTypedefect => backport
2011-06-22 14:08gorkaionfix_in_branch => 2.50
2011-06-24 14:23hgbotCheckin
2011-06-24 14:23hgbotNote Added: 0038526
2011-06-24 14:23hgbotStatusscheduled => resolved
2011-06-24 14:23hgbotResolutionopen => fixed
2011-06-24 14:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/bb32c4e9b2ce525b15ef975518e217add99d7a7f [^]
2011-06-24 14:24hgbotCheckin
2011-06-24 14:24hgbotNote Added: 0038527
2011-06-28 16:00maiteNote Added: 0038563
2011-06-28 16:00maiteStatusresolved => closed
2011-07-01 10:00hgbotCheckin
2011-07-01 10:00hgbotNote Added: 0038663

Notes
(0038526)
hgbot   
2011-06-24 14:23   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: bb32c4e9b2ce525b15ef975518e217add99d7a7f
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Fri Jun 24 12:04:29 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/bb32c4e9b2ce525b15ef975518e217add99d7a7f [^]

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

---
M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
A build/classes/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheck.class
A build/classes/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheckData.class
A src-util/buildvalidation/src/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheck.java
A src-util/buildvalidation/src/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheck_data.xsql
A src-util/buildvalidation/src/src/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheckData.java
---
(0038527)
hgbot   
2011-06-24 14:24   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: eb68035b90ad4b8fa3fdb67efcab0b268d54c3c1
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Fri Jun 24 12:51:26 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/eb68035b90ad4b8fa3fdb67efcab0b268d54c3c1 [^]

Related to issue 17764.Fix generated build validation's java file.

---
M build/classes/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheckData.class
M src-util/buildvalidation/src/src/org/openbravo/advpaymentmngt/buildvalidation/WrongPaymentScheduleDetailsCheckData.java
---
(0038563)
maite   
2011-06-28 16:00   
verified
(0038663)
hgbot   
2011-07-01 10:00   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: 515bedab4b350347ce389127c7255364fcdf4baf
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Fri Jul 01 09:34:47 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/515bedab4b350347ce389127c7255364fcdf4baf [^]

Related to issue 17764.Purchase flow was not working as expected.

---
M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
---