Skip to content

KVSKBADirectTransfer#

Events#

OnUpdateRequestPageSettings(Enum KVSKBADocumentInitEventType, Boolean, Integer, Boolean, Boolean, Option, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnUpdateRequestPageSettings(InitEventType: Enum "KVSKBADocumentInitEventType"; RequestPageAlreadyOpen: Boolean; var NoOfCopies: Integer; var ShowInternalInfo: Boolean; var PrintOnNotePaper: Boolean; var ShowItemTracking: Option; ShowComments: Boolean; var PrintSignatureBlock: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnUpdateRequestPageSettings', '', false, false)]
local procedure DoSomethingOnUpdateRequestPageSettings(InitEventType: Enum "KVSKBADocumentInitEventType"; RequestPageAlreadyOpen: Boolean; var NoOfCopies: Integer; var ShowInternalInfo: Boolean; var PrintOnNotePaper: Boolean; var ShowItemTracking: Option; ShowComments: Boolean; var PrintSignatureBlock: Boolean)
begin
end;

OnBeforeCreateDocumentHeader(Record KVSKBADocumentHeaderBuffer, Boolean, Record Direct Trans. Header, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeCreateDocumentHeader(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnBeforeCreateDocumentHeader', '', false, false)]
local procedure DoSomethingOnBeforeCreateDocumentHeader(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnBeforeCreateDocumentAddress(Record KVSKBADocumentHeaderBuffer, Boolean, Record Direct Trans. Header, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeCreateDocumentAddress(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnBeforeCreateDocumentAddress', '', false, false)]
local procedure DoSomethingOnBeforeCreateDocumentAddress(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnBeforeAddDocHeader(Record KVSKBADocumentHeaderBuffer, Record Direct Trans. Header, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeAddDocHeader(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnBeforeAddDocHeader', '', false, false)]
local procedure DoSomethingOnBeforeAddDocHeader(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnBeforeCreateDocumentHeading(Record KVSKBADocumentHeaderBuffer, Boolean, Record Direct Trans. Header, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeCreateDocumentHeading(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnBeforeCreateDocumentHeading', '', false, false)]
local procedure DoSomethingOnBeforeCreateDocumentHeading(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnAfterCreateDocumentHeading(Record KVSKBADocumentHeaderBuffer, Record Direct Trans. Header, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(true, false)]
local procedure OnAfterCreateDocumentHeading(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnAfterCreateDocumentHeading', '', false, false)]
local procedure DoSomethingOnAfterCreateDocumentHeading(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnPreDataItemDocHeaderText(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Boolean, Record Direct Trans. Header, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(true, false)]
local procedure OnPreDataItemDocHeaderText(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var isHandled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnPreDataItemDocHeaderText', '', false, false)]
local procedure DoSomethingOnPreDataItemDocHeaderText(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var isHandled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnPostDataItemDocHeaderText(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Record Direct Trans. Header, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(true, false)]
local procedure OnPostDataItemDocHeaderText(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnPostDataItemDocHeaderText', '', false, false)]
local procedure DoSomethingOnPostDataItemDocHeaderText(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnDocFooterFinished(Record KVSKBADocumentHeaderBuffer, Record Direct Trans. Header, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(true, false)]
local procedure OnDocFooterFinished(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnDocFooterFinished', '', false, false)]
local procedure DoSomethingOnDocFooterFinished(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnBeforeAddDocumentLine(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Record Direct Trans. Header, Record Direct Trans. Line, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAddDocumentLine(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var DocumentLine: Record "Direct Trans. Line"; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnBeforeAddDocumentLine', '', false, false)]
local procedure DoSomethingOnBeforeAddDocumentLine(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var DocumentLine: Record "Direct Trans. Line"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnAfterAddDocumentLine(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Record Direct Trans. Header, Record Direct Trans. Line, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(false, false)]
local procedure OnAfterAddDocumentLine(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var DocumentLine: Record "Direct Trans. Line"; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnAfterAddDocumentLine', '', false, false)]
local procedure DoSomethingOnAfterAddDocumentLine(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var DocumentLine: Record "Direct Trans. Line"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnBeforeAddItemTrackingHeading(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Text[250], Text[50], Text[50], Text[30], Record Tracking Specification, Boolean, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAddItemTrackingHeading(var TempDocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; TableType: Enum "KVSKBADocumentTableType"; var LineNo: Integer; Format: Text[250]; var LotNoCaption: Text[50]; var SerialNoCaption: Text[50]; var QuantityCaption: Text[30]; var TempTrackingSpecification: Record "Tracking Specification" temporary; var SkipStandardCode: Boolean; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnBeforeAddItemTrackingHeading', '', false, false)]
local procedure DoSomethingOnBeforeAddItemTrackingHeading(var TempDocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; TableType: Enum "KVSKBADocumentTableType"; var LineNo: Integer; Format: Text[250]; var LotNoCaption: Text[50]; var SerialNoCaption: Text[50]; var QuantityCaption: Text[30]; var TempTrackingSpecification: Record "Tracking Specification" temporary; var SkipStandardCode: Boolean; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnBeforeAddItemTrackingLine(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Text[250], Code[20], Text[250], Code[20], Record Tracking Specification, Text[30], Boolean, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAddItemTrackingLine(var TempDocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; TableType: Enum "KVSKBADocumentTableType"; var LineNo: Integer; Format: Text[250]; PositionNo: Code[20]; Description: Text[250]; ItemNo: Code[20]; var TempTrackingSpecification: Record "Tracking Specification" temporary; SortTrigger: Text[30]; var SkipStandardCode: Boolean; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnBeforeAddItemTrackingLine', '', false, false)]
local procedure DoSomethingOnBeforeAddItemTrackingLine(var TempDocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; TableType: Enum "KVSKBADocumentTableType"; var LineNo: Integer; Format: Text[250]; PositionNo: Code[20]; Description: Text[250]; ItemNo: Code[20]; var TempTrackingSpecification: Record "Tracking Specification" temporary; SortTrigger: Text[30]; var SkipStandardCode: Boolean; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnBeforeAddItemTrackingAppendix(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Boolean, Record Direct Trans. Header, Option, Record Tracking Specification, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeAddItemTrackingAppendix(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var isHandled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var ShowItemTracking: Option; var TrackingSpecBuffer: Record "Tracking Specification" temporary; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnBeforeAddItemTrackingAppendix', '', false, false)]
local procedure DoSomethingOnBeforeAddItemTrackingAppendix(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var isHandled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var ShowItemTracking: Option; var TrackingSpecBuffer: Record "Tracking Specification" temporary; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnBeforeAddItemTrackingAppendixLine(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Boolean, Record Direct Trans. Header, Record Direct Trans. Line, Record Tracking Specification, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAddItemTrackingAppendixLine(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var isHandled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var DocumentLine: Record "Direct Trans. Line"; var TrackingSpecBuffer: Record "Tracking Specification" temporary; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnBeforeAddItemTrackingAppendixLine', '', false, false)]
local procedure DoSomethingOnBeforeAddItemTrackingAppendixLine(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var isHandled: Boolean; var DocumentHeader: Record "Direct Trans. Header"; var DocumentLine: Record "Direct Trans. Line"; var TrackingSpecBuffer: Record "Tracking Specification" temporary; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnAfterGetRecordCopyLoop(Record KVSKBADocumentHeaderBuffer, Record Direct Trans. Header, Codeunit KVSKBAMasterDoc) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetRecordCopyLoop(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnAfterGetRecordCopyLoop', '', false, false)]
local procedure DoSomethingOnAfterGetRecordCopyLoop(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;

OnAfterGetRecordCopyLoop2(Record KVSKBADocumentHeaderBuffer, Record Direct Trans. Header, Codeunit KVSKBAMasterDoc, Integer) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetRecordCopyLoop2(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"; CopyLoopNumber: Integer): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnAfterGetRecordCopyLoop2', '', false, false)]
local procedure DoSomethingOnAfterGetRecordCopyLoop2(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Direct Trans. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"; CopyLoopNumber: Integer)
begin
end;

OnBeforeSetLanguageFormatAddress(Record Direct Trans. Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetLanguageFormatAddress(DocHeader: Record "Direct Trans. Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSKBADirectTransfer", 'OnBeforeSetLanguageFormatAddress', '', false, false)]
local procedure DoSomethingOnBeforeSetLanguageFormatAddress(DocHeader: Record "Direct Trans. Header"; var IsHandled: Boolean)
begin
end;

Protected Variables#

GlobalPrintOnNotePaper#

Type: Boolean

GlobalPrintSignatureBlock#

Type: Boolean

GlobalShowComments#

Type: Boolean

GlobalShowInternalInfo#

Type: Boolean

GlobalNoOfCopies#

Type: Integer

GlobalShowItemTracking#

Type: Option