Skip to content

Commit

Permalink
#2635 - Add caption to enum 59 (#2677)
Browse files Browse the repository at this point in the history
#### Summary <!-- Provide a general summary of your changes -->
This pull request includes changes to the `AutoFormat.Enum.al` file to
enhance the readability and clarity of the enumeration values by adding
captions.

Enhancements to enumeration values:

* [`src/System Application/App/Auto
Format/src/AutoFormat.Enum.al`](diffhunk://#diff-53264393ea702e553861d2b6be3e5ae18d3f20c3c330953fc60c69ae059004f2L18-R29):
Added captions 'Default Format' and 'Custom Format Expression' to the
`DefaultFormat` and `CustomFormatExpr` enumeration values, respectively.

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes #2635 


Fixes
[AB#561844](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/561844)
  • Loading branch information
TKapitan authored Jan 9, 2025
1 parent 48d1d13 commit 5439c89
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/System Application/App/Auto Format/src/AutoFormat.Enum.al
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@ enum 59 "Auto Format"
/// <summary>
/// Ignore the value that AutoFormatExpr passes and use the standard format for decimals instead.
/// </summary>
value(0; DefaultFormat) { }
value(0; DefaultFormat)
{
Caption = 'Default Format';
}

/// <summary>
/// Apply a specific format in AutoFormatExpr without additional transformation.
/// </summary>
value(11; CustomFormatExpr) { }
value(11; CustomFormatExpr)
{
Caption = 'Custom Format Expression';
}
}

0 comments on commit 5439c89

Please sign in to comment.