Table 5895 "Inventory Adjustment Buffer"
Base Application · Microsoft.Inventory.Costing
Across versions
- BC23present
- BC24declaration changed
- BC25-26unchanged
- BC272 fields changed, 1 procedures added
- BC283 fields changed
- BC29-30unchanged
Neighbourhood 5 connected objects and pages
Base Application · Microsoft.Inventory.Costing · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Inventory Adjustment Buffer |
| 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 | Entry No. | Integer | — | DataClassification SystemMetadata |
| 2 | Item No. | Code[20] | — | TableRelation Table 27 “Item”; DataClassification SystemMetadata |
| 3 | Posting Date | Date | — | DataClassification SystemMetadata |
| 6 | Document No. | Code[20] | — | DataClassification SystemMetadata |
| 8 | Location Code | Code[10] | — | TableRelation Table 14 “Location”; DataClassification SystemMetadata |
| 11 | Item Ledger Entry No. | Integer | — | TableRelation Table 32 “Item Ledger Entry” (Item Ledger Entry); DataClassification SystemMetadata |
| 13 | Item Ledger Entry Quantity Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 43 | Cost Amount (Actual) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 68 | Cost Amount (Actual) (ACY) Δ BC27 | Decimal | — | DataClassification SystemMetadata |
| 98 | Expected Cost | Boolean | — | DataClassification SystemMetadata |
| 100 | Valued By Average Cost | Boolean | — | DataClassification SystemMetadata |
| 104 | Valuation Date | Date | — | DataClassification SystemMetadata |
| 105 | Entry Type | Enum “Cost Entry Type” | — | enum Enum 104 “Cost Entry Type”; DataClassification SystemMetadata |
| 106 | Variance Type | Enum “Cost Variance Type” | — | enum Enum 106 “Cost Variance Type”; DataClassification SystemMetadata |
| 151 | Cost Amount (Expected) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 156 | Cost Amount (Expected) (ACY) Δ BC27 | Decimal | — | DataClassification SystemMetadata |
| 5402 | Variant Code | Code[10] | — | TableRelation Table 5401 “Item Variant” (“Item Variant”.Code where(“Item No.” = field(“Item No.”))); DataClassification SystemMetadata |
Keys
- Key1: Entry No. (clustered)
- Key2: Item Ledger Entry No.
- Key3: Item No., Valuation Date, Location Code, Variant Code
Events published
OnAddActualCostBufOnBeforeInsert(var InventoryAdjustmentBuffer: Record "Inventory Adjustment Buffer"; ValueEntry: Record "Value Entry")(integration)OnSumCostsTillValuationDateGetItem(var Item: Record Item; var ValueEntry: Record "Value Entry")(integration)OnSumCostsTillValuationDateOnAfterSetCostAmounts(var InventoryAdjustmentBuffer: Record "Inventory Adjustment Buffer"; PrevInventoryAdjustmentBufferSum: Record "Inventory Adjustment Buffer"; QtyFactor: Decimal)(integration)OnSumCostsTillValuationDateOnBeforeCalcSums(var Rec: Record "Inventory Adjustment Buffer"; var QtyFactor: decimal; FromDate: Date; ToDate: Date; ValueEntry: Record "Value Entry")(integration)
Procedures
CalcItemLedgEntryCost(ItemLedgEntryNo: Integer; Expected: Boolean)SumCostsTillValuationDate(var ValueEntry: Record "Value Entry")AddActualCostBuf(ValueEntry: Record "Value Entry"; NewAdjustedCost: Decimal; NewAdjustedCostACY: Decimal; ItemLedgEntryPostingDate: Date)AddBalanceExpectedCostBuf(ValueEntry: Record "Value Entry"; NewAdjustedCost: Decimal; NewAdjustedCostACY: Decimal)AddOrderCost(ItemLedgEntryNo: Integer; EntryType: Option; VarianceType: Option; CostAmt: Decimal; CostAmtLCY: Decimal)AddCost(ItemLedgEntryNo: Integer; EntryType: Enum "Cost Entry Type"; VarianceType: Enum "Cost Variance Type"; CostAmt: Decimal; CostAmtLCY: Decimal)
Plus 2 local procedures.
Relations
- Location Code: TableRelation Table 14 “Location”
- Item No.: TableRelation Table 27 “Item”
- Item Ledger Entry No.: TableRelation Table 32 “Item Ledger Entry”
- Variant Code: TableRelation Table 5401 “Item Variant”
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 5402 “Unit of Measure Management” (1 call:
SumCostsTillValuationDate → QtyRndPrecision)
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: "Inventory Adjustment Buffer"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.