Print

DeleteAttachmentFromOCR

Delete given document from OCR system.

Syntax

DeleteAttachmentFromOCR()
DeleteAttachmentFromOCR("Invoice field","companykey")

Function arguments

  • fieldName – (String) [Optional] Name of the document field from which document will be deleted from OCR system. If empty then first document from documents list will be deleted.
  • companyid – (String) [Optional] if set then this value will override CompanyId setting from System settings

Return value

This function returns Boolean.
Deletes attachment from OCR service

Examples

Example 1:
Deletes first document from documents lists that was send to OCR from OCR system.

DeleteAttachmentFromOCR()

Example 2:
Deletes document from 'Invoice’ field from OCR system. Document will be send with companyid taken from 'companykey’ field.

DeleteAttachmentFromOCR("Invoice",[companykey])

Example 3:
Deletes first document from documents list that was send to OCR from OCR system. Document will be send with companyid taken from 'companykey’ field.

DeleteAttachmentFromOCR("",[companykey])
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?