on 08-15-2023 12:10 PM
SAP B1 10.0 and have the Approval Process enabled and 'Enable Updating the Document Generated/Updated by Approval Process' ticked as there are certain fields that we still need to be able to change after Sales Order approval.
I'm trying to add in validation configuration so that only certain users are able to update an approved Sales Order and here's what I have:
Trigger details:
Formtype = 139
Item = 1
FormMode = Update
Event = Item Pressed
BeforeAction = True
Condition:
IF(SELECT Status FROM OWDD where DocEntry = $[$8.0.0]) = 'Y'
BEGIN
SELECT 'STOP' FOR BROWSE
END
...and then execute a universal function where condition result is STOP that displays a message saying the user in not permitted to update an approved sales order.
I have a list of users that are excluded from the validation, those who should still be able to update.
I saved this and asked a user not in the exclusion list to test, she was still able to update an approved order.
Any ideas?
User | Count |
---|---|
107 | |
12 | |
10 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.