407-248-1481

QuoteWerks Knowledgebase Topic (Article ID 6221)

Print Layouts - Formula - Display Discount

This information applies to :

Article ID
6221

Created/Updated
August 15, 2014

Category
Formulas


Are you using the most current release of QuoteWerks?
Version 24.0 Build 2
Question:

How do I create a formula which shows the Price Modifier Discount as full text instead of D30 (30% Discount) in the layout?

Solution:

Insert the following text into a formula:

.if.first(documentitems->pricemodifier,1)="D".then."Discount "+(last(documentitems->pricemodifier,(len(documentitems->pricemodifier)-1))+"%").else.""

New Search