I tried as u said but also gave me error (The main account 1204010101 does not exist.)
this photo of manual insert in ax form
when i tried to insert by x++ by the next code
journalTrans.parmAccountType(LedgerJournalACType::Ledger); acctPattern = ["2107032000","2107032000",0]; journalTrans.parmLedgerDimension(AxdDimensionUtil::getLedgerAccountId(acctPattern)); journalTrans.parmOffsetAccountType(LedgerJournalACType::Bank ); offSetAcctPattern = ["1204010101","1204010101",0]; journalTrans.parmOffsetLedgerDimension(AxdDimensionUtil::getLedgerAccountId( offSetAcctPattern));
Error is (The main account 1204010101 does not exist.)
1204010101 is wrote right as first photo
also please tell me why you repeated the number "1101010000" in this container in your replay
["1101010000", "1101010000", 0]
thank you sir