Susan Posted July 14, 2020 Share Posted July 14, 2020 I have a table which uses external data by matching account numbers. Below the table are totals which are taken from the mailing data brought in through FusionPro (not in my table rule). I was wondering if there is a rule that would subtract an amount in a external data field from an amount in the mailing data. I've attached a sample of what I mean.FP Help.zip Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted July 16, 2020 Share Posted July 16, 2020 This should work: var InvoiceTotal = StringToNumber(Field("INVOICE TOTAL").replace(/[\$,]/g, '')); var WPP = StringToNumber(Rule("WPP Field")); return FormatNumber("$#,###.00", InvoiceTotal - WPP); Quote Link to comment Share on other sites More sharing options...
Susan Posted July 20, 2020 Author Share Posted July 20, 2020 Thanks Dan, worked great. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.