Codeunit 1294 OCR Service Mgt.
src/Layers/W1/BaseApp/eServices/EDocument/OCRServiceMgt.Codeunit.al49 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
CheckCredentials line 98
- 102callsHasCredentials
- 103callsGetCredentialsQstText
- 105runsPage 1270 OCR Service Setup
- 108callsHasCredentials
- 109callsGetCredentialsErrText
HasCredentials line 112, local
- 116callsTable 1270 OCR Service Setup HasPassword
- 117callsTable 1270 OCR Service Setup HasPassword
Authenticate line 134
TryAuthenticate line 156, local
- 166callsGetOcrServiceSetup
- 167callsCodeunit 1297 Http Web Request Mgt. Initialize
- 168callsCodeunit 1297 Http Web Request Mgt. DisableUI
- 169callsRsoAddHeaders
- 170callsCodeunit 1297 Http Web Request Mgt. SetMethod
- 171callsCodeunit 1297 Http Web Request Mgt. AddBodyAsText
- 175callsTable 1270 OCR Service Setup GetPasswordAsSecretText
- 176callsCodeunit 4100 Temp Blob CreateInStream
- 177callsCodeunit 1297 Http Web Request Mgt. GetResponse
- 186callsCodeunit 1297 Http Web Request Mgt. GetCookie
UpdateOrganizationInfo line 190
- 197callsRsoGetRequest
- 201callsCodeunit 6224 XML DOM Management LoadXMLNodeFromInStream
- 202callsCodeunit 6224 XML DOM Management FindNode
- 204callsCodeunit 6224 XML DOM Management FindNode
- 206callsCodeunit 6224 XML DOM Management FindNode
- 208callsRsoGetRequest
- 210callsCodeunit 6224 XML DOM Management LoadXMLNodeFromInStream
- 212callsCodeunit 6224 XML DOM Management FindNode
- 214writesTable 1270 OCR Service Setup Modify
UpdateOcrDocumentTemplates line 218
- 227callsGetOcrServiceSetup
- 230callsRsoGetRequest
- 232callsCodeunit 6224 XML DOM Management LoadXMLNodeFromInStream
- 235writesTable 1271 OCR Service Document Template DeleteAll
- 242writesTable 1271 OCR Service Document Template Insert
RsoGetRequestBinary line 254
- 260callsGetOcrServiceSetup
- 262callsCodeunit 1297 Http Web Request Mgt. Initialize
- 263callsCodeunit 1297 Http Web Request Mgt. DisableUI
- 264callsRsoAddCookie
- 265callsRsoAddHeaders
- 266callsCodeunit 1297 Http Web Request Mgt. SetMethod
- 267callsCodeunit 1297 Http Web Request Mgt. CreateInstream
- 268callsCodeunit 1297 Http Web Request Mgt. GetResponse
RsoRequest line 291
- 297callsGetOcrServiceSetup
- 299callsCodeunit 1297 Http Web Request Mgt. Initialize
- 300callsCodeunit 1297 Http Web Request Mgt. DisableUI
- 301callsRsoAddCookie
- 302callsRsoAddHeaders
- 303callsCodeunit 1297 Http Web Request Mgt. SetMethod
- 305callsCodeunit 1297 Http Web Request Mgt. AddBodyAsText
- 306callsCodeunit 1297 Http Web Request Mgt. CreateInstream
- 307callsCodeunit 1297 Http Web Request Mgt. GetResponse
RsoRequest line 311
- 319callsGetOcrServiceSetup
- 322callsCodeunit 1297 Http Web Request Mgt. Initialize
- 323callsCodeunit 1297 Http Web Request Mgt. DisableUI
- 324callsRsoAddCookie
- 325callsRsoAddHeaders
- 326callsCodeunit 1297 Http Web Request Mgt. SetMethod
- 328callsCodeunit 1297 Http Web Request Mgt. AddBodyAsText
- 330callsCodeunit 1297 Http Web Request Mgt. SendRequestAndReadTextResponse
RsoAddHeaders line 339, local
- 341callsCodeunit 1297 Http Web Request Mgt. AddHeader
- 342callsCodeunit 1297 Http Web Request Mgt. AddHeader
- 342callsTable 1270 OCR Service Setup GetPasswordAsSecretText
- 343callsCodeunit 1297 Http Web Request Mgt. AddHeader
- 344callsCodeunit 1297 Http Web Request Mgt. AddHeader
RsoAddCookie line 347, local
- 350callsAuthenticate
- 353callsAuthenticate
- 356callsCodeunit 1297 Http Web Request Mgt. SetCookie
GetOcrServiceSetup line 386, local
GetOcrServiceSetupExtended line 391
- 397callsTable 1270 OCR Service Setup CheckEnabled
StartUpload line 403
- 414callsRsoGetRequest
- 416callsLogActivityFailed
- 422callsLogActivityFailed
- 427callsLogActivitySucceeded
UploadImage line 432
- 437callsGetOcrServiceSetup
- 440callsURLEncode
- 442callsUploadFile
UploadLearningDocument line 451
- 456callsGetOcrServiceSetup
- 459callsUploadFile
UploadFile line 467, local
- 476callsCodeunit 4100 Temp Blob HasValue
- 478callsLogActivityFailedNoError
- 479callsLogActivityFailed
- 482callsGetOcrServiceSetup
- 484callsCodeunit 1297 Http Web Request Mgt. Initialize
- 485callsCodeunit 1297 Http Web Request Mgt. SetTraceLogEnabled
- 486callsCodeunit 1297 Http Web Request Mgt. DisableUI
- 487callsRsoAddCookie
- 488callsRsoAddHeaders
- 490callsCodeunit 1297 Http Web Request Mgt. SetReturnType
- 492callsCodeunit 1297 Http Web Request Mgt. SetContentType
- 493callsCodeunit 1297 Http Web Request Mgt. SetMethod
- 494callsCodeunit 1297 Http Web Request Mgt. AddBodyBlob
- 495callsCodeunit 1297 Http Web Request Mgt. CreateInstream
- 497callsCodeunit 1297 Http Web Request Mgt. GetResponse
- 498callsCodeunit 1297 Http Web Request Mgt. ProcessFaultXMLResponse
- 500callsLogActivityFailedNoError
- 501callsLogActivityFailed
- 509callsLogActivitySucceeded
- 510callsLogActivitySucceeded
- 511callsCodeunit 1630 Office Management IsAvailable
- 517callsLogActivityFailedNoError
- 518callsLogActivityFailed
UploadAttachment line 522
- 524callsCodeunit 4100 Temp Blob HasValue
- 529callsStartUpload
- 532callsUploadImage
UploadCorrectedOCRFile line 536
- 546callsGetOCRServiceDocumentReference
- 547callsCorrectOCRFile
- 548callsCodeunit 4100 Temp Blob HasValue
- 551callsStartUpload
- 554callsUploadLearningDocument
CorrectOCRFile line 557
- 562callsValidateUpdatedOCRFields
- 564callsGetOriginalOCRXMLRootNode
- 566callsCorrectOCRFileNode
- 567callsCorrectOCRFileNode
- 568callsCorrectOCRFileNode
- 569callsCorrectOCRFileNode
- 570callsCorrectOCRFileNode
- 571callsCorrectOCRFileNode
- 572callsCorrectOCRFileNode
- 573callsCorrectOCRFileNode
- 574callsCorrectOCRFileNode
- 575callsCorrectOCRFileNode
- 576callsCorrectOCRFileNode
- 577callsCorrectOCRFileNode
- 578callsCorrectOCRFileNode
- 579callsCorrectOCRFileNode
- 580raisesOnCorrectOCRFileOnAfterCorrectOCRFileNodes
- 582callsCodeunit 4100 Temp Blob CreateOutStream
CorrectOCRFileNode line 587
- 603callsTable 130 Incoming Document GetDataExchangePath
- 606callsCodeunit 6224 XML DOM Management FindNode
- 612callsDateConvertXML2YYYYMMDD
- 629callsCodeunit 6224 XML DOM Management FindNode
GetOriginalOCRXMLRootNode line 647
- 656raisesOnBeforeGetOriginalOCRXMLRootNodeIsHandled
- 667callsCodeunit 4100 Temp Blob FromRecord
- 668callsCodeunit 4100 Temp Blob CreateInStream
- 669callsCodeunit 6224 XML DOM Management LoadXMLNodeFromInStream
GetDocumentList line 684
- 686callsRsoGetRequest
GetDocuments line 694
- 707callsGetOcrServiceSetup
- 709callsRsoGetRequest
- 712callsCodeunit 6224 XML DOM Management LoadXMLNodeFromInStream
- 722callsCodeunit 3960 Regex IsMatch
- 724callsLogActivityFailed
- 727callsDownloadDocument
- 729callsGetMaxDocDownloadCount
- 731callsLogActivitySucceeded
- 739callsLogActivitySucceeded
- 745callsGetDocumentStatus
- 747callsGetDocumentsExcludeProcessed
GetDocumentsExcludeProcessed line 753
- 759callsGetOcrServiceSetup
- 770writesTable 133 Incoming Document Attachment Insert
- 773callsGetBatches
GetDocumentStatus line 777
- 783callsGetOcrServiceSetup
- 796writesTable 133 Incoming Document Attachment Insert
- 798callsGetBatches
GetDocumentForAttachment line 802
- 812callsGetDocuments
GetBatchDocuments line 835, local
- 848callsRsoGetRequest
- 852callsCodeunit 6224 XML DOM Management LoadXMLNodeFromInStream
GetBatchesApi line 856, local
- 875callsRsoGetRequest
- 880callsCodeunit 6224 XML DOM Management LoadXMLNodeFromInStream
GetBatches line 884, local
- 894callsGetBatchesApi
- 897callsCodeunit 6224 XML DOM Management FindNodeText
- 902callsCodeunit 6224 XML DOM Management FindNode
- 903callsFindDocumentFromList
- 911callsCodeunit 133 Send Incoming Document to OCR SetStatusToFailed
GetDocumentId line 918
- 925callsGetOcrServiceSetup
- 927callsGetBatchesApi
- 930callsCodeunit 6224 XML DOM Management FindNodeText
- 932callsGetBatchDocuments
- 935callsCodeunit 6224 XML DOM Management FindNodeText
DownloadDocument line 940, local
- 958raisesOnBeforeDownloadDocumentIsHandled
- 962callsRsoGetRequest
- 964callsLogActivityFailedNoError
- 967callsCodeunit 6224 XML DOM Management LoadXMLNodeFromInStream
- 969callsLogActivityFailedNoError
- 972callsCodeunit 8703 Feature Telemetry LogUptake
- 973callsCodeunit 8703 Feature Telemetry LogUsage
- 975callsCodeunit 6224 XML DOM Management FindNodeText
- 985callsCodeunit 6224 XML DOM Management FindNodeText
- 987callsTable 130 Incoming Document CreateIncomingDocument
- 989callsRsoGetRequestBinary
- 991callsLogActivityFailedNoError
- 995callsTable 130 Incoming Document AddAttachmentFromStream
- 996callsGetExtensionFromContentType
- 998callsTable 130 Incoming Document CheckNotCreated
- 1000callsTable 130 Incoming Document AddAttachmentFromStream
- 1003validatesTable 133 Incoming Document Attachment Default
- 1004writesTable 133 Incoming Document Attachment Modify
- 1007callsCodeunit 133 Send Incoming Document to OCR SetStatusToReceived
- 1009callsUpdateIncomingDocWithOCRData
- 1011callsLogActivitySucceeded
- 1012callsLogActivitySucceeded
- 1014callsRsoPutRequest
- 1019callsLogActivityFailedNoError
- 1020callsLogActivityFailedNoError
- 1025callsLogActivitySucceeded
- 1026callsLogActivitySucceeded
UpdateIncomingDocWithOCRData line 1032
- 1050callsTable 133 Incoming Document Attachment ExtractHeaderFields
- 1053callsCodeunit 6224 XML DOM Management FindNodeText
- 1058callsCodeunit 6224 XML DOM Management FindNodeText
- 1071validatesTable 130 Incoming Document Vendor Id
- 1073validatesTable 130 Incoming Document Vendor No.
- 1076writesTable 130 Incoming Document Modify
LogActivitySucceeded line 1079
- 1083callsTable 710 Activity Log LogActivity
LogActivityFailedNoError line 1092, local
LogActivityFailed line 1097, local
- 1104callsTable 710 Activity Log LogActivity
HandleOCRRegisterServiceConnection line 1117
- 1124writesTable 1270 OCR Service Setup Insert(true)
- 1132callsTable 1400 Service Connection InsertServiceConnection
FindDocumentFromList line 1199, local
- 1213callsCodeunit 6224 XML DOM Management FindNodeText
- 1217callsCodeunit 6224 XML DOM Management FindNodeText
- 1218callsGetDocumentSimplifiedStatus
- 1222callsCodeunit 133 Send Incoming Document to OCR SetStatusToFailed
- 1224callsCodeunit 133 Send Incoming Document to OCR SetStatusToVerify
- 1227writesTable 133 Incoming Document Attachment Delete
TestConnection line 1237
- 1239callsSetupConnection
SetupConnection line 1244
- 1246callsHasCredentials
- 1247callsGetCredentialsErrText
- 1248callsAuthenticate
- 1250callsUpdateOrganizationInfo
- 1251callsUpdateOcrDocumentTemplates
OnCloseIncomingDocumentHandler line 1256, local
OnCloseIncomingDocumentsHandler line 1262, local
GetStatusHyperLink line 1282
- 1288callsTable 130 Incoming Document GetMainAttachment
- 1292callsGetDocumentId
GetExtensionFromContentType line 1300, local
- 1306callsCodeunit 419 File Management GetExtension