Codeunit 18091292 EOS028 CFG Tools

Codeunit 18091292 EOS028 CFG Tools

Methods

UpdateCharacteristicsYN

procedure UpdateCharacteristicsYN(var ItemVarCharac: Record "EOS028 CFG Item Var. Charac."; ItemNoFilter: Text; VarCodeFilter: Text)

This procedure updates characteristics of existing items or variants.

Parameters / Return Value

  • ItemVarCharac Record "EOS028 CFG Item Var. Charac."

    Contains characteristics to update.

  • ItemNoFilter Text

    Item No. filter.

  • VarCodeFilter Text

    Variant Code filter.


OpenProgressBar

procedure OpenProgressBar(NewTotalNumbOfRecs: Integer)

This procedure open progress bar.

Parameters / Return Value

  • NewTotalNumbOfRecs Integer

    Total records.


InitProgressBar

procedure InitProgressBar(NewTotalNumbOfRecs: Integer)

This procedure init progress bar.

Parameters / Return Value

  • NewTotalNumbOfRecs Integer

    Total records.


UpdtProgressBar

procedure UpdtProgressBar()

This procedure update progress bar.


CloseUpdtProgressBar

procedure CloseUpdtProgressBar()

This procedure close progress bar.


GenerateConfigurationsYN

procedure GenerateConfigurationsYN(var ItemVarCharac: Record "EOS028 CFG Item Var. Charac."; ItemNo: Code[20])

This procedure it is used to configure batch generations.

Parameters / Return Value

  • ItemVarCharac Record "EOS028 CFG Item Var. Charac."

    Contains characteristics to update.

  • ItemNo Code[20]

    Item No.


CopyItemCharacteristics

procedure CopyItemCharacteristics(ToItemNo: Code[20]; FromItemNo: Code[20])

Parameters / Return Value

  • ToItemNo Code[20]

  • FromItemNo Code[20]


CopyItemMatrixPrices

procedure CopyItemMatrixPrices(ToItemNo: Code[20]; FromItemNo: Code[20])

Parameters / Return Value

  • ToItemNo Code[20]

  • FromItemNo Code[20]


CopyProdBOM

procedure CopyProdBOM(var ToItem: Record Item; FromItemNo: Code[20])

Parameters / Return Value

  • ToItem Record "Item"

  • FromItemNo Code[20]


CopyRoutingNo

procedure CopyRoutingNo(var ToItem: Record Item; FromItem: Record Item)

Parameters / Return Value

  • ToItem Record "Item"

  • FromItem Record "Item"


Events

OnAfterModifyItemVarCharac_OnUpdateCharacteristic

local procedure OnAfterModifyItemVarCharac_OnUpdateCharacteristic(var ItemVarCharac: Record "EOS028 CFG Item Var. Charac."; var NewItemVarCharac: Record "EOS028 CFG Item Var. Charac."; ItemNoFilter: Text; VarCodeFilter: Text)

Raised in the procedure UpdateCharacteristic, after update the Item Characteristic Value.

Parameters / Return Value

  • ItemVarCharac Record "EOS028 CFG Item Var. Charac."

    Record “EOS028 CFG Item Var. Charac.” modified

  • NewItemVarCharac Record "EOS028 CFG Item Var. Charac."

    Record “EOS028 CFG Item Var. Charac.” with the old and new Characteristic Value

  • ItemNoFilter Text

    Item Filters

  • VarCodeFilter Text

    Variant Filters


OnBeforeGenerateItemConfigKey

local procedure OnBeforeGenerateItemConfigKey(var Item: Record "Item Variant"; var IsHandled: Boolean)

Raised before reconfigure the Item Config. Key and after Update Characteristics from the related action in page “Update Characteristics (CFG)".

Parameters / Return Value

  • Item Record "Item Variant"

    Set of Items to reconfigure

  • IsHandled Boolean

    if true, skip the reconfiguration of the Item Config. Key


OnBeforeGenerateConfigKeyForItem

local procedure OnBeforeGenerateConfigKeyForItem(var Item: Record "Item Variant"; var IsHandled: Boolean)

Raised before reconfigure the Item Config. Key and after Update Characteristics from the related action in page “Update Characteristics (CFG)".

Parameters / Return Value

  • Item Record "Item Variant"

    Current Item to reconfigure

  • IsHandled Boolean

    if true, skip the reconfiguration of the Item Config. Key


OnBeforeReconfigureItem

local procedure OnBeforeReconfigureItem(var Item: Record "Item Variant"; KeyCode: Text; var IsHandled: Boolean)

Raised before reconfigure the Item and after the reconfiguration of the Item Config. Key.

Parameters / Return Value

  • Item Record "Item Variant"

    Current Item to reconfigure

  • KeyCode Text

    KeyCode generated from the reconfiguration of the Item Config. Key

  • IsHandled Boolean

    if true, skip the reconfiguration of the Item


OnAfterUpdateCharacteristics

local procedure OnAfterUpdateCharacteristics(var TempItem: Record "Item Variant" temporary; var NewItemVarCharac: Record "EOS028 CFG Item Var. Charac."; ItemNoFilter: Text; VarCodeFilter: Text)

Raised after Update Characteristics from the related action in page “Update Characteristics (CFG)".

Parameters / Return Value

  • TempItem Record "Item Variant"

    Set of Items reconfigured and updated

  • NewItemVarCharac Record "EOS028 CFG Item Var. Charac."

    Record “EOS028 CFG Item Var. Charac.” with the new values to update

  • ItemNoFilter Text

    Item Filters

  • VarCodeFilter Text

    Item Variants Filters



EOS Labs -