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

Popular posts from this blog

Channel Setup Part 2 ---- Create Organizational Hierarchy in D365 F&O

How to Create Extended Data Types (EDTs) in Finance and Operations of Dynamics 365 -- F&O Customization Part 2

Batch Job stuck in "Waiting" state in D365 F&O?