Jump to content

Recommended Posts

Posted
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

Posted

This should work:

var InvoiceTotal = StringToNumber(Field("INVOICE TOTAL").replace(/[\$,]/g, ''));
var WPP = StringToNumber(Rule("WPP Field"));
return FormatNumber("$#,###.00", InvoiceTotal - WPP);

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...