Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014182Openbravo ERPZ. Otherspublic2010-08-13 12:092011-05-19 16:26
RenateNieuwkoop 
eduardo_Argal 
highmajorhave not tried
closedfixed 
5
2.50 
 
Advanced Payables and Receivables Mngmt
No
0014182: Credit used is incorrect when a Sales Invoice is created based on a paid Sales Order
When I create a Sales Order and receive a payment for it + deposit, the order is showing as paid. Now I create a Sales Invoice and base it on the content of the Sales Order. This way the payment plan is generated with the payment information from the Sales order and the Sales Invoice is showing paid as well. However,in the credit used it's still showing as pending.

If this is because the payment hasn't been cleared yet, then it's still confusing to see 'paid' with the complete amount and 'outstanding' 0 on the invoice, while in the credit used it seems that it's still outstanding.
Create a Sales order
Create a receive payment and receive full amount + deposit
create a sales invoice based on the sales order
check the sales invoice is showing paid and outstanding 0
check that credit in BP used is showing the full amount of the invoice

See snapshots.
No tags attached.
png 130810creditused1.png (58,194) 2010-08-13 12:09
https://issues.openbravo.com/file_download.php?file_id=2860&type=bug
png

png 130810creditused2.png (51,996) 2010-08-13 12:09
https://issues.openbravo.com/file_download.php?file_id=2861&type=bug
png

png 130810creditused3.png (73,293) 2010-08-13 12:10
https://issues.openbravo.com/file_download.php?file_id=2862&type=bug
png

png 130810creditused4.png (58,394) 2010-08-13 12:10
https://issues.openbravo.com/file_download.php?file_id=2863&type=bug
png
Issue History
2010-08-13 12:09RenateNieuwkoopNew Issue
2010-08-13 12:09RenateNieuwkoopAssigned To => gorkaion
2010-08-13 12:09RenateNieuwkoopFile Added: 130810creditused1.png
2010-08-13 12:09RenateNieuwkoopFile Added: 130810creditused2.png
2010-08-13 12:10RenateNieuwkoopFile Added: 130810creditused3.png
2010-08-13 12:10RenateNieuwkoopFile Added: 130810creditused4.png
2010-11-03 13:04eduardo_ArgalAssigned Togorkaion => eduardo_Argal
2010-11-03 13:05eduardo_ArgalStatusnew => scheduled
2010-11-03 13:05eduardo_Argalfix_in_branch => pi
2010-11-03 13:33hgbotCheckin
2010-11-03 13:33hgbotNote Added: 0032378
2010-11-03 13:33hgbotStatusscheduled => resolved
2010-11-03 13:33hgbotResolutionopen => fixed
2010-11-03 13:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/d6e246ce78abea03cabbb76238126b7f3b3f5818 [^]
2011-05-19 16:26miruritaStatusresolved => closed

Notes
(0032378)
hgbot   
2010-11-03 13:33   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: d6e246ce78abea03cabbb76238126b7f3b3f5818
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Wed Nov 03 13:31:05 2010 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/d6e246ce78abea03cabbb76238126b7f3b3f5818 [^]

Fixes bug 14182

---
M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
M src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.java
---