I'm trying to move some code from NAV2018 to a BC14 OnPrem extension.
On P46 Sales Order Subform there's an Item Variable, that we get OnAfterGetRecord. Item."Description 2" is then added as SourceExpr on the page.
How is this simple code supposed to work as a page extension?
Tried to create a function in the page extension object in AL, that returns Item."Description 2", and then add that as a field. This doesn't work.