Portal Row Number?
Hey, I want to have a field portal_row, which would calculate portal row number.
I am using standard invoicing solution, two tables are important here - Invoices and Lines. So, I'm in Invoices layout and adding products via portal which is based on LINES table. So, let's say, if 1st row in Invoice is Black Coffee and 2nd row is Latte, i want for both records to hold value 1 and 2 respectively in LINES::portal_row.
How do i do that?
Get(ActivePortalRow) is not an option, as I'm going to use those numbers outside the Invoices layout.
Thanks in advance