Sure. Create a codeunit with a function that would return the line no. The other option is publish the warehouse shipment line page and filter it on sales order and line no.
Ahmed Rashed Amini
Independent Consultant/Developer
Please can u explain more, my situation is : I create a new Invoice, after settig the sell to customer no , I do Functions-> Get Shipment Lines, then I select the line and I press OK. When I try to do it in WS i get the call back error
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
The call back error means that you are running the report modal. You need to change code for the report that creates the warehouse document to run as instead.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n