[ https://issues.apache.org/jira/browse/OFBIZ-5938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203793#comment-16203793 ]
Rajesh Kumar Mallah edited comment on OFBIZ-5938 at 10/13/17 4:23 PM: ---------------------------------------------------------------------- I did below change: {noformat} git diff applications/accounting/widget/GlobalGlAccountsForms.xml applications/accounting/widget/GlSetupForms.xml diff --git a/applications/accounting/widget/GlSetupForms.xml b/applications/accounting/widget/GlSetupForms.xml index aae00b3..b8a3a2e 100644 --- a/applications/accounting/widget/GlSetupForms.xml +++ b/applications/accounting/widget/GlSetupForms.xml @@ -81,6 +81,7 @@ under the License. </entity-options> </drop-down> </field> + <field name="fromDate"><date-time default-value="${nowTimestamp}"/></field> <field name="submitButton" title="${uiLabelMap.AccountingNewCompany}"><submit button-type="button"/></field> </form> diff --git a/applications/accounting/widget/GlobalGlAccountsForms.xml b/applications/accounting/widget/GlobalGlAccountsForms.xml index 0d568a5..1e69dd3 100644 --- a/applications/accounting/widget/GlobalGlAccountsForms.xml +++ b/applications/accounting/widget/GlobalGlAccountsForms.xml @@ -62,6 +62,7 @@ under the License. </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> ====================== {noformat} https://drive.google.com/file/d/0B4yfAVMLmbQxTF9mcmxOdUFtbVk/view?usp=sharing was (Author: rmallah): I did below change: {noformat} git diff applications/accounting/widget/GlobalGlAccountsForms.xml applications/accounting/widget/GlSetupForms.xml diff --git a/applications/accounting/widget/GlSetupForms.xml b/applications/accounting/widget/GlSetupForms.xml index aae00b3..b8a3a2e 100644 --- a/applications/accounting/widget/GlSetupForms.xml +++ b/applications/accounting/widget/GlSetupForms.xml @@ -81,6 +81,7 @@ under the License. </entity-options> </drop-down> </field> + <field name="fromDate"><date-time default-value="${nowTimestamp}"/></field> <field name="submitButton" title="${uiLabelMap.AccountingNewCompany}"><submit button-type="button"/></field> </form> diff --git a/applications/accounting/widget/GlobalGlAccountsForms.xml b/applications/accounting/widget/GlobalGlAccountsForms.xml index 0d568a5..1e69dd3 100644 --- a/applications/accounting/widget/GlobalGlAccountsForms.xml +++ b/applications/accounting/widget/GlobalGlAccountsForms.xml @@ -62,6 +62,7 @@ under the License. </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> ====================== {noformat} !https://drive.google.com/file/d/0B4yfAVMLmbQxTF9mcmxOdUFtbVk/view?usp=sharing! > 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: Jacques Le Roux > 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)