Table 5820 "Cost Element Buffer"
Base Application · Microsoft.Inventory.Costing
Across versions
- BC23present
- BC245 procedures added, 4 procedures changed
- BC25-26unchanged
- BC274 procedures removed, 3 fields changed
- BC285 fields changed
- BC29-30unchanged
Base Application · Microsoft.Inventory.Costing · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Cost Element 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 | Type | Enum “Cost Entry Type” | — | enum Enum 104 “Cost Entry Type”; DataClassification SystemMetadata |
| 2 | Variance Type | Enum “Cost Variance Type” | — | enum Enum 106 “Cost Variance Type”; DataClassification SystemMetadata |
| 3 | Actual Cost Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 4 | Actual Cost (ACY) Δ BC27 | Decimal | — | DataClassification SystemMetadata |
| 5 | Rounding Residual Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 6 | Rounding Residual (ACY) Δ BC27 | Decimal | — | DataClassification SystemMetadata |
| 7 | Expected Cost Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 8 | Expected Cost (ACY) Δ BC27 | Decimal | — | DataClassification SystemMetadata |
| 9 | Invoiced Quantity Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 10 | Remaining Quantity Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 11 | Inbound Completely Invoiced | Boolean | — | DataClassification SystemMetadata |
| 12 | Last Valid Value Entry No | Integer | — | DataClassification SystemMetadata |
Keys
- Key1: Type, Variance Type (clustered)
Events published
OnAfterUpdateAvgCostBuffer(var CostElementBuffer: Record "Cost Element Buffer"; CostElementBuf: Record "Cost Element Buffer"; LastValidEntryNo: Integer)(integration)OnAfterUpdateCostElementBuffer(var CostElementBuffer: Record "Cost Element Buffer"; AvgCostBuf: Record "Cost Element Buffer")(integration)OnAfterExcludeBufFromAvgCostCalc(var CostElementBuffer: Record "Cost Element Buffer"; InvtAdjmtBuffer: Record "Inventory Adjustment Buffer")(integration)OnAfterRoundActualCost(var CostElementBuffer: Record "Cost Element Buffer"; ShareOfTotalCost: Decimal; AmtRndgPrec: Decimal; AmtRndgPrecACY: Decimal)(integration)OnAfterDeductOutbndValueEntryFromBuf(var CostElementBuffer: Record "Cost Element Buffer"; OutbndValueEntry: Record "Value Entry"; CostElementBuf: Record "Cost Element Buffer"; IsAvgCostCalcTypeItem: Boolean)(integration)OnAfterExcludeEntryFromAvgCostCalc(var CostElementBuffer: Record "Cost Element Buffer"; ValueEntry: Record "Value Entry")(integration)
Procedures
Initialize(KeepRoundingResidual: Boolean)AddActualCostElement(NewEntryType: Enum "Cost Entry Type"; NewActualCost: Decimal; NewActualCostACY: Decimal)Δ BC24 + BC24 + BC24 − BC27AddActualCostElement(NewEntryType: Enum "Cost Entry Type"; ValueEntry: Record "Value Entry")Δ BC24 + BC24 + BC24 − BC27AddExpectedCostElement(NewEntryType: Enum "Cost Entry Type"; NewExpectedCost: Decimal; NewExpectedCostACY: Decimal)Δ BC24 + BC24 + BC24 − BC27AddExpectedCostElement(NewEntryType: Enum "Cost Entry Type"; ValueEntry: Record "Value Entry")Δ BC24 + BC24 + BC24 − BC27RoundActualCost(ShareOfTotalCost: Decimal; AmtRndgPrec: Decimal; AmtRndgPrecACY: Decimal)ExcludeEntryFromAvgCostCalc(ValueEntry: Record "Value Entry")ExcludeBufFromAvgCostCalc(InvtAdjmtBuffer: Record "Inventory Adjustment Buffer")GetElement(NewEntryType: Enum "Cost Entry Type"): BooleanΔ BC24 + BC24 − BC27DeductOutbndValueEntryFromBuf(OutbndValueEntry: Record "Value Entry"; CostElementBuf: Record "Cost Element Buffer"; IsAvgCostCalcTypeItem: Boolean)UpdateAvgCostBuffer(CostElementBuf: Record "Cost Element Buffer"; LastValidEntryNo: Integer)UpdateCostElementBuffer(AvgCostBuf: Record "Cost Element Buffer")
Plus 2 local procedures.
Ask your agent
Procedure bodies are not stored here (D10). 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: "Cost Element Buffer"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.