Codeunit 18126501 EOS091 PTS Tech. Specs Mgt.

Codeunit 18126501 EOS091 PTS Tech. Specs Mgt.

Methods

Reopen

procedure Reopen(var TechnicalSpecs: Record "EOS091 PTS Technical Specs")

Parameters / Return Value

  • TechnicalSpecs Record "EOS091 PTS Technical Specs"

Release

procedure Release(var TechnicalSpecs: Record "EOS091 PTS Technical Specs")

Parameters / Return Value

  • TechnicalSpecs Record "EOS091 PTS Technical Specs"

ArchiveDocument

procedure ArchiveDocument(var TechnicalSpecs: Record "EOS091 PTS Technical Specs")

Parameters / Return Value

  • TechnicalSpecs Record "EOS091 PTS Technical Specs"

StoreDocument

procedure StoreDocument(var TechnicalSpecs: Record "EOS091 PTS Technical Specs"; ArchiveNote: Text[250])

Parameters / Return Value

  • TechnicalSpecs Record "EOS091 PTS Technical Specs"

  • ArchiveNote Text[250]


GetNextVersionNo

procedure GetNextVersionNo(DocNo: Code[20]) VersionNo: Integer

Parameters / Return Value

  • DocNo Code[20]

  • Returns Integer


RestoreArchivedDocumentYesNo

procedure RestoreArchivedDocumentYesNo(var TechSpecsArchive: Record "EOS091 PTS Tech. Specs Archive")

Parameters / Return Value

  • TechSpecsArchive Record "EOS091 PTS Tech. Specs Archive"

LinkTechSpecsToItem

procedure LinkTechSpecsToItem(ItemNo: Code[20]; var TechSpecs: Record "EOS091 PTS Technical Specs"): Boolean

Parameters / Return Value

  • ItemNo Code[20]

  • TechSpecs Record "EOS091 PTS Technical Specs"

  • Returns Boolean


LinkItemToTechSpecs

procedure LinkItemToTechSpecs(TechSpecsNo: Code[20]; var Item: Record Item): Boolean

Parameters / Return Value

  • TechSpecsNo Code[20]

  • Item Record "Item"

  • Returns Boolean


procedure DeleteItemTechSpecsLink(ItemNo: Code[20]; TechSpecsNo: Code[20])

Parameters / Return Value

  • ItemNo Code[20]

  • TechSpecsNo Code[20]


CopyTechSpecs

procedure CopyTechSpecs(Rec: Record "EOS091 PTS Technical Specs")

Parameters / Return Value

  • Rec Record "EOS091 PTS Technical Specs"

Events

OnBeforeReopen

local procedure OnBeforeReopen(var TechnicalSpecs: Record "EOS091 PTS Technical Specs"; var IsHandled: Boolean)

Raised before the technical Specs is reopened.

Parameters / Return Value

  • TechnicalSpecs Record "EOS091 PTS Technical Specs"

    The technical Specs.

  • IsHandled Boolean

    If true, skips the standard code.


OnAfterReopen

local procedure OnAfterReopen(var TechnicalSpecs: Record "EOS091 PTS Technical Specs")

Raised after the technical Specs has been reopened.

Parameters / Return Value

  • TechnicalSpecs Record "EOS091 PTS Technical Specs"

    The technical Specs.


OnBeforeRelease

local procedure OnBeforeRelease(var TechnicalSpecs: Record "EOS091 PTS Technical Specs"; var IsHandled: Boolean)

Raised before the technical Specs is released.

Parameters / Return Value

  • TechnicalSpecs Record "EOS091 PTS Technical Specs"

    The technical Specs.

  • IsHandled Boolean

    If true, skips the standard code.


OnAfterRelease

local procedure OnAfterRelease(var TechnicalSpecs: Record "EOS091 PTS Technical Specs")

Raised after the technical Specs has been released.

Parameters / Return Value

  • TechnicalSpecs Record "EOS091 PTS Technical Specs"

    The technical Specs.


OnBeforeGetNextVersionNo

local procedure OnBeforeGetNextVersionNo(DocNo: Code[20]; var VersionNo: Integer; var IsHandled: Boolean)

Raised before retrieving the next version no. for the record.

Parameters / Return Value

  • DocNo Code[20]

    The number of the technical Specs that is being archived.

  • VersionNo Integer

    The version no. you want to provide.

  • IsHandled Boolean

    If true, skips the standard code.


OnBeforeStoreDocument

local procedure OnBeforeStoreDocument(var TechnicalSpecs: Record "EOS091 PTS Technical Specs"; var IsHandled: Boolean)

Raised before archiving the technical Specs.

Parameters / Return Value

  • TechnicalSpecs Record "EOS091 PTS Technical Specs"

    The record that is going to be archived.

  • IsHandled Boolean

    If true, skips the standard code.


OnAfterStoreDocument

local procedure OnAfterStoreDocument(var TechnicalSpecs: Record "EOS091 PTS Technical Specs"; var TechSpecsArchive: Record "EOS091 PTS Tech. Specs Archive")

Raised after archiving the technical Specs.

Parameters / Return Value

  • TechnicalSpecs Record "EOS091 PTS Technical Specs"

    The record that was archived.

  • TechSpecsArchive Record "EOS091 PTS Tech. Specs Archive"

    The archived record.


OnBeforeLinkTechSpecsToItem

local procedure OnBeforeLinkTechSpecsToItem(ItemNo: Code[20]; var IsHandled: Boolean)

Raised before linking technical specifications to an item.

Parameters / Return Value

  • ItemNo Code[20]

    The item you want to link a new technical specifications record to.

  • IsHandled Boolean

    If true, skips the app standard logic.


OnAfterLinkTechSpecsToItems

local procedure OnAfterLinkTechSpecsToItems(ItemNo: Code[20]; var TechSpecs: Record "EOS091 PTS Technical Specs"; ItemSpecsRelation: Record "EOS091 PTS Item Specs Relation")

Raised after linking technical specifications to an item.

Parameters / Return Value

  • ItemNo Code[20]

    The item.

  • TechSpecs Record "EOS091 PTS Technical Specs"

    The technical specifications that were linked to the item.

  • ItemSpecsRelation Record "EOS091 PTS Item Specs Relation"

    The new item/specs relation record.


OnBeforeLinkItemToTechSpecs

local procedure OnBeforeLinkItemToTechSpecs(TechSpecsNo: Code[20]; var IsHandled: Boolean)

Raised before linking an item to technical specifications.

Parameters / Return Value

  • TechSpecsNo Code[20]

    The technical specifications you want to link an item to.

  • IsHandled Boolean

    If true, skips the app standard logic.


OnAfterLinkItemToTechSpecs

local procedure OnAfterLinkItemToTechSpecs(TechSpecsNo: Code[20]; var Item: Record Item; ItemSpecsRelation: Record "EOS091 PTS Item Specs Relation")

Raised after linking an item to technical specifications.

Parameters / Return Value

  • TechSpecsNo Code[20]

    The technical specifications.

  • Item Record "Item"

    The item that was linked to the technical specifications.

  • ItemSpecsRelation Record "EOS091 PTS Item Specs Relation"

    The new item/specs relation record.


local procedure OnBeforeDeleteItemTechSpecsLink(ItemNo: Code[20]; TechSpecsNo: Code[20]; var IsHandled: Boolean)

Raised before deleting the link between an item and its technical specifications.

Parameters / Return Value

  • ItemNo Code[20]

    The item you want to remove technical specifications from.

  • TechSpecsNo Code[20]

  • IsHandled Boolean

    If true, skips the app standard logic.


local procedure OnAfterDeleteItemTechSpecsLink(ItemNo: Code[20]; TechSpecsNo: Code[20])

Raised after deleting the link between an item and its technical specifications.

Parameters / Return Value

  • ItemNo Code[20]

    The item.

  • TechSpecsNo Code[20]



EOS Labs -