Table 1833 Consolidation Setup
- App
- Base Application
- Namespace
- Microsoft.Finance.Consolidation
- Versions
- 23-28
Versions171819202122232425262728
Source29
Source in 29
src/Layers/W1/BaseApp/Finance/Consolidation/ConsolidationSetup.Table.al84 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace Microsoft.Finance.Consolidation;
table 1833 "Consolidation Setup"
{
Caption = 'Consolidation Setup';
ReplicateData = false;
Access = Internal;
Extensible = false;
DataClassification = CustomerContent;
fields
{
field(1; "Primary Key"; Code[10])
{
AllowInCustomizations = Never;
Caption = 'Primary Key';
DataClassification = SystemMetadata;
}
field(2; MaxAttempts429; Integer)
{
Caption = 'Maximum number of retries after receiving HTTP 429 responses';
ToolTip = 'The maximum number of times to retry API calls that return a 429 error';
DataClassification = SystemMetadata;
MinValue = 0;
MaxValue = 10;
}
field(3; WaitMsRetries; Integer)
{
Caption = 'Wait time in ms between retries';
ToolTip = 'The number of milliseconds to wait between retries';
DataClassification = SystemMetadata;
MinValue = 100;
MaxValue = 10000;
}
field(4; PageSize; Integer)
{
Caption = 'Page Size';
ToolTip = 'The number of records to import in each API call';
DataClassification = SystemMetadata;
MinValue = 1;
MaxValue = 1000;
}
field(5; MaxAttempts; Integer)
{
Caption = 'Maximum number of retries for a consolidation process';
ToolTip = 'Maximum number of retries for the complete consolidation process';
DataClassification = SystemMetadata;
MinValue = 0;
MaxValue = 5;
}
}
keys
{
key(PK; "Primary Key")
{
Clustered = true;
}
}
var
TelemetryCategoryTok: Label 'financial-consolidations', Locked = true;
internal procedure GetOrCreateWithDefaults()
begin
Rec.Reset();
if Rec.FindFirst() then
exit;
Rec.MaxAttempts429 := 5;
Rec.WaitMsRetries := 1000;
Rec.PageSize := 500;
Rec.Insert();
end;
internal procedure GetTelemetryCategory(): Text
begin
exit(TelemetryCategoryTok);
end;
}