
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));