Pierre Smits created OFBIZ-10846:
------------------------------------
Summary: In AddFinAccountTrans selectable glAccountId values are sorted on glAccountId
Key: OFBIZ-10846
URL:
https://issues.apache.org/jira/browse/OFBIZ-10846 Project: OFBiz
Issue Type: Bug
Components: accounting
Affects Versions: 16.11.05, 16.11.04, Release Branch 16.11, Release Branch 15.12, Trunk, Release Branch 14.12, Release Branch 13.07, 17.12.01, 16.11.06, Release Branch 17.12, Release Branch 18.12, 18.12.01
Reporter: Pierre Smits
In the AddFinAccountTrans form in FinAccountForms.xml the values in the field glAccountId are sorted on the primary key, per
{code:java}
<field name="glAccountId" title="${uiLabelMap.GlAccount}">
<drop-down>
<entity-options entity-name="GlAccountOrganizationAndClass" key-field-name="glAccountId" description="${accountCode} - ${accountName} [${glAccountId}]">
<entity-constraint name="organizationPartyId" operator="equals" env-name="defaultOrganizationPartyId"/>
<entity-order-by field-name="glAccountId"/>
</entity-options>
</drop-down>
</field>
{code}
The sort order should however be on the accountCode field of the entity
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)