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

Re: Goods Receipts PO Without Purchase Order

$
0
0

Hi,

 

Please try this:

 

IF @transaction_type = 'A' AND @object_type = '20'

BEGIN

IF exists (Select ItemCode from dbo.PDN1 T0

Where T0.Baseentry is null

AND T0.DocEntry=@list_of_cols_val_tab_del)

Begin

SELECT @error = 1, @error_message = 'Not allowed to create GRPO without Purchase Order!'

End

END

 

Thanks


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>