Question
How to include the document export time when exporting to database or to data files?
Answer
- Create a text field and remove the option to Show on Verification on its Properties;
- Create a Script Stage with the below script and place it right after Verification Stage:
using System;
Document.Field("Invoice Layout\\ExportTime").Value = DateTime.Now; - As a result, the Exported files will get the Export time right before being Exported:
Comments
1 comment
Samir Waikar
This didnt work for me in excel file. Any idea?
Please sign in to leave a comment.