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!
↧