Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8604

Re: SAP B1 store procedure for released production order - restrict change of basic quantity

$
0
0

Hi,

 

Try:

 

IF @object_type='202' AND @transaction_type = 'U'

Begin

IF EXISTS(SELECT T0.DocEntry FROM OWOR T0 inner join WOR1 T1 on t0.docentry = t1.docentry  WHERE T0.DocEntry = @list_of_cols_val_tab_del and T0.status ='R')

BEGIN

SELECT @Error = 1, @error_message = 'Not authorized to updated base and planned Qty'

END

END

 

Thanks & Regards,

Nagarajan


Viewing all articles
Browse latest Browse all 8604

Trending Articles