Table of Contents

KVSKBAPackSugProcessingLines

Events

OnBeforeSetLineDescriptionText(Record KVSKBAPackSugProcessingLine, Text, Text[100], Integer, Text) :

Summary: Integration event raised before setting the line description text for a packing suggestion processing line. Allows to modify the line description based on the source record and the indent level.

[IntegrationEvent(false, false)]
local procedure OnBeforeSetLineDescriptionText(var TempSuggestionProcessLine: Record "KVSKBAPackSugProcessingLine" temporary; var LineDescriptionTxt: Text; RecDescription: Text[100]; IndentCounter: Integer; IndentText: Text): 

Parameters:

  • TempSuggestionProcessLine: The temporary record of the packing suggestion processing line that is being inserted into the list page. Modifiable.
  • LineDescriptionTxt: The line description text that is being set for the current line. Modifiable.
  • RecDescription: The original description field from the record. Readonly.
  • IndentCounter: The current indent level counter. Readonly.
  • IndentText: The text used for indenting the line description based on the package level. Readonly.

Remarks: Use this event to modify the line description text before it is set on the list page. For example, you can append the original description to the line description text or change the indenting logic based on the package level.

OnSetLineStyle(Record KVSKBAPackSugProcessingLine, Text) :

Summary: Integration event raised before setting the line style for a packing suggestion processing line. Allows to modify the line style based on the source record.

[IntegrationEvent(false, false)]
local procedure OnSetLineStyle(var TempSuggestionProcessLine: Record "KVSKBAPackSugProcessingLine" temporary; var LineStyle: Text): 

Parameters:

  • TempSuggestionProcessLine: The temporary record of the packing suggestion processing line that is being inserted into the list page. Readonly.
  • LineStyle: The line style that is being set for the current line. Modifiable.

Remarks: Use this event to modify the line style before it is set on the list page. For example, you can set a different line style for certain subject types or based on other conditions in the record.