Table 130 "Incoming Document"
Base Application · Microsoft.EServices.EDocument
Across versions
- BC23present
- BC2411 events changed, 5 fields changed
- BC252 events added, 1 procedures added
- BC264 fields removed
- BC27declaration changed
- BC2838 fields changed, 1 procedures removed
- BC29-30unchanged
Neighbourhood 47 connected objects and pages
Base Application · Microsoft.EServices.EDocument · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 189 “Incoming Document” (2 Learn pages), Page 190 “Incoming Documents” (1).
Properties
| Property | Value |
|---|---|
| Caption | Incoming Document |
| DataClassification | CustomerContent |
| Permissions | TableData “G/L Entry” = r |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Entry No. Δ BC28 | Integer | Specifies the number of the entry, as assigned from the specified number series when the entry was created. | AutoIncrement |
| 2 | Description Δ BC28 | Text[100] | Specifies the description of the incoming document. You must enter the description manually. | |
| 3 | Created Date-Time Δ BC28 | DateTime | Specifies when the incoming document line was created. | not editable |
| 4 | Created By User ID | Guid | — | TableRelation User; not editable; DataClassification EndUserPseudonymousIdentifiers |
| 5 | Created By User Name Δ BC24 Δ BC28 | Code[50] | Specifies the name of the user who created the incoming document line. | FlowField: lookup(User.“User Name” where(“User Security ID” = field(“Created By User ID”))); not editable |
| 6 | Released Δ BC28 | Boolean | Specifies if the incoming document has been approved. | not editable |
| 7 | Released Date-Time Δ BC28 | DateTime | Specifies when the incoming document was approved. | not editable |
| 8 | Released By User ID | Guid | — | TableRelation User; not editable; DataClassification EndUserPseudonymousIdentifiers |
| 9 | Released By User Name Δ BC24 Δ BC28 | Code[50] | Specifies the name of the user who approved the incoming document. | FlowField: lookup(User.“User Name” where(“User Security ID” = field(“Released By User ID”))); not editable |
| 10 | Last Date-Time Modified Δ BC28 | DateTime | Specifies when the incoming document line was last modified. | not editable |
| 11 | Last Modified By User ID | Guid | — | TableRelation User; not editable; DataClassification EndUserPseudonymousIdentifiers |
| 12 | Last Modified By User Name Δ BC24 Δ BC28 | Code[50] | Specifies the name of the user who last modified the incoming document line. | FlowField: lookup(User.“User Name” where(“User Security ID” = field(“Last Modified By User ID”))); not editable |
| 13 | Posted Δ BC28 | Boolean | Specifies if the document or journal line that was created for this incoming document has been posted. | not editable |
| 14 | Posted Date-Time Δ BC28 | DateTime | Specifies when the related document or journal line was posted. | not editable |
| 15 | Document Type Δ BC28 | Enum “Incoming Related Document Type” | Specifies the type of document or journal that the incoming document can be connected to. | enum Enum 141 “Incoming Related Document Type”; not editable |
| 16 | Document No. Δ BC28 | Code[20] | Specifies the number of the related document or journal line that is created for the incoming document. | not editable |
| 17 | Posting Date Δ BC28 | Date | Specifies when the document or journal line that relates to the incoming document was posted. | not editable |
| 18 | Status Δ BC28 | Enum “Incoming Document Status” | Specifies the status of the incoming document record. | enum Enum 130 “Incoming Document Status”; not editable |
| 60 | URL Δ BC28 | Text[1024] | Specifies the location of the file that represents the incoming document. | not editable |
| 23 | Vendor Name Δ BC28 | Text[100] | Specifies the name of the vendor on the incoming document. The field may be filled automatically. | |
| 24 | Vendor VAT Registration No. Δ BC28 | Text[30] | Specifies the VAT registration number of the vendor, if the document contains that number. The field may be filled automatically. | |
| 25 | Vendor IBAN Δ BC28 | Code[50] | Specifies the new value that you want the OCR service to produce for this field going forward. | |
| 26 | Document Date Δ BC28 | Date | Specifies the date that is printed on the incoming document. This is the date when the vendor created the invoice, for example. The field may be filled automatically. | |
| 27 | Vendor Bank Branch No. Δ BC28 | Text[20] | Specifies the new value that you want the OCR service to produce for this field going forward. | |
| 28 | Vendor Bank Account No. Δ BC28 | Text[30] | Specifies the bank account number of the vendor on the incoming document. | |
| 29 | Vendor No. Δ BC28 | Code[20] | Specifies the number of the vendor on the incoming document. The field may be filled automatically. | TableRelation Table 23 “Vendor” |
| 30 | Data Exchange Type Δ BC28 | Code[20] | Specifies the data exchange type that is used to process the incoming document when it is an electronic document. | TableRelation Table 1213 “Data Exchange Type” (Data Exchange Type) |
| 31 | OCR Data Corrected | Boolean | — | |
| 32 | OCR Status Δ BC28 | Option | Specifies the status of the incoming document record when it takes part in the OCR process. | OptionCaption: ,Ready,Sent,Error,Success,Awaiting Verification; not editable |
| 33 | OCR Track ID Δ BC28 | Text[20] | Specifies the process stage of the track ID in relation to the OCR service. | not editable |
| 38 | OCR Service Doc. Template Code Δ BC28 | Code[20] | Specifies the code of the document template that you want the OCR service provider to use when they convert the incoming-document file to an electronic document. Chose the field to pick a supported document template from the OCR Service Setup window. | TableRelation Table 1271 “OCR Service Document Template” (OCR Service Document Template) |
| 39 | OCR Service Doc. Template Name Δ BC24 Δ BC28 | Text[50] | Specifies the name of the document template that you want the OCR service provider to use when they convert the incoming-document file to an electronic document. Chose the field to pick a supported document template from the OCR Service Setup window. | FlowField: lookup(“OCR Service Document Template”.Name where(Code = field(“OCR Service Doc. Template Code”))); not editable |
| 40 | OCR Process Finished | Boolean | — | |
| 41 | Created Doc. Error Msg. Type | Option | — | OptionCaption: ,Error,Warning |
| 42 | Vendor Id | Guid | — | TableRelation Vendor.SystemId |
| 50 | Currency Code Δ BC28 | Code[10] | Specifies the currency code, if the document contains that code. The field may be filled automatically. | |
| 51 | Amount Excl. VAT Δ BC28 | Decimal | Specifies the amount excluding VAT for the whole document. The field may be filled automatically. | |
| 52 | Amount Incl. VAT Δ BC28 | Decimal | Specifies the amount including VAT for the whole document. The field may be filled automatically. | |
| 53 | VAT Amount Δ BC28 | Decimal | Specifies the amount of VAT that is included in the total amount. | |
| 54 | Due Date Δ BC28 | Date | Specifies the date when the vendor document must be paid. The field may be filled automatically. | |
| 55 | Vendor Invoice No. Δ BC28 | Code[35] | Specifies the document number of the original document you received from the vendor. You can require the document number for posting, or let it be optional. By default, it’s required, so that this document references the original. Making document numbers optional removes a step from the posting proc… | |
| 56 | Order No. Δ BC28 | Code[20] | Specifies the order number, if the document contains that number. The field may be filled automatically. | |
| 57 | Vendor Phone No. Δ BC28 | Text[30] | Specifies the phone number of the vendor on the incoming document. | |
| 58 | Related Record ID | RecordID | — | |
| 160 | Job Queue Status Δ BC24 Δ BC28 | Enum “Inc. Doc. Job Queue Status” | Specifies the status of the job queue entry that is processing the incoming document. | enum Enum 487 “Inc. Doc. Job Queue Status”; not editable |
| 161 | Job Queue Entry ID | Guid | — | not editable |
| 162 | Processed Δ BC28 | Boolean | Specifies if the incoming document has been processed. |
Keys
- Key1: Entry No. (clustered)
- Key2: Status
- Key3: Document No., Posting Date
- Key4: OCR Status
- Key5: Vendor No.
- Key6: Processed
Events published
OnCheckIncomingDocReleaseRestrictions()Δ BC24 (integration)- subscribers: Codeunit 1550 “Record Restriction Mgt.” IncomingDocCheckReleaseRestrictions
OnCheckIncomingDocCreateDocRestrictions()Δ BC24 (integration)- subscribers: Codeunit 1550 “Record Restriction Mgt.” IncomingDocCheckCreateDocRestrictions
OnCheckIncomingDocSetForOCRRestrictions()Δ BC24 (integration)- subscribers: Codeunit 1550 “Record Restriction Mgt.” IncomingDocCheckSetForOCRRestrictions
OnAfterCreateGenJnlLineFromIncomingDocSuccess(var IncomingDocument: Record "Incoming Document")(integration)- subscribers: Codeunit 1294 “OCR Service Mgt.” LogTelemetryOnAfterCreateGenJnlLineFromIncomingDocSuccess, Codeunit 1520 “Workflow Event Handling” RunWorkflowOnAfterCreateGenJnlLineFromIncomingDocSuccess
OnAfterCreateGenJnlLineFromIncomingDocFail(var IncomingDocument: Record "Incoming Document")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnAfterCreateGenJnlLineFromIncomingDocFail
OnAfterCreateManually(var IncomingDocument: Record "Incoming Document")(integration)OnAfterCreateSalesHeaderFromIncomingDoc(var SalesHeader: Record "Sales Header")Δ BC24 (integration)OnAfterCreatePurchHeaderFromIncomingDoc(var PurchHeader: Record "Purchase Header")Δ BC24 (integration)OnAfterFindPostedRecord(var RelatedRecord: Variant; var RecordFound: Boolean; var IncomingDocument: Record "Incoming Document")(integration)OnAfterFindUnpostedRecord(var RelatedRecord: Variant; var RecordFound: Boolean; var IncomingDocument: Record "Incoming Document")(integration)- subscribers: Codeunit 6468 “Serv. Doc. Exchange Mgt.” OnAfterFindUnpostedRecord
OnAfterGetRelatedRecordCaption(var RelatedRecordRef: RecordRef; var RecCaption: Text)(integration)- subscribers: Codeunit 6468 “Serv. Doc. Exchange Mgt.” OnAfterGetRelatedRecordCaption
OnAfterUpdateDocumentFields(var IncomingDocument: Record "Incoming Document"; var DocExists: Boolean)(integration)OnBeforeCreateManually(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)Δ BC24 (integration)OnBeforeCreateSalesHeaderFromIncomingDoc(var SalesHeader: Record "Sales Header")Δ BC24 (integration)OnBeforeDeleteApprovalEntries(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)Δ BC24 (integration)OnBeforeShowResultMessage(var IncomingDocument: Record "Incoming Document"; var ErrorMessage: Record "Error Message"; var IsHandled: Boolean)Δ BC24 (integration)OnBeforeFindFromIncomingDocumentEntryNo(MainRecordRef: RecordRef; var IncomingDocument: Record "Incoming Document"; var Result: Boolean; var IsHandled: Boolean)(integration)OnCreatePurchDocOnBeforePurchHeaderInsert(var PurchHeader: Record "Purchase Header")Δ BC24 (integration)OnCreateGenJnlLineOnBeforeGenJnlLineInsert(var GenJnlLine: Record "Gen. Journal Line"; LastGenJnlLine: Record "Gen. Journal Line")Δ BC24 (integration)OnGetDataExchangePath(DataExchLineDef: Record "Data Exch. Line Def"; FieldNumber: Integer; var DataExchangePath: Text)(integration)OnBeforeGetJournalTemplateAndBatch(var JournalTemplate: Code[10]; var JournalBatch: Code[10]; var IsHandled: Boolean)(integration)OnCreateGenJnlLineOnBeforeShowRecord(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)(integration)OnCreateSalesDocOnBeforeShowRecord(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)(integration)OnCreatePurchDocOnBeforeShowRecord(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)(integration)OnRemoveReferenceToWorkingDocumentOnBeforeModify(var IncomingDocument: Record "Incoming Document")(integration)OnAfterSetCreatedDocumentType(var CreatedDocumentType: Dictionary of [Integer, Integer]; var CreatedDocumentStrMenu: Text)(integration)OnAfterCreateDocumentType(var IncomingDocument: Record "Incoming Document"; DocumentTypeEnum: Integer)(integration)OnTestIfAlreadyExists(IncomingRelatedDocumentType: Enum "Incoming Related Document Type"; EntryNo: Integer)(integration)- subscribers: Codeunit 6468 “Serv. Doc. Exchange Mgt.” OnTestIfAlreadyExists
OnBeforeGetRelatedDocType(PostingDate: Date; DocNo: Code[20]; var IsPosted: Boolean; var IncomingRelatedDocumentType: Enum "Incoming Related Document Type"; var IsHandled: Boolean)(integration)OnAfterClearRelatedRecords(IncomingRelatedDocumentType: Enum "Incoming Related Document Type"; EntryNo: Integer)(integration)- subscribers: Codeunit 6468 “Serv. Doc. Exchange Mgt.” OnAfterClearRelatedRecords
OnGetDataExchangePathOnBeforeCase(DataExchLineDef: Record "Data Exch. Line Def"; FieldNumber: Integer; DataExchangePath: Text)(integration)OnBeforeRemoveReferencedRecords(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)(integration)- subscribers: Codeunit 5579 “Digital Voucher Impl.” CheckVoucherOnBeforeRemoveReferencedRecords
OnFindByDocumentNoAndPostingDateOnBeforeFind(var IncomingDocument: Record "Incoming Document"; DocumentNo: Text; PostingDate: Date; var IsFound: Boolean; var IsHandled: Boolean)(integration)OnCreateSalesDocOnAfterModifySalesHeader(var IncomingDocument: Record "Incoming Document"; var SalesHeader: Record "Sales Header")(integration)OnCreatePurchDocOnAfterModifyPurchaseHeader(var IncomingDocument: Record "Incoming Document"; var PurchaseHeader: Record "Purchase Header")(integration)OnBeforeUpdateIncomingDocumentFromPosting(IncomingDocumentNo: Integer; PostingDate: Date; DocNo: Code[20]; var IsHandled: Boolean)(integration)OnBeforeShowRecord(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)(integration)OnFindUnpostedRecordOnAfterFilterGenJournalLine(var IncomingDocument: Record "Incoming Document"; var GenJournalLine: Record "Gen. Journal Line")(integration)OnBeforeCanReplaceMainAttachment(var CanReplaceMainAttachment: Boolean; IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)(integration)- subscribers: Codeunit 5579 “Digital Voucher Impl.” CheckVoucherOnBeforeCanReplaceMainAttachment
OnBeforeTestIfAlreadyExists(IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)+ BC24 (integration)OnUpdateDocumentFieldsOnAfterUpdateDocuments(var IncomingDocument: Record "Incoming Document"; var DocExists: Boolean)+ BC25 (integration)- subscribers: Codeunit 6468 “Serv. Doc. Exchange Mgt.” OnUpdateDocumentFieldsOnAfterUpdateDocuments
OnFindByDocumentNoAndPostingDateOnSetFilters(var IncomingDocument: Record "Incoming Document"; MainRecordRef: RecordRef)+ BC25 (integration)- subscribers: Codeunit 6468 “Serv. Doc. Exchange Mgt.” OnFindByDocumentNoAndPostingDateOnSetFilters
OnAfterRemoveIncomingDocumentEntryNoFromUnpostedDocument(var IncomingDocument: Record "Incoming Document"; RelatedRecord: Variant)+ BC28 (integration)
Trigger event subscribers
- OnAfterInsertEvent: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnAfterInsertIncomingDocument
Procedures
GetURL(): TextSetURL(NewURL: Text)Release()Reject()CheckNotCreated()CreateDocumentWithDataExchange()TryCreateDocumentWithDataExchange()CreateReleasedDocumentWithDataExchange()CreateManually()CreateGenJnlLine()CreatePurchInvoice()CreatePurchCreditMemo()CreateSalesInvoice()CreateSalesCreditMemo()CreateGeneralJournalLineWithDataExchange()TryCreateGeneralJournalLineWithDataExchange()RemoveReferenceToWorkingDocument(EntryNo: Integer)RemoveIncomingDocumentEntryNoFromUnpostedDocument()CreateIncomingDocument(NewDescription: Text; NewURL: Text): IntegerCreateIncomingDocument(PictureInStream: InStream; FileName: Text)TestIfAlreadyExists()TestReadyForProcessing()PostedDocExists(DocumentNo: Code[20]; PostingDate: Date): BooleanGetRelatedDocType(PostingDate: Date; DocNo: Code[20]; var IsPosted: Boolean): Enum "Incoming Related Document Type"SetPostedDocFields(PostingDate: Date; DocNo: Code[20])SetPostedDocFieldsForcePosted(PostingDate: Date; DocNo: Code[20]; ForcePosted: Boolean)UndoPostedDocFields()UpdateIncomingDocumentFromPosting(IncomingDocumentNo: Integer; PostingDate: Date; DocNo: Code[20])SetGenJournalLine(var GenJnlLine: Record "Gen. Journal Line")SetSalesDoc(var SalesHeader: Record "Sales Header")SetPurchDoc(var PurchaseHeader: Record "Purchase Header")DocLinkExists(RecVar: Variant): BooleanHyperlinkToDocument(DocumentNo: Code[20]; PostingDate: Date)ForwardToExistingLink(DocumentNo: Code[20]; PostingDate: Date): BooleanShowCard(DocumentNo: Code[20]; PostingDate: Date)ShowCardFromEntryNo(EntryNo: Integer)ImportAttachment(var IncomingDocument: Record "Incoming Document")AddXmlAttachmentFromXmlText(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; OrgFileName: Text; XmlText: Text)AddAttachmentFromStream(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; OrgFileName: Text; FileExtension: Text; var InStr: InStream)AddAttachmentFromServerFile(FileName: Text; FilePath: Text)SelectIncomingDocument(EntryNo: Integer; RelatedRecordID: RecordID): IntegerSelectIncomingDocumentForPostedDocument(DocumentNo: Code[20]; PostingDate: Date; RelatedRecordID: RecordID)SendToJobQueue(ShowMessages: Boolean)ResetOriginalOCRData()UploadCorrectedOCRData(): BooleanSaveErrorMessages(var TempErrorMessageRef: Record "Error Message" temporary)RemoveFromJobQueue(ShowMessages: Boolean)SendToOCR(ShowMessages: Boolean)SetStatus(NewStatus: Option)RetrieveFromOCR(ShowMessages: Boolean)GetGeneratedFromOCRAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"): BooleanGetDataExchangePath(FieldNumber: Integer): TextShowRecord()GetRecord(var RelatedRecord: Variant): BooleanRemoveLinkToRelatedRecord()RemoveReferencedRecords()CreateFromAttachment()GetMainAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"): BooleanGetMainAttachmentFileName(): TextGetRecordLinkText(): TextGetRecordCaption(var RecRef: RecordRef): TextΔ BC25GetOCRResutlFileName(): TextMainAttachmentDrillDown()ReplaceOrInsertMainAttachment()ReplaceMainAttachment(FilePath: Text)ShowMainAttachment()OCRResultDrillDown()GetAdditionalAttachments(var IncomingDocumentAttachment: Record "Incoming Document Attachment"): BooleanDefaultAttachmentIsXML(): BooleanFindByDocumentNoAndPostingDate(MainRecordRef: RecordRef; var IncomingDocument: Record "Incoming Document"): BooleanFindByDocumentNoAndPostingDate(MainRecordRef: RecordRef; var IncomingDocument: Record "Incoming Document"; DocumentNo: Text; PostingDateText: Text): BooleanFindByDocumentNoAndPostingDate(var IncomingDocument: Record "Incoming Document"; DocumentNo: Text; PostingDateText: Text): BooleanFindFromIncomingDocumentEntryNo(MainRecordRef: RecordRef; var IncomingDocument: Record "Incoming Document"): BooleanGetStatusStyleText(): TextWaitingToReceiveFromOCR(): BooleanOCRIsEnabled(): BooleanIsADocumentAttached(): BooleanTestReadyForApproval()HasAttachment(): BooleanCanReplaceMainAttachment(): Boolean
Plus 17 local procedures.
Triggers
OnDelete, OnInsert, OnModify
Relations
- drill-down page Page 190 “Incoming Documents”
- lookup page Page 190 “Incoming Documents”
- Data Exchange Type: TableRelation Table 1213 “Data Exchange Type”
- OCR Service Doc. Template Name: CalcFormula Table 1271 “OCR Service Document Template”
- OCR Service Doc. Template Code: TableRelation Table 1271 “OCR Service Document Template”
- Vendor No.: TableRelation Table 23 “Vendor”
Referenced by
22 fields in 17 objects relate to this table (TableRelation or CalcFormula).
- Table 9054 “Finance Cue”: Approved Incoming Documents, New Incoming Documents, OCR Completed, OCR Pending
- Table 1313 “Activities Cue”: Inc. Doc. Awaiting Verfication, My Incoming Documents
- Table 6220 “Sustainability Cue”: Inc. Doc. Awaiting Verfication, My Incoming Documents
- Table 1220 “Data Exch.”: Incoming Entry No.
- Table 133 “Incoming Document Attachment”: Incoming Document Entry No.
- Table 134 “Posted Docs. With No Inc. Buf.”: Incoming Document No.
- Table 137 “Inc. Doc. Attachment Overview”: Incoming Document Entry No.
- Table 181 “Posted Gen. Journal Line”: Incoming Document Entry No.
- Table 23 “Vendor”: No. of Incoming Documents
- Table 36 “Sales Header”: Incoming Document Entry No.
- Table 38 “Purchase Header”: Incoming Document Entry No.
- Table 5107 “Sales Header Archive”: Incoming Document Entry No.
- Table 5109 “Purchase Header Archive”: Incoming Document Entry No.
- Table 5900 “Service Header”: Incoming Document Entry No.
- Table 6010 “Service Header Archive”: Incoming Document Entry No.
- Table 81 “Gen. Journal Line”: Incoming Document Entry No.
- Table 9070 “Accounting Services Cue”: My Incoming Documents
Pages and codeunits on this table
- Page 1272 “OCR Data Correction” (source table)
- Page 189 “Incoming Document” (source table)
- Page 190 “Incoming Documents” (source table)
- Codeunit 1216 “Incoming Doc. with Data. Exch.” (codeunit runs on it)
- Codeunit 1224 “Map Incoming Doc to Gen. Line” (codeunit runs on it)
- Codeunit 132 “Release Incoming Document” (codeunit runs on it)
- Codeunit 133 “Send Incoming Document to OCR” (codeunit runs on it)
- Codeunit 135 “Retrieve Document From OCR” (codeunit runs on it)
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.
- Codeunit 133 “Send Incoming Document to OCR” (9 calls:
RemoveFromJobQueue → RemoveFromJobQueue,RemoveFromJobQueue → SetShowMessages,RetrieveFromOCR → RetrieveDocFromOCR, …) - Codeunit 132 “Release Incoming Document” (5 calls:
CreateWithDataExchange → (object),CreateWithDataExchange → Create,Reject → PerformManualReject, …) - Codeunit 701 “Data Type Management” (5 calls:
FindByDocumentNoAndPostingDate → FindFieldByName,FindFromIncomingDocumentEntryNo → FindFieldByName,GetRecordLinkText → GetRecordRef, …) - Codeunit 1294 “OCR Service Mgt.” (3 calls:
ResetOriginalOCRData → GetOriginalOCRXMLRootNode,ResetOriginalOCRData → UpdateIncomingDocWithOCRData,UploadCorrectedOCRData → UploadCorrectedOCRFile) - Codeunit 419 “File Management” (3 calls:
AddAttachmentFromServerFile → GetExtension,AddAttachmentFromStream → GetFileNameWithoutExtension,AddXmlAttachmentFromXmlText → GetFileNameWithoutExtension) - Page 189 “Incoming Document” (3 calls:
CreateFromAttachment → (object),ShowCard → (object),ShowCardFromEntryNo → (object)) - Codeunit 134 “Import Attachment - Inc. Doc.” (2 calls:
ReplaceMainAttachment → ImportAttachment,ReplaceMainAttachment → UploadFile) - Codeunit 1535 “Approvals Mgmt.” (2 calls:
CreateWithDataExchange → IsIncomingDocApprovalsWorkflowEnabled,DeleteApprovalEntries → DeleteApprovalEntries) - Codeunit 1216 “Incoming Doc. with Data. Exch.” (1 call:
CreateWithDataExchange → (object)) - Codeunit 4100 “Temp Blob” (1 call:
SetPostedDocFieldsForcePosted → FromRecord) - Codeunit 415 “Release Purchase Document” (1 call:
CreateReleasedDocumentWithDataExchange → PerformManualRelease) - Codeunit 700 “Page Management” (1 call:
ShowRecord → PageRun)
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: "table", object_name: "Incoming Document"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.