Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022416Openbravo ERPZ. Otherspublic2012-11-28 13:192013-01-29 00:36
maite 
ioritzCia 
immediateminoralways
closedfixed 
5
 
3.0MP20 
Advanced Payables and Receivables Mngmt
No
0022416: Wrong payment details distribution when invoice amount is higher than pre-payment amount
Wrong payment details distribution when invoice amount is higher than pre-payment amount
1. Register Purchase Order for any vendor. Add line for any product with qty=100, price=20 and tax=exempt. Total order amount will be 2000. Process.
2. Register Payment Out for same vendor, choose previous order and pay 1500. Process
3. Register Goods Receipt for same vendor. Create Lines from and choose previous order setting qty=90. Process.
4. Register Purchase Invoice for same vendor. Create Lines from and choose previous receipt. Total invoice amount will be 1800. Process

Realize that Invoice is set as Paid=Y because prepayment details have incorrectly been splited in 2.

Correct situation will be:
 - Invoice: paid=1500 and outstanding=300
 - Order: paid=1500 and outstanding=500
No tags attached.
Issue History
2012-11-28 13:19maiteNew Issue
2012-11-28 13:19maiteAssigned To => dmiguelez
2012-11-28 13:19maiteModules => Advanced Payables and Receivables Mngmt
2012-11-28 13:20maiteTarget Version => 3.0MP18
2012-11-28 13:22maiteIssue Monitored: networkb
2012-12-04 12:48jonalegriaesarteTarget Version3.0MP18 => 3.0MP19
2012-12-10 09:34dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-01-09 11:28jonalegriaesarteTriggers an Emergency Pack => No
2013-01-09 11:28jonalegriaesarteTarget Version3.0MP19 => 3.0MP20
2013-01-11 11:11maitePriorityurgent => immediate
2013-01-11 17:13jonalegriaesarteNote Added: 0055494
2013-01-11 17:13jonalegriaesarteSeveritymajor => minor
2013-01-23 16:51jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2013-01-23 17:41jecharriAssigned Tojecharri => ioritzCia
2013-01-24 11:52hgbotCheckin
2013-01-24 11:52hgbotNote Added: 0055804
2013-01-24 11:52hgbotStatusnew => resolved
2013-01-24 11:52hgbotResolutionopen => fixed
2013-01-24 11:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/83103c66d7ac66977ae21bf26be28464d9341d8b [^]
2013-01-24 21:40hudsonbotCheckin
2013-01-24 21:40hudsonbotNote Added: 0055826
2013-01-29 00:36maiteNote Added: 0055927
2013-01-29 00:36maiteStatusresolved => closed

Notes
(0055494)
jonalegriaesarte   
2013-01-11 17:13   
Fix is prepared. Pending pi to be unfrozen
(0055804)
hgbot   
2013-01-24 11:52   
Repository: erp/devel/pi
Changeset: 83103c66d7ac66977ae21bf26be28464d9341d8b
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Thu Jan 24 11:50:58 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/83103c66d7ac66977ae21bf26be28464d9341d8b [^]

Fixes issue 22416: Wrong payment details distribution,
when invoice amount is higher than pre-payment amount.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
---
(0055826)
hudsonbot   
2013-01-24 21:40   
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/fbbe21bdfeff [^]

Maturity status: Test
(0055927)
maite   
2013-01-29 00:36   
verified