Find the inventory dimension in customer form setup pacing slip

 Today i ahve reque to fidn the inventory dimension check box in AP > Formsetup>Packingslip --> But the problem is the table is temporty that hold yes/ no so after the defug the piece of code help to Find it 


custFormletterParameters custFormletterParameters = CustFormletterParameters::find();

boolean checkPackingSlipQualityChkbox = InventDimFixedClass::dimFixed(custFormletterParameters.InventDimPackingSlip,

                                                                  InventDimFixedClass::fieldId2Idx(fieldNum(InventDim,InventDimension1)));


Using this we can find the yes no vAlue of the particular dimensions 

Comments

Popular posts from this blog

Customization on Sales invoice Report in D365 F&O

75) COC - Create a coc of the table modified method

46) D365 FO: SHAREPOINT FILE UPLOAD USING X++