Table 18122633 EOS060 Maintenance Cycle Head.

Table 18122633 EOS060 Maintenance Cycle Head.

LanguageCaption
de-ATWartungszyklus
de-CHWartungszyklus
de-DEWartungszyklus
en-USMaintenance Cycle
it-CHCiclo di manutenzione
it-ITCiclo di manutenzione

Fields

No. (1)

Code[20]

LanguageCaption
de-ATNr.
de-CHNr.
de-DENr.
en-USNo.
it-CHNr.
it-ITNr.

Version No. (2)

Code[10]

LanguageCaption
de-ATVersionsnr.
de-CHVersionsnr.
de-DEVersionsnr.
en-USVersion No.
it-CHNr. versione
it-ITNr. versione

Description (3)

Text[100]

LanguageCaption
de-ATBeschreibung
de-CHBeschreibung
de-DEBeschreibung
en-USDescription
it-CHDescrizione
it-ITDescrizione

Description 2 (4)

Text[100]

LanguageCaption
de-ATBeschreibung 2
de-CHBeschreibung 2
de-DEBeschreibung 2
en-USDescription 2
it-CHDescrizione 2
it-ITDescrizione 2

Starting Date (5)

Date

LanguageCaption
de-ATStartdatum
de-CHStartdatum
de-DEStartdatum
en-USStarting Date
it-CHData inizio
it-ITData inizio

Drawing Code (6)

Code[20]

LanguageCaption
de-ATZeichnungscode
de-CHZeichnungscode
de-DEZeichnungscode
en-USDrawing Code
it-CHCodice di disegno
it-ITCodice di disegno

Status (10)

Option

New (0) , Certified (1) , "Under Development" (2) , Closed (3)

LanguageCaption
de-ATStatus
de-CHStatus
de-DEStatus
en-USStatus
it-CHStato
it-ITStato

No. Series (100)

Code[20]

TableRelation: "No. Series"

LanguageCaption
de-ATNr. Serie
de-CHNr. Serie
de-DENo. Series
en-USNo. Series
it-CHNr. serie
it-ITNr. serie

Methods

DeleteLines

procedure DeleteLines()

CreateNewVersion

procedure CreateNewVersion(ShowMessageDialog: Boolean)

Parameters / Return Value

  • ShowMessageDialog Boolean

AssistEdit

procedure AssistEdit(OldMaintCycleHeader: Record "EOS060 Maintenance Cycle Head."): Boolean

Opens a page to select related number series for the maintenance cycle and updates the number with the selected number series.

Parameters / Return Value

  • OldMaintCycleHeader Record "EOS060 Maintenance Cycle Head."

    Maintenance cycle record before the change. The no series code from this record will be highlighted by default on the open page.

  • Returns Boolean

    True if the number has changed, otherwise false.


Events

OnBeforeInsertCycleLine_NewVersion

local procedure OnBeforeInsertCycleLine_NewVersion(var NewMaintCycleLine: Record "EOS060 Maintenance Cycle Line"; var NewCycleHeader: Record "EOS060 Maintenance Cycle Head."; Rec: Record "EOS060 Maintenance Cycle Head."; CycleLine: Record "EOS060 Maintenance Cycle Line")

Raised before insert cycle lines on the new version of the current cycle.

Parameters / Return Value

  • NewMaintCycleLine Record "EOS060 Maintenance Cycle Line"

    Record “EOS060 Maintenance Cycle Line” to insert

  • NewCycleHeader Record "EOS060 Maintenance Cycle Head."

    It’s the Cycle Header of the new version

  • Rec Record "EOS060 Maintenance Cycle Head."

    The Cycle Header

  • CycleLine Record "EOS060 Maintenance Cycle Line"

    Current Cycle Line to copy


OnAfterInsertCycleLineAndComments_NewVersion

local procedure OnAfterInsertCycleLineAndComments_NewVersion(var NewMaintCycleLine: Record "EOS060 Maintenance Cycle Line"; var NewCycleHeader: Record "EOS060 Maintenance Cycle Head."; Rec: Record "EOS060 Maintenance Cycle Head."; CycleLine: Record "EOS060 Maintenance Cycle Line")

Raised after insert cycle lines and comments on the new version of the current cycle.

Parameters / Return Value

  • NewMaintCycleLine Record "EOS060 Maintenance Cycle Line"

    Record “EOS060 Maintenance Cycle Line” inserted

  • NewCycleHeader Record "EOS060 Maintenance Cycle Head."

    Cycle Header of the new version

  • Rec Record "EOS060 Maintenance Cycle Head."

    Cycle Header

  • CycleLine Record "EOS060 Maintenance Cycle Line"

    Current Cycle Line to copy


OnBeforeCommit_CreateNewVersion

local procedure OnBeforeCommit_CreateNewVersion(var Rec: Record "EOS060 Maintenance Cycle Head."; var NewCycleHeader: Record "EOS060 Maintenance Cycle Head.")

Raised before commit in the procedure CreateNewVersion.

Parameters / Return Value

  • Rec Record "EOS060 Maintenance Cycle Head."

    Cycle Header

  • NewCycleHeader Record "EOS060 Maintenance Cycle Head."

    Cycle Header of the new version


OnBeforeRename

local procedure OnBeforeRename(var MaintCycleHeader: Record "EOS060 Maintenance Cycle Head."; xMaintCycleHeader: Record "EOS060 Maintenance Cycle Head."; var IsHandled: Boolean)

Raised before rename a cycle.

Parameters / Return Value

  • MaintCycleHeader Record "EOS060 Maintenance Cycle Head."

    The maintenance cycle header

  • xMaintCycleHeader Record "EOS060 Maintenance Cycle Head."

    Old maintenance cycle header

  • IsHandled Boolean

    If true, skips standard code



EOS Labs -