Live Forums/ Traffic LIVE/Templates Library

Additional OutputTemplate Tags

Jeremy Rudge
posted this on October 12, 2011 10:54

Most common template tags are found in the user guide. Some clients want more than this and a list of suplemenental tags is listed here. We cant list them all as there are thousands! The one's recently requested are below

 Quote
- Address Alias: $!{quote.quote.jobDetail.jobContact.ownerAlias.name}

- description: $!{quote.quote.jobDetail.description}
- brief: $!{quote.quote.jobDetail.notes}

- quote related job's number (if available): $!{quote.quote.jobDetail.job.jobNumber}

- The email address of the quote owner ( ie your member of staff) $!{quote.quote.jobDetail.accountManager.employeeDetails.personalDetails.emailAddress}



* Invoice

 - client reference (i.e. "Client PO") $!{invoice.job.clientReference}

- PO Value (the client PO amount) $!{invoice.job.clientPurchaseOrderValue.amount) and its currency is ........currency at the end
- Job description: $!{invoice.job.jobDetail.description}
- Address Alias: $!{invoice.job.jobDetail.jobContact.ownerAlias.name}
- Job TAX amount:  not supported but we can compute it by adding:

- brief: $!{invoice.job.jobDetail.notes}


#set( $vatTotal = 0.00 )
#foreach( $vat in ${invoice.vatItems} )
   #set( $vatTotal = $vatTotal + $vat.amount )
#end

and then use:
${vatTotal}

- Job Grand Total: ${invoice.grossTotal}
 - country code: $!{company.senderAddress.country.iso} 

$!{company.senderAddress.country.printableName}

 

PO Tax Rate

 

PO TAX rate:  $!{po.cost.supplierOrderLineItem.taxType.rate}

 
Topic is closed for comments