Codeunit 18091268 EOS028 CFG Rule Management

Codeunit 18091268 EOS028 CFG Rule Management

Methods

CopyRule

procedure CopyRule(Rule: Code[10]; CurrentRule: Record "EOS028 CFG Rule")

This procedure copies rule and its derived tables.

Parameters / Return Value

  • Rule Code[10]

    “Rule” to copy from

  • CurrentRule Record "EOS028 CFG Rule"

    “CurrentRule” in which to copy


AlignConnection

procedure AlignConnection(CurrentRule: Record "EOS028 CFG Rule")

This procedure aligns rule through “Connection” field.

Parameters / Return Value

  • CurrentRule Record "EOS028 CFG Rule"

    “CurrentRule” to align


AlignRuleWithCharac

procedure AlignRuleWithCharac(CurrentRule: Record "EOS028 CFG Rule")

This procedure aligns rule with characteristics.

Parameters / Return Value

  • CurrentRule Record "EOS028 CFG Rule"

    “CurrentRule” to align


AlignCharacConnection

procedure AlignCharacConnection(CurrentCharac: Record "EOS028 CFG Characteristic")

This procedure aligns characteristic through “Connection” field.

Parameters / Return Value

  • CurrentCharac Record "EOS028 CFG Characteristic"

    “CurrentCharac” to be align


AlignCharacDescription

procedure AlignCharacDescription(CurrentCharacValue: Record "EOS028 CFG Charac. Value")

This procedure updates “Charac. Value” description in related tables.

Parameters / Return Value

  • CurrentCharacValue Record "EOS028 CFG Charac. Value"

    “CurrentCharacValue” to be update


CopyCharacValue

procedure CopyCharacValue(CharacCode: Code[10]; NewCharacValue: Code[50])

This procedure adds “Charac. Value” in “Rule Charac. Value”.

Parameters / Return Value

  • CharacCode Code[10]

    Current “CharacCode”

  • NewCharacValue Code[50]

    “NewCharacValue” to be add


Events

OnAfterCopyRule

local procedure OnAfterCopyRule(Rule: Code[10]; CurrentRule: Record "EOS028 CFG Rule")

This event is raised at the end of the procedure CopyRule.

Parameters / Return Value

  • Rule Code[10]

    “Rule” to copy from

  • CurrentRule Record "EOS028 CFG Rule"

    “CurrentRule” in which to copy


OnAfterAlignConnection

local procedure OnAfterAlignConnection(CurrentRule: Record "EOS028 CFG Rule")

This event is raised at the end of the procedure AlignConnection.

Parameters / Return Value

  • CurrentRule Record "EOS028 CFG Rule"

    “CurrentRule” to align


OnAfterAlignRuleWithCharac

local procedure OnAfterAlignRuleWithCharac(CurrentRule: Record "EOS028 CFG Rule")

This event is raised at the end of the procedure AlignRuleWithCharac.

Parameters / Return Value

  • CurrentRule Record "EOS028 CFG Rule"

    “CurrentRule” to align


OnBeforeInsertRuleCharacValue

local procedure OnBeforeInsertRuleCharacValue(var RuleCharacValue: Record "EOS028 CFG Rule Charac. Value"; FromRuleCharacteristic: Record "EOS028 CFG Rule Characteristic"; FromCharacValue: Record "EOS028 CFG Charac. Value")

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

Parameters / Return Value

  • RuleCharacValue Record "EOS028 CFG Rule Charac. Value"

    “RuleCharacValue” record before insertion

  • FromRuleCharacteristic Record "EOS028 CFG Rule Characteristic"

    “FromRuleCharacteristic” from which it is copied

  • FromCharacValue Record "EOS028 CFG Charac. Value"

    “FromCharacValue” from which it is copied


OnAfterInsertRuleCharacValue

local procedure OnAfterInsertRuleCharacValue(var RuleCharacValue: Record "EOS028 CFG Rule Charac. Value"; FromRuleCharacteristic: Record "EOS028 CFG Rule Characteristic"; FromCharacValue: Record "EOS028 CFG Charac. Value")

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

Parameters / Return Value

  • RuleCharacValue Record "EOS028 CFG Rule Charac. Value"

    “RuleCharacValue” record after insertion

  • FromRuleCharacteristic Record "EOS028 CFG Rule Characteristic"

    “FromRuleCharacteristic” from which it is copied

  • FromCharacValue Record "EOS028 CFG Charac. Value"

    “FromCharacValue” from which it is copied


OnAfterAlignCharacConnection

local procedure OnAfterAlignCharacConnection(CurrentCharac: Record "EOS028 CFG Characteristic")

This event is raised at the end of the procedure AlignCharacConnection.

Parameters / Return Value

  • CurrentCharac Record "EOS028 CFG Characteristic"

    “CurrentCharac” to be align


OnAfterAlignCharacDescription

local procedure OnAfterAlignCharacDescription(CurrentCharacValue: Record "EOS028 CFG Charac. Value")

This event is raised at the end of the procedure AlignCharacDescription.

Parameters / Return Value

  • CurrentCharacValue Record "EOS028 CFG Charac. Value"

    “CurrentCharacValue” to be update


OnAfterCopyCharacValue

local procedure OnAfterCopyCharacValue(CharacCode: Code[10]; NewCharacValue: Code[50])

This event is raised at the end of the procedure CopyCharacValue.

Parameters / Return Value

  • CharacCode Code[10]

    Current “CharacCode”

  • NewCharacValue Code[50]

    “NewCharacValue” to be add



EOS Labs -