generated from microsoft/AL-Go-AppSource
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use temporary table as parameter for batch processing
- Loading branch information
1 parent
a82205f
commit 408f45f
Showing
15 changed files
with
94 additions
and
50 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
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
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
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
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
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
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,46 @@ | ||
namespace StefanMaron.Ntfy; | ||
using System.Security.AccessControl; | ||
|
||
|
||
table 71179877 NtfyEventRequestNTSTM | ||
{ | ||
TableType = Temporary; | ||
InherentEntitlements = RIMDX; | ||
InherentPermissions = RIMDX; | ||
|
||
fields | ||
{ | ||
field(1; EntryNo; Integer) | ||
{ | ||
Caption = 'Entry No.'; | ||
} | ||
field(2; NtfyTopic; Text[150]) | ||
{ | ||
Caption = 'Topic'; | ||
} | ||
field(3; NtfyTitle; Text[150]) | ||
{ | ||
Caption = 'Title'; | ||
} | ||
field(4; NtfyMessage; Text[2048]) | ||
{ | ||
Caption = 'Message'; | ||
} | ||
} | ||
|
||
keys | ||
{ | ||
key(Key1; EntryNo) | ||
{ | ||
Clustered = true; | ||
} | ||
} | ||
|
||
procedure RunBatch() | ||
var | ||
TempSessionId: Integer; | ||
begin | ||
if not StartSession(TempSessionId, Codeunit::BatchSendNtfysNTSTM, CompanyName, Rec) then | ||
Codeunit.Run(Codeunit::BatchSendNtfysNTSTM, Rec); | ||
end; | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
interface IRunBatchNTSTM | ||
{ | ||
procedure RunBatch(var Rec: Record NtfyEventNTSTM) | ||
procedure RunBatch(var Rec: Record NtfyEventRequestNTSTM) | ||
} |
2 changes: 1 addition & 1 deletion
2
MSDyn365BC.Ntfy/src/helperInterfaces/RunBatchWrapper.Codeunit.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