-
Notifications
You must be signed in to change notification settings - Fork 696
Expand file tree
/
Copy pathConnectionSetup.Table.al
More file actions
89 lines (84 loc) · 2.66 KB
/
ConnectionSetup.Table.al
File metadata and controls
89 lines (84 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace Microsoft.EServices.EDocumentConnector.Tietoevry;
using Microsoft.EServices.EDocumentConnector;
table 6392 "Connection Setup"
{
fields
{
field(1; Id; Code[10])
{
DataClassification = CustomerContent;
}
field(2; "Client Id - Key"; Guid)
{
Caption = 'Client Id';
DataClassification = EndUserIdentifiableInformation;
}
field(3; "Client Secret - Key"; Guid)
{
Caption = 'Client Secret';
DataClassification = EndUserIdentifiableInformation;
}
field(4; "Authentication URL"; Text[250])
{
Caption = 'Authentication URL';
DataClassification = CustomerContent;
Editable = false;
}
field(5; "API URL"; Text[250])
{
Caption = 'API URL';
DataClassification = CustomerContent;
Editable = false;
}
field(6; "Sandbox Authentication URL"; Text[250])
{
Caption = 'Sandbox Authentication URL';
DataClassification = CustomerContent;
Editable = false;
}
field(7; "Sandbox API URL"; Text[250])
{
Caption = 'Sandbox Authentication URL';
DataClassification = CustomerContent;
Editable = false;
}
field(8; "Token - Key"; Guid)
{
Caption = 'Token';
DataClassification = CustomerContent;
}
field(9; "Token Expiry"; DateTime)
{
Caption = 'Token Expiry';
DataClassification = CustomerContent;
}
field(10; "Company Id"; Text[250])
{
Caption = 'Company ID';
DataClassification = CustomerContent;
trigger OnValidate()
var
TietoevryProcessing: Codeunit Processing;
begin
if not TietoevryProcessing.IsValidSchemeId(Rec."Company Id") then
Rec.FieldError(Rec."Company Id");
end;
}
field(13; "Send Mode"; Enum "E-Doc. Ext. Send Mode")
{
Caption = 'Send Mode';
DataClassification = EndUserIdentifiableInformation;
}
}
keys
{
key(Key1; Id)
{
Clustered = true;
}
}
}