End year pposting- cannot transfer closing balance to opening balance

Hi guys,

I got an error “Closing or opening transactions cannot be created for account: ######” for all balance accounts when running opening transactions under General Ledger> Periodic> Financial year close.

I could do it last year and this is the first time I saw this error. My system is AX 2012 RTM and below is the configurations.

All balance accounts have Close to be Balance, Close type to be Real.

All PL accounts have Close to be Result, Close type to be Normal.

Posting definition is active and transaction posting definitions is defined.

Public sector is enabled.

Delete close-of-year transactions during transfer is ticked

Untick create closing transaction during transfer, set Financial year status to closed and voucher number must be filled in.

No closing sheet is required.

Do I miss out anything?

Cheers

I use debugger and find that the error occurred on Class\LedgerTransferOpening\ProcessQuery, line 113 as below. I couldn’t pass this query. Any solution here?

if (ledgerDimensionAccountOffset)
{
// Add the account and offset account to the temporary work table
if (_ledgerOpenCloseTransType == LedgerOpenCloseTransType::Open)
{
this.addAccountSumPrimo(generalJournalEntry, generalJournalAccountEntry, ledgerDimensionAccountOffset);
}
else
{
this.addAccountSumUltimo(generalJournalEntry, generalJournalAccountEntry, ledgerDimensionAccountOffset);
}
}
else
{
checkFailed(strfmt("@SPS574", dimensionAttributeValueCombination.DisplayValue));
}

}