コミュニティ

Getting the second value of possible hypothesis

Hi,

I use the below scriptsnippet to add a value in Amount fields. Handling it in a Region Field.
I was wondering if I could somehow modify the script in order for it to take the second found hypothesis ?
It is some quite tricky invoices I am trying to process.

I have set the field to have 2 possible hypothesis and it finds them both. I just don't know
how to access the second one, which is the one I need.

 

if ifAmountRight.IsFound then {

if ifAmountRight.Field.IsFound then RSA: ifAmountRight.field.Rect;

} else if ifAmountBelow.Field.IsFound then {

if ifAmountBelow.Field.IsFound then RSA: ifAmountBelow.Field.Rect;

} else {

DontFind;

}

 

Thx for your time and help in advance

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

1件のコメント

  • Avatar
    Permanently deleted user

    Hello,

    Could you please send us the samples of your documents and schema of what data you want to extract from it?

    0

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