Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029767Openbravo ERPZ. Otherspublic2015-05-04 18:112015-06-09 17:01
maite 
aferraz 
urgentmajoralways
closedfixed 
5
 
3.0PR15Q33.0PR15Q3 
Sandrahuguet
Core
No
0029767: "Display logic for grid column" not working for Organization, Business Partner and Product dimensions
"Display logic for grid column" not working for Organization, Business Partner and Product dimensions
1. Access "Client" window an verify that Business Partner and Project dimensions are configured to be shown in Header and Line
2. Access "Dimensions" tab, search by "AP Invoice" and "Business Partner" and delete record (to ensure that is configured similar to Project dimension)
3. Logout / login
4. Access Purchase Invoice window. Search by any invoice "Not Paid" and run "Add payment" process
5. Access "GL Item" section and realize that Business Partner dimension does not directly appear in grid. However Project dimension appears

Debugging "evaluateDisplayLogicForGridColumns" javascript function, when evaluating "contextInfo" variable there is element for project ("Element_PJ_API_H") but not for BP, ORG, PRODUCT
No tags attached.
has duplicate defect 0039444 new Triage Omni OMS Openbravo ERP Display logic for grid column not working for Organization and Product dimensions 
related to defect 0029840 acknowledged Triage Platform Base Openbravo ERP DimensionDisplayUtility is not called when opening AddPayment process definition with the + button 
related to defect 00301083.0PR15Q3 closed aferraz Openbravo ERP Business Partner field not shown in Payment In/Out Header in F&B client 
related to defect 0030677 closed aferraz Modules "Display logic for grid column" not working for accounting dimensions 
causes defect 0031015 closed vmromanos Openbravo ERP ON the sales order window when selecting a organization that has not got document types some fields are hidden 
causes defect 0033040 closed Sanjota Openbravo ERP Unhomogeneous behavior depending on Org Access when role is defined at "Organization" user level 
Issue History
2015-05-04 18:11maiteNew Issue
2015-05-04 18:11maiteAssigned To => Triage Finance
2015-05-04 18:11maiteModules => Core
2015-05-04 18:11maiteResolution time => 1433282400
2015-05-04 18:11maiteTriggers an Emergency Pack => No
2015-05-04 18:14maiteSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8426#r8426
2015-05-04 18:14maiteIssue Monitored: networkb
2015-05-06 17:54aferrazStatusnew => scheduled
2015-05-06 17:54aferrazAssigned ToTriage Finance => aferraz
2015-05-07 17:53SandrahuguetReview Assigned To => Sandrahuguet
2015-05-11 11:12aferrazRelationship addedrelated to 0029840
2015-05-11 17:50hgbotCheckin
2015-05-11 17:50hgbotNote Added: 0077300
2015-05-11 17:50hgbotStatusscheduled => resolved
2015-05-11 17:50hgbotResolutionopen => fixed
2015-05-11 17:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/72e2b8bfe6fcf24641d900e00cdb6c38a0731483 [^]
2015-05-11 18:00SandrahuguetNote Added: 0077303
2015-05-11 18:00SandrahuguetStatusresolved => closed
2015-05-11 18:00SandrahuguetFixed in Version => 3.0PR15Q3
2015-05-11 18:06SandrahuguetNote Added: 0077304
2015-05-11 18:06SandrahuguetNote Edited: 0077304bug_revision_view_page.php?bugnote_id=0077304#r8516
2015-05-12 17:40hudsonbotCheckin
2015-05-12 17:40hudsonbotNote Added: 0077347
2015-06-05 10:09aferrazRelationship addedcauses 0030108
2015-06-05 12:06aferrazRelationship deletedcauses 0030108
2015-06-05 12:07aferrazRelationship addedrelated to 0030108
2015-06-09 16:59ngarciaNote Added: 0078160
2015-06-09 17:01ngarciaIssue Monitored: ngarcia
2015-08-26 12:47maiteRelationship addedrelated to 0030677
2015-10-02 10:00vmromanosRelationship addedcauses 0031015
2016-05-30 11:53aferrazRelationship addedrelated to 0033040
2016-05-31 13:23aferrazRelationship deletedrelated to 0033040
2016-05-31 13:23aferrazRelationship addedcauses 0033040
2018-10-15 09:42anderarangurenRelationship addedrelated to 0039444
2018-10-16 08:53anderarangurenRelationship replacedblocks 0039444
2018-10-16 08:53anderarangurenRelationship deletedblocks 0039444
2018-10-16 08:54anderarangurenRelationship addedhas duplicate 0039444

Notes
(0077300)
hgbot   
2015-05-11 17:50   
Repository: erp/devel/pi
Changeset: 72e2b8bfe6fcf24641d900e00cdb6c38a0731483
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu May 07 11:03:35 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/72e2b8bfe6fcf24641d900e00cdb6c38a0731483 [^]

Fixes issue 29767: "Display logic for grid column" not working

GL Items grid in Add Payment process is not showing accounting dimensions correctly.
The problem was that "Organization" and "Business Partner" fields didn't have display logic defined as "Cost Center", "Project", "1st Dimension" and "2nd Dimension" had, for "Purchase Order", "Sales Order", "Purchase Invoice", "Sales Invoice", "Payment In" and "Payment Out windows", because they were mandatory.
@ACCT_DIMENSION_DISPLAY@ display logic has been added to those fields for those windows.
Now, when executing computeAccountingDimensionDisplayLogic in DimensionDisplayUtility, "Organization" and "Business Partner" fields will be included. Then, contextInfo variable in evaluateDisplayLogicForGridColumns function in ob-pick-and-execute-grid.js will have the proper values for Business Partner and Organization.

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0077303)
Sandrahuguet   
2015-05-11 18:00   
Code review + testing OK
(0077304)
Sandrahuguet   
2015-05-11 18:06   
Dimension display logic is not working when add payment is open from '+' button (add payment reference).
Issue: https://issues.openbravo.com/view.php?id=29840 [^]

(0077347)
hudsonbot   
2015-05-12 17: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/6d9fee60cdbd [^]
Maturity status: Test
(0078160)
ngarcia   
2015-06-09 16:59   
Solved for Organization and Business Partner, not for Product as the Dimension is not available in document's header