Hii,
If total amount of a sales order is zero then user should not be able to Confirm, Picking, Packing and Invoicing on that Sales Order, even it has one or more lines.
System should show message "Sales Order net amount is zero so cannot proceed."
How we can achieve this? Is there any settings in the Setup area?
If need customization, where I can do that?
Thanks,
*This post is locked for comments
Thanks All,
We achieved this requirement by using Sales Order Workflow. We have a customized workflow for Sales Orders.
Have you looked at writing it on init method of salesTable form? writing a conditional logic after the super? you'll need to find out what the name of your net amount field first by looking at the properties window at design level in AOT and set this field's auto declaration property to Yes. Do you want that warning message to show up when users click on Confirm, Invoice button etc?
Hii Rik Spoor,
We need it for Sales Order. We don't have workflow on Sales Orders. Now only possibility seems to be in coding, but I am not getting where to write the code and how to get SO total amount.
Thanks,
If you have a purchase order approval workflow you could set-up a extra check wich automatically rejects the workflow if the amount equals zero.
Yes I need to do some customization. In what classes and methods we need customization that I am searching. To make an additional check and show info log before confirming, picking, packing, invoicing if net amount of sales order is zero.
you might need to write some code for this requirements.
any idea please...
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,134 Super User 2024 Season 2
Martin Dráb 229,928 Most Valuable Professional
nmaenpaa 101,156