Table "Retention Policy Setup Line"
ID 3902
Namespace: System.DataAdministration
This table stores the filter used to apply retention policies to subsets of records in a table.
Fields
| Name | Type | Description |
|---|---|---|
| "Table ID" | Integer | |
| "Table Name" | Text[30] | |
| "Table Caption" | Text[249] | |
| "Line No." | Integer | |
| Enabled | Boolean | |
| "Retention Period" | Code[20] | |
| "Date Field No." | Integer | |
| "Date Field Name" | Text[30] | |
| "Date Field Caption" | Text[80] | |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemRowVersion | BigInteger |
Methods
SetTableFilter
Use this procedure to open a Filter Page Builder page and store the resulting filter in view format on the current record.
procedure SetTableFilter()
GetTableFilterView
Use this procedure to get the filter in view format stored in the current record.
procedure GetTableFilterView(): Text
Returns
| Type | Description |
|---|---|
| Text |
The filter in the view format. |
GetTableFilterText
Use this procedure to get the filter in text format stored in the current record.
procedure GetTableFilterText(): Text[2048]
Returns
| Type | Description |
|---|---|
| Text[2048] |
The Filter in text format. |
IsLocked
Use this procedure to verify whether the retention policy setup line is locked.
procedure IsLocked(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
True if the line is locked. |