KVSKBACoverSheet
Events
OnUpdateRequestPageSettings(Enum KVSKBADocumentInitEventType, Boolean, Integer, Boolean, Boolean, Boolean, Text, Text, Text, Text, Text, Text, Text, Boolean, Text) :
Summary: Updates the request page settings for the cover sheet report.
[IntegrationEvent(true, false)]
local procedure OnUpdateRequestPageSettings(InitEventType: Enum "KVSKBADocumentInitEventType"; RequestPageAlreadyOpen: Boolean; var NoOfCopies: Integer; var ShowInternalInfo: Boolean; var LogInteraction: Boolean; var PrintOnNotePaper: Boolean; var BeginningText1: Text; var BeginningText2: Text; var BeginningText3: Text; var BeginningText4: Text; var BeginningText5: Text; var EndingText1: Text; var EndingText2: Text; var OptionMarks: Boolean; var GlobalOptionText7: Text):
Parameters:
InitEventType: The type of initialization event.RequestPageAlreadyOpen: Indicates whether the request page is already open.NoOfCopies: The number of copies to be printed.ShowInternalInfo: Indicates whether to show internal information.LogInteraction: Indicates whether to log interaction.PrintOnNotePaper: Indicates whether to print on letterhead paper.BeginningText1: The first line of beginning text.BeginningText2: The second line of beginning text.BeginningText3: The third line of beginning text.BeginningText4: The fourth line of beginning text.BeginningText5: The fifth line of beginning text.EndingText1: The first line of ending text.EndingText2: The second line of ending text.OptionMarks: An array of boolean values representing option marks.GlobalOptionText7: The text for the seventh global option.
Remarks: This integration event allows external subscribers to update the request page settings for the cover sheet report. It provides access to various parameters related to the report's configuration, enabling customization of the request page behavior and appearance.
OnBeforeAddDocHeader(Record KVSKBADocumentHeaderBuffer, Record Contact, Codeunit KVSKBAMasterDoc) :
[IntegrationEvent(true, false)]
local procedure OnBeforeAddDocHeader(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Contact"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
OnBeforeCreateDocumentAddress(Record KVSKBADocumentHeaderBuffer, Boolean, Record Contact, Codeunit KVSKBAMasterDoc) :
[IntegrationEvent(true, false)]
local procedure OnBeforeCreateDocumentAddress(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Contact"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
OnBeforeCreateDocumentHeading(Record KVSKBADocumentHeaderBuffer, Boolean, Record Contact, Codeunit KVSKBAMasterDoc) :
[IntegrationEvent(true, false)]
local procedure OnBeforeCreateDocumentHeading(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Contact"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
OnAfterCreateDocumentHeading(Record KVSKBADocumentHeaderBuffer, Record Contact, Codeunit KVSKBAMasterDoc) :
[IntegrationEvent(true, false)]
local procedure OnAfterCreateDocumentHeading(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Contact"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
OnBeforeSetLanguageFormatAddress(Record Contact, Boolean) :
Summary: Integration event that is raised before setting the language format for the address on the cover sheet report.
[IntegrationEvent(false, false)]
local procedure OnBeforeSetLanguageFormatAddress(DocHeader: Record "Contact"; var IsHandled: Boolean):
Parameters:
DocHeader: The record representing the document header.IsHandled: A boolean value indicating whether the event has been handled by an external subscriber. If set to true, the default logic for setting the language format for the address will be skipped.
Remarks: This integration event allows external subscribers to perform custom logic or modifications before setting the language format for the address on the cover sheet report. It provides access to the document header record and a handled flag, enabling customization of the address formatting process based on language preferences. If an external subscriber sets the handled flag to true, the default logic for setting the language format will be bypassed, allowing for complete control over how addresses are formatted on the report.
OnBeforeResetLanguageFormatAddress(Record Contact, Boolean) :
Summary: Integration event that is raised after setting the language format for the address on the cover sheet report.
[IntegrationEvent(false, false)]
local procedure OnBeforeResetLanguageFormatAddress(DocHeader: Record "Contact"; var GlobalIsHandled: Boolean):
Parameters:
DocHeader: The record representing the document header.GlobalIsHandled: A boolean value indicating whether the event has been handled by an external subscriber. If set to true, the default logic for resetting the language format for the address will be skipped.
Remarks: This integration event allows external subscribers to perform custom logic or modifications after setting the language format for the address on the cover sheet report. It provides access to the document header record and a handled flag, enabling customization of any additional processing that may be required after the language format has been applied to the address. If an external subscriber sets the handled flag to true, any default logic for resetting the language format will be bypassed, allowing for complete control over post-formatting behavior.
Protected Variables
GlobalLogInteraction
Type: Boolean
GlobalOptionMarks
Type: Boolean
GlobalPrintOnNotePaper
Type: Boolean
GlobalShowInternalInfo
Type: Boolean
GlobalNoOfCopies
Type: Integer
GlobalBeginningText1
Type: Text
GlobalBeginningText2
Type: Text
GlobalBeginningText3
Type: Text
GlobalBeginningText4
Type: Text
GlobalBeginningText5
Type: Text
GlobalEndingText1
Type: Text
GlobalEndingText2
Type: Text
GlobalOptionText7
Type: Text