How to access built-in Purchase Order group fields in scripts?

Question

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?

Answer

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.​

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.