From 0c29da3a21fffc718fc16a5f7e667924179f8ebb Mon Sep 17 00:00:00 2001
From: TNaundorf <135002742+TNaundorf@users.noreply.github.com>
Date: Tue, 15 Oct 2024 13:45:40 +0200
Subject: [PATCH] Update SentEmail.Table.al
---
.../App/Email/src/Email/Sent/SentEmail.Table.al | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/System Application/App/Email/src/Email/Sent/SentEmail.Table.al b/src/System Application/App/Email/src/Email/Sent/SentEmail.Table.al
index a7086fb0a4..73aadc282f 100644
--- a/src/System Application/App/Email/src/Email/Sent/SentEmail.Table.al
+++ b/src/System Application/App/Email/src/Email/Sent/SentEmail.Table.al
@@ -110,4 +110,13 @@ table 8889 "Sent Email"
exit(Rec."Message Id");
end;
-}
\ No newline at end of file
+ ///
+ /// Get the account id of the sent email.
+ ///
+ /// Account id.
+ procedure GetAccountId(): Guid
+ begin
+ exit(Rec."Account Id");
+ end;
+
+}