Create dimension for bank account in x++
If you want to create the dimension in the table DimensionAttributeValueCombination for the Bank AccountId, you simply write the line below,
LedgerDynamicAccountHelper::getDynamicAccountFromAccountNumber(accountId.text(), LedgerJournalACType::Bank);
The new record is created in the DimensionAttributeValueCombination table.
Thanks.
Comments