How to: Update 1 financial dimension of ledger dimension in D365FO in X++
I received a request to update the cost center financial dimension for the posted GL transactions for the fixed asset depreciation journal. There was an issue with master data, and the default financial dimensions were corrected after the journal was posted. Below is the job that I created to update the FD on the Ledger dimension using the default dimension . public static void main(Args _args) { GeneralJournalAccountEntry GeneralJournalAccountEntryUpd; GeneralJournalEntry GeneralJournalEntryUpd; AssetTrans assetTrans; AssetBook assetBook; Di...