Question
FastReport printables on "Creating quotes for opportunities"
00:50 Feb 24, 2021
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
Like
1 comments
17:05 Feb 25, 2021
Hello Julio,
I've noticed that you've already found the solution to this question in terms of this community post. Please specify if additional help is needed in this thread.
Thank you!
Best regards,
Oscar
Show all comments