While trying to execute period end processing for any time account where balance should carry forward, we are getting the below error : "More than one booking made per time account."
Error1: Save Error: TLMMessage[statusValue=DETAIL_WRONG_BOOKING_DATE, severity=ERROR
Error2: Error executing rule Leave: ERROR_RUNTIME - Parent cannot be null for creating new child!. Please check rule definition.
Reproducing the Issue
Simulate Period end processing for previous year.
The errors are due to a configuration mistake in Period End Processing (PEP) business rule.
Issue is in the second create statement which is to create a new time account details but here it is trying to create on existing account.
The logic should be Create NewAccount.Time account details.
Once you correct this configuration for PEP business rule, you can simulate the calendar and to check whether the results are successful.
An example of wrong configuration screenshot:
Period end processing steps:
1. If you use a scenario to carry balances forward to the follow-up account, run an account creation calendar run before you start the period-end processing calendar run to make sure that all needed time accounts are created.
2. You define your period-end processing logic in a business rule. Here, create time account bookings of type period-end processing to adjust(set balance to zero) or to move(carry forward all or certain amount) the open balance.
3. Set the old account to closed status.
Therefore, the second create statement in the Period end processing (PEP) rule should be pointing to new time account as shown in the picture below:
SuccessFactors EmployeeCentral Time-off Period end processing rule More than one booking error , KBA , period end processing , employeecentral , pep , successfactors , more than one booking made per time acco , LOD-SF-EC-TIM , Time Off , Problem