How do I store the number of portal line items in a variable?
I am trying to build a script that requires the number of line items in a portal in one of my layouts. In my case, my layout is Purchase Orders, and my line items is PO Line Items. The PO Line Items are linked to the PO by a field, kf_POID in my PO Line items table; this kf_POID gets pulled from my kp_POID (unique serial number identifier) in my PO table. So do I have to use those somehow in a calculation and store that in a variable? Or can I use some easier method to get the number of portal line items showing in that particular PO? Thanks.