codeunitAL Developmentofficial - Microsoftderived - from the source, no model text

Codeunit 7008 "Price Calculation Buffer Mgt."

Base Application · Microsoft.Pricing.Calculation

Across versions

  1. BC23present
  2. BC241 events added, 1 events removed
  3. BC25unchanged
  4. BC261 events added, 1 events removed
  5. BC27-30unchanged

Neighbourhood 14 connected objects and pages

Codeunit 7002 "Price Calculation - V16" (calls, 13 links)Price Calculation - V16Codeunit 7003 "Price Calculation - V15" (calls, 6 links)Price Calculation - V15Codeunit 7007 "Price Asset List" (calls, 5 links)Price Asset ListCodeunit 7011 "Price Source List" (calls, 4 links)Price Source ListCodeunit 7020 "Sales Line - Price" (calls)Sales Line - PriceCodeunit 7021 "Purchase Line - Price" (calls)Purchase Line - PriceCodeunit 7022 "Item Journal Line - Price" (calls)Item Journal Line - PriceCodeunit 7023 "Job Journal Line - Price" (calls)Job Journal Line - PriceCodeunit 7024 "Job Planning Line - Price" (calls)Job Planning Line - PriceCodeunit 7025 "Requisition Line - Price" (calls)Requisition Line - PriceCodeunit 7026 "Service Line - Price" (calls)Service Line - PriceCodeunit 7027 "Std. Item Jnl. Line - Price" (calls)Std. Item Jnl. Line - PriceCodeunit 7028 "Res. Journal Line - Price" (calls)Res. Journal Line - PriceCodeunit 7029 "Price List Line - Price" (calls)Price List Line - Price

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

Events published

  • OnAfterCalcUnitAmountRoundingPrecision(PriceCalculationBuffer: Record "Price Calculation Buffer"; var UnitAmountRoundingPrecision: Decimal) (integration)
  • OnAfterGetAssets(PriceCalculationBuffer: Record "Price Calculation Buffer"; var NewPriceAssetList: Codeunit "Price Asset List") (integration)
  • OnAfterGetSources(PriceCalculationBuffer: Record "Price Calculation Buffer"; var TempPriceSource: Record "Price Source"; var Found: Boolean) (integration)
  • OnAfterGetSourcesNewPriceSourceList(var PriceCalculationBuffer: Record "Price Calculation Buffer"; var NewPriceSourceList: Codeunit "Price Source List") (integration)
  • OnAfterSetFilters(var PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; var PriceCalculationBuffer: Record "Price Calculation Buffer"; ShowAll: Boolean) (integration)
  • OnAfterSetLineDiscountPctForPickBestLine(PriceCalculationBuffer: Record "Price Calculation Buffer"; var PriceListLine: Record "Price List Line") (integration)
  • OnBeforeConvertAmount(AmountType: Enum "Price Amount Type"; var PriceListLine: Record "Price List Line"; PriceCalculationBuffer: Record "Price Calculation Buffer"; var IsHandled: Boolean) (integration)
  • OnBeforeIsInMinQty(PriceListLine: Record "Price List Line"; PriceCalculationBuffer: Record "Price Calculation Buffer"; var Result: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeSet(var PriceCalculationBuffer: Record "Price Calculation Buffer") (integration)
  • OnConvertAmountByTaxOnAfterVATPostingSetupGet(var VATPostingSetup: Record "VAT Posting Setup"; var Amount: Decimal; var IsHandled: Boolean; var PriceCalculationBuffer: Record "Price Calculation Buffer") + BC24 − BC24 + BC26 − BC26 (integration)
  • OnBeforeConvertAmountByCurrency(var PriceListLine: Record "Price List Line"; var Amount: Decimal; var PriceCalculationBuffer: Record "Price Calculation Buffer") (integration)

Procedures

  • AddAsset(AssetType: Enum "Price Asset Type"; AssetNo: Code[20])
  • AddSource(SourceType: Enum "Price Source Type"; ParentSourceNo: Code[20]; SourceNo: Code[20])
  • AddSource(SourceType: Enum "Price Source Type"; SourceNo: Code[20])
  • AddSource(SourceType: Enum "Price Source Type")
  • GetAsset(var PriceAsset: Record "Price Asset")
  • GetAssets(var NewPriceAssetList: Codeunit "Price Asset List")
  • GetBuffer(var ResultPriceCalculationBuffer: Record "Price Calculation Buffer")
  • GetSource(SourceType: Enum "Price Source Type"): Code[20]
  • GetSources(var TempPriceSource: Record "Price Source" temporary): Boolean
  • GetSources(var NewPriceSourceList: Codeunit "Price Source List")
  • SetAssets(var NewPriceAssetList: Codeunit "Price Asset List")
  • SetSources(var NewPriceSourceList: Codeunit "Price Source List")
  • Set(NewPriceCalculationBuffer: Record "Price Calculation Buffer"; var PriceSourceList: Codeunit "Price Source List")
  • RoundPrice(var Price: Decimal)
  • IsInMinQty(PriceListLine: Record "Price List Line"): Boolean
  • ConvertAmount(AmountType: Enum "Price Amount Type"; var PriceListLine: Record "Price List Line")
  • ConvertAmountByTax(var PriceListLine: Record "Price List Line"; var Amount: Decimal)
  • ConvertAmountByUnitOfMeasure(var PriceListLine: Record "Price List Line"; var Amount: Decimal)
  • ConvertAmountByCurrency(var PriceListLine: Record "Price List Line"; var Amount: Decimal)
  • SetLineDiscountPctForPickBestLine(var PriceListLine: Record "Price List Line")
  • FillBestLine(AmountType: Enum "Price Amount Type"; var PriceListLine: Record "Price List Line")
  • SetFiltersOnPriceListLine(var PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; ShowAll: Boolean)
  • RestoreFilters(var PriceListLine: Record "Price List Line")
  • VerifySelectedLine(PriceListLine: Record "Price List Line")

Plus 2 local procedures.

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.

Called by

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: "codeunit", object_name: "Price Calculation Buffer Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources