Codeunit 7008 "Price Calculation Buffer Mgt."
Base Application · Microsoft.Pricing.Calculation
Across versions
- BC23present
- BC241 events added, 1 events removed
- BC25unchanged
- BC261 events added, 1 events removed
- BC27-30unchanged
Neighbourhood 14 connected objects and pages
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): BooleanGetSources(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"): BooleanConvertAmount(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.
- Codeunit 7007 “Price Asset List” (5 calls:
AddAsset → Add,GetAssets → Copy,Set → Add, …) - Codeunit 7011 “Price Source List” (4 calls:
AddSource → Add,GetSource → GetValue,GetSources → GetList, …)
Called by
- Codeunit 7002 “Price Calculation - V16” (13 calls:
ApplyDiscount → FillBestLine,ApplyPrice → FillBestLine,CalcBestAmount → ConvertAmount, …) - Codeunit 7003 “Price Calculation - V15” (6 calls:
FindDiscount → FillBestLine,FindDiscount → GetBuffer,FindDiscount → GetSource, …) - Codeunit 7020 “Sales Line - Price” (1 call:
CopyToBuffer → Set) - Codeunit 7021 “Purchase Line - Price” (1 call:
CopyToBuffer → Set) - Codeunit 7022 “Item Journal Line - Price” (1 call:
CopyToBuffer → Set) - Codeunit 7023 “Job Journal Line - Price” (1 call:
CopyToBuffer → Set) - Codeunit 7024 “Job Planning Line - Price” (1 call:
CopyToBuffer → Set) - Codeunit 7025 “Requisition Line - Price” (1 call:
CopyToBuffer → Set) - Codeunit 7026 “Service Line - Price” (1 call:
CopyToBuffer → Set) - Codeunit 7027 “Std. Item Jnl. Line - Price” (1 call:
CopyToBuffer → Set) - Codeunit 7028 “Res. Journal Line - Price” (1 call:
CopyToBuffer → Set) - Codeunit 7029 “Price List Line - Price” (1 call:
CopyToBuffer → Set)
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.