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

Interface "Price Calculation"

Base Application · Microsoft.Pricing.Calculation

Across versions

  1. BC23-30present

Neighbourhood 1 connected objects and pages

https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-extending-best-price-calculations (Learn pages)https://learn.microsoft.com/…

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 4e6a307c · facts from BC29

Procedures

  • Init(LineWithPrice: Interface "Line With Price"; PriceCalculationSetup: Record "Price Calculation Setup")
  • GetLine(var Line: Variant): After the calculation is done by calling ApplyPrice() or ApplyDiscount() the updated line is retrieved by this method.
  • ApplyDiscount(): Executes the calcluation of the discount amount.
  • ApplyPrice(CalledByFieldNo: Integer): Executes the calculation of the price or cost.
  • CountDiscount(ShowAll: Boolean): Integer: Returns the number of price list lines with discounts that fit the source line.
  • CountPrice(ShowAll: Boolean): Integer: Returnes the number of price list lines with prices that fit the source line.
  • FindDiscount(var TempPriceListLine: Record "Price List Line"; ShowAll: Boolean): Boolean: Returns the list of price list lines with discount that fit the source line.
  • FindPrice(var TempPriceListLine: Record "Price List Line"; ShowAll: Boolean): Boolean: Returns the list of price list lines with prices ot costs that fit the source line.
  • IsDiscountExists(ShowAll: Boolean): Boolean: Returns true if exists any price list line with discount that fit the source line.
  • IsPriceExists(ShowAll: Boolean): Boolean: Returns true if exists any price list line with price or cost that fit the source line.
  • PickDiscount(): Allows to pick from the list of price list lines with disocunt that fit the source line.
  • PickPrice(): Allows to pick from the list of price list lines with price or cost that fit the source line.
  • ShowPrices(var TempPriceListLine: Record "Price List Line"): Opens the list page for reviewing existing prices.

Implemented by

Documented on Microsoft Learn

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

Evidence 1 sources