[ 
https://issues.apache.org/jira/browse/OFBIZ-13070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040796#comment-18040796
 ] 

ASF subversion and git services commented on OFBIZ-13070:
---------------------------------------------------------

Commit 646b59336cece0a1526379e6fc9a98a6391a0976 in ofbiz-framework's branch 
refs/heads/trunk from pavololbert
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=646b59336c ]

Fixed: BalanceSheet generates an error (OFBIZ-13070) (#924)

Fixes missing custom period start by fixing the condition for fromData

Due to the change from the previous version 22.01, there was a change in
the PeriodServices and the condition for finding the period was wrong
causing the exception described in the bug.

The correct implementation of the condition was taken from:

https://github.com/apache/ofbiz-framework/blob/release22.01/applications/accounting/minilang/period/PeriodServices.xml#L23

Thanks: https://github.com/pavololbert

> BalanceSheet generates an error
> -------------------------------
>
>                 Key: OFBIZ-13070
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13070
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Pierre Smits
>            Assignee: Jacques Le Roux
>            Priority: Major
>
> When accessing 
> [https://demo-trunk.ofbiz.apache.org/accounting/control/BalanceSheet?organizationPartyId=Company]
>  following error is thrown
> {code:java}
> java.lang.IllegalArgumentException: Error running script at location 
> [component://accounting/src/main/groovy/org/apache/ofbiz/accounting/reports/BalanceSheet.groovy]:
>  org.apache.ofbiz.service.ExecutionServiceException: ERROR: Could not 
> complete the Prepare data for the Income Statement 
> [GeneralLedgerServices.xml#prepareIncomeStatement] process [problem invoking 
> the [getAcctgTransEntriesAndTransTotal] service with the map named 
> [acctgTransEntriesAndTransTotalMap] containing 
> [{userLogin=[GenericEntity:UserLogin][createdStamp,2024-04-24 
> 15:39:29.792(java.sql.Timestamp)][createdTxStamp,2024-04-24 
> 15:39:29.788(java.sql.Timestamp)][currentPassword,{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a(java.lang.String)][disabledBy,null()][disabledDateTime,null()][enabled,null()][externalAuthId,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,Europe/Amsterdam(java.lang.String)][lastUpdatedStamp,2024-04-25
>  08:48:07.463(java.sql.Timestamp)][lastUpdatedTxStamp,2024-04-25 
> 08:48:07.428(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)],
>  customTimePeriodEndDate=2024-04-25 16:10:46.214, isPosted=Y, 
> glAccountId=409000, organizationPartyId=Company, locale=en_US}]: The 
> following required parameter is missing: customTimePeriodStartDate] {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to