Source AL, 588 lines
src/Layers/W1/BaseApp/Pricing/Calculation/PriceCalculationV15.Codeunit.allines 20 to 35 of 588, Copyright (c) Microsoft Corporation. MIT
codeunit 7003 "Price Calculation - V15" implements "Price Calculation"{ trigger OnRun() var PriceCalculationSetup: Record "Price Calculation Setup"; begin PriceCalculationSetup.SetRange(Implementation, PriceCalculationSetup.Implementation::"Business Central (Version 15.0)"); PriceCalculationSetup.DeleteAll(); AddSupportedSetup(PriceCalculationSetup); PriceCalculationSetup.ModifyAll(Default, true); end; var SalesPriceCalcMgt: Codeunit "Sales Price Calc. Mgt."; PurchPriceCalcMgt: Codeunit "Purch. Price Calc. Mgt.";
All 588 lines
Events 12 in 29
All 12 events
Public procedures 14 in 29
| GetID(): Integer | 17-29 |
| GetLine(var Line: Variant) | 17-29 |
| Init(NewLineWithPrice: Interface "Line With Price"; PriceCalculationSetup: Record "Price Calculation Setup") | 17-29 |
| ApplyDiscount() | 17-29 |
| ApplyPrice(CalledByFieldNo: Integer) | 17-29 |
| CountDiscount(ShowAll: Boolean): Integer | 17-29 |
All 14 procedures
Changes 8 in 28
| codeunit 7003 "Price Calculation - V15" | 17-29 |
| no longer obsolete |
| [IntegrationEvent] OnAfterApplyDiscountSalesHandler(var CurrLineWithPrice: Interface "Line With Price"; Header: Variant; Line: Variant) | new in 28 |
| added |
| [IntegrationEvent] OnCountDiscount(TableID: Integer; Header: Variant; Line: Variant; ShowAll: Boolean; var Result: Integer) | new in 28 |
| added |
| [IntegrationEvent] OnCountPrice(TableID: Integer; Header: Variant; Line: Variant; ShowAll: Boolean; var Result: Integer) | new in 28 |
| added |
| [IntegrationEvent] OnIsDiscountExists(TableID: Integer; Header: Variant; Line: Variant; ShowAll: Boolean; var Result: Boolean) | new in 28 |
| added |
| [IntegrationEvent] OnIsPriceExists(TableID: Integer; Header: Variant; Line: Variant; ShowAll: Boolean; var Result: Boolean) | new in 28 |
| added |
All 12 changes in 17-29