Hi,
I am new to the AOT world of methods etc. so apologies if the question is basic or I am going about this in a completely incorrect way..
The scenario
I have created a form extension in AOT on SalesLinesOpenOrders to add a couple of fields.
I need to create a custom field which is the result of Price * Unit.
I don't want to create a view and a calculated column I hoped I could do it quickly in the form.
I add a field to the GRID called Price * Unit Calc as a REAL (I am aware that it may not be best practice to do this on the form)
I now wanted to use the Data Method Property to call a method that calculates P * U and returns the result to the GRID
When I use the dropdown on Data Method I see methods that I can use these are prebuilt for the table, as below 'qtyActivateRemainder'
My Question;
How can I create a custom method 'PriceUnitCalc' that becomes available in that drop down?

Any help appreciated.
Regards
D