Create a file based on a query after a delivery Note is created
I would like to create a flat file (<FileName>.txt) based on a query after a delivery note is created and save it to a predefined folder.
The file wil be created only for a spesific series.
I would like to see an example is anyone did somthing like that before.
Hi, You should create an Optimizer rule of type FormDataAdd after event linked to the Delivery Note form type.
to create a file you can use System.IO.File.Create to create the file (ref. http://msdn.microsoft.com/en-us/library/system.io.file.create(v=vs.110).aspx )