SMTP Account

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/4511

Table Type: Company

Table Name: SMTP Account
Database Table Name: CRONUS UK Ltd_$SMTP Account$68e13fa3-217a-4be0-9141-99e5bf0ca818

Table Number: 4511

Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how SMTP Account can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$SMTP Account$68e13fa3-217a-4be0-9141-99e5bf0ca818]

Show/hide an example select of all columns by name

SELECT
   [Id]
   ,[Name]
   ,[Server]
   ,[Authentication]
   ,[User Name]
   ,[Server Port]
   ,[Secure Connection]
   ,[Password Key]
   ,[Sender Type]
   ,[Email Address]
   ,[Sender Name]
   ,[Created By]
   ,[Authentication Type]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$SMTP Account$68e13fa3-217a-4be0-9141-99e5bf0ca818]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$SMTP Account$68e13fa3-217a-4be0-9141-99e5bf0ca818] AS [SMTP Account]
LEFT JOIN
   [User] AS [User]
      ON
         [SMTP Account].[Created By] = [User].[User Name]
LEFT JOIN
   [User] AS [User]
      ON
         [SMTP Account].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [SMTP Account].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in SMTP Account table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Id SearchPrimary KeyNormalGUID16Iduniqueidentifier
2Name Primary Key SearchName of accountNormalText250Namenvarchar(500)
3Server SearchServerNormalText250Servernvarchar(500)
4Authentication SearchAuthenticationNormalOption4Authenticationint
Available options are:
  • “Anonymous”
  • “Basic”
  • “OAuth 2.0”
  • “NTLM”
5User Name SearchUser NameNormalText250User Namenvarchar(500)
6Server Port SearchSMTP Server PortNormalInteger4Server Portint
7Secure Connection SearchSecure ConnectionNormalBoolean4Secure Connectiontinyint
8Password Key SearchPassword KeyNormalGUID16Password Keyuniqueidentifier
9Sender Type SearchSender TypeNormalOption4Sender Typeint
Available options are:
  • “Specific User”
  • “Current User”
10Email Address SearchEmail AddressNormalText250Email Addressnvarchar(500)
11Sender Name SearchSender NameNormalText250Sender Namenvarchar(500)
12Created By SearchCreated ByNormalText50Created Bynvarchar(100)
Key to join to the User table.

Show/hide example query

SELECT
	       [SMTP Account].[Created By]
	       ,[User].[User Name]
	FROM
	       [CRONUS UK Ltd_$SMTP Account$68e13fa3-217a-4be0-9141-99e5bf0ca818] AS [SMTP Account]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [SMTP Account].[Created By] = [User].[User Name]
13Authentication Type SearchAuthentication TypeNormalOption4Authentication Typeint
Available options are:
  • “Anonymous”
  • “Basic”
  • “OAuth 2.0”
  • “NTLM”
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [SMTP Account].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$SMTP Account$68e13fa3-217a-4be0-9141-99e5bf0ca818] AS [SMTP Account]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [SMTP Account].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

Your email address will not be published. Required fields are marked *