X++ code to edit a output order for a transfer order

Hi all,

In output order I wanted to reduce the inventory order quantity through x++ coding so that I can create a new output order . how to edit a output order using x++ in order to adjust the shipped quantity of transfer order in ax 2012, please suggest a solution.

Thanks,

Gopinath

Have a look at \Data Dictionary\Tables\WMSOrderTrans\Methods\split

Hi Kranthi,
when thi smethod is used in the transfer order process can u please explain.

Thanks in advance
Gopinath

It is used in the picking list registration (for both transfer and sales order).
Picking list registration → Lines → Functions → Split

Anyone please help where the values for those two condition are saved or fetched to avoid that warning mentioned this is stopping me from creating a output order for the given transfer order. please suggest a solution

Thanks in advance,

Gopinath

maxQty = wmsOrderCreate.parmMaxQty();

maxCWQty = wmsOrderCreate.parmMaxCWQty();

Try to debug.

Hi kranthi,
I could make out this method, but i just want to know which table field value this maxqty and maxCWQty represents so that I can write a job to increase the value more than 0 to make create a output order. Please help with a solution kranthi

Thanks in advance,
Gopinath

Have a look at \Classes\WMSOrderCreate\initMaxQty