Skip to content

KVSKBASalesLinesMinProfitCheck#

Events#

OnBeforeCalcProfitFields(Record Sales Header, Record Sales Line, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal, Text[100], Text[100], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcProfitFields(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var LineAmtLCY: Decimal; var LineAmtLCYExclVAT: Decimal; var UnitCostAmtLCY: Decimal; var ProfitAmtLCY: Decimal; var ProfitPerCent: Decimal; var MinimumProfitPercent: Decimal; var MinimumProfitDeviationText: Text[100]; var ReleasedText: Text[100]; var Handled: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASalesLinesMinProfitCheck", 'OnBeforeCalcProfitFields', '', false, false)]
local procedure DoSomethingOnBeforeCalcProfitFields(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var LineAmtLCY: Decimal; var LineAmtLCYExclVAT: Decimal; var UnitCostAmtLCY: Decimal; var ProfitAmtLCY: Decimal; var ProfitPerCent: Decimal; var MinimumProfitPercent: Decimal; var MinimumProfitDeviationText: Text[100]; var ReleasedText: Text[100]; var Handled: Boolean)
begin
end;