Table of Contents

KVSKBACopyDocumentLib

Events

OnAfterCopyDocument() :

Summary: Integration event triggered after completing the document copy process.

[IntegrationEvent(false, false)]
local procedure OnAfterCopyDocument(): 

Remarks: Used by subscribers to perform cleanup operations and reset single instance values after document copying is completed.

OnGetClearSalesContractFields(Option) :

Summary: Integration event to retrieve the current sales contract fields clearing setting.

[IntegrationEvent(false, false)]
local procedure OnGetClearSalesContractFields(var AskClearSalesContractFields: Option): 

Parameters:

  • AskClearSalesContractFields: Returns the current setting for clearing sales contract fields (No, Yes, Check).

Remarks: Used by subscribers to determine how contract fields should be handled during sales document copying operations.

OnGetCopyDocProcID(Boolean) :

Summary: Integration event to retrieve the current copy document process ID setting.

[IntegrationEvent(false, false)]
local procedure OnGetCopyDocProcID(var AskCopyDocProcID: Boolean): 

Parameters:

  • AskCopyDocProcID: Returns the current copy document process ID flag value.

Remarks: Used by subscribers to determine if the copy document process is currently active and should influence document ID handling.