Codeunit 5505273 M365 Indicator Management

Codeunit 5505273 M365 Indicator Management

Methods

ValidateTable

procedure ValidateTable(var tableText: Text[249]; raiseError: Boolean): Integer

Parameters / Return Value

  • tableText Text[249]

  • raiseError Boolean

  • Returns Integer


LookupTable

procedure LookupTable(var tableText: Text[249]): Integer

Parameters / Return Value

  • tableText Text[249]

  • Returns Integer


ValidateField

procedure ValidateField(tableId: Integer; var fieldText: Text[80]; raiseError: Boolean): Integer

Parameters / Return Value

  • tableId Integer

  • fieldText Text[80]

  • raiseError Boolean

  • Returns Integer


LookupField

procedure LookupField(tableId: Integer; var fieldText: Text[80]): Integer

Parameters / Return Value

  • tableId Integer

  • fieldText Text[80]

  • Returns Integer


TransformConstantValue

procedure TransformConstantValue(typeValue: Variant; fieldValue: Variant; var returnTextValue: Text): Boolean

Parameters / Return Value

  • typeValue Variant

  • fieldValue Variant

  • returnTextValue Text

  • Returns Boolean


TransformConstantValue

procedure TransformConstantValue(typeValue: Variant; fieldValue: Variant; languageId: Integer; var returnTextValue: Text): Boolean

Parameters / Return Value

  • typeValue Variant

  • fieldValue Variant

  • languageId Integer

  • returnTextValue Text

  • Returns Boolean


ValidateValue

procedure ValidateValue(relationType: Enum "M365 Field Relation Type"; tableId: Integer; fieldId: Integer;compareTableId: Integer; compareFieldId: Integer; var fieldValue: Text[500]): Integer

Parameters / Return Value

  • relationType Enum "M365 Field Relation Type"

  • tableId Integer

  • fieldId Integer

  • compareTableId Integer

  • compareFieldId Integer

  • fieldValue Text[500]

  • Returns Integer


LookupValue

procedure LookupValue(relationType: Enum "M365 Field Relation Type"; tableId: Integer; fieldId: Integer; relationTableId: Integer; var fieldValue: Text[500]): Integer

Parameters / Return Value

  • relationType Enum "M365 Field Relation Type"

  • tableId Integer

  • fieldId Integer

  • relationTableId Integer

  • fieldValue Text[500]

  • Returns Integer


GetIndicatorStyle

procedure GetIndicatorStyle(indicatorCode: Code[20]; recordVariant: Variant; relationRecordVariant: Variant; var indicatorStyle: Record "M365 Indicator Style"): Boolean

Parameters / Return Value

  • indicatorCode Code[20]

  • recordVariant Variant

  • relationRecordVariant Variant

  • indicatorStyle Record "M365 Indicator Style"

  • Returns Boolean


GetIndicatorStyle

procedure GetIndicatorStyle(indicatorCode: Code[20]; recordVariant: Variant; var indicatorStyle: Record "M365 Indicator Style"): Boolean

Parameters / Return Value

  • indicatorCode Code[20]

  • recordVariant Variant

  • indicatorStyle Record "M365 Indicator Style"

  • Returns Boolean


GetIndicatorStyle

procedure GetIndicatorStyle(indicatorCode: Code[20]; var indicatorStyle: Record "M365 Indicator Style"): Boolean

Parameters / Return Value

  • indicatorCode Code[20]

  • indicatorStyle Record "M365 Indicator Style"

  • Returns Boolean


GetIndicatorStyleValue

procedure GetIndicatorStyleValue(indicatorStyleCode: Code[20]): Text[100]

Parameters / Return Value

  • indicatorStyleCode Code[20]

  • Returns Text[100]


GetIndicatorStyleStyle

procedure GetIndicatorStyleStyle(indicatorStyleCode: Code[20]): Text[20]

Parameters / Return Value

  • indicatorStyleCode Code[20]

  • Returns Text[20]


TestIndicator

procedure TestIndicator(indicator: Record "M365 Indicator")

Parameters / Return Value

  • indicator Record "M365 Indicator"

GetFieldFieldCaption

procedure GetFieldFieldCaption(fieldCaption: Text; tableId: Integer): Text

Parameters / Return Value

  • fieldCaption Text

  • tableId Integer

  • Returns Text


HandlePageIndicators

procedure HandlePageIndicators(recordVariant: Variant; pageIdText: Text; var returnIndicator: array[10, 3] of Text; var returnIndicator1Style: Text; var returnIndicator2Style: Text): Boolean

Parameters / Return Value

  • recordVariant Variant

  • pageIdText Text

  • returnIndicator Text

  • returnIndicator1Style Text

  • returnIndicator2Style Text

  • Returns Boolean


HandlePageIndicators

procedure HandlePageIndicators(recordVariant: Variant; pageIdText: Text; var returnIndicator: array[10, 3] of Text): Boolean

Parameters / Return Value

  • recordVariant Variant

  • pageIdText Text

  • returnIndicator Text

  • Returns Boolean


Events

OnGetIndicatorStyle

local procedure OnGetIndicatorStyle(indicatorCode: Code[20]; recRef: RecordRef; relationRecRef: RecordRef; var returnIndicatorStyle: Record "M365 Indicator Style"; var hasMatch: Boolean; var handled: Boolean)

Parameters / Return Value

  • indicatorCode Code[20]

  • recRef RecordRef

  • relationRecRef RecordRef

  • returnIndicatorStyle Record "M365 Indicator Style"

  • hasMatch Boolean

  • handled Boolean



EOS Labs -