Codeunit 18091285 EOS028 CFG Trigger Custom Code

Codeunit 18091285 EOS028 CFG Trigger Custom Code

Methods

TriggerCustomCodeFromPruductConfig

procedure TriggerCustomCodeFromPruductConfig(ConfigCharac: Record "EOS028 CFG Config. Charac."; var xConfigCharac: Record "EOS028 CFG Config. Charac.")

This procedure triggers custom code from Product Configurator during process.

Parameters / Return Value

  • ConfigCharac Record "EOS028 CFG Config. Charac."

    “ConfigCharac” contains new configuration

  • xConfigCharac Record "EOS028 CFG Config. Charac."

    “xConfigCharac” contains old configuration


TriggerCustomCodeFromConfiguratorLinesOnClosePage

procedure TriggerCustomCodeFromConfiguratorLinesOnClosePage(ConfiguratorLine: Record "EOS028 CFG Configurator Line")

This procedure triggers custom code from Product Configurator during closing.

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

Events

TriggerCustomCodeOnValidate

local procedure TriggerCustomCodeOnValidate(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; ConfigCharac: Record "EOS028 CFG Config. Charac."; var TempCharacBuffer: Record "EOS028 CFG Charac. Buffer" temporary; CurrCharacCode: Code[10]; OldCharacValue: Code[50]; NewCharacValue: Code[50]; NewCharacNumericValue: Decimal)

This event is raised to update characteristics values in Product Configurator by custom code during process.

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

    “ConfiguratorLine” contains configurations

  • ConfigCharac Record "EOS028 CFG Config. Charac."

    “ConfigCharac” contains configurations.

  • TempCharacBuffer Record "EOS028 CFG Charac. Buffer"

    “TempCharacBuffer” cointains all characteristics for specific configuration

  • CurrCharacCode Code[10]

    “CurrCharacCode” validated

  • OldCharacValue Code[50]

    “OldCharacValue” contains old value of “CurrCharacCode”

  • NewCharacValue Code[50]

    “NewCharacValue” contains new value of “CurrCharacCode”

  • NewCharacNumericValue Decimal

    “NewCharacNumericValue” contains new numeric value of “CurrCharacCode” (if “CurrCharacCode” is defined as a measure)


TriggerCustomCodeOnClosePage

local procedure TriggerCustomCodeOnClosePage(ConfiguratorLine: Record "EOS028 CFG Configurator Line"; ConfigCharac: Record "EOS028 CFG Config. Charac."; var TempCharacBuffer: Record "EOS028 CFG Charac. Buffer" temporary)

This event is raised to update characteristics values in Product Configurator by custom code during closing.

Parameters / Return Value

  • ConfiguratorLine Record "EOS028 CFG Configurator Line"

    “ConfiguratorLine” contains configurations

  • ConfigCharac Record "EOS028 CFG Config. Charac."

    “ConfigCharac” contains configurations.

  • TempCharacBuffer Record "EOS028 CFG Charac. Buffer"

    “TempCharacBuffer” cointains all characteristics for specific configuration



EOS Labs -