Hi,
I have extended Sales - Shipment’s report’s request page adding a boolean. Is it possible to load it’s value from Rec before the request page is shown?
I’ve tried some triggers like “OnOpenPage” but it doesn’t contain the Rec yet.
OnPreDataItem executes after the request page...
I show you the code:
reportextension 50345 SShipReportExt extends "MGS Sales - ShipmentV2" { RDLCLayout = './src/Report/Layouts/StandardSShipmentExtended.rdl'; dataset { add("Sales Shipment Header") { column(Valueless; Valueless) { } } modify("Sales Shipment Header") { trigger OnBeforePreDataItem() var begin //It's not executing this code before the request page Message('test'); end; } } requestpage { layout { addlast(Options) { field(Valueless; Valueless) { ApplicationArea = all; Caption = 'Valueless'; ToolTip = 'Hides values from shipment lines'; } } } } var Valueless: Boolean; }
Any idea?
Thank you!