tableInventoryofficial - Microsoftderived - from the source, no model text

Table 5802 "Value Entry"

Base Application · Microsoft.Inventory.Ledger

Across versions

  1. BC23present
  2. BC243 fields changed
  3. BC25unchanged
  4. BC263 fields added, 3 fields changed
  5. BC276 fields changed, 1 procedures added
  6. BC2859 fields changed
  7. BC29unchanged
  8. BC301 procedures removed

Neighbourhood 45 connected objects and pages

Table 480 "Dimension Set Entry" (relates to, 7 links)Dimension Set EntryTable 27 "Item" (relates to, 3 links)ItemTable 349 "Dimension Value" (relates to, 2 links)Table 94 "Inventory Posting Group" (relates to, 2 links)Table 1001 "Job Task" (relates to)Job TaskTable 13 "Salesperson/Purchaser" (relates to)Salesperson/PurchaserTable 14 "Location" (relates to)Table 156 "Resource" (relates to)ResourceTable 169 "Job Ledger Entry" (relates to)Table 18 "Customer" (relates to)CustomerTable 23 "Vendor" (relates to)Table 230 "Source Code" (relates to)Source CodeTable 231 "Reason Code" (relates to)Reason CodeTable 250 "Gen. Business Posting Group" (relates to)Table 251 "Gen. Product Posting Group" (relates to)Table 32 "Item Ledger Entry" (relates to)Table 46 "Item Register" (relates to)Table 5401 "Item Variant" (relates to)Table 5800 "Item Charge" (relates to)Page 5802 "Value Entries" (pages and codeunits on it, 3 links)Value EntriesCodeunit 5802 "Inventory Posting To G/L" (pages and codeunits on it)Page 5807 "Value Entries Preview" (pages and codeunits on it)Table extension 5021 "Serv. Decl. Value Entry" (extended by)Table extension 99000788 "Mfg. Value Entry" (extended by)Codeunit 20 "Posting Preview Event Handler" (event subscribers, 2 links)Posting Preview Event HandlerCodeunit 360 "Accounting Period Mgt." (calls)Codeunit 408 "DimensionManagement" (calls)Codeunit 5402 "Unit of Measure Management" (calls)Codeunit 5849 "Avg. Cost Entry Point Handler" (calls)Codeunit 703 "Find Record Management" (calls)Codeunit 9500 "Sequence No. Mgt." (calls)Table 32 "Item Ledger Entry" (referenced by, 11 links)Item Ledger EntryTable 27 "Item" (referenced by, 7 links)Table 5821 "Item Statistics Buffer" (referenced by, 6 links)Item Statistics BufferTable 5832 "Capacity Ledger Entry" (referenced by, 4 links)Capacity Ledger EntryTable 46 "Item Register" (referenced by, 2 links)Item RegisterTable 339 "Item Application Entry" (referenced by)Table 5811 "Post Value Entry to G/L" (referenced by)Table 5822 "Invt. Post to G/L Test Buffer" (referenced by)Table 5823 "G/L - Item Ledger Relation" (referenced by)

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.Ledger · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Caption Value Entry
DataClassification CustomerContent
Permissions TableData “Value 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 that this value entry is linked to. TableRelation Table 27 “Item”
3 Posting Date Δ BC28 Date Specifies the posting date of this entry.
4 Item Ledger Entry Type Δ BC28 Enum “Item Ledger Entry Type” Specifies the type of item ledger entry that caused this value entry. enum Enum 78 “Item Ledger Entry Type”
5 Source No. Δ BC28 Code[20] Specifies the number of the source document that the entry originates from. TableRelation Table 18 “Customer”, Table 23 “Vendor”, Table 27 “Item” (if (“Source Type” = const(Customer)) Customer else if (“Source Type” = const(Vendor)) Vendor else if (“Source Type” = const(Item)) Item)
6 Document No. Δ BC28 Code[20] Specifies the document number of the entry.
7 Description Δ BC28 Text[100] Specifies a description of the entry.
8 Location Code Δ BC28 Code[10] Specifies the code for the location of the item that the entry is linked to. TableRelation Table 14 “Location”
9 Inventory Posting Group Code[20] — TableRelation Table 94 “Inventory Posting Group” (Inventory Posting Group)
10 Source Posting Group Δ BC28 Code[20] Specifies the posting group for the item, customer, or vendor for the item entry that this value entry is linked to. TableRelation Table 92 “Customer Posting Group”, Table 93 “Vendor Posting Group”, Table 94 “Inventory Posting Group” (if (“Source Type” = const(Customer)) “Customer Posting Group” else if (“Source Type” = const(Vendor)) “Vendor Posting Group” else if (“Source Type” = const(Item)) “Inventory Posting Group”)
11 Item Ledger Entry No. Δ BC28 Integer Specifies the number of the item ledger entry that this value entry is linked to. TableRelation Table 32 “Item Ledger Entry” (Item Ledger Entry)
12 Valued Quantity Δ BC28 Decimal Specifies the quantity that the adjusted cost and the amount of the entry belongs to.
13 Item Ledger Entry Quantity Δ BC28 Decimal Specifies the average cost calculation.
14 Invoiced Quantity Δ BC28 Decimal Specifies how many units of the item are invoiced by the posting that the value entry line represents.
15 Cost per Unit Δ BC28 Decimal Specifies the cost for one base unit of the item in the entry.
17 Sales Amount (Actual) Δ BC28 Decimal Specifies the price of the item for a sales entry. via Page 5802 “Value Entries”
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 Δ BC28 Code[20] Specifies which salesperson or purchaser is linked to the entry. TableRelation Table 13 “Salesperson/Purchaser” (Salesperson/Purchaser)
23 Discount Amount Δ BC28 Decimal Specifies the total discount amount of this value entry.
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)
28 Applies-to Entry Integer —
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)))
41 Source Type Δ BC28 Enum “Analysis Source Type” Specifies the source type that applies to the source number that is shown in the Source No. field. enum Enum 7131 “Analysis Source Type”
43 Cost Amount (Actual) Δ BC28 Decimal Specifies the cost of invoiced items. via Page 5802 “Value Entries”
45 Cost Posted to G/L Δ BC28 Decimal Specifies the amount that has been posted to the general ledger.
46 Reason Code Code[10] — TableRelation Table 231 “Reason Code” (Reason Code)
47 Drop Shipment Boolean —
48 Journal Batch Name Code[10] —
57 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)
58 Gen. Prod. Posting Group Δ BC28 Code[20] Specifies the item’s product type to link transactions made for this item with the appropriate general ledger account according to the general posting setup. TableRelation Table 251 “Gen. Product Posting Group” (Gen. Product Posting Group)
60 Document Date Δ BC28 Date Specifies the date when the related document was created.
61 External Document No. Δ BC28 Code[35] Specifies a document number that refers to the customer’s or vendor’s numbering system.
68 Cost Amount (Actual) (ACY) Δ BC27 Decimal Specifies the cost of the items that have been invoiced, if you post in an additional reporting currency. via Page 5802 “Value Entries”
70 Cost Posted to G/L (ACY) Δ BC27 Decimal Specifies the amount that has been posted to the general ledger if you post in an additional reporting currency. via Page 5802 “Value Entries”
72 Cost per Unit (ACY) Δ BC27 Decimal Specifies the cost of one unit of the item in the entry. via Page 5802 “Value Entries”
79 Document Type Δ BC28 Enum “Item Ledger Document Type” Specifies what type of document was posted to create the value entry. enum Enum 79 “Item Ledger Document Type”
80 Document Line No. Δ BC28 Integer Specifies the line number of the line on the posted document that corresponds to the value entry.
86 VAT Reporting Date Date VAT Date caption
90 Order Type Δ BC28 Enum “Inventory Order Type” Specifies which type of order that the entry was created in. enum Enum 90 “Inventory Order Type”; not editable
91 Order No. Δ BC28 Code[20] Specifies the number of the order that created the entry. not editable
92 Order Line No. Integer — not editable
98 Expected Cost Boolean —
99 Item Charge No. Δ BC28 Code[20] Specifies the item charge number of the value entry. TableRelation Table 5800 “Item Charge” (Item Charge)
100 Valued By Average Cost Δ BC28 Boolean Specifies if the adjusted cost for the inventory decrease is calculated by the average cost of the item at the valuation date.
102 Partial Revaluation Boolean —
103 Inventoriable Boolean —
104 Valuation Date Δ BC28 Date Specifies the valuation date from which the entry is included in the average cost calculation.
105 Entry Type Δ BC28 Enum “Cost Entry Type” Specifies the type of value described in this entry. enum Enum 104 “Cost Entry Type”; not editable
106 Variance Type Δ BC28 Enum “Cost Variance Type” Specifies the type of variance described in this entry. enum Enum 106 “Cost Variance Type”; not editable
148 Purchase Amount (Actual) Δ BC28 Decimal —
149 Purchase Amount (Expected) Δ BC28 Decimal —
150 Sales Amount (Expected) Δ BC28 Decimal Specifies the expected price of the item for a sales entry, which means that it has not been invoiced yet. via Page 5802 “Value Entries”
151 Cost Amount (Expected) Δ BC28 Decimal Specifies the expected cost of the items, which is calculated by multiplying the Cost per Unit by the Valued Quantity. via Page 5802 “Value Entries”
152 Cost Amount (Non-Invtbl.) Δ BC28 Decimal Specifies the non-inventoriable cost, that is an item charge assigned to an outbound entry. via Page 5802 “Value Entries”
156 Cost Amount (Expected) (ACY) Δ BC27 Decimal Specifies the expected cost of the items in the additional reporting currency. via Page 5802 “Value Entries”
157 Cost Amount (Non-Invtbl.)(ACY) Δ BC27 Decimal Specifies the non-inventoriable cost, that is an item charge assigned to an outbound entry in the additional reporting currency. via Page 5802 “Value Entries”
158 Expected Cost Posted to G/L Δ BC28 Decimal Specifies the expected cost amount that has been posted to the interim account in the general ledger.
159 Exp. Cost Posted to G/L (ACY) Δ BC27 Decimal —
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
1000 Job No. Δ BC24 Δ BC28 Code[20] Specifies the number of the project that the value entry relates to. TableRelation Job.“No.”
1001 Job Task No. Δ BC24 Δ BC28 Code[20] Specifies the number of the related project task. TableRelation Table 1001 “Job Task” (“Job Task”.“Job Task No.” where(“Job No.” = field(“Job No.”)))
1002 Job Ledger Entry No. Δ BC24 Δ BC28 Integer Specifies the number of the project ledger entry that the value entry relates to. TableRelation Table 169 “Job Ledger Entry” (“Job Ledger Entry”.“Entry No.”)
5402 Variant Code Code[10] — TableRelation Table 5401 “Item Variant” (“Item Variant”.Code where(“Item No.” = field(“Item No.”)))
5818 Adjustment Δ BC28 Boolean Specifies if this entry has been cost adjusted. not editable
5819 Average Cost Exception Boolean —
5831 Capacity Ledger Entry No. Δ BC26 Δ BC28 Integer Specifies the entry number of the item ledger entry that this value entry is linked to. TableRelation Table 5832 “Capacity Ledger Entry” (Microsoft.Manufacturing.Capacity.“Capacity Ledger Entry”)
5832 Type Δ BC26 Δ BC28 Enum Microsoft.Manufacturing.Capacity.“Capacity Type Journal” Specifies the type of value entry when it relates to a capacity entry. enum Microsoft.Manufacturing.Capacity.“Capacity Type Journal”
5834 No. Δ BC26 Δ BC28 Code[20] Specifies the number of the involved entry or record, according to the specified number series. TableRelation Table 156 “Resource” (if (Type = const(Resource)) Resource)
6602 Return Reason Code Δ BC28 Code[10] Specifies the code explaining why the item was returned. TableRelation Table 6635 “Return Reason” (Return Reason)
6603 Item Description + BC26 Δ BC28 Text[100] Specifies the description of the item that this value entry is linked to. Analysis mode must be used for sorting and filtering on this field. FlowField: lookup(Item.Description where(“No.” = field(“Item No.”))); not editable

Keys

  • Key1: Entry No. (clustered)
  • Key2: Item Ledger Entry No., Entry Type
  • Key3: Item Ledger Entry No., Document No., Document Line No.
  • Key5: Item No., Posting Date, Item Ledger Entry Type, Entry Type, Variance Type, Item Charge No., Location Code, Variant Code, Global Dimension 1 Code, Global Dimension 2 Code, Source Type, Source No.
  • Key6: Document No.
  • Key7: Item No., Valuation Date, Location Code, Variant Code, SIFT Bucket No.
  • Key8: Source Type, Source No., Item No., Posting Date, Entry Type, Adjustment, Item Ledger Entry Type
  • Key9: Item Charge No., Inventory Posting Group, Item No.
  • Key10: Capacity Ledger Entry No., Entry Type
  • Key11: Order Type, Order No., Order Line No.
  • Key13: Job No., Job Task No., Document No.
  • Key14: Item Ledger Entry Type, Posting Date, Item No., Inventory Posting Group, Dimension Set ID
  • Key15: Item Ledger Entry No., Valuation Date, Posting Date
  • Key16: Location Code, Inventory Posting Group
  • Key17: Item Ledger Entry Type, Order No., Valuation Date
  • Key18: Item No., Item Ledger Entry Type, Order Type, Order No., Order Line No.
  • Key19: Document No., Document Line No., Document Type

Events published

  • OnBeforeCheckApplyLocationVariantFilters(var RecValueEntry: Record "Value Entry"; AccountingPeriod: Record "Accounting Period"; ValueEntry: Record "Value Entry"; var IsHandled: Boolean; Item: Record Item; CostCalcIsChanged: Boolean; var QtyFactor: Decimal; FromDate: Date; ToDate: Date) (integration)
  • OnSumCostsTillValuationDateOnAfterCalcSums(var ValueEntry: Record "Value Entry") (integration)
  • OnSumCostsTillValuationDateOnAfterGetItem(var Item: Record Item; var ValueEntry: Record "Value Entry") (integration)
  • OnSumCostsTillValuationDateOnAfterSetFilters(var ValueEntryRec: Record "Value Entry"; var ValueEntry: Record "Value Entry"; var Item: Record Item) (integration)
  • OnSumCostsTillValuationDateOnAfterSetCostAmounts(var ValueEntry: Record "Value Entry"; PrevValueEntrySum: Record "Value Entry"; QtyFactor: Decimal) (integration)
  • OnShowGLOnBeforeCopyToTempGLEntry(var GLEntry: Record "G/L Entry"; var GLItemLedgRelation: Record "G/L - Item Ledger Relation") (integration)
  • OnBeforeCalcItemLedgEntryCost(var ValueEntry: Record "Value Entry"; ItemLedgEntryNo: Integer; Expected: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeAddCost(var ValueEntry: Record "Value Entry"; InvtAdjmtBuffer: Record "Inventory Adjustment Buffer") (integration)

Trigger event subscribers

Procedures

  • GetNextEntryNo(): Integer + BC26
  • GetLastEntryNo(): Integer Δ BC26
  • GetValuationDate(): Date
  • AddCost(InvtAdjmtBuffer: Record "Inventory Adjustment Buffer")
  • SumCostsTillValuationDate(var ValueEntry: Record "Value Entry")
  • CalcItemLedgEntryCost(ItemLedgEntryNo: Integer; Expected: Boolean)
  • NotInvdRevaluationExists(ItemLedgEntryNo: Integer): Boolean
  • CalcQtyFactor(FromDate: Date; ToDate: Date): Decimal
  • ShowGL()
  • IsAvgCostException(IsAvgCostCalcTypeItem: Boolean): Boolean Δ BC26 − BC30 (obsolete 27.0: Moved to the Inventory Adjustment codeunit)
  • ShowDimensions()
  • GetAvgToDate(ToDate: Date): Date
  • GetAvgFromDate(ToDate: Date; var AccountingPeriod: Record "Accounting Period"; var CostCalcIsChanged: Boolean): Date
  • FindFirstValueEntryByItemLedgerEntryNo(ItemLedgerEntryNo: Integer)
  • IsInbound(): Boolean
  • EntryNoHasSameSign(EntryNo: integer): Boolean + BC26 (internal): Returns true if EntryNo parameter and Rec.“Entry No.” both are positive or negative. Used in scenarios where we posting preview entries are negative

Plus 2 local procedures.

Triggers

OnInsert

Relations

Referenced by

35 fields in 10 objects relate to this table (TableRelation or CalcFormula).

Pages and codeunits on this table

Extended by

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.

Recent changes

Countries that replace it

RU

Deprecations

  • procedure IsAvgCostException: Pending 27.0 (#if not CLEAN27), “Moved to the Inventory Adjustment codeunit”

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

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

Evidence 1 sources