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

Re: AP Vendor Ref

$
0
0

Hi,

     Try the below SP_TN

 

IF @transaction_type IN ('U') AND @object_type = '18'and @error = 0

BEGIN

IF EXISTS (SELECT T0.DocNum FROM OPCH T0 INNER JOIN ocrd T1 on T1.CardCode=T0.CardCode WHERE  T0.DOCENTRY = @list_of_cols_val_tab_del AND T0.NumAtCard is NULL)

BEGIN

SELECT @error = 8, @error_message = 'You can not edit the Vendor Ref No after Posting.'

END

END

 

 

Regards,

Manish


Viewing all articles
Browse latest Browse all 8082

Trending Articles



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