Table of Contents

KVSKBAGetSalesConditionLines

Procedures

Set(Record KVSKBASalesConditionLine, Record KVSKBASalesConditionHeader, Integer) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Sets the sales condition lines and header for the page.

[Obsolete('Obsolete in favor of Set(var NewSalesConditionLine: Record KVSKBASalesConditionLine; NewSalesConditionHeader: Record KVSKBASalesConditionHeader; PriceDiscLineType: Enum KVSKBAPriceDiscLineType)', '28.3')]
procedure Set(var NewASalesConditionLine: Record "KVSKBASalesConditionLine"; NewSalesConditionHeader: Record "KVSKBASalesConditionHeader"; CalledByTableNo: Integer): 

Parameters:

  • NewASalesConditionLine: The sales condition line record.
  • NewSalesConditionHeader: The sales condition header record.
  • CalledByTableNo: The table number that called the page.

Remarks: This procedure is marked as obsolete and will be removed in a future version. Use the overload of the Set procedure that accepts a PriceDiscLineType parameter instead.

Set(Record KVSKBASalesConditionLine, Record KVSKBASalesConditionHeader, Enum KVSKBAPriceDiscLineType) :

Summary: Sets the sales condition lines and header for the page.

procedure Set(var NewSalesConditionLine: Record "KVSKBASalesConditionLine"; NewSalesConditionHeader: Record "KVSKBASalesConditionHeader"; PriceDiscLineType: Enum "KVSKBAPriceDiscLineType"): 

Parameters:

  • NewSalesConditionLine: The sales condition line record.
  • NewSalesConditionHeader: The sales condition header record.
  • PriceDiscLineType: The type of price or discount line.

Events

OnOpenPageCaseOnSetTextLastLineHeaderLineCaseElse(Record KVSKBASalesConditionHeader, Text[50]) :

Summary: Event raised to set the caption for the last line header line when the base of calculation is not one of the predefined values.

[IntegrationEvent(false, false)]
local procedure OnOpenPageCaseOnSetTextLastLineHeaderLineCaseElse(SalesConditionHeader: Record "KVSKBASalesConditionHeader"; var TextLastLineHeaderLine: Text[50]): 

Parameters:

  • SalesConditionHeader: The sales condition header record.
  • TextLastLineHeaderLine: The caption for the last line header line.

Remarks: Subscribers can provide custom logic to set the caption based on the base of calculation.

OnOpenPageCaseOnSetTextBaseOfInitialPriceCaseElse(Record KVSKBASalesConditionHeader, Text[50]) :

Summary: Event raised to set the caption for the base of initial price when the base of calculation is not one of the predefined values.

[IntegrationEvent(false, false)]
local procedure OnOpenPageCaseOnSetTextBaseOfInitialPriceCaseElse(SalesConditionHeader: Record "KVSKBASalesConditionHeader"; var TextBaseOfInitialPrice: Text[50]): 

Parameters:

  • SalesConditionHeader: The sales condition header record.
  • TextBaseOfInitialPrice: The caption for the base of initial price.

Remarks: Subscribers can provide custom logic to set the caption based on the base of calculation.