{"title":"Interface Price Calculation, procedures","url":"https://jonas-paprotka.de/ref/interface/price-calculation/procedures/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"interface","id":null,"name":"Price Calculation","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/interface/price-calculation/","json":"https://jonas-paprotka.de/ref/interface/price-calculation.json"},"aspect":"procedures","total":13,"rows":[{"name":"Init","sig":"(Interface Line With Price, Record Price Calculation Setup)","named":"(LineWithPrice: Interface \"Line With Price\"; PriceCalculationSetup: Record \"Price Calculation Setup\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(LineWithPrice: Interface \"Line With Price\"; PriceCalculationSetup: Record \"Price Calculation Setup\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetLine","sig":"(var Variant)","named":"(var Line: Variant)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var Line: Variant)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"ApplyDiscount","sig":"()","named":"()","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"ApplyPrice","sig":"(Integer)","named":"(CalledByFieldNo: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(CalledByFieldNo: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CountDiscount","sig":"(Boolean)","named":"(ShowAll: Boolean)","returns":"Integer","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ShowAll: Boolean)","returns":"Integer","kind":"procedure","access":"public","obsolete":null}]},{"name":"CountPrice","sig":"(Boolean)","named":"(ShowAll: Boolean)","returns":"Integer","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ShowAll: Boolean)","returns":"Integer","kind":"procedure","access":"public","obsolete":null}]},{"name":"FindDiscount","sig":"(var Record Price List Line, Boolean)","named":"(var TempPriceListLine: Record \"Price List Line\"; ShowAll: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var TempPriceListLine: Record \"Price List Line\"; ShowAll: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"FindPrice","sig":"(var Record Price List Line, Boolean)","named":"(var TempPriceListLine: Record \"Price List Line\"; ShowAll: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var TempPriceListLine: Record \"Price List Line\"; ShowAll: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"IsDiscountExists","sig":"(Boolean)","named":"(ShowAll: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ShowAll: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"IsPriceExists","sig":"(Boolean)","named":"(ShowAll: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ShowAll: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"PickDiscount","sig":"()","named":"()","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"PickPrice","sig":"()","named":"()","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"ShowPrices","sig":"(var Record Price List Line)","named":"(var TempPriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var TempPriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]}]}