コミュニティ

How to count recods of the lineItems in INVOICES.

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件のコメント

  • Avatar
    Permanently deleted user

    Hi javsuc,

    Please try the following script:

    if(Document.HasField("Invoice Layout\\LineItems"))

       int count = Document.Field("Invoice Layout\\LineItems").Items.Count;

     

    0

サインインしてコメントを残してください。