Hello
I am trying to add a custom field to the SO Line details, which will calculate Available Qty - Line Qty for each line on the sales order.
We are trying to do this as we have orders which we import that contain thousands of lines, and after importing it is extremely tedious to scroll through to find the lines which have the “QTY will go negative” error tagged on them. We do not allow inventory to go negative in our system, and for our use case, we must put the “oversold” quantity of product onto separate orders.
I dont know where to start with this, and any help will be greatly appreciated!
Solved
Add a calculated field to SO Lines?
Best answer by Naveen Boga
Hi
- Extend the SOLine DAC file, and introduce a new calculated field (Decimal type)
- Extend the SOOrderEntry Graph file
- Write a fieldselecting event, and inside this event, add logic to get the Qty available for this field and subtract with the line order qty.
Hope this helps and let me know if you need any assistance.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.