Why do you need this change?
Hi,
the reason why i need this is, i want to skip the opening of the standard pages and want to open my own individual pages.
Subscribed to the events in the above named pages, i am able to do the following:
example:
[EventSubscriber(ObjectType::Page, Page::"Price Worksheet", OnBeforeInitPage, '', false, false)]
local procedure PriceWorksheet_OnBeforeInitPage()
var
MyPage: Page "MyPage";
begin
if MyPricingIsEnabled then begin
MyPage.Run();
Error('');
end;
end;
Describe the request
Please add the events "OnBeforeInitPage" in the following pages:
"Prices Overview"
"Price Worksheet"
"Purchase Job Price Lists"
"Purchase Price Lists"
"Sales Job Price Lists"
"Sales Price Lists"
[IntegrationEvent(false, false)]
local procedure OnBeforeInitPage()
begin
end;
trigger OnInit()
begin
OnBeforeInitPage();
end;
Internal work item: AB#638862
Why do you need this change?
Hi,
the reason why i need this is, i want to skip the opening of the standard pages and want to open my own individual pages.
Subscribed to the events in the above named pages, i am able to do the following:
example:
Describe the request
Please add the events "OnBeforeInitPage" in the following pages:
"Prices Overview"
"Price Worksheet"
"Purchase Job Price Lists"
"Purchase Price Lists"
"Sales Job Price Lists"
"Sales Price Lists"
Internal work item: AB#638862