AX / D365FO – MERGING A LEDGER DIMENSION WITH A DEFAULT DIMENSION in AX2012 – X++

This example shows how to merge a ledger dimension coming from one place with a default dimension from another place.

This could be the ledger dimension in a ledger journal line we need combined with a default dimension from customer.

Follow this code to reach the goal :


myCombinedDimension = DimensionDefaultingService::ServiceCreateLedgerDimension(ledgerJournalTrans.LedgerDimension, custTable.DefaultDimension));

Leave a comment