on 02-11-2008 3:31 PM
Hi All,
This issue has not been resolved in our SBO system. we can't prevent user to add good receipt PO without copy from PO. I mean the user should only make good receipt if it based on a PO. How to prevent good receipt PO posting if there is no PO number as a base document ? I would appreciate if it is store procedure since our FMS and UDF are so many used now. Pls give advice. TIA
Rajh
Rajh,
Use this in your SBO_SP_TransactionNotification
IF @transaction_type = 'A' AND @object_type = '20'
BEGIN
IF EXISTS (SELECT T0.ItemCode FROM [dbo\].[PDN1\] T0
WHERE T0.BaseType = -1 AND T0.DocEntry = @list_of_cols_val_tab_del
BEGIN
SELECT @Error = 1, @error_message = 'Goods Receipt not based on PO'
END
END
Suda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.