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

Interface "Price Calculation"

Base Application · Microsoft.Pricing.Calculation

Across versions

  1. BC23-30present

Base Application · Microsoft.Pricing.Calculation · BC23-30 · source at ea08af5e · 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

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