Tuesday, 22 August 2017

best pratcise for assigning constant in d365

                               

                                numLP       = pass.lookupNum(#Qty);
                                const int userfinalQty = 1;       //declare the variable where it is needed to be used
                                finalQty    = userfinalQty;
                                finalUnitId = any2str(pass.lookup(#UOM));
                                pass.insert(#QtyReceived, numLP);

No comments:

Post a Comment

intercompany PO multiple product receipt by x++

public void processStampICPO(PackingSlipId _deliveryNote,                             Transdate _deliverydate,                             ...