tableInventoryofficial - Microsoftderived - from the source, no model text

Table 5850 "Invt. Document Header"

Base Application · Microsoft.Inventory.Document

Across versions

  1. BC23present
  2. BC244 events added
  3. BC25-26unchanged
  4. BC271 events added
  5. BC2812 fields changed
  6. BC29-30unchanged

Neighbourhood 27 connected objects and pages

Table 308 "No. Series" (relates to, 2 links)No. SeriesTable 349 "Dimension Value" (relates to, 2 links)Dimension ValueTable 5748 "Inventory Comment Line" (relates to, 2 links)Inventory Comment LineTable 13 "Salesperson/Purchaser" (relates to)Salesperson/PurchaserTable 14 "Location" (relates to)Table 250 "Gen. Business Posting Group" (relates to)Gen. Business Posting GroupTable 480 "Dimension Set Entry" (relates to)Dimension Set EntryTable 7354 "Bin" (relates to)BinTable 8 "Language" (relates to)LanguagePage 6775 "Invt. Document List" (pages and codeunits on it, 2 links)Invt. Document ListCodeunit 5850 "Invt. Doc.-Post Receipt" (pages and codeunits on it)Codeunit 5851 "Invt. Doc.-Post Shipment" (pages and codeunits on it)Invt. Doc.-Post ShipmentCodeunit 5852 "Invt. Doc.-Post + Print" (pages and codeunits on it)Invt. Doc.-Post + PrintCodeunit 5853 "Invt. Doc.-Post (Yes/No)" (pages and codeunits on it)Invt. Doc.-Post (Yes/No)Codeunit 5855 "Release Invt. Document" (pages and codeunits on it)Page 30240 "APIV2 - Invt. Shipments" (pages and codeunits on it)Page 30242 "APIV2 - Invt. Receipts" (pages and codeunits on it)Page 6561 "Invt. Receipt" (pages and codeunits on it)Page 6563 "Invt. Receipts" (pages and codeunits on it)Page 6564 "Invt. Shipment" (pages and codeunits on it)Page 6566 "Invt. Shipments" (pages and codeunits on it)Page 6776 "Invt. Document Statistics" (pages and codeunits on it)Codeunit 408 "DimensionManagement" (calls, 6 links)DimensionManagementPage 456 "No. Series" (calls, 3 links)No. SeriesCodeunit 99000845 "Reservation Management" (calls)Inventory documents in Russia (Learn pages)Set up basic warehouses with operations areas (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.Inventory.Document · captioned “Item Document Header” · BC23-30 · source at ea08af5e · facts from BC29

Learn documents this table through its pages: Page 6775 “Invt. Document List” (2 Learn pages), Page 6776 “Invt. Document Statistics” (2).

Properties

Property Value
Caption Item Document Header
DataClassification CustomerContent

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 Document Type Enum “Invt. Doc. Document Type” — enum Enum 5850 “Invt. Doc. Document Type”
2 No. Δ BC28 Code[20] Specifies the number of the involved entry or record, according to the specified number series.
3 Posting Description Δ BC28 Text[100] Specifies any text that is entered to accompany the posting, for example for information to auditors.
5 Document Date Δ BC28 Date Specifies the date when the related document was created.
6 Posting Date Δ BC28 Date Specifies the entry’s posting date.
7 Location Code Δ BC28 Code[10] Specifies the warehouse or other place where the involved items are handled or stored. TableRelation Table 14 “Location” (Location.Code where(“Use As In-Transit” = const(false)))
8 Shortcut Dimension 1 Code Δ BC28 Code[20] Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1), Blocked = const(false)))
9 Shortcut Dimension 2 Code Δ BC28 Code[20] Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2), Blocked = const(false)))
10 Language Code Code[10] — TableRelation Table 8 “Language”
11 Salesperson/Purchaser Code Δ BC28 Code[20] Specifies the employee purchaser code or salesperson code associated with this document. TableRelation Table 13 “Salesperson/Purchaser” (“Salesperson/Purchaser” where(Blocked = const(false)))
12 Receipt Comment Boolean — FlowField: exist(“Inventory Comment Line” where(“Document Type” = const(“Inventory Receipt”), “No.” = field(“No.”))); not editable
13 Shipment Comment Boolean — FlowField: exist(“Inventory Comment Line” where(“Document Type” = const(“Inventory Shipment”), “No.” = field(“No.”))); not editable
14 No. Series Code[20] — TableRelation Table 308 “No. Series” (No. Series); not editable
15 Posting No. Series Code[20] — TableRelation Table 308 “No. Series” (No. Series)
16 External Document No. Δ BC28 Code[35] Specifies a document number that refers to the customer’s or vendor’s numbering system.
17 Whse. Adj. Bin Code Code[20] — TableRelation Table 7354 “Bin” (Bin.Code where(“Location Code” = field(“Location Code”)))
20 Posting No. Code[20] —
21 Status Δ BC28 Option Specifies the status of the item document. OptionCaption: Open,Released
23 Gen. Bus. Posting Group Δ BC28 Code[20] Specifies the vendor’s or customer’s trade type to link transactions made for this business partner with the appropriate general ledger account according to the general posting setup. TableRelation Table 250 “Gen. Business Posting Group” (Gen. Business Posting Group)
27 No. Printed Integer — not editable
30 Correction Δ BC28 Boolean Specifies the entry as a corrective entry. You can use the field if you need to post a corrective entry to an account.
31 Format Region Text[80] — TableRelation “Language Selection”.“Language Tag”
480 Dimension Set ID Integer — TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable

Keys

  • Key1: Document Type, No. (clustered)

Events published

  • OnAfterCreateDim(var InvtDocumentHeader: Record "Invt. Document Header"; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) (integration)
  • OnAfterInitDefaultDimensionSources(var InvtDocumentHeader: Record "Invt. Document Header"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) (integration)
  • OnAfterInitRecord(var InvtDocumentHeader: Record "Invt. Document Header") (integration)
  • OnBeforeAssistEdit(var InvtDocumentHeader: Record "Invt. Document Header"; OldInvtDocumentHeader: Record "Invt. Document Header") + BC24 (integration)
  • OnAfterGetPostingNoSeriesCode(var InvtDocumentHeader: Record "Invt. Document Header"; var PostingNos: Code[20]) + BC24 (integration)
  • OnAfterGetNoSeriesCode(var InvtDocumentHeader: Record "Invt. Document Header"; var NoSeriesCode: Code[20]) + BC24 (integration)
  • OnBeforeInsert(var InvtDocumentHeader: Record "Invt. Document Header"; xInvtDocumentHeader: Record "Invt. Document Header") + BC24 (integration)
  • OnCreateDimOnBeforeUpdateLines(var InvtDocumentHeader: Record "Invt. Document Header"; xInvtDocumentHeader: Record "Invt. Document Header"; CurrentFieldNo: Integer; OldDimSetID: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) + BC27 (integration)

Procedures

  • InitRecord()
  • AssistEdit(OldInvtDocHeader: Record "Invt. Document Header"): Boolean
  • SetHideValidationDialog(NewHideValidationDialog: Boolean)
  • GetHideValidationDialog(): Boolean
  • DocLinesExist(): Boolean
  • CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
  • ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])
  • ShowDocDim()
  • CreateDimFromDefaultDim()

Plus 7 local procedures.

Triggers

OnDelete, OnInsert, OnRename

Relations

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: "Invt. Document Header"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources