PO number extraction

  • 105 Views
  • Last Post 08 August 2018
  • Topic Is Solved
sara posted this 07 August 2018

Hi,

I have purchase order nos on some invoices. I enabled purchase order section in data form in document definition but when i run some invoices that field is still blank although it has PO number on it. How to get PO number extracted?

Appreciate help.

Order By: Standard | Newest | Votes
Vladimir Dimitrijevic posted this 07 August 2018

Hi Sara,

If you didn't added all PO Number keywords for this language, please add them.
If you did, it can happen that from some reason PO number will not be recognized, even if you added all keywords. Solution can be to use the FlexiLayout. You will need to create static text field with all PO number keywords, and then add new character string field to search nearby that static text (usually right of keyword, or below keyword).

Best regards,
Vladimir

sara posted this 07 August 2018

Hi Vladimir,

Nice to see you again. I have added keywords in admin station still they are not recognized automatically. Don't know why is it so.

Do it need PO Database also to work in admin station?

In Fexilayout, some nos are in Right position and some are below. How to define relations with PO keyword then?

Vladimir Dimitrijevic posted this 07 August 2018

Hi Sara,

To enable PurchaseOrders recognition and to setup PurchaseOrders dataset, please follow this instruction: http://help.abbyy.com/en-us/flexicapture/12/invoice_reader/ir_pomatching

For FlexiLayout topic, I hope this helps: http://help.abbyy.com/en-us/flexicapture/12/flexilayout_studio/relations

Best regards,
Vladimir

sara posted this 07 August 2018

Hi Vladimir,

Thanks for suggestion. I understand the topic of Flexilayout but i want to know  'How can we define relations for one PO field which can be either in right or below position'? How can we predict that it is either of the sides so as to extract it?

Appreciate help.

Vladimir Dimitrijevic posted this 07 August 2018

Hi Sara,

You can't predict by 100%, but you can limit your field only on characters that will appear in PO Number. For example, if your PO Number contains only numbers, you will select only digits. Or if your order number contains letters in prefix, you can add letters by 30% and digits by 70%. Or if you know that it starts with "7200" and will have 6 more digits then you can add regular expression that PO number will start with 7200 and can contain only numbers and length will be 10 digits.

These are only examples, there are many combinations. First investigate how PO number is generated, and then use the example from the link I provide you earlier.

Best regards,
Vladimir

  • Liked by
  • sara
sara posted this 08 August 2018

Thanks Mr.Vladimir. It will help me to get the things done. Thanks very much.

  • Liked by
  • Vladimir Dimitrijevic
Vladimir Dimitrijevic posted this 08 August 2018

Hi Sara,

You're welcome, let us know here if you have trouble solving it.

Best regards,
Vladimir

Close