Skip to content

KVSKBAPriceCalcSingleInstance#

Procedures#

ClearAll() :#

Summary: Clear all global variables

procedure ClearAll(): 

ClearSalesPriceTypeData() :#

Summary: Clears all Sales Price Type variables

procedure ClearSalesPriceTypeData(): 

ClearPurchasePriceTypeData() :#

Summary: Clears all Purchase Price Type variables

procedure ClearPurchasePriceTypeData(): 

KVSKBASetTempPurchasePriceDiscCalcLine(Record KVSKBAPurchaseConditionLine, Code[20], Integer, Option, Code[10]) :#

Summary: Inserts the KVSKBAPurchaseConditionLine into the global temporary KVSKBAPurchaseConditionLine

procedure KVSKBASetTempPurchasePriceDiscCalcLine(var KVSKBAPurchaseConditionLine: Record "KVSKBAPurchaseConditionLine"; CondNo: Code[20]; ReferenceNo: Integer; PriceDiscCalcLineType: Option; LanguageCode: Code[10]): 

Parameters:

  • KVSKBAPurchaseConditionLine: KVSKBAPurchaseConditionLine to insert
  • CondNo: Condition No. to filter
  • ReferenceNo: Reference No. to filter
  • PriceDiscCalcLineType: Line Type to insert
  • LanguageCode: Language Code to insert

KVSKBASetTempSalesPriceDiscCalcLine(Record KVSKBASalesConditionLine, Code[20], Integer, Option, Code[10]) :#

Summary: Inserts the KVSKBASalesConditionLine into the global temporary KVSKBASalesConditionLine

procedure KVSKBASetTempSalesPriceDiscCalcLine(var KVSKBASalesConditionLine: Record "KVSKBASalesConditionLine"; CondNo: Code[20]; ReferenceNo: Integer; PriceDiscCalcLineType: Option; LanguageCode: Code[10]): 

Parameters:

  • KVSKBASalesConditionLine: KVSKBASalesConditionLine to insert
  • CondNo: Condition No. to filter
  • ReferenceNo: Reference No. to filter
  • PriceDiscCalcLineType: Line Type to insert
  • LanguageCode: Language Code to insert

KVSKBASetTempServicePriceDiscCalcLine(Record KVSKBASalesConditionLine, Code[20], Integer, Enum KVSKBAPriceDiscLineType, Code[10]) :#

Summary: Inserts the KVSKBASalesConditionLine into the global temporary ServicePriceDiscCalcLine

procedure KVSKBASetTempServicePriceDiscCalcLine(var KVSKBASalesConditionLine: Record "KVSKBASalesConditionLine"; CondNo: Code[20]; ReferenceNo: Integer; PriceDiscCalcLineType: Enum "KVSKBAPriceDiscLineType"; LanguageCode: Code[10]): 

Parameters:

  • KVSKBASalesConditionLine: KVSKBASalesConditionLine to insert
  • CondNo: Condition No. to filter
  • ReferenceNo: Reference No. to filter
  • PriceDiscCalcLineType: Line Type to insert
  • LanguageCode: Language Code to insert

GetTempPurchasePriceDiscCalcLine(Record KVSKBAPurchPriceDiscCalcLine, Record Purchase Line, Option) :#

Summary: Get the global TempKVSKBAPurchPriceDiscCalcLine

procedure GetTempPurchasePriceDiscCalcLine(var KVSKBAPurchPriceDiscCalcLine: Record "KVSKBAPurchPriceDiscCalcLine"; Purchaseline: Record "Purchase Line"; PriceDiscCalcLineType: Option): 

Parameters:

  • KVSKBAPurchPriceDiscCalcLine: Record with transferd record
  • Purchaseline: Purchase Line for filter
  • PriceDiscCalcLineType: Line Type for filter

GetTempSalesPriceDiscCalcLine(Record KVSKBASalesPriceDiscCalcLine, Record Sales Line, Option) :#

Summary: Get the global TempKVSKBAPurchPriceDiscCalcLine

procedure GetTempSalesPriceDiscCalcLine(var KVSKBASalesPriceDiscCalcLine: Record "KVSKBASalesPriceDiscCalcLine"; Salesline: Record "Sales Line"; PriceDiscCalcLineType: Option): 

Parameters:

  • KVSKBASalesPriceDiscCalcLine: Record with transferd record
  • Salesline: Sales Line for filter
  • Purchaseline:
  • PriceDiscCalcLineType: Line Type for filter

GetTempServicePriceDiscCalcLine(Record KVSKBAServicePriceDiscCalcLine, Record Service Line, Enum KVSKBAPriceDiscLineType) :#

Summary: Get the TempKVSKBAServicePriceDiscCalcLine

procedure GetTempServicePriceDiscCalcLine(var KVSKBAServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine"; Serviceline: Record "Service Line"; PriceDiscCalcLineType: Enum "KVSKBAPriceDiscLineType"): 

Parameters:

  • KVSKBAServicePriceDiscCalcLine: Record with transferd record
  • Serviceline: Service Line for filter
  • PriceDiscCalcLineType: Line type for filter

Events#

OnAfterSetTempSalesPriceDiscCalcLine(Record KVSKBASalesConditionHeader, Record KVSKBASalesConditionLine, Record KVSKBASalesPriceDiscCalcLine, Option, Integer) :#

[IntegrationEvent(false, false)]
local procedure OnAfterSetTempSalesPriceDiscCalcLine(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; var KVSKBASalesConditionLine: Record "KVSKBASalesConditionLine"; var TempKVSKBASalesPriceDiscCalcLine: Record "KVSKBASalesPriceDiscCalcLine" temporary; PriceDiscCalcLineType: Option; var NextLineNo: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPriceCalcSingleInstance", 'OnAfterSetTempSalesPriceDiscCalcLine', '', false, false)]
local procedure DoSomethingOnAfterSetTempSalesPriceDiscCalcLine(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; var KVSKBASalesConditionLine: Record "KVSKBASalesConditionLine"; var TempKVSKBASalesPriceDiscCalcLine: Record "KVSKBASalesPriceDiscCalcLine" temporary; PriceDiscCalcLineType: Option; var NextLineNo: Integer)
begin
end;

OnAfterSetTempServicePriceDiscCalcLine(Record KVSKBASalesConditionHeader, Record KVSKBASalesConditionLine, Record KVSKBAServicePriceDiscCalcLine, Enum KVSKBAPriceDiscLineType, Integer) :#

[IntegrationEvent(false, false)]
local procedure OnAfterSetTempServicePriceDiscCalcLine(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; var KVSKBASalesConditionLine: Record "KVSKBASalesConditionLine"; var TempKVSKBAServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine" temporary; KVSKBAPriceDiscLineType: Enum "KVSKBAPriceDiscLineType"; var NextLineNo: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPriceCalcSingleInstance", 'OnAfterSetTempServicePriceDiscCalcLine', '', false, false)]
local procedure DoSomethingOnAfterSetTempServicePriceDiscCalcLine(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; var KVSKBASalesConditionLine: Record "KVSKBASalesConditionLine"; var TempKVSKBAServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine" temporary; KVSKBAPriceDiscLineType: Enum "KVSKBAPriceDiscLineType"; var NextLineNo: Integer)
begin
end;

OnAfterGetTempSalesPriceDiscCalcLine(Record KVSKBASalesPriceDiscCalcLine, Record KVSKBASalesPriceDiscCalcLine, Record Sales Line, Option) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetTempSalesPriceDiscCalcLine(var KVSKBASalesPriceDiscCalcLine: Record "KVSKBASalesPriceDiscCalcLine"; var TempKVSKBASalesPriceDiscCalcLine: Record "KVSKBASalesPriceDiscCalcLine" temporary; SalesLine: Record "Sales Line"; PriceDiscCalcLineType: Option): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPriceCalcSingleInstance", 'OnAfterGetTempSalesPriceDiscCalcLine', '', false, false)]
local procedure DoSomethingOnAfterGetTempSalesPriceDiscCalcLine(var KVSKBASalesPriceDiscCalcLine: Record "KVSKBASalesPriceDiscCalcLine"; var TempKVSKBASalesPriceDiscCalcLine: Record "KVSKBASalesPriceDiscCalcLine" temporary; SalesLine: Record "Sales Line"; PriceDiscCalcLineType: Option)
begin
end;

OnAfterGetTempServicePriceDiscCalcLine(Record KVSKBAServicePriceDiscCalcLine, Record KVSKBAServicePriceDiscCalcLine, Record Service Line, Enum KVSKBAPriceDiscLineType) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetTempServicePriceDiscCalcLine(var KVSKBAServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine"; var TempKVSKBAServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine" temporary; ServiceLine: Record "Service Line"; KVSKBAPriceDiscLineType: Enum "KVSKBAPriceDiscLineType"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPriceCalcSingleInstance", 'OnAfterGetTempServicePriceDiscCalcLine', '', false, false)]
local procedure DoSomethingOnAfterGetTempServicePriceDiscCalcLine(var KVSKBAServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine"; var TempKVSKBAServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine" temporary; ServiceLine: Record "Service Line"; KVSKBAPriceDiscLineType: Enum "KVSKBAPriceDiscLineType")
begin
end;