I create Picking List from From SalesEditLines and I want to change InventDimId, under certain circumstances, after creation of WMSOrderTrans table. I have put breakpoints to WmsOrderTrans and WMSOrders tables methods and in class WMSOrderCreate but code do not break. Also in the code of Form SalesEditLines WMSOrderTrans table or class do not mentioned anywhere… Any help would be vey valuable.
I had to uncheck Execute business operations in CIL in User’s options, in order to use debug.
My scope is to use in Picking List Items according to oldest Serial/Batch Number(InventDim table). So I want to update wmsOrdertrans.InventDimId accoriding to my cretiria. I think that method addInventTransReservations in table WmsOrder is what I need.
You can debug CIL, but you have to use a debugger for CIL, not the debugger for X++. X++ and CIL use two completely different runtime environments, so you need different debuggers too.