Report 5130119 M365 Copy Job Structure

Report 5130119 M365 Copy Job Structure

LanguageCaption
de-DEProjektstruktur kopieren
es-ESCopiar estructura de proyecto
en-USCopy Project Structure
it-CHCopia struttura progetto
it-ITCopia struttura progetto

Methods

SetJobStructHeader

procedure SetJobStructHeader(var newJobStructHeader: Record "M365 Job Structure Header")

Parameters / Return Value

  • newJobStructHeader Record "M365 Job Structure Header"

CopyHeader

procedure CopyHeader()

CopyLines

procedure CopyLines()

ReCalcLines

procedure ReCalcLines()

CalcPlanningParameters

procedure CalcPlanningParameters(jobStructLine: Record "M365 Job Structure Line")

Parameters / Return Value

  • jobStructLine Record "M365 Job Structure Line"

SetTemplate

procedure SetTemplate(templateNo: Code[20])

Parameters / Return Value

  • templateNo Code[20]

Events

OnSetTemplate

local procedure OnSetTemplate(var templateNo: Code[20]; var docNo: Code[20]; var docType: Option Template,"Job Structure",Archive; var addReplace: Option Add,Replace)

Parameters / Return Value

  • templateNo Code[20]

  • docNo Code[20]

  • docType Option

    Template (0) , "Job Structure" (1) , Archive (2)

  • addReplace Option

    Add (0) , Replace (1)


OnBeforeModifyJobStructHeaderFromJobStruct

local procedure OnBeforeModifyJobStructHeaderFromJobStruct(fromJobStructHeader: Record "M365 Job Structure Header"; var toJobStructHeader: Record "M365 Job Structure Header")

Parameters / Return Value

  • fromJobStructHeader Record "M365 Job Structure Header"

  • toJobStructHeader Record "M365 Job Structure Header"


OnBeforeModifyJobStructHeaderFromArchive

local procedure OnBeforeModifyJobStructHeaderFromArchive(fromArchiveHeader: Record "M365 Job Struct. Header Arc."; var toJobStructHeader: Record "M365 Job Structure Header")

Parameters / Return Value

  • fromArchiveHeader Record "M365 Job Struct. Header Arc."

  • toJobStructHeader Record "M365 Job Structure Header"


OnBeforeModifyJobStructLineFromJobStruct

local procedure OnBeforeModifyJobStructLineFromJobStruct(fromJobStructLine: Record "M365 Job Structure Line"; var toJobStructLine: Record "M365 Job Structure Line")

Parameters / Return Value

  • fromJobStructLine Record "M365 Job Structure Line"

  • toJobStructLine Record "M365 Job Structure Line"


OnBeforeModifyJobStructLineFromArchive

local procedure OnBeforeModifyJobStructLineFromArchive(fromArchiveLine: Record "M365 Job Struct. Line Archive"; var toJobStructLine: Record "M365 Job Structure Line")

Parameters / Return Value

  • fromArchiveLine Record "M365 Job Struct. Line Archive"

  • toJobStructLine Record "M365 Job Structure Line"


OnBeforeModifyJobStructLineRecalculateLineFromJobStruct

local procedure OnBeforeModifyJobStructLineRecalculateLineFromJobStruct(fromJobStructLine: Record "M365 Job Structure Line"; var toJobStructLine: Record "M365 Job Structure Line")

Parameters / Return Value

  • fromJobStructLine Record "M365 Job Structure Line"

  • toJobStructLine Record "M365 Job Structure Line"


OnBeforeModifyJobStructLineRecalculateLineFromArchive

local procedure OnBeforeModifyJobStructLineRecalculateLineFromArchive(fromArchiveLine: Record "M365 Job Struct. Line Archive"; var toJobStructLine: Record "M365 Job Structure Line")

Parameters / Return Value

  • fromArchiveLine Record "M365 Job Struct. Line Archive"

  • toJobStructLine Record "M365 Job Structure Line"


OnBeforeInsertJobStructureLine

internal procedure OnBeforeInsertJobStructureLine(FromJobStructureLine: Record "M365 Job Structure Line";var ToJobStructureHeader: Record "M365 Job Structure Header";var ToJobStructureLine: Record "M365 Job Structure Line";IncludeHeader: Boolean;RecalculateLines: Boolean;WithDate: Boolean;CopyStatusLine: Boolean)

Parameters / Return Value

  • FromJobStructureLine Record "M365 Job Structure Line"

  • ToJobStructureHeader Record "M365 Job Structure Header"

  • ToJobStructureLine Record "M365 Job Structure Line"

  • IncludeHeader Boolean

  • RecalculateLines Boolean

  • WithDate Boolean

  • CopyStatusLine Boolean


OnAfterInsertJobStructureLine

internal procedure OnAfterInsertJobStructureLine(FromJobStructureLine: Record "M365 Job Structure Line";var ToJobStructureHeader: Record "M365 Job Structure Header";var ToJobStructureLine: Record "M365 Job Structure Line";IncludeHeader: Boolean;RecalculateLines: Boolean;WithDate: Boolean;CopyStatusLine: Boolean)

Parameters / Return Value

  • FromJobStructureLine Record "M365 Job Structure Line"

  • ToJobStructureHeader Record "M365 Job Structure Header"

  • ToJobStructureLine Record "M365 Job Structure Line"

  • IncludeHeader Boolean

  • RecalculateLines Boolean

  • WithDate Boolean

  • CopyStatusLine Boolean



EOS Labs -