KVSKBACopySalesDocumentExt
Procedures
KVSKBASetManualReportCopyDocProcID(Boolean) :
Summary: Sets the value of the ManualReportCopyDocProcID variable and marks it as set. This variable is used to determine whether the ReportCopyDocProcID should be set manually by the user or determined automatically based on the document type. By calling this procedure, you can override the default behavior and specify whether to copy the Document Process ID from the old document when copying a sales document.
procedure KVSKBASetManualReportCopyDocProcID(NewManualReportCopyDocProcID: Boolean):
Parameters:
NewManualReportCopyDocProcID: The new value for the ManualReportCopyDocProcID variable.
Remarks: Call this procedure to set the ManualReportCopyDocProcID variable and indicate that it has been set. This allows for manual control over whether the Document Process ID should be copied when copying a sales document.