Hi
Whenever i open a Sales Invoice, i want to display additional fields on the sales lines in the Sales Invoice Subform, based on the Item No. in the sales line.
How can i achieve this?
I have extended the Sales Invoice SubForm and tried something like this where the relevant fields have a "Visible = isVisible;" property:

Here, the Rec (the sales line) is always empty because the sales lines are not yet fetched, so i cant read the data and make changes based on those.
I want to read the sales lines whenever i open a sales invoice, and based on the No. i want a few more fields to be displayed.
Thanks in advance.