[ https://issues.apache.org/jira/browse/OFBIZ-5938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203624#comment-16203624 ]
Jacques Le Roux commented on OFBIZ-5938: ---------------------------------------- Hi Rajesh, The createGlAccountOrganization as since been transformed to use entity-auto and that's certainly the reason why the fromDate misses again. Please try if these changes are enough {code} Index: applications/accounting/widget/GlobalGlAccountsForms.xml =================================================================== --- applications/accounting/widget/GlobalGlAccountsForms.xml (revision 1812128) +++ applications/accounting/widget/GlobalGlAccountsForms.xml (working copy) @@ -62,6 +62,7 @@ </entity-options> </drop-down> </field> + <field name="fromDate"><date-time default-value="${nowTimestamp}"/></field> <field name="submitButton" title="${uiLabelMap.AccountingCreateAssignment}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> Index: applications/accounting/widget/GlSetupForms.xml =================================================================== --- applications/accounting/widget/GlSetupForms.xml (revision 1812128) +++ applications/accounting/widget/GlSetupForms.xml (working copy) @@ -143,6 +143,7 @@ </entity-options> </drop-down> </field> + <field name="fromDate"><date-time default-value="${nowTimestamp}"/></field> <field name="submitButton" title="${uiLabelMap.AccountingCreateAssignment}"><submit button-type="button"/></field> </form> {code} > GlAccountOrganizations manually added using accounting forms do not appear on > trial report because fromDate gets set to NULL > ---------------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-5938 > URL: https://issues.apache.org/jira/browse/OFBIZ-5938 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: Release Branch 14.12, Trunk > Reporter: Christian Carlow > Assignee: Pranay Pandey > Priority: Minor > Fix For: 14.12.01, 15.12.01 > > Attachments: OFBIZ-5938.patch > > > To reproduce: > 1. Manually assign a glAccount to an organization (Accounting->Global GL > Settings->Chart Of Accounts->Assign Gl Account or Accounting->Organization GL > Settings->Setup->Chart of Accounts) > 2. Perform operations that create transactions for the organizations > glAccount > 3. Run the Accounting->Organization GL Settings->Accounting->Reports->Trial > Balance > Notice that the glAccountId assigned in step 1 is not listed in the results. > This is due to TrialBalance.groovy applying a fromDate filter to > GlAccountOrganizationAndClass which is not set in step 1. Updating > glAccountOrganization fromDate to something within the trial balance range > resolves the problem. -- This message was sent by Atlassian JIRA (v6.4.14#64029)