This week I started to transform some OnAfter and OnBefore Hooks on tables to Events.
When performing these manuel steps I first though about Upgradeability. Every modification must be upgraded smoothly without any manual handling afterwards.
So what will the result be if I upgrade a customer with the Hook triggers? I tested with a simple example.
Vote
Vote: GETSELECTIONFILTER as default page function
Every now and then you need a selection of records from a list page. To get the selection you need to add a global function like this:
PROCEDURE GetSelectionFilter@50000(VAR SalesShipmentHeader@50001 : Record 110);
BEGIN
CurrPage.SETSELECTIONFILTER(SalesShipmentHeader);
END;
Wouldn’t it be great if we can directly call for example PostedSalesShipments.GETSELECTIONFILTER(SalesShipmentHeader) by default?