I need to use the values of some fields in the Purchase Order group in FlexiCapture 12 for Invoices in my routing script. How should I access them correctly?
Since the built-in Purchase Order group is repeatable in FlexiCapture 12 for Invoices, it is required to explicitly specify the instance in the field path, i.e.:
Note: This sample code checks only the first occurrence of the Purchase Order group. If multiple purchase orders can be met on an invoice, then adjust the script accordingly, i.e. looping through all instances might be required.