Placeholder

Customer Forum

PDF current date

Brian Posted: 2020-02-24 17:10

How can you show todays date on a xsl pdf document. I want to use a calculation if current-date() > payment due date to work out overdue invoices.

Brian

Gavin (Workbooks Online) Posted: Wed, 26.02.2020 - 09:47

Hi Brian, 

 

This is a little out of the expertise of the Workbooks Support Team, however from oding a bit of research I do not think that this is possible in the version of XSL that Workbooks uses for pdfs. 

 

I would reccommend doing all of the relevant calculations in a Workbooks Report beforehand, and then auto populating a date Field on the invoice with the use of a Dynamic Linked Item. Your pdf code can then call directly on the Field in Workbooks that has had the calculations performed already. 

 

 

Best Regards,

 

Workbooks Support