Codeunit 1294 OCR Service Mgt.

Base Application, Microsoft.EServices.EDocument

Source AL, 1,339 lines

src/Layers/W1/BaseApp/eServices/EDocument/OCRServiceMgt.Codeunit.allines 17 to 32 of 1,339, Copyright (c) Microsoft Corporation. MIT

codeunit 1294 "OCR Service Mgt."{    trigger OnRun()    begin    end;    var        MissingCredentialsQst: Label '%1\ Do you want to open %2 to specify the missing values?', Comment = '%1=error message. %2=OCR Service Setup';        MissingCredentialsErr: Label 'You must fill the User Name, Password, and Authorization Key fields.', Comment = '%1 = OCR Service Setup';        OCRServiceSetup: Record "OCR Service Setup";        AuthCookie: DotNet Cookie;        ConnectionSuccessMsg: Label 'Connection succeeded.';        ConnectionFailedErr: Label 'The connection failed. Check that the User Name, Password, and Authorization Key fields are filled correctly.';        NoFileContentErr: Label 'The file is empty.';        InitiateUploadMsg: Label 'Initiate document upload.';

All 1,339 lines

Events 3 in 29

[IntegrationEvent] OnBeforeGetOriginalOCRXMLRootNode(IncomingDocument: Record "Incoming Document"; var OriginalXMLRootNode: DotNet XmlNode; var IsHandled: Boolean)new in 20
[IntegrationEvent] OnBeforeDownloadDocument(ExternalBatchId: Text[50]; DocId: Text[50]; var Result: Integer; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnCorrectOCRFileOnAfterCorrectOCRFileNodes(var OCRFileXMLRootNode: DotNet XmlNode; var IncomingDocument: Record "Incoming Document")new in 25

Public procedures 41 in 29

SetURLsToDefaultRSO(var OCRServiceSetup: Record "OCR Service Setup")17-29
CheckCredentials()17-29
GetCredentialsErrText(): Text17-29
GetCredentialsQstText(): Text17-29
Authenticate(): Boolean17-29
UpdateOrganizationInfo(var OCRServiceSetup: Record "OCR Service Setup")17-29

All 42 procedures in 17-29

Changes 1 in 25

List17181920212223242526272829
Procedures1
Events111
[IntegrationEvent] OnCorrectOCRFileOnAfterCorrectOCRFileNodes(var OCRFileXMLRootNode: DotNet XmlNode; var IncomingDocument: Record "Incoming Document")new in 25
added

All 4 changes in 17-29