Codeunit 18091271 EOS028 CFG Conf. Charac. Mgt.

Codeunit 18091271 EOS028 CFG Conf. Charac. Mgt.

Methods

SetRuleRelations

procedure SetRuleRelations(var NewConfigCharac: Record "EOS028 CFG Config. Charac.")

This prucedure sets all rule relations for a specific configuration.

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    “NewConfigCharac” contains the configuration


SetRuleRelations

procedure SetRuleRelations(var NewConfigCharac: Record "EOS028 CFG Config. Charac."; RelationsCalcType: Enum "EOS028 CFG Relations Calc Type")

This prucedure sets all rule relations for a specific configuration.

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    “NewConfigCharac” contains the configuration

  • RelationsCalcType Enum "EOS028 CFG Relations Calc Type"

    Specifies when to execute relations (“During Process” or “Configurator Closing”)


ExclFromRelCalc

procedure ExclFromRelCalc(ConfigCharac: Record "EOS028 CFG Config. Charac."; Conditions: Boolean): Boolean

Parameters / Return Value

  • ConfigCharac Record "EOS028 CFG Config. Charac."

  • Conditions Boolean

  • Returns Boolean


CalcTransferValueFormula

procedure CalcTransferValueFormula(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; NewWorkFormula: Text; RoundingPrecision: Decimal): Decimal

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

  • NewWorkFormula Text

  • RoundingPrecision Decimal

  • Returns Decimal


GetWorkFormula

procedure GetWorkFormula(var WorkFormula: Text; FormulaHeader: Record "EOS028 CFG Formula Header"; ConfiguratorLine: Record "EOS028 CFG Configurator Line")

Parameters / Return Value

  • WorkFormula Text

  • FormulaHeader Record "EOS028 CFG Formula Header"

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"


GetWorkFormula

procedure GetWorkFormula(var WorkFormula: Text; FormulaHeader: Record "EOS028 CFG Formula Header"; ConfiguratorLine: Record "EOS028 CFG Configurator Line"; WBSNo: Text[200])

Parameters / Return Value

  • WorkFormula Text

  • FormulaHeader Record "EOS028 CFG Formula Header"

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

  • WBSNo Text[200]


GetWorkFormulaHigherLevel

procedure GetWorkFormulaHigherLevel(var WorkFormula: Text; FormulaHeader: Record "EOS028 CFG Formula Header"; ConfiguratorLine: Record "EOS028 CFG Configurator Line")

Parameters / Return Value

  • WorkFormula Text

  • FormulaHeader Record "EOS028 CFG Formula Header"

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"


CalcTransferValueFormulaCode

procedure CalcTransferValueFormulaCode(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; FormulaCode: Code[10]; RoundingPrecision: Decimal; CharacCode: Code[10]): Decimal

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

  • FormulaCode Code[10]

  • RoundingPrecision Decimal

  • CharacCode Code[10]

  • Returns Decimal


CalcHigherLevel

procedure CalcHigherLevel(var ConfigCharac: Record "EOS028 CFG Config. Charac.")

This procedure calculates higher level in rule relations.

Parameters / Return Value

  • ConfigCharac Record "EOS028 CFG Config. Charac."

    “ConfigCharac” contains the configuration


CalcRuleRelations

procedure CalcRuleRelations(var NewConfigCharac: Record "EOS028 CFG Config. Charac.")

This prucedure calculates all rule relations for a specific configuration after characteristic validate.

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    “NewConfigCharac” contains the configuration


SetCharacMandatory

procedure SetCharacMandatory(ConfigCharac: Record "EOS028 CFG Config. Charac.")

This procedure sets mandatory relations for a specific configuration.

Parameters / Return Value

  • ConfigCharac Record "EOS028 CFG Config. Charac."

    “ConfigCharac” contains the configuration


SetCharacteristics

procedure SetCharacteristics(NewConfigCharac: Record "EOS028 CFG Config. Charac.")

This procedure sets “Characteristic Value” and calculate decimal value (if characteristic is numeric) after characteristic validate.

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    “NewConfigCharac” contains the configuration


UnsetLinkCharacteristics

procedure UnsetLinkCharacteristics(NewConfigCharac: Record "EOS028 CFG Config. Charac.")

This procedure clears linked “Characteristic Value” after characteristic validate if input “Characteristic Value” is blank.

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    “NewConfigCharac” contains the configuration


SetSingleLinkCharacteristics

procedure SetSingleLinkCharacteristics(NewConfigCharac: Record "EOS028 CFG Config. Charac."; LinkCharac: Code[10])

This procedure sets linked characteristics.

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    “NewConfigCharac” contains the configuration

  • LinkCharac Code[10]

    “LinkCharac” code


Events

OnBeforeInsertUpdateConfCharacValue

local procedure OnBeforeInsertUpdateConfCharacValue(var ConfCharacValue: Record "EOS028 CFG Conf. Charac. Value")

This event is raised before inserting “EOS028 CFG Conf. Charac. Value” record.

Parameters / Return Value

  • ConfCharacValue Record "EOS028 CFG Conf. Charac. Value"

    “ConfCharacValue” record before insertion


OnAfterInsertUpdateConfCharacValue

local procedure OnAfterInsertUpdateConfCharacValue(var ConfCharacValue: Record "EOS028 CFG Conf. Charac. Value")

This event is raised after inserting “EOS028 CFG Conf. Charac. Value” record.

Parameters / Return Value

  • ConfCharacValue Record "EOS028 CFG Conf. Charac. Value"

    “ConfCharacValue” record after insertion


OnBeforeRunCondition

local procedure OnBeforeRunCondition(NewConfigCharac: Record "EOS028 CFG Config. Charac."; RuleRelation: Record "EOS028 CFG Rule Relation")

This event is raised before the RunCondition procedure

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    The “EOS028 CFG Config. Charac.” record

  • RuleRelation Record "EOS028 CFG Rule Relation"

    The “EOS028 CFG Rule Relation” record


OnAfterRunCondition

local procedure OnAfterRunCondition(NewConfigCharac: Record "EOS028 CFG Config. Charac."; RuleRelation: Record "EOS028 CFG Rule Relation"; ProcessLine: Boolean)

This event is raised after the RunCondition procedure

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    The “EOS028 CFG Config. Charac.” record

  • RuleRelation Record "EOS028 CFG Rule Relation"

    The “EOS028 CFG Rule Relation” record

  • ProcessLine Boolean

    ProcessLine is true when the RuleRelation is true


OnBeforeRunCondition_HigherLevel

local procedure OnBeforeRunCondition_HigherLevel(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; NewConfigCharac: Record "EOS028 CFG Config. Charac."; RuleRelation: Record "EOS028 CFG Rule Relation")

This event is raised before the RunCondition_HigherLevel procedure

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

    The “EOS028 CFG Configurator Line” record

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    The “EOS028 CFG Config. Charac.” record

  • RuleRelation Record "EOS028 CFG Rule Relation"

    The “EOS028 CFG Rule Relation” record


OnAfterRunCondition_HigherLevel

local procedure OnAfterRunCondition_HigherLevel(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; NewConfigCharac: Record "EOS028 CFG Config. Charac."; RuleRelation: Record "EOS028 CFG Rule Relation"; ProcessLine: Boolean)

This event is raised after the RunCondition_HigherLevel procedure

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

    The “EOS028 CFG Configurator Line” record

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    The “EOS028 CFG Config. Charac.” record

  • RuleRelation Record "EOS028 CFG Rule Relation"

    The “EOS028 CFG Rule Relation” record

  • ProcessLine Boolean

    ProcessLine is true when the RuleRelation is true


OnSetRuleRelations_TransferValueOnBeforeProcess

local procedure OnSetRuleRelations_TransferValueOnBeforeProcess(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; NewConfigCharac: Record "EOS028 CFG Config. Charac."; RuleRelation: Record "EOS028 CFG Rule Relation"; var IsHandled: Boolean)

This event is raised in SetRuleRelations_TransferValue procedure for each record of “EOS028 CFG Rule Relation” table

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

    The “EOS028 CFG Configurator Line” record

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    The “EOS028 CFG Config. Charac.” record

  • RuleRelation Record "EOS028 CFG Rule Relation"

    The “EOS028 CFG Rule Relation” record

  • IsHandled Boolean

    if true, skip the app code


OnSetRuleRelations_FiltersOnBeforeProcess

local procedure OnSetRuleRelations_FiltersOnBeforeProcess(NewConfigCharac: Record "EOS028 CFG Config. Charac."; CharacValue: Text; RuleRelation: Record "EOS028 CFG Rule Relation"; var IsHandled: Boolean)

This event is raised in SetRuleRelations_Filters procedure for each record of “EOS028 CFG Rule Relation” table

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    The “EOS028 CFG Config. Charac.” record

  • CharacValue Text

    The Characteristic Value

  • RuleRelation Record "EOS028 CFG Rule Relation"

    The “EOS028 CFG Rule Relation” record

  • IsHandled Boolean

    if true, skip app code for current record “RuleRelation”


OnCalcHigherLevelOnBeforeProcess

local procedure OnCalcHigherLevelOnBeforeProcess(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; ConfigCharac: Record "EOS028 CFG Config. Charac."; RuleRelation: Record "EOS028 CFG Rule Relation")

This event is raised in CalcHigherLevel procedure for each record of “EOS028 CFG Rule Relation” table

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

    The “EOS028 CFG Configurator Line” record

  • ConfigCharac Record "EOS028 CFG Config. Charac."

    The “EOS028 CFG Config. Charac.” record

  • RuleRelation Record "EOS028 CFG Rule Relation"

    The “EOS028 CFG Rule Relation” record


OnCalcRuleRelations_TransferHigherLevelOnBeforeProcess

local procedure OnCalcRuleRelations_TransferHigherLevelOnBeforeProcess(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; NewConfigCharac: Record "EOS028 CFG Config. Charac."; RuleRelation: Record "EOS028 CFG Rule Relation"; WBSNo: Text)

This event is raised in CalcRuleRelations_TransferHigherLevel procedure for each record of “EOS028 CFG Rule Relation” table

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

    The “EOS028 CFG Configurator Line” record

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    The “EOS028 CFG Config. Charac.” record

  • RuleRelation Record "EOS028 CFG Rule Relation"

    The “EOS028 CFG Rule Relation” record

  • WBSNo Text

    The Wbs No.


OnCalcRuleRelations_FilterHigherLevelOnBeforeCheckCharac

local procedure OnCalcRuleRelations_FilterHigherLevelOnBeforeCheckCharac(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; NewConfigCharac: Record "EOS028 CFG Config. Charac."; RuleRelation: Record "EOS028 CFG Rule Relation"; CharacValue1Filter: Text; WBSNo: Text)

This event is raised in CalcRuleRelations_FilterHigherLevel procedure for each record of “EOS028 CFG Rule Relation” table before check characteristic

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

    The “EOS028 CFG Configurator Line” record

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    The “EOS028 CFG Config. Charac.” record

  • RuleRelation Record "EOS028 CFG Rule Relation"

    The “EOS028 CFG Rule Relation” record

  • CharacValue1Filter Text

    The Characterstic Filter

  • WBSNo Text

    The Wbs No.


OnCalcRuleRelations_FilterHigherLevelOnBeforeProcess

local procedure OnCalcRuleRelations_FilterHigherLevelOnBeforeProcess(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; NewConfigCharac: Record "EOS028 CFG Config. Charac."; RuleRelation: Record "EOS028 CFG Rule Relation"; CharacValue1Filter: Text; WBSNo: Text)

This event is raised in CalcRuleRelations_FilterHigherLevel procedure for each valid record of “EOS028 CFG Rule Relation” table

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

    The “EOS028 CFG Configurator Line” record

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    The “EOS028 CFG Config. Charac.” record

  • RuleRelation Record "EOS028 CFG Rule Relation"

    The “EOS028 CFG Rule Relation” record

  • CharacValue1Filter Text

    The Characterstic Filter

  • WBSNo Text

    The Wbs No.


OnAfterApplyFilters_SetRuleRelations_TransferValueWithCondition

local procedure OnAfterApplyFilters_SetRuleRelations_TransferValueWithCondition(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; ConfigCharac: Record "EOS028 CFG Config. Charac."; var RuleRelation: Record "EOS028 CFG Rule Relation")

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

  • ConfigCharac Record "EOS028 CFG Config. Charac."

  • RuleRelation Record "EOS028 CFG Rule Relation"


OnPreRunCondition_SetRuleRelations_TransferValueWithCondition

local procedure OnPreRunCondition_SetRuleRelations_TransferValueWithCondition(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; ConfigCharac: Record "EOS028 CFG Config. Charac."; RuleRelation: Record "EOS028 CFG Rule Relation"; var IsHandled: Boolean)

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

  • ConfigCharac Record "EOS028 CFG Config. Charac."

  • RuleRelation Record "EOS028 CFG Rule Relation"

  • IsHandled Boolean


OnAfterApplyFilters_SetRuleRelations

local procedure OnAfterApplyFilters_SetRuleRelations(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; ConfigCharac: Record "EOS028 CFG Config. Charac."; var RuleRelation: Record "EOS028 CFG Rule Relation")

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

  • ConfigCharac Record "EOS028 CFG Config. Charac."

  • RuleRelation Record "EOS028 CFG Rule Relation"


OnBeforeSetCharacteristicValue

local procedure OnBeforeSetCharacteristicValue(var ConfigCharac: Record "EOS028 CFG Config. Charac."; NewConfigCharac: Record "EOS028 CFG Config. Charac."; var IsHandled: Boolean)

Raised in the procedure SetCharacteristics. Use this event not to assign a new Characteristics value for a specific Characteristics.

Parameters / Return Value

  • ConfigCharac Record "EOS028 CFG Config. Charac."

    Current record “EOS028 CFG Config. Charac.” configured

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    “NewConfigCharac” contains the configuration

  • IsHandled Boolean

    if true, skip the assignment


OnBeforeSetRuleRelations_Filters

local procedure OnBeforeSetRuleRelations_Filters(NewConfigCharac: Record "EOS028 CFG Config. Charac."; CharacValue: Text; var IsHandled: Boolean)

Raised in the procedure SetRuleRelations_Filters

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    Contains the configuration

  • CharacValue Text

    The Characteristic Value

  • IsHandled Boolean

    if true, no following app code will be executed


OnBeforeSetRuleRelations_FiltersWithCondition

local procedure OnBeforeSetRuleRelations_FiltersWithCondition(NewConfigCharac: Record "EOS028 CFG Config. Charac."; var IsHandled: Boolean)

Raised in the procedure SetRuleRelations_FiltersWithCondition

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    Contains the configuration

  • IsHandled Boolean

    if true, no following app code will be executed


OnBeforeDeleteConfCharacValuesForRuleRelation

local procedure OnBeforeDeleteConfCharacValuesForRuleRelation(ConfigCharac: Record "EOS028 CFG Config. Charac."; var IsHandled: Boolean)

Raised in the procedure DeleteConfCharacValuesForRuleRelation

Parameters / Return Value

  • ConfigCharac Record "EOS028 CFG Config. Charac."

    Contains the configuration

  • IsHandled Boolean

    if true, no following app code will be executed


OnSetRuleRelations_FiltersWithConditionOnBeforeProcess

local procedure OnSetRuleRelations_FiltersWithConditionOnBeforeProcess(NewConfigCharac: Record "EOS028 CFG Config. Charac."; RuleRelation: Record "EOS028 CFG Rule Relation"; var IsHandled: Boolean)

This event is raised in OnSetRuleRelations_FiltersWithCondition procedure for each record of “EOS028 CFG Rule Relation” table

Parameters / Return Value

  • NewConfigCharac Record "EOS028 CFG Config. Charac."

    The “EOS028 CFG Config. Charac.” record

  • RuleRelation Record "EOS028 CFG Rule Relation"

    The “EOS028 CFG Rule Relation” record

  • IsHandled Boolean

    if true, skip app code for current record “RuleRelation”



EOS Labs -