Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0036031 | Openbravo ERP | 00. Application dictionary | public | 2017-05-18 09:55 | 2022-02-01 08:05 | ||||||||||||||
Reporter | aferraz | ||||||||||||||||||
Assigned To | Triage Platform Base | ||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||||||||
Status | acknowledged | Resolution | open | ||||||||||||||||
Platform | OS | 30 | OS Version | Professional Appliance | |||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | No | ||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0036031: Default value wrongly set in Process Definition parameter | ||||||||||||||||||
Description | Default value is set to process definition parameter although its value doesn't match with parameter's reference where clause. If we have the same default value and reference in a standard window field, it will not be set. | ||||||||||||||||||
Steps To Reproduce | - Login as System Admin - Open "Organization Selector - Transactions allowed" reference. - Check it has the following where clause: exists (select 1 from OrganizationType ot where e.organizationType = ot and ot.transactionsAllowed = true) and e.ready = true - Go to C_Order table ad_org_id column. - Set previous reference. - Set following default value: @#AD_Org_ID@ - Go to Aging Balance Process Definition for Payables process definition organization parameter. - Set previous reference. - Set following default value: OB.getContext().getCurrentOrganization().id - Login as F&B Admin, * organization. - Create a new record in Sales Order window: Realize "F&B España - Región Norte" is shown as default in Organization field. This is the first valid value in the selector. - Open Payables Aging Schedule Realize "*" is shown as default in Organization parameter. This is the login organization although it is not a valid value in the selector. As workaround, we can use a Filter Expression as default value in Process Definition parameter and add there the following logic: - If wanted default value matches with parameter's reference where clause -> retrieve wanted default value - If not -> retrieve first valid value from parameter's reference where clause. | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2017-05-18 09:55 | aferraz | New Issue | |||||||||||||||||
2017-05-18 09:55 | aferraz | Assigned To | => platform | ||||||||||||||||
2017-05-18 09:55 | aferraz | OBNetwork customer | => No | ||||||||||||||||
2017-05-18 09:55 | aferraz | Modules | => Core | ||||||||||||||||
2017-05-18 09:55 | aferraz | Triggers an Emergency Pack | => No | ||||||||||||||||
2017-05-18 10:06 | aferraz | Relationship added | related to 0036032 | ||||||||||||||||
2017-05-18 10:15 | aferraz | Relationship added | blocks 0036034 | ||||||||||||||||
2017-06-02 11:18 | alostale | Status | new => acknowledged | ||||||||||||||||
2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base |
There are no notes attached to this issue. |