Highlighted
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-23-2018
09:18 AM
07-23-2018
09:18 AM
IF condition not working in Quote Template
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
Solved! Go to Solution.
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-23-2018
09:27 AM
07-23-2018
09:27 AM
In one specific scenario IF condition was not working in the Quote Template. On checking the format I could see the MergeField was also enclosed in double quotes as below: "{ MERGEFIELD Quote.Previewed_Discount }"
IF "{ MERGEFIELD Quote.Previewed_Discount }" = "0.00" "no discount" "Discount:" \* MERGEFORMAT
When the double quotes was removed from the MERGEFIELD the IF condition worked fine.
IF { MERGEFIELD Quote.Previewed_Discount } = "0.00" "no discount" "Discount:" \* MERGEFORMAT
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √