Codeunit 9701 Cues And KPIs

System Application, System.Visualization

Source AL, 126 lines

src/System Application/App/Cues and KPIs/src/CuesAndKPIs.Codeunit.allines 11 to 26 of 126, Copyright (c) Microsoft Corporation. MIT

codeunit 9701 "Cues And KPIs"{    SingleInstance = true;    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        CuesAndKPIsImpl: Codeunit "Cues And KPIs Impl.";    /// <summary>    /// Opens the cue setup user page with an implicit filter on table id.    /// The page shows previously added entries in the Cue Setup Administration page that have the UserId being either the current user or blank.    /// The page also displays all other fields the that the passed table might have of type decimal or integer.    /// Closing this page will transfer any changed or added setup entries to the cue setup table.    /// </summary>

All 126 lines

Events 2 in 29

[IntegrationEvent] OnConvertStyleToStyleText(CueStyle: Enum "Cues And KPIs Style"; var Result: Text; var Resolved: Boolean)17-29
[IntegrationEvent] OnBeforeGetCustomizedCueStyleOption(TableID: Integer; FieldNo: Integer; CueValue: Decimal; var CueStyle: Enum "Cues And KPIs Style"; var Resolved: Boolean)17-29

Public procedures 6 in 29

OpenCustomizePageForCurrentUser(TableId: Integer)17-29
ChangeUserForSetupEntry(var RecordRef: RecordRef; Company: Text[30]; UserName: Text[50])17-29changed in 20
SetCueStyle(TableID: Integer; FieldID: Integer; Amount: Decimal; var FinalStyle: Enum "Cues And KPIs Style")17-29
ConvertStyleToStyleText(CueStyle: Enum "Cues And KPIs Style"): Text17-29
InsertData(TableID: Integer; FieldNo: Integer; LowRangeStyle: Enum "Cues And KPIs Style"; Threshold1: Decimal; MiddleRangeStyle: Enum "Cues And KPIs Style"; Threshold2: Decimal; HighRangeStyle: Enum "Cues And KPIs Style"): Boolean17-29
PersonalizedCueSetupExistsForCurrentUser(TableID: Integer; FieldID: Integer): Booleannew in 20

Changes 2 in 20

List17181920212223242526272829
Procedures2
ChangeUserForSetupEntry(var RecordRef: RecordRef; Company: Text[30]; UserName: Text[50])17-29changed in 20
changed, was ChangeUserForSetupEntry(var RecRef: RecordRef; Company: Text[30]; UserName: Text[50])
PersonalizedCueSetupExistsForCurrentUser(TableID: Integer; FieldID: Integer): Booleannew in 20
added

All 2 changes in 17-29