Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030916Openbravo ERPZ. Otherspublic2015-09-23 13:122015-09-24 13:14
maite 
AtulOpenbravo 
immediatemajoralways
closedfixed 
5
 
3.0PR15Q3.2 
vmromanos
Core
Production - Confirmed Stable
2014-09-23
3.0PR14Q4
https://code.openbravo.com/erp/devel/pi/rev/179d97ee602d [^]
No
0030916: 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.0PR15Q3.2
2015-09-24 11:13vmromanosTag Attached: Approved
2015-09-24 13:08hgbotCheckin
2015-09-24 13:08hgbotNote Added: 0080612
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.0PR15Q3.2/rev/28e5b3361a72c408c5b92b94642f3c32cfea9af4 [^]
2015-09-24 13:14vmromanosNote Added: 0080617
2015-09-24 13:14vmromanosStatusresolved => closed

Notes
(0080612)
hgbot   
2015-09-24 13:08   
Repository: erp/backports/3.0PR15Q3.2
Changeset: 28e5b3361a72c408c5b92b94642f3c32cfea9af4
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.0PR15Q3.2/rev/28e5b3361a72c408c5b92b94642f3c32cfea9af4 [^]

Fixes Issue 30916: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
---
(0080617)
vmromanos   
2015-09-24 13:14   
Code review + testing OK