Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030917Openbravo ERPZ. Otherspublic2015-09-23 13:122015-09-24 13:14
maite 
AtulOpenbravo 
immediatemajoralways
closedfixed 
5
 
3.0PR15Q2.6 
vmromanos
Core
Production - Confirmed Stable
2014-09-23
3.0PR14Q4
https://code.openbravo.com/erp/devel/pi/rev/179d97ee602d [^]
No
0030917: Payment registered for child organization not found in Payment selector when running "add transaction" from Match Statement
Payment registered for child organization not found in Payment selector when running "add transaction" from Match Statement
1. Access financial account "Cuenta de Banco", go to Payment Method tab and disable "automatic deposit" for IN flow and Transferencia payment method
2. Access Payment In window and register new document for "EspaƱa Norte" organization using Transferencia payment method. Add any line and process (NOT deposit)
3. Access "Cuenta de Banco" financial account, go to Reconciliation tab and rectivate las reconciliation
4. Run "Match statement" process, unmatch any line and press "+" button to add transaction
5. Open "Payment" selector and realize that you can not find previously created payment
Problem is in "Payment Selector Transaction for Parameter Window" reference. If you check "HQL where" clause you can see that function " AD_ISORGINCLUDED(@inpadOrgId@, e.organization.id,e.client.id)<>-1" is used liked this. However parameters for this function should be:
" AD_ISORGINCLUDED(e.organization.id,@inpadOrgId@, e.client.id)<>-1"
Approved
blocks defect 00308983.0PR15Q4 closed AtulOpenbravo Payment registered for child organization not found in Payment selector when running "add transaction" from Match Statement 
Issue History
2015-09-24 11:12vmromanosTypedefect => backport
2015-09-24 11:12vmromanosTarget Version3.0PR15Q4 => 3.0PR15Q2.6
2015-09-24 11:13vmromanosTag Attached: Approved
2015-09-24 13:08hgbotCheckin
2015-09-24 13:08hgbotNote Added: 0080611
2015-09-24 13:08hgbotStatusscheduled => resolved
2015-09-24 13:08hgbotResolutionopen => fixed
2015-09-24 13:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q2.6/rev/ac2e9cc924532c7917275f734a2a1538fb608c50 [^]
2015-09-24 13:14vmromanosNote Added: 0080618
2015-09-24 13:14vmromanosStatusresolved => closed

Notes
(0080611)
hgbot   
2015-09-24 13:08   
Repository: erp/backports/3.0PR15Q2.6
Changeset: ac2e9cc924532c7917275f734a2a1538fb608c50
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Thu Sep 24 06:09:02 2015 +0530
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2.6/rev/ac2e9cc924532c7917275f734a2a1538fb608c50 [^]

Fixes Issue 30917:Payment registered for child organization not found in
Payment selector when running "add transaction" from Match Statement

Parameters passed to AD_IsOrgIncluded in correct order.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUISEL_SELECTOR.xml
---
(0080618)
vmromanos   
2015-09-24 13:14   
Code review + testing OK