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

Table 130 "Incoming Document"

Base Application · Microsoft.EServices.EDocument

Across versions

  1. BC23present
  2. BC2411 events changed, 5 fields changed
  3. BC252 events added, 1 procedures added
  4. BC264 fields removed
  5. BC27declaration changed
  6. BC2838 fields changed, 1 procedures removed
  7. BC29-30unchanged

Neighbourhood 47 connected objects and pages

Table 1271 "OCR Service Document Template" (relates to, 2 links)OCR Service Document TemplateTable 1213 "Data Exchange Type" (relates to)Table 23 "Vendor" (relates to)VendorPage 190 "Incoming Documents" (pages and codeunits on it, 3 links)Incoming DocumentsCodeunit 1216 "Incoming Doc. with Data. Exch." (pages and codeunits on it)Incoming Doc. with Data. Exch.Codeunit 1224 "Map Incoming Doc to Gen. Line" (pages and codeunits on it)Codeunit 132 "Release Incoming Document" (pages and codeunits on it)Codeunit 133 "Send Incoming Document to OCR" (pages and codeunits on it)Codeunit 135 "Retrieve Document From OCR" (pages and codeunits on it)Page 1272 "OCR Data Correction" (pages and codeunits on it)Page 189 "Incoming Document" (pages and codeunits on it)Codeunit 6468 "Serv. Doc. Exchange Mgt." (event subscribers, 6 links)Serv. Doc. Exchange Mgt.Codeunit 1520 "Workflow Event Handling" (event subscribers, 3 links)Workflow Event HandlingCodeunit 1550 "Record Restriction Mgt." (event subscribers, 3 links)Record Restriction Mgt.Codeunit 5579 "Digital Voucher Impl." (event subscribers, 2 links)Codeunit 1294 "OCR Service Mgt." (event subscribers)Codeunit 133 "Send Incoming Document to OCR" (calls, 9 links)Send Incoming Document to OCRCodeunit 132 "Release Incoming Document" (calls, 5 links)Release Incoming DocumentCodeunit 701 "Data Type Management" (calls, 5 links)Data Type ManagementCodeunit 1294 "OCR Service Mgt." (calls, 3 links)Codeunit 419 "File Management" (calls, 3 links)Page 189 "Incoming Document" (calls, 3 links)Incoming DocumentCodeunit 134 "Import Attachment - Inc. Doc." (calls, 2 links)Import Attachment - Inc. Doc.Codeunit 1535 "Approvals Mgmt." (calls, 2 links)Codeunit 1216 "Incoming Doc. with Data. Exch." (calls)Codeunit 4100 "Temp Blob" (calls)Codeunit 415 "Release Purchase Document" (calls)Codeunit 700 "Page Management" (calls)Table 9054 "Finance Cue" (referenced by, 4 links)Finance CueTable 1313 "Activities Cue" (referenced by, 2 links)Activities CueTable 6220 "Sustainability Cue" (referenced by, 2 links)Table 1220 "Data Exch." (referenced by)Table 133 "Incoming Document Attachment" (referenced by)Table 134 "Posted Docs. With No Inc. Buf." (referenced by)Table 137 "Inc. Doc. Attachment Overview" (referenced by)Table 181 "Posted Gen. Journal Line" (referenced by)Table 23 "Vendor" (referenced by)Table 36 "Sales Header" (referenced by)About the Data Exchange Framework (Learn pages)Receive and convert electronic documents (Learn pages)

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

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)
  • OnCheckIncomingDocCreateDocRestrictions() Δ BC24 (integration)
  • OnCheckIncomingDocSetForOCRRestrictions() Δ BC24 (integration)
  • OnAfterCreateGenJnlLineFromIncomingDocSuccess(var IncomingDocument: Record "Incoming Document") (integration)
  • OnAfterCreateGenJnlLineFromIncomingDocFail(var IncomingDocument: Record "Incoming Document") (integration)
  • 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)
  • OnAfterGetRelatedRecordCaption(var RelatedRecordRef: RecordRef; var RecCaption: Text) (integration)
  • 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)
  • 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)
  • OnGetDataExchangePathOnBeforeCase(DataExchLineDef: Record "Data Exch. Line Def"; FieldNumber: Integer; DataExchangePath: Text) (integration)
  • OnBeforeRemoveReferencedRecords(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean) (integration)
  • 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)
  • OnBeforeTestIfAlreadyExists(IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean) + BC24 (integration)
  • OnUpdateDocumentFieldsOnAfterUpdateDocuments(var IncomingDocument: Record "Incoming Document"; var DocExists: Boolean) + BC25 (integration)
  • OnFindByDocumentNoAndPostingDateOnSetFilters(var IncomingDocument: Record "Incoming Document"; MainRecordRef: RecordRef) + BC25 (integration)
  • OnAfterRemoveIncomingDocumentEntryNoFromUnpostedDocument(var IncomingDocument: Record "Incoming Document"; RelatedRecord: Variant) + BC28 (integration)

Trigger event subscribers

Procedures

  • GetURL(): Text
  • SetURL(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): Integer
  • CreateIncomingDocument(PictureInStream: InStream; FileName: Text)
  • TestIfAlreadyExists()
  • TestReadyForProcessing()
  • PostedDocExists(DocumentNo: Code[20]; PostingDate: Date): Boolean
  • GetRelatedDocType(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): Boolean
  • HyperlinkToDocument(DocumentNo: Code[20]; PostingDate: Date)
  • ShowCard(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): Integer
  • SelectIncomingDocumentForPostedDocument(DocumentNo: Code[20]; PostingDate: Date; RelatedRecordID: RecordID)
  • SendToJobQueue(ShowMessages: Boolean)
  • ResetOriginalOCRData()
  • UploadCorrectedOCRData(): Boolean
  • SaveErrorMessages(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"): Boolean
  • GetDataExchangePath(FieldNumber: Integer): Text
  • ShowRecord()
  • GetRecord(var RelatedRecord: Variant): Boolean
  • RemoveLinkToRelatedRecord()
  • RemoveReferencedRecords()
  • CreateFromAttachment()
  • GetMainAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"): Boolean
  • GetMainAttachmentFileName(): Text
  • GetRecordLinkText(): Text
  • GetRecordCaption(var RecRef: RecordRef): Text Δ BC25
  • GetOCRResutlFileName(): Text
  • MainAttachmentDrillDown()
  • ReplaceOrInsertMainAttachment()
  • ReplaceMainAttachment(FilePath: Text)
  • ShowMainAttachment()
  • OCRResultDrillDown()
  • GetAdditionalAttachments(var IncomingDocumentAttachment: Record "Incoming Document Attachment"): Boolean
  • DefaultAttachmentIsXML(): Boolean
  • FindByDocumentNoAndPostingDate(MainRecordRef: RecordRef; var IncomingDocument: Record "Incoming Document"): Boolean
  • FindByDocumentNoAndPostingDate(MainRecordRef: RecordRef; var IncomingDocument: Record "Incoming Document"; DocumentNo: Text; PostingDateText: Text): Boolean
  • FindByDocumentNoAndPostingDate(var IncomingDocument: Record "Incoming Document"; DocumentNo: Text; PostingDateText: Text): Boolean
  • FindFromIncomingDocumentEntryNo(MainRecordRef: RecordRef; var IncomingDocument: Record "Incoming Document"): Boolean
  • GetStatusStyleText(): Text
  • WaitingToReceiveFromOCR(): Boolean
  • OCRIsEnabled(): Boolean
  • IsADocumentAttached(): Boolean
  • TestReadyForApproval()
  • HasAttachment(): Boolean
  • CanReplaceMainAttachment(): Boolean

Plus 17 local procedures.

Triggers

OnDelete, OnInsert, OnModify

Relations

Referenced by

22 fields in 17 objects relate to this table (TableRelation or CalcFormula).

Pages and codeunits on this table

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.

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.

Evidence 1 sources