This X++ Code Snippet post describes how you can easily copy records by running over all of the fields of the from-record. During this looping over all the fields, you can exclude some fields if needed.Create following method in a class:Jimmy_GlobalstaticvoidJimmy_CopyoingField(Common_from,Common_to Read More
posted @ 2011-08-04 09:55
Fandy Xie
Views(296)
Comments(0)
Diggs(0)
staticvoidJimmy_InventOnHandPhysical(Args_args){InventOnHandinventOnHand=newInventOnHand();InventDimParminventDimParm;ItemId_ItemId="10-1000";;inventDimParm.initFromInventDim(InventDim::findOrCreateBlank());inventOnHand.parmInventDimParm(inventDimParm);inventOnHand.parmItemId(_itemId);inve Read More
posted @ 2011-08-04 09:35
Fandy Xie
Views(638)
Comments(0)
Diggs(0)
Business requirement: update planned order upon modification of a salesline without master scheduling.Sometimes you want to see changes made on a SalesLine immediately on the reference Planned Order, without Master Scheduling. This post describes how you can make a little code adaptation to achieve Read More
posted @ 2011-08-04 09:13
Fandy Xie
Views(707)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号