Table of Contents

KVSMTCProcessDocumentLib

Procedures

Summary: Creates a document link for a process step with specified source information.

Parameters:

  • ProcessStepPar: The process step record to link to.
  • SourceTypePar: The type of the source document.
  • SourceSubtypePar: The subtype of the source document.
  • SourceIDPar: The ID of the source document.
  • SourceBatchNamePar: The batch name of the source document.
  • SourceProdOrderLinePar: The production order line number.
  • SourceRefNoPar: The reference number of the source.
  • ProcessStepDocumentLinkVar: Variable to store the created document link.

Summary: Creates base data for a process step document link.

procedure CreateProcessStepDocLinkBaseData(ProcessStepPar: Record "KVSMTCProcessStep"; SourceIDPar: Code[20]; var ProcessStepDocumentLinkVar: Record "KVSMTCProcessStepDocumentLink"): 

Parameters:

  • ProcessStepPar: The process step record to create base data for.
  • ProcessStepDocumentLinkVar: Variable to store the created document link base data.

Summary: Creates base data for a process step document link.

procedure SetProcessStepDocLinkFilterBySimilarProcessStep(ProcessStepPar: Record "KVSMTCProcessStep"; CreateLinkPar: Boolean; var ProcessStepDocumentLinkVar: Record "KVSMTCProcessStepDocumentLink"): 

Parameters:

  • ProcessStepPar: The process step record to create base data for.
  • ProcessStepDocumentLinkVar: Variable to store the created document link base data.

Summary: Sets filters on process step document links based on source document information.

procedure SetProcessStepDocLinkFilterBySource(SourceTypePar: Integer; SourceSubtypePar: Integer; SourceIDPar: Code[20]; SourceBatchNamePar: Code[50]; SourceProdOrderLinePar: Integer; SourceRefNoPar: Integer; var ProcessStepDocumentLinkVar: Record "KVSMTCProcessStepDocumentLink"): 

Parameters:

  • SourceTypePar: The type of the source document to filter by.
  • SourceSubtypePar: The subtype of the source document to filter by.
  • SourceIDPar: The ID of the source document to filter by.
  • SourceBatchNamePar: The batch name of the source document to filter by.
  • SourceProdOrderLinePar: The production order line number to filter by.
  • SourceRefNoPar: The reference number of the source to filter by.
  • ProcessStepDocumentLinkVar: Variable containing the process step document links to be filtered.

Summary: Marks the specified process step document links as deleted in the system.

procedure SetProcessStepDocumentLinksDeleted(var ProcessStepDocumentLinkVar: Record "KVSMTCProcessStepDocumentLink"): 

Parameters:

  • ProcessStepDocumentLinkVar: Record variable containing the process step document links to be marked as deleted.

Events

[IntegrationEvent(false, false)]
local procedure OnCreateProcessStepDocLinkByProcessStep(ProcessStep: Record "KVSMTCProcessStep"; var ProcessStepDocumentLink: Record "KVSMTCProcessStepDocumentLink"; DocumentCreated: Boolean):