Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When controlling field visibility, use variable instead of field to avoid client error #635

Merged
merged 1 commit into from
Feb 26, 2024
Merged
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 @@ -86,7 +86,7 @@ page 3901 "Retention Policy Setup Card"
ToolTip = 'Specifies the number of expired records.';
Editable = false;
StyleExpr = ExpiredRecordCountStyleTxt;
Visible = Rec."Apply to all records";
Visible = not ShowExpiredRecordExpirationDate;
}
field("Records To Delete"; ExpiredRecordCount)
{
Expand All @@ -95,7 +95,7 @@ page 3901 "Retention Policy Setup Card"
ToolTip = 'Specifies the number of expired records the retention policy will delete the next time it runs.';
Editable = false;
StyleExpr = ExpiredRecordCountStyleTxt;
Visible = not Rec."Apply to all records";
Visible = ShowExpiredRecordExpirationDate;
}
field("Expired Record Expiration Date"; ExpiredRecordExpirationDate)
{
Expand Down Expand Up @@ -132,7 +132,7 @@ page 3901 "Retention Policy Setup Card"
ApplicationArea = All;
Caption = 'Record Retention Policy', Comment = 'Record as in ''a record in a table''.';
SubPageLink = "Table ID" = field("Table Id");
Visible = not Rec."Apply to all records";
Visible = ShowExpiredRecordExpirationDate;
}
}
}
Expand Down
Loading