I need to count how many line-items a invoice have.
That way I can treat that document as Exception, in case line-intems counter = 0.
Thanks.
I need to count how many line-items a invoice have.
That way I can treat that document as Exception, in case line-intems counter = 0.
Thanks.
0人中0人がこの記事が役に立ったと言っています
コメント
1件のコメント
Hi javsuc,
Please try the following script:
if(Document.HasField("Invoice Layout\\LineItems"))
int count = Document.Field("Invoice Layout\\LineItems").Items.Count;
サインインしてコメントを残してください。