Skip to content

KVSKBAServicePriceDiscCalcLine#

Fields#

Name Type Note
Document Type Enum Service Document Type
Document No. Code[20]
Document Line No. Integer
Line Type Enum (KVSKBAPriceDiscLineType)
Line No. Integer
Condition No. Code[20]
Reference No. Integer
Description Text[50]
Calculation (Condition) Enum (KVSKBAPriceCalculation)
Operator (Condition) Enum (KVSKBAPriceCalcOperator)
Value (Condition) Decimal
Calculation Enum (KVSKBAPriceCalculation)
Operator Enum (KVSKBAPriceCalcOperator)
Percent Decimal
Initial Price Decimal
Currency Code (Init. Price) Code[10]
Currency Factor (Init. Price) Decimal
Exch. Rate Date (Init. Price) Date
Unit Of Measure (Init. Price) Code[10]
Qty. Per UOM (Init. Price) Decimal
Currency Code (Doc. Line) Code[10]
Currency Factor (Doc. Line) Decimal
Exchange Rate Date (Doc. Line) Date
Unit Of Measure (Doc. Line) Code[10]
Qty. Per UOM (Doc. Line) Decimal
Initial Price (Doc. Line) Decimal
Price (Doc. Line) Decimal
Amount (Doc. Line) Decimal
Result (Doc. Line) Decimal
Result % (Doc. Line) Decimal
Discount % (Doc. Line) Decimal

Events#

OnBeforeProcedureCopyInitalPriceFromServiceLine(Record KVSKBAServicePriceDiscCalcLine, Record Service Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeProcedureCopyInitalPriceFromServiceLine(var ServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine"; var FromServiceLine: Record "Service Line"; var ExitStandardCode: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAServicePriceDiscCalcLine", 'OnBeforeProcedureCopyInitalPriceFromServiceLine', '', false, false)]
local procedure DoSomethingOnBeforeProcedureCopyInitalPriceFromServiceLine(var ServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine"; var FromServiceLine: Record "Service Line"; var ExitStandardCode: Boolean)
begin
end;

OnBeforeProcedureDeleteAllPriceFields(Record KVSKBAServicePriceDiscCalcLine, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeProcedureDeleteAllPriceFields(var ServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine"; var ExitStandardCode: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAServicePriceDiscCalcLine", 'OnBeforeProcedureDeleteAllPriceFields', '', false, false)]
local procedure DoSomethingOnBeforeProcedureDeleteAllPriceFields(var ServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine"; var ExitStandardCode: Boolean)
begin
end;

OnBeforeProcedureTransferFieldFromServiceCondLine(Record KVSKBAServicePriceDiscCalcLine, Record KVSKBASalesConditionHeader, Record KVSKBASalesConditionLine, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeProcedureTransferFieldFromServiceCondLine(var ServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine"; var SalesConditionHeader: Record "KVSKBASalesConditionHeader"; var SalesConditionLine: Record "KVSKBASalesConditionLine"; var ExitStandardCode: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAServicePriceDiscCalcLine", 'OnBeforeProcedureTransferFieldFromServiceCondLine', '', false, false)]
local procedure DoSomethingOnBeforeProcedureTransferFieldFromServiceCondLine(var ServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine"; var SalesConditionHeader: Record "KVSKBASalesConditionHeader"; var SalesConditionLine: Record "KVSKBASalesConditionLine"; var ExitStandardCode: Boolean)
begin
end;

OnAfterTransferFieldFromServiceCondLine(Record KVSKBAServicePriceDiscCalcLine, Record KVSKBASalesConditionHeader, Record KVSKBASalesConditionLine, Code[10]) :#

[IntegrationEvent(false, false)]
local procedure OnAfterTransferFieldFromServiceCondLine(var ServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine"; SalesConditionHeader: Record "KVSKBASalesConditionHeader"; SalesConditionLine: Record "KVSKBASalesConditionLine"; LanguageCode: Code[10]): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAServicePriceDiscCalcLine", 'OnAfterTransferFieldFromServiceCondLine', '', false, false)]
local procedure DoSomethingOnAfterTransferFieldFromServiceCondLine(var ServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine"; SalesConditionHeader: Record "KVSKBASalesConditionHeader"; SalesConditionLine: Record "KVSKBASalesConditionLine"; LanguageCode: Code[10])
begin
end;