Hello collegues,
I saw the process have an script to generate a MSWord Printable, I need to get one to generate a FastReport printable, somebody can help?
The code in this case to MSWord printable is
var reportService = new Terrasoft.Configuration.ReportService.ReportService();
Terrasoft.Configuration.ReportService.ReportData report = reportService.GenerateMSWordReport(
(PrintableId.ToString()), ObjectId.ToString(), ConvertToPdf);
var entity = UserConnection.EntitySchemaManager.GetInstanceByName("labQuoteFile");
var fileEntity = entity.CreateEntity(UserConnection);
fileEntity.SetDefColumnValues();
fileEntity.SetColumnValue("labQuoteId", QuoteId);
fileEntity.SetColumnValue("TypeId", AttachmentType);
fileEntity.SetColumnValue("Name", FileName);
fileEntity.SetColumnValue("Data", report.Data);
fileEntity.Save();
return true;
Thanks in advance