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

Re: Sales Order Blocking

$
0
0

Hi Yousuf,

 

Check below SP Transaction Notification.

 

If @object_type='17' and @transaction_type IN ('A','U')

BEGIN

If Exists (Select T0.DocEntry from ORDR

Where T0.CardCode IN (SELECT CardCode FROM OCRD WHERE CardType = 'L')

And T0.DocEntry = @list_of_cols_val_tab_del)

Begin

Select @error = 17, @error_message = 'Lead is not allowed for Sales Order'

End

END

 

Hope this helps

 

 

Thanks'

--

--

Regards::::

Atul Chakraborty


Viewing all articles
Browse latest Browse all 8695

Trending Articles



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