Table 281 "Phys. Inventory Ledger Entry"
Base Application · Microsoft.Inventory.Counting.Journal
Across versions
- BC23present
- BC24declaration changed
- BC25unchanged
- BC262 fields added, 1 procedures added
- BC27unchanged
- BC2827 fields changed
- BC29-30unchanged
Neighbourhood 22 connected objects and pages
Base Application · Microsoft.Inventory.Counting.Journal · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Phys. Inventory Ledger Entry |
| DataClassification | CustomerContent |
| Permissions | TableData “Phys. Inventory Ledger Entry” = ri |
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. | |
| 2 | Item No. Δ BC28 | Code[20] | Specifies the number of the item in the ledger entry. | TableRelation Table 27 “Item” |
| 3 | Posting Date Δ BC28 | Date | Specifies the date on which you posted the Physical Inventory Journal that created this ledger entry. | |
| 4 | Entry Type Δ BC28 | Enum “Item Ledger Entry Type” | Specifies the type of transaction that was posted from the Physical Inventory Journal that created the ledger entry. | enum Enum 78 “Item Ledger Entry Type” |
| 6 | Document No. Δ BC28 | Code[20] | Specifies the document number on the physical inventory ledger entry. | |
| 7 | Description Δ BC28 | Text[100] | Specifies a description of the item in the ledger entry. | |
| 8 | Location Code Δ BC28 | Code[10] | Specifies the code of the location for the item in the ledger entry. | TableRelation Table 14 “Location” |
| 9 | Inventory Posting Group | Code[20] | — | TableRelation Table 94 “Inventory Posting Group” (Inventory Posting Group) |
| 12 | Quantity Δ BC28 | Decimal | Specifies the difference between the quantities in the Quantity (Calculated) field and the Quantity (Physical Inventory) field for ledger entry. | |
| 15 | Unit Amount Δ BC28 | Decimal | Specifies the amount for one unit of the item in the ledger entry. | |
| 16 | Unit Cost Δ BC28 | Decimal | Specifies the cost of one unit of the item or resource on the line. | |
| 17 | Amount Δ BC28 | Decimal | Specifies the total amount for the items in the ledger entry. | |
| 20 | Item Register No. + BC26 | Integer | — | TableRelation Table 46 “Item Register” (Item Register); not editable |
| 21 | SIFT Bucket No. + BC26 | Integer | Specifies an automatically generated number that is used by the system to enable better concurrency. | not editable |
| 22 | Salespers./Purch. Code | Code[20] | — | TableRelation Table 13 “Salesperson/Purchaser” (Salesperson/Purchaser) |
| 24 | User ID Δ BC28 | Code[50] | Specifies the ID of the user who posted the entry, to be used, for example, in the change log. | TableRelation User.“User Name”; DataClassification EndUserIdentifiableInformation |
| 25 | Source Code Δ BC28 | Code[10] | Specifies the source code that specifies where the entry was created. | TableRelation Table 230 “Source Code” (Source Code) |
| 33 | Global Dimension 1 Code Δ BC28 | Code[20] | Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company’s most important activities, are available on all cards, documents, reports, and lists. | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1))) |
| 34 | Global Dimension 2 Code Δ BC28 | Code[20] | Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company’s most important activities, are available on all cards, documents, reports, and lists. | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2))) |
| 45 | Journal Batch Name | Code[10] | — | |
| 46 | Reason Code Δ BC28 | Code[10] | Specifies the reason code, a supplementary source code that enables you to trace the entry. | TableRelation Table 231 “Reason Code” (Reason Code) |
| 54 | Qty. (Calculated) Δ BC28 | Decimal | Specifies the quantity on hand, as calculated by the program, of the item in the ledger entry. via Page 390 “Phys. Inventory Ledger Entries” | |
| 55 | Qty. (Phys. Inventory) Δ BC28 | Decimal | Specifies the actual quantity on hand, as determined by taking a physical inventory, of the item in the ledger entry. via Page 390 “Phys. Inventory Ledger Entries” | |
| 56 | Last Item Ledger Entry No. Δ BC28 | Integer | Specifies the number of the last item ledger entry that provided the basis for the physical inventory ledger entry. | TableRelation Table 32 “Item Ledger Entry” (Item Ledger Entry) |
| 60 | Document Date | Date | — | |
| 61 | External Document No. | Code[35] | — | |
| 64 | No. Series | Code[20] | — | TableRelation Table 308 “No. Series” (No. Series) |
| 480 | Dimension Set ID Δ BC28 | Integer | Specifies a reference to a combination of dimension values. The actual values are stored in the Dimension Set Entry table. | TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable |
| 481 | Shortcut Dimension 3 Code Δ BC28 | Code[20] | Specifies the code for Shortcut Dimension 3, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(3))); not editable |
| 482 | Shortcut Dimension 4 Code Δ BC28 | Code[20] | Specifies the code for Shortcut Dimension 4, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(4))); not editable |
| 483 | Shortcut Dimension 5 Code Δ BC28 | Code[20] | Specifies the code for Shortcut Dimension 5, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(5))); not editable |
| 484 | Shortcut Dimension 6 Code Δ BC28 | Code[20] | Specifies the code for Shortcut Dimension 6, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(6))); not editable |
| 485 | Shortcut Dimension 7 Code Δ BC28 | Code[20] | Specifies the code for Shortcut Dimension 7, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(7))); not editable |
| 486 | Shortcut Dimension 8 Code Δ BC28 | Code[20] | Specifies the code for Shortcut Dimension 8, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(8))); not editable |
| 5402 | Variant Code Δ BC28 | Code[10] | Specifies the variant of the item on the line. | TableRelation Table 5401 “Item Variant” (“Item Variant”.Code where(“Item No.” = field(“Item No.”))) |
| 5407 | Unit of Measure Code | Code[10] | — | TableRelation Table 5404 “Item Unit of Measure” (“Item Unit of Measure”.Code where(“Item No.” = field(“Item No.”))) |
| 7380 | Phys Invt Counting Period Code | Code[10] | — | TableRelation Table 7381 “Phys. Invt. Counting Period” (Phys. Invt. Counting Period); not editable |
| 7381 | Phys Invt Counting Period Type | Option | — | OptionCaption: ,Item,SKU; not editable |
Keys
- Key1: Entry No. (clustered)
- Key2: Item No., Variant Code, Location Code, Posting Date, SIFT Bucket No.
- Key3: Item No., Variant Code, Global Dimension 1 Code, Global Dimension 2 Code, Location Code, Posting Date, SIFT Bucket No.
- Key4: Document No., Posting Date
- Key5: Item No., Phys Invt Counting Period Type, Posting Date
Trigger event subscribers
- OnAfterInsertEvent: Codeunit 20 “Posting Preview Event Handler” OnInsertPhysInventoryLedgerEntry
- OnAfterModifyEvent: Codeunit 20 “Posting Preview Event Handler” OnModifyPhysInventoryLedgerEntry
Procedures
GetNextEntryNo(): Integer+ BC26GetLastEntryNo(): IntegerΔ BC26ShowDimensions()
Triggers
OnInsert
Relations
- drill-down page Page 390 “Phys. Inventory Ledger Entries”
- lookup page Page 390 “Phys. Inventory Ledger Entries”
- Salespers./Purch. Code: TableRelation Table 13 “Salesperson/Purchaser”
- Location Code: TableRelation Table 14 “Location”
- Source Code: TableRelation Table 230 “Source Code”
- Reason Code: TableRelation Table 231 “Reason Code”
- Item No.: TableRelation Table 27 “Item”
- No. Series: TableRelation Table 308 “No. Series”
- Last Item Ledger Entry No.: TableRelation Table 32 “Item Ledger Entry”
- Global Dimension 1 Code: TableRelation Table 349 “Dimension Value”
- Global Dimension 2 Code: TableRelation Table 349 “Dimension Value”
- Item Register No.: TableRelation Table 46 “Item Register”
- Shortcut Dimension 3 Code: CalcFormula Table 480 “Dimension Set Entry”
- Shortcut Dimension 4 Code: CalcFormula Table 480 “Dimension Set Entry”
- Shortcut Dimension 5 Code: CalcFormula Table 480 “Dimension Set Entry”
- Shortcut Dimension 6 Code: CalcFormula Table 480 “Dimension Set Entry”
- Shortcut Dimension 7 Code: CalcFormula Table 480 “Dimension Set Entry”
- Shortcut Dimension 8 Code: CalcFormula Table 480 “Dimension Set Entry”
- Dimension Set ID: TableRelation Table 480 “Dimension Set Entry”
- Variant Code: TableRelation Table 5401 “Item Variant”
- Unit of Measure Code: TableRelation Table 5404 “Item Unit of Measure”
- Phys Invt Counting Period Code: TableRelation Table 7381 “Phys. Invt. Counting Period”
- Inventory Posting Group: TableRelation Table 94 “Inventory Posting Group”
Referenced by
4 fields in 3 objects relate to this table (TableRelation or CalcFormula).
- Table 46 “Item Register”: From Phys. Inventory Entry No., To Phys. Inventory Entry No.
- Table 27 “Item”: Last Phys. Invt. Date
- Table 5700 “Stockkeeping Unit”: Last Phys. Invt. Date
Pages and codeunits on this table
- Page 390 “Phys. Inventory Ledger Entries” (source 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.
- Codeunit 408 “DimensionManagement” (1 call:
ShowDimensions → ShowDimensionSet) - Codeunit 703 “Find Record Management” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue) - Codeunit 9500 “Sequence No. Mgt.” (1 call:
GetNextEntryNo → GetNextSeqNo)
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: "Phys. Inventory Ledger Entry"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.