-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace codeunit with table for filters
- Loading branch information
Showing
6 changed files
with
69 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 0 additions & 109 deletions
109
src/System Application/App/Email/src/Connector/EmailRetrievalFilters.Codeunit.al
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
src/System Application/App/Email/src/Email/Inbox/EmailRetrievalFilters.Table.al
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// ------------------------------------------------------------------------------------------------ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
// ------------------------------------------------------------------------------------------------ | ||
|
||
namespace System.Email; | ||
|
||
/// <summary>Holds information about the filters for retrieving emails.</summary> | ||
table 8885 "Email Retrieval Filters" | ||
{ | ||
Access = Public; | ||
TableType = Temporary; | ||
|
||
fields | ||
{ | ||
field(1; Id; Integer) | ||
{ | ||
DataClassification = SystemMetadata; | ||
AutoIncrement = true; | ||
} | ||
|
||
field(2; "Load Attachments"; Boolean) | ||
{ | ||
DataClassification = SystemMetadata; | ||
} | ||
|
||
field(3; "Unread Emails"; Boolean) | ||
{ | ||
DataClassification = SystemMetadata; | ||
} | ||
|
||
field(4; "Draft Emails"; Boolean) | ||
{ | ||
DataClassification = SystemMetadata; | ||
} | ||
|
||
field(5; "Max No. of Emails"; Integer) | ||
{ | ||
DataClassification = SystemMetadata; | ||
InitValue = 20; | ||
} | ||
|
||
field(6; "Body Type"; Option) | ||
{ | ||
OptionMembers = "HTML","Text"; | ||
DataClassification = SystemMetadata; | ||
InitValue = "HTML"; | ||
} | ||
|
||
field(7; "Earliest Email"; DateTime) | ||
{ | ||
DataClassification = SystemMetadata; | ||
} | ||
} | ||
|
||
keys | ||
{ | ||
key(PK; Id) | ||
{ | ||
Clustered = true; | ||
} | ||
} | ||
} |