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
BooleanReturns
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
IntegerfieldText
Text[80]raiseError
BooleanReturns
Integer
LookupField
procedure LookupField(tableId: Integer; var fieldText: Text[80]): Integer
Parameters / Return Value
tableId
IntegerfieldText
Text[80]Returns
Integer
TransformConstantValue
procedure TransformConstantValue(typeValue: Variant; fieldValue: Variant; var returnTextValue: Text): Boolean
Parameters / Return Value
typeValue
VariantfieldValue
VariantreturnTextValue
Text[]Returns
Boolean
TransformConstantValue
procedure TransformConstantValue(typeValue: Variant; fieldValue: Variant; languageId: Integer; var returnTextValue: Text): Boolean
Parameters / Return Value
typeValue
VariantfieldValue
VariantlanguageId
IntegerreturnTextValue
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
IntegerfieldId
IntegercompareTableId
IntegercompareFieldId
IntegerfieldValue
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
IntegerfieldId
IntegerrelationTableId
IntegerfieldValue
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
VariantrelationRecordVariant
VariantindicatorStyle
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
VariantindicatorStyle
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
IntegerReturns
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
VariantpageIdText
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
VariantpageIdText
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
RecordRefrelationRecRef
RecordRefreturnIndicatorStyle
Record "M365 Indicator Style"hasMatch
Booleanhandled
Boolean
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.