Quantcast
Channel: Microsoft Dynamics GP
Viewing all articles
Browse latest Browse all 38722

Forum Post: RE: Need to Default Purchases Amount in Integration Manager when there are multiple distribution lines

$
0
0
D'oh. Totally zoned on the fact that I should check the working Integration for scripts. Before Integration: SetVariable "PurchaseAmount", CCur(0.00) Before Document Commit: DestinationFields("Purchases") = _ GetVariable("PurchaseAmount") SetVariable "PurchaseAmount", CCur(0.00) On the Credit Distribution Field will be: SetVariable "PurchaseAmount", _ CCur(GetVariable("PurchaseAmount")) + _ CCur(SourceFields("AP Credit Memo.Amount")) CurrentField = SourceFields("AP Credit Memo.Amount") Thanks!

Viewing all articles
Browse latest Browse all 38722

Trending Articles



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