Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tableextension 6810 "WHT Empl. Ledger Entry Ext" extends "Employee Ledger Entry"
{
Caption = 'Withholding Tax Amount';
AutoFormatType = 1;
AutoFormatExpression = Rec."Currency Code";
Editable = false;
DataClassification = CustomerContent;
ToolTip = 'Specifies the withholding tax amount for the employee ledger entry.';
Expand All @@ -22,6 +23,7 @@ tableextension 6810 "WHT Empl. Ledger Entry Ext" extends "Employee Ledger Entry"
{
Caption = 'Withholding Tax Base Amount';
AutoFormatType = 1;
AutoFormatExpression = Rec."Currency Code";
Editable = false;
DataClassification = CustomerContent;
ToolTip = 'Specifies the withholding tax base amount for the employee ledger entry.';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,16 @@ table 6794 "WHT Threshold Accumulator"
{
Caption = 'Accumulated Base Amount';
AutoFormatType = 1;
// The accumulator only ever holds local currency amounts.
Comment thread
JesperSchulz marked this conversation as resolved.
AutoFormatExpression = '';
ToolTip = 'Specifies the accumulated base amount for the withholding tax threshold accumulator.';
}
field(9; "Accumulated WHT Amount"; Decimal)
{
Caption = 'Accumulated Withholding Tax Amount';
AutoFormatType = 1;
// The accumulator only ever holds local currency amounts.
AutoFormatExpression = '';
ToolTip = 'Specifies the accumulated withholding tax amount for the withholding tax threshold accumulator.';
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ table 6788 "Withholding Tax Entry"
{
Caption = 'Taxable Base Amount';
AutoFormatType = 1;
AutoFormatExpression = Rec."Currency Code";
Editable = false;
}
field(28101; "Pymt. Disc. Diff. Base"; Decimal)
Expand Down
26 changes: 1 addition & 25 deletions src/rulesets/base.ruleset.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@
"id": "AL0606",
"action": "Warning"
},
{
"id": "AL0640",
"action": "Error"
},
{
"id": "AL0659",
"action": "Warning",
Expand Down Expand Up @@ -96,7 +92,7 @@
{
"id": "AS0112",
"action": "None",
"justification": "The permission set 'Reten. Pol. Setup - BaseApp' should not be included through a permission set extension because it includes permissions for objects defined in another application."
"justification": "Permission set extensions that include permission sets covering objects from another application. Needs a permission set redesign to fix."
},
{
"id": "AS0014",
Expand Down Expand Up @@ -346,26 +342,11 @@
"action": "Warning",
"justification": "Variable with placeholders should have a comment explaining their content."
},
{
"id": "AA0471",
"action": "None",
"justification": "AutoformatType should be defined for decimal fields in Page objects to ensure proper formatting behavior."
},
{
"id": "AA0472",
"action": "None",
"justification": "AutoformatExpression should be defined when AutoformatType is not default to ensure proper formatting behavior."
},
{
"id": "AA0473",
"action": "None",
"justification": "AutoformatType should be defined for decimal fields in Table objects to ensure proper formatting behavior."
},
{
"id": "AA0474",
"action": "None",
"justification": "AutoformatExpression should be defined when AutoformatType is not default to ensure proper formatting behavior."
},
{
"id": "AW0002",
"action": "Warning",
Expand Down Expand Up @@ -430,11 +411,6 @@
"id": "PTE0018",
"action": "Warning"
},
{
"id": "AD0001",
"action": "Error",
"justification": "Analyzer exceptions should be an error as they can prevent other rules from being validated properly."
},
{
"id": "AL0468",
"action": "Warning"
Expand Down
Loading