Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033309Openbravo ERPZ. Otherspublic2016-06-16 12:212016-06-22 18:31
maite 
markmm82 
immediateminoralways
closedfixed 
5
 
3.0PR16Q2.13.0PR16Q2.1 
aferraz
Advanced Payables and Receivables Mngmt
Production - Confirmed Stable
2015-05-29
3.0PR15Q3
https://code.openbravo.com/erp/devel/pi/rev/15dbf5983411 [^]
No
0033309: Linked items error in Payment Plan window when invoice is not paid
When invoice is unpaid no records should appear in linked items section
1. Access Sales Invoice window and filter by "Payment Complete"=No
2. Go to Payment Plan tab and open "Linked Items" section
3. Realize that 2 items are shown when does not exist any related payment document

Problem seems to be that HQL Where clause defined for Lines tab in Payment window is not executed from Linked Items.
To define SQL Where Clause for Lines tab in Payment In and Payment Out window
No tags attached.
blocks defect 0033288 closed markmm82 Linked items error in Payment Plan window when invoice is not paid 
Issue History
2016-06-20 10:14aferrazTypedefect => backport
2016-06-20 10:14aferrazTarget Version => 3.0PR16Q2.1
2016-06-21 11:01hgbotCheckin
2016-06-21 11:01hgbotNote Added: 0087710
2016-06-21 11:01hgbotStatusscheduled => resolved
2016-06-21 11:01hgbotResolutionopen => fixed
2016-06-21 11:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q2.1/rev/c1c80746036eb9fe3d0aaa8361ecf6a93e4495b0 [^]
2016-06-21 11:09aferrazReview Assigned To => aferraz
2016-06-21 11:09aferrazNote Added: 0087713
2016-06-21 11:09aferrazStatusresolved => closed
2016-06-21 11:09aferrazFixed in Version => 3.0PR16Q2.1
2016-06-22 18:31hgbotCheckin
2016-06-22 18:31hgbotNote Added: 0087832

Notes
(0087710)
hgbot   
2016-06-21 11:01   
Repository: erp/backports/3.0PR16Q2.1
Changeset: c1c80746036eb9fe3d0aaa8361ecf6a93e4495b0
Author: Mark <markmm82 <at> gmail.com>
Date: Mon Jun 20 11:25:12 2016 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR16Q2.1/rev/c1c80746036eb9fe3d0aaa8361ecf6a93e4495b0 [^]

Fixes issue 33309: Linked items corrected in Payment Plan when unpaid invoice

Defined SQL Where Clause for Lines tab in Payment In and Payment Out window due that that HQL Where clause defined for Lines tab in Payment window is not executed from Linked Items correctly.

---
M src-db/database/sourcedata/AD_TAB.xml
---
(0087713)
aferraz   
2016-06-21 11:09   
Code review + Testing OK
(0087832)
hgbot   
2016-06-22 18:31   
Repository: erp/backports/3.0PR16Q2.1
Changeset: 76ac05891177a65202a82c2e51198ead6116f81c
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Jun 22 18:18:48 2016 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR16Q2.1/rev/76ac05891177a65202a82c2e51198ead6116f81c [^]

Related to issue 33309: Code review improvements

Use FIN_Payment_ScheduleDetail instead of e to avoid errors when compiling in 2.50 mode.

---
M src-db/database/sourcedata/AD_TAB.xml
---