Skip to content

Commit

Permalink
pragma ignore convertion of Integer to BigInteger as this is supported.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasMoth committed Feb 17, 2025
1 parent 94f4a2b commit 6692936
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,13 @@ table 3907 "Reten. Pol. Deleting Param"
/// <summary>
/// Indicates the maximum number of records to be deleted.
/// </summary>
#pragma warning disable AS0004
field(4; "Max. Number of Rec. to Delete"; BigInteger)
{
DataClassification = SystemMetadata;
MinValue = 0;
}
#pragma warning restore AS0004
/// <summary>
/// if set to true the event OnApplyRetentionPolicyRecordLimitExceeded will not be raised.
/// </summary>
Expand All @@ -71,11 +73,13 @@ table 3907 "Reten. Pol. Deleting Param"
/// <summary>
/// Indicates the maximum number of records that can be deleted at the same time across all retention policies
/// </summary>
#pragma warning disable AS0004
field(6; "Total Max. Nr. of Rec. to Del."; BigInteger)
{
DataClassification = SystemMetadata;
MinValue = 0;
}
#pragma warning restore AS0004
/// <summary>
/// If true, indicates that user is applying the retention policies manually.
/// If false, the retention policies are applied by a scheduled task.
Expand All @@ -88,10 +92,12 @@ table 3907 "Reten. Pol. Deleting Param"
/// The number of records in the table before the deletion.
/// The count is calculated once before passing this table to the deletion implementation and is used to limit the number of records to be deleted as well as record the number of records actually deleted.
/// </summary>
#pragma warning disable AS0004
field(8; "Record Count Before Delete"; BigInteger)
{
DataClassification = SystemMetadata;
}
#pragma warning restore AS0004
}

keys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,14 @@ table 3901 "Retention Policy Setup"
{
DataClassification = SystemMetadata;
}
#pragma warning disable AS0004
field(100; "Number Of Records Deleted"; BigInteger)
{
DataClassification = SystemMetadata;
Access = Internal;
Editable = false;
}
#pragma warning restore AS0004
}

keys
Expand Down

0 comments on commit 6692936

Please sign in to comment.