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

Re: A/P Invoice due date user can't change

$
0
0

Hi Mukesh,

 

Please Create one UDF at Header Level for Due Date Approval and Place this below Query in UDF and make Auto refersh on DocDate.

 

SELECT T1.ExtraDays  FROM OPCH T0

INNER JOIN OCTG T1 ON T0.GroupNum = T1.GroupNum

Where $[OPCH.GroupNum] = T1.[GroupNum]

 

 

Then Please Place this below Query in Approval Template.

 

SELECT DISTINCT 'TRUE' FROM OPCH T0

Where DATEDIFF(DAY,$[OPCH.DocDate.Date],$[OPCH.DocDueDate.Date])  <> UDF

 

Please check above and let me know result.

 

 

Thanks'

--

--

Regards::::

Atul Chakraborty


Viewing all articles
Browse latest Browse all 8545

Trending Articles



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