Skip to content

KVSKBAServiceLine#

Procedures#

CalcUnitPriceInServiceLine(Record Service Line) :#

Summary: Calculate Unit Price in Service Line

procedure CalcUnitPriceInServiceLine(var ServiceLine: Record "Service Line"): 

Parameters:

  • ServiceLine: Record to calculate

Events#

OnBeforeCalcUnitPriceInServiceLine(Record Service Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcUnitPriceInServiceLine(var ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAServiceLine", 'OnBeforeCalcUnitPriceInServiceLine', '', false, false)]
local procedure DoSomethingOnBeforeCalcUnitPriceInServiceLine(var ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCalcUnitPricePUInServiceLine(Record Service Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcUnitPricePUInServiceLine(var ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAServiceLine", 'OnBeforeCalcUnitPricePUInServiceLine', '', false, false)]
local procedure DoSomethingOnBeforeCalcUnitPricePUInServiceLine(var ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCalcPUInServiceLine(Record Service Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcPUInServiceLine(var ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAServiceLine", 'OnBeforeCalcPUInServiceLine', '', false, false)]
local procedure DoSomethingOnBeforeCalcPUInServiceLine(var ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCalcNoInServiceLine(Record Service Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcNoInServiceLine(var ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAServiceLine", 'OnBeforeCalcNoInServiceLine', '', false, false)]
local procedure DoSomethingOnBeforeCalcNoInServiceLine(var ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;