codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 1294 "OCR Service Mgt."

Base Application · Microsoft.EServices.EDocument

Across versions

  1. BC23-24present
  2. BC252 procedures changed, 1 events added
  3. BC26-30unchanged

Neighbourhood 21 connected objects and pages

Codeunit 1297 "Http Web Request Mgt." (calls, 29 links)Http Web Request Mgt.Codeunit 6224 "XML DOM Management" (calls, 15 links)XML DOM ManagementCodeunit 4100 "Temp Blob" (calls, 7 links)Temp BlobCodeunit 884 "ReadSoft OCR Master Data Sync" (calls, 6 links)ReadSoft OCR Master Data SyncCodeunit 133 "Send Incoming Document to OCR" (calls, 5 links)Send Incoming Document to OCRTable 130 "Incoming Document" (calls, 3 links)Incoming DocumentCodeunit 8703 "Feature Telemetry" (calls, 2 links)Feature TelemetryPage 1270 "OCR Service Setup" (calls, 2 links)OCR Service SetupTable 1270 "OCR Service Setup" (calls, 2 links)OCR Service SetupTable 133 "Incoming Document Attachment" (calls, 2 links)Incoming Document AttachmentCodeunit 1630 "Office Management" (calls)Office ManagementCodeunit 3960 "Regex" (calls)RegexCodeunit 419 "File Management" (calls)File ManagementCodeunit 880 "OCR - Send to Service" (calls)OCR - Send to ServiceCodeunit 881 "OCR - Receive from Service" (calls)Page 1310 "O365 Activities" (calls)Page 189 "Incoming Document" (calls)Page 190 "Incoming Documents" (calls)Page 6236 "Sustainability Activities" (calls)Page 9030 "Account Manager Activities" (calls)Page 9037 "Accountant Activities" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.EServices.EDocument · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnBeforeGetOriginalOCRXMLRootNode(IncomingDocument: Record "Incoming Document"; var OriginalXMLRootNode: DotNet XmlNode; var IsHandled: Boolean) (integration)
  • OnBeforeDownloadDocument(ExternalBatchId: Text[50]; DocId: Text[50]; var Result: Integer; var IsHandled: Boolean) (integration)
  • OnCorrectOCRFileOnAfterCorrectOCRFileNodes(var OCRFileXMLRootNode: DotNet XmlNode; var IncomingDocument: Record "Incoming Document") + BC25 (integration)

Event subscriptions

  • HandleOCRRegisterServiceConnection subscribes to Table “Service Connection” OnRegisterServiceConnection
  • OnCloseIncomingDocumentHandler subscribes to Page “Incoming Document” OnCloseIncomingDocumentFromAction
  • OnCloseIncomingDocumentsHandler subscribes to Page “Incoming Documents” OnCloseIncomingDocumentsFromActions
  • LogTelemetryOnAfterCreateGenJnlLineFromIncomingDocSuccess subscribes to Table “Incoming Document” OnAfterCreateGenJnlLineFromIncomingDocSuccess
  • LogTelemetryOnAfterCreateDocFromIncomingDocSuccess subscribes to Codeunit “Release Incoming Document” OnAfterCreateDocFromIncomingDocSuccess

Procedures

  • SetURLsToDefaultRSO(var OCRServiceSetup: Record "OCR Service Setup")
  • CheckCredentials()
  • GetCredentialsErrText(): Text
  • GetCredentialsQstText(): Text
  • Authenticate(): Boolean
  • UpdateOrganizationInfo(var OCRServiceSetup: Record "OCR Service Setup")
  • UpdateOcrDocumentTemplates()
  • RsoGetRequest(PathQuery: Text; var ResponseStr: InStream): Boolean
  • RsoGetRequestBinary(PathQuery: Text; var ResponseStr: InStream; var ContentType: Text)
  • RsoPutRequest(PathQuery: Text; Data: Text; var ResponseStr: InStream): Boolean
  • RsoPostRequest(PathQuery: Text; Data: Text; var ResponseStr: InStream): Boolean
  • RsoDeleteRequest(PathQuery: Text; Data: Text; var ResponseStr: InStream): Boolean
  • RsoRequest(PathQuery: Text; RequestAction: Code[6]; BodyText: Text; var ResponseStr: InStream): Boolean
  • RsoRequest(PathQuery: Text; RequestAction: Code[6]; RequestBody: Text; var ResponseBody: Text; var ErrorMessage: Text; var ErrorDetails: Text; var StatusCode: Integer): Boolean
  • DateConvertYYYYMMDD2XML(YYYYMMDD: Text): Text
  • DateConvertXML2YYYYMMDD(XMLDate: Text): Text
  • GetFeatureTelemetryName(): Text (internal)
  • GetOcrServiceSetupExtended(var OCRServiceSetup: Record "OCR Service Setup"; VerifyEnable: Boolean)
  • StartUpload(NumberOfUploads: Integer): Boolean
  • UploadImage(var TempBlob: Codeunit "Temp Blob"; FileName: Text; ExternalReference: Text[50]; Template: Code[20]; LoggingRecordId: RecordID): Boolean
  • UploadLearningDocument(var TempBlob: Codeunit "Temp Blob"; DocumentId: Text; LoggingRecordId: RecordID): Boolean
  • UploadAttachment(var TempBlob: Codeunit "Temp Blob"; FileName: Text; ExternalReference: Text[50]; Template: Code[20]; RelatedRecordId: RecordID): Boolean
  • UploadCorrectedOCRFile(IncomingDocument: Record "Incoming Document"): Boolean
  • CorrectOCRFile(IncomingDocument: Record "Incoming Document"; var TempBlob: Codeunit "Temp Blob") Δ BC25
  • CorrectOCRFileNode(var OCRFileXMLRootNode: DotNet XmlNode; IncomingDocument: Record "Incoming Document"; FieldNo: Integer)
  • ValidateUpdatedOCRFields(IncomingDocument: Record "Incoming Document")
  • GetOriginalOCRXMLRootNode(IncomingDocument: Record "Incoming Document"; var OriginalXMLRootNode: DotNet XmlNode)
  • GetOCRServiceDocumentReference(IncomingDocument: Record "Incoming Document"): Text[50]
  • GetDocumentList(var ResponseStr: InStream): Boolean
  • GetDocuments(ExternalBatchFilter: Text): Integer
  • GetDocumentsExcludeProcessed()
  • GetDocumentStatus(ExternalBatchFilter: Text)
  • GetDocumentForAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"): Integer
  • GetDocumentId(ExternalBatchFilter: Text): Text
  • UpdateIncomingDocWithOCRData(var IncomingDocument: Record "Incoming Document"; var XMLRootNode: DotNet XmlNode)
  • LogActivitySucceeded(RelatedRecordID: RecordID; ActivityDescription: Text; ActivityMessage: Text)
  • LogActivityFailed(RelatedRecordID: RecordID; ActivityDescription: Text; ActivityMessage: Text)
  • TestConnection(var OCRServiceSetup: Record "OCR Service Setup")
  • SetupConnection(var OCRServiceSetup: Record "OCR Service Setup"): Boolean
  • OcrServiceIsEnable(): Boolean

Plus 17 local procedures.

Triggers

OnRun

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "OCR Service Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources