<CallbackCommands> <px:PXDSCallbackCommand Visible="false" Name="FilesUpload" DependOnGrid="grid" /> </CallbackCommands> <ClientEvents CommandPerformed="setActionButtonColor" /> <ClientEvents AfterCellUpdate="UpdateItemSiteCell" /> //it will use for after row updation grid change color of row. <script type="text/javascript"> function UpdateItemSiteCell(n, c) { var activeRow = c.cell.row; if (px_all && px_all["ctl00_phG_tab_t0_grid"] && px_all["ctl00_phG_tab_t0_grid"].rows) { let lines = px_all["ctl00_phG_tab_t0_grid"].rows.items; for (let i = 0; i < lines.length; i++) { ...
Below code is used to Generate pdf from Report in Acumatica. ARInvoice shipment = Base.Document.Current; //Report Processing Dictionary<String, String> parameters = new Dictionary<String, String>(); parameters[nameof(ARInvoice.RefNbr)] = Base.Document.Current.RefNbr; PX.Reports.Controls.Report _report = PXReportTools.LoadReport("IS642003", null); PXReportTools.InitReportParameters(_report, parameters, SettingsProvider.Instance.Default); ReportNode reportNode = ReportProcessor.ProcessReport(_report); //Generation PDF byte[] data = PX.Reports.Mail.Message.GenerateReport(reportNo...
Comments
Post a Comment