on 2018 Aug 28 6:47 AM
Hi Experts
I Need SP for
With Out Inventory Request I should not raise inventory Transfer
Try this one
IF @transaction_type IN ('A','U') AND @Object_type = '67' BEGIN /* Generate error if Inventory Transfer without Request. */ IF EXISTS (SELECT T0.[DocEntry], t0.[DocNum] FROM OWTR T0 INNER JOIN WTR1 T2 ON T0.[DocEntry] = T2.[DocEntry] WHERE T2.[BaseType] = -1 and T0.DocEntry = @list_of_cols_val_tab_del) BEGIN SELECT @Error = 1001, @error_message = 'Inventory Transfer Without Inventory Transfer Request' END END
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
106 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.