Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036031
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2017-05-18 09:552022-02-01 08:05
ReporteraferrazView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036031: Default value wrongly set in Process Definition parameter

DescriptionDefault 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0036032 newTriage Platform Base On change functions are not executed when opening a Process Definition 
blocks feature request 0036034 newTriage Omni OMS Improve organization and general ledger parameters default value and on change function inside Aging process definition 

-  Notes
There are no notes attached to this issue.

- 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 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
Powered by Mantis Bugtracker