Thursday, February 28, 2019

How to select MainAccount using LedgerDimension in X++

With the help of getMainAccountFromLedgerDimension Method in DimensionAttributeValueCombination Table we can fetch the main account.


DimensionAttributeValueCombination::getMainAccountFromLedgerDimension(generalJournalAccountEntry.LedgerDimension);

1 comment:


  1. Thanks for sharing this.,
    Leanpitch provides crash course in Brain hacks using NLP everyone can use it wisely.
    NLP training

    NLP crash course

    ReplyDelete

How to enable the dimension fields based on the Item selected on the form.

[Form] public class KMTShipFromWarehouses extends FormRun {     InventDimCtrl_Frm_EditDimensions        inventDimFormSetup;     /// &l...