Get first LineItem using C# script

At document definition level, I am writing a a script for lineitems. I want to fetch the first lineitem based on keyword and store it in a variable if found else define the variable as "not defined". And using this variable assign different values to subsequent line items. Has anyone done this before? Can you help me with the script, how should i fetch the first lineitem and store in a variable?

Was this article helpful?

0 out of 0 found this helpful



Please sign in to leave a comment.