Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0036031 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
defect | [Openbravo ERP] 00. Application dictionary | minor | always | 2017-05-18 09:55 | 2022-02-01 08:05 | ||||||
Reporter | aferraz | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | normal | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
Projection | none | ETA | none | Target Version | |||||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6.0_18 | ||||||
OS Version | Professional Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | ||||||
Product Version | SCM revision | ||||||||||
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. | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
![]() |
|||||||||||||||
|
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |