on 08-28-2018 6:47 AM
Hi Experts
I Need SP for
With Out Inventory Request I should not raise inventory Transfer
Hi Jennifier ,
Could you check this query ? You should change table name.
IF @object_type = '15'
BEGIN
IF EXISTS (SELECT T0.ItemCode FROM [dbo].[DLN1] T0 INNER JOIN [dbo].[ODLN] T1 ON T1.DocEntry = T0.DocEntry WHERE T0.BaseType = -1 AND T0.DocEntry = @list_of_cols_val_tab_del )
BEGIN
SELECT @Error = 1, @error_message =ERROR MESSAGE !'
END
END
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Hi
Iam talking about inventory transfer request not for delivery
regards
Jenny
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.