You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Suraj Khurana (JIRA)" <ji...@apache.org> on 2019/04/27 05:51:00 UTC

[jira] [Closed] (OFBIZ-10846) In AddFinAccountTrans selectable glAccountId values are sorted on glAccountId

     [ https://issues.apache.org/jira/browse/OFBIZ-10846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suraj Khurana closed OFBIZ-10846.
---------------------------------

Thanks Pierre Smits for reporting, Pawan Verma for the patch and Jacques Le Roux for comment.

> 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: Improvement
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Suraj Khurana
>            Priority: Major
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10846.patch
>
>
> 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)