{"title":"Codeunit 7026 Service Line - Price, events","url":"https://jonas-paprotka.de/ref/codeunit/7026-service-line-price/events/","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":"codeunit","id":7026,"name":"Service Line - Price","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/7026-service-line-price/","json":"https://jonas-paprotka.de/ref/codeunit/7026-service-line-price.json"},"aspect":"events","total":13,"rows":[{"name":"OnAfterAddSources","sig":"(Record Service Header, Record Service Line, Enum Price Type, var Codeunit Price Source List)","named":"(ServiceHeader: Record \"Service Header\"; ServiceLine: Record \"Service Line\"; PriceType: Enum \"Price Type\"; var PriceSourceList: Codeunit \"Price Source List\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ServiceHeader: Record \"Service Header\"; ServiceLine: Record \"Service Line\"; PriceType: Enum \"Price Type\"; var PriceSourceList: Codeunit \"Price Source List\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterFillBuffer","sig":"(var Record Price Calculation Buffer, Record Service Header, Record Service Line)","named":"(var PriceCalculationBuffer: Record \"Price Calculation Buffer\"; ServiceHeader: Record \"Service Header\"; ServiceLine: Record \"Service Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PriceCalculationBuffer: Record \"Price Calculation Buffer\"; ServiceHeader: Record \"Service Header\"; ServiceLine: Record \"Service Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterGetDocumentDate","sig":"(var Date, Record Service Header, Record Service Line)","named":"(var DocumentDate: Date; ServiceHeader: Record \"Service Header\"; ServiceLine: Record \"Service Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var DocumentDate: Date; ServiceHeader: Record \"Service Header\"; ServiceLine: Record \"Service Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterSetPrice","sig":"(var Record Service Line, Record Price List Line, Enum Price Amount Type)","named":"(var ServiceLine: Record \"Service Line\"; PriceListLine: Record \"Price List Line\"; AmountType: Enum \"Price Amount Type\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"(var ServiceLine: Record \"Service Line\"; PriceListLine: Record \"Price List Line\"; AmountType: Enum \"Price Amount Type\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterGetAssetType","sig":"(Record Service Line, var Enum Price Asset Type)","named":"(ServiceLine: Record \"Service Line\"; var AssetType: Enum \"Price Asset Type\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(ServiceLine: Record \"Service Line\"; var AssetType: Enum \"Price Asset Type\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeSetPrice","sig":"(var Record Service Line, Record Price List Line, Enum Price Amount Type, var Boolean)","named":"(var ServiceLine: Record \"Service Line\"; PriceListLine: Record \"Price List Line\"; AmountType: Enum \"Price Amount Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"19-20","first":19,"last":20,"obsoleteSince":null,"spans":[{"from":19,"to":20,"named":"(var ServiceLine: Record \"Service Line\"; PriceListLine: Record \"Price List Line\"; AmountType: Enum \"Price Amount Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterIsPriceUpdateNeeded","sig":"(Enum Price Amount Type, Boolean, Integer, Record Service Line, var Boolean)","named":"(AmountType: Enum \"Price Amount Type\"; FoundPrice: Boolean; CalledByFieldNo: Integer; ServiceLine: Record \"Service Line\"; var Result: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(AmountType: Enum \"Price Amount Type\"; FoundPrice: Boolean; CalledByFieldNo: Integer; ServiceLine: Record \"Service Line\"; var Result: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterSetPrice","sig":"(var Record Service Line, Record Price List Line, Enum Price Amount Type, var Record Service Header)","named":"(var ServiceLine: Record \"Service Line\"; PriceListLine: Record \"Price List Line\"; AmountType: Enum \"Price Amount Type\"; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var ServiceLine: Record \"Service Line\"; PriceListLine: Record \"Price List Line\"; AmountType: Enum \"Price Amount Type\"; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeSetPrice","sig":"(var Record Service Line, Record Price List Line, Enum Price Amount Type, var Boolean, var Record Service Header)","named":"(var ServiceLine: Record \"Service Line\"; PriceListLine: Record \"Price List Line\"; AmountType: Enum \"Price Amount Type\"; var IsHandled: Boolean; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-23","first":21,"last":23,"obsoleteSince":null,"spans":[{"from":21,"to":23,"named":"(var ServiceLine: Record \"Service Line\"; PriceListLine: Record \"Price List Line\"; AmountType: Enum \"Price Amount Type\"; var IsHandled: Boolean; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterValidatePrice","sig":"(var Record Service Line, Enum Price Type, Enum Price Amount Type, var Record Service Header)","named":"(var ServiceLine: Record \"Service Line\"; CurrPriceType: Enum \"Price Type\"; AmountType: Enum \"Price Amount Type\"; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var ServiceLine: Record \"Service Line\"; CurrPriceType: Enum \"Price Type\"; AmountType: Enum \"Price Amount Type\"; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterUpdate","sig":"(var Record Service Line, Enum Price Type, Enum Price Amount Type, var Record Service Header)","named":"(var ServiceLine: Record \"Service Line\"; CurrPriceType: Enum \"Price Type\"; AmountType: Enum \"Price Amount Type\"; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var ServiceLine: Record \"Service Line\"; CurrPriceType: Enum \"Price Type\"; AmountType: Enum \"Price Amount Type\"; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterIsDiscountAllowed","sig":"(Record Service Line, Boolean, var Boolean, var Record Service Header)","named":"(ServiceLine: Record \"Service Line\"; PriceCalculated: Boolean; var Result: Boolean; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(ServiceLine: Record \"Service Line\"; PriceCalculated: Boolean; var Result: Boolean; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeSetPrice","sig":"(var Record Service Line, Record Price List Line, Enum Price Amount Type, var Boolean, var Record Service Header, Enum Price Type)","named":"(var ServiceLine: Record \"Service Line\"; PriceListLine: Record \"Price List Line\"; AmountType: Enum \"Price Amount Type\"; var IsHandled: Boolean; var ServiceHeader: Record \"Service Header\"; CurrPriceType: Enum \"Price Type\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var ServiceLine: Record \"Service Line\"; PriceListLine: Record \"Price List Line\"; AmountType: Enum \"Price Amount Type\"; var IsHandled: Boolean; var ServiceHeader: Record \"Service Header\"; CurrPriceType: Enum \"Price Type\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}