KVSKBASalesContrConfirmation
Events
OnAfterGetLineType(Record KVSKBASalesContractLine, Enum KVSKBADocumentLineType) :
Summary: Raised after the line type is determined for a sales contract line. The default logic sets the document line type to CommentLine if the line type is blank, or to StandardLine otherwise. Subscribers can modify the document line type by changing the KVSKBADocumentLineType parameter.
[IntegrationEvent(false, false)]
local procedure OnAfterGetLineType(KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType"):
Parameters:
KVSKBASalesContractLine: The sales contract line record currently being processed.KVSKBADocumentLineType: The document line type determined for the sales contract line. Can be modified by subscribers.
Remarks: Subscribers can use this event to implement custom logic for determining the document line type based on the sales contract line.
OnBeforeSetLanguageFormatAddress(Record KVSKBASalesContractHeader, Boolean) :
Summary: Raised before the language format for the address is set in the report. Subscribers can use this event to modify the language format or to handle the logic themselves by setting IsHandled to true.
[IntegrationEvent(false, false)]
local procedure OnBeforeSetLanguageFormatAddress(KVSKBASalesContractHeader: Record "KVSKBASalesContractHeader"; var IsHandled: Boolean):
Parameters:
KVSKBASalesContractHeader: The sales contract header record currently being processed.IsHandled: A Boolean variable that indicates whether the event has been handled by a subscriber. If set to true, the default logic for setting the language format will be skipped.
Remarks: Subscribers can use this event to implement custom logic for setting the language format for the address in the report based on the sales contract header.