KVSFCYCopyProdOrderDocumentExt#
Procedures#
KVSFCYSetFromDocument(Option, Code[20]) :#
Summary: Sets the source production order document information for the copy operation. This procedure configures which production order document should be used as the source when copying production order data to another production order, including all associated components and routing information. Must be called before executing the copy operation to specify the source document.
procedure KVSFCYSetFromDocument(NewStatus: Option; NewDocNo: Code[20]):
Parameters:
NewStatus: The status of the source production order (Simulated, Planned, Firm Planned, or Released).NewDocNo: The document number of the source production order to copy from.
KVSFCYSetOtherGlobals(Boolean, Option) :#
Summary: Configures additional copy operation settings for production order document copying. This procedure sets supplementary parameters that control how the production order copy operation behaves, including whether to copy header information and the scheduling direction for any time calculations. These settings affect the scope and behavior of the copy operation.
procedure KVSFCYSetOtherGlobals(NewIncludeHeader: Boolean; NewDirection: Option):
Parameters:
NewIncludeHeader: Specifies whether to include and copy the production order header information along with the lines.NewDirection: The scheduling direction for time calculations (Forward or Backward scheduling).