Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033310Openbravo ERPZ. Otherspublic2016-06-16 12:212016-06-22 18:31
maite 
markmm82 
immediateminoralways
closedfixed 
5
 
3.0PR16Q1.43.0PR16Q1.4 
aferraz
Advanced Payables and Receivables Mngmt
Production - Confirmed Stable
2015-05-29
3.0PR15Q3
https://code.openbravo.com/erp/devel/pi/rev/15dbf5983411 [^]
No
0033310: 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.0PR16Q1.4
2016-06-21 11:08hgbotCheckin
2016-06-21 11:08hgbotNote Added: 0087711
2016-06-21 11:08hgbotStatusscheduled => resolved
2016-06-21 11:08hgbotResolutionopen => fixed
2016-06-21 11:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q1.4/rev/44fa440ef42df44183c489f136edefcdb9884e75 [^]
2016-06-21 11:10aferrazReview Assigned To => aferraz
2016-06-21 11:10aferrazNote Added: 0087714
2016-06-21 11:10aferrazStatusresolved => closed
2016-06-21 11:10aferrazFixed in Version => 3.0PR16Q1.4
2016-06-22 18:31hgbotCheckin
2016-06-22 18:31hgbotNote Added: 0087833

Notes
(0087711)
hgbot   
2016-06-21 11:08   
Repository: erp/backports/3.0PR16Q1.4
Changeset: 44fa440ef42df44183c489f136edefcdb9884e75
Author: Mark <markmm82 <at> gmail.com>
Date: Mon Jun 20 11:25:12 2016 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR16Q1.4/rev/44fa440ef42df44183c489f136edefcdb9884e75 [^]

Fixes issue 33310: 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
---
(0087714)
aferraz   
2016-06-21 11:10   
Code review + Testing OK
(0087833)
hgbot   
2016-06-22 18:31   
Repository: erp/backports/3.0PR16Q1.4
Changeset: 653c9bc459b739572a807655dc0a7721a477bfc6
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.0PR16Q1.4/rev/653c9bc459b739572a807655dc0a7721a477bfc6 [^]

Related to issue 33310: 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
---