Przejdź do głównej zawartości

FillDataFromOCR

Fill data from OCR info from given document.

FillDataFromOCR()
FillDataFromOCR("Invoice field")
FillDataFromOCR("Invoice field", true)
  • fieldName – (String) [Optional] Name or value of the document field from which OCR data will be used. If empty then first document with OCR data from documents list will be used.
  • refreshResponse – (Boolean) [Optional] If set to true, then system will refresh response from OCR. Default is false.

This function returns Boolean. Returns true if attachment with OCR info was found, false otherwise

Example 1: Get OCR info from first document from documents list that have OCR info.

FillDataFromOCR()

Example 2: Get OCR info from document from given File field.

FillDataFromOCR("Invoice")