rendering { layout(SalesShipment) { Type = RDLC; LayoutFile = './src/reportextension/layouts/50100.SalesShipmentExt.rdlc'; } layout(CommercialInvoice) { Type = RDLC; LayoutFile = './src/reportextension/layouts/50101.CommercialInvoice.rdlc'; } }
trigger OnAction() var SalesShptHeader: Record "Sales Shipment Header"; SalesShipment: Report "Sales - Shipment"; begin SalesShptHeader := Rec; SalesShipment.SetTableView(SalesShptHeader); <--- set rdlc required here SalesShipment.Run(); end;
Answers
Anybody ever done this?