Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7860
Table Type: Company
Table Name: MS- PayPal Standard Account
Database Table Name: CRONUS UK Ltd_$MS- PayPal Standard Account$437dbf0e-84ff-417a-965d-ed2bb9650972
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 MS- PayPal Standard Account can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$MS- PayPal Standard Account$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Primary Key]
,[Name]
,[Description]
,[Enabled]
,[Always Include on Documents]
,[Terms of Service]
,[Account ID]
,[Target URL]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$MS- PayPal Standard Account$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$MS- PayPal Standard Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [MS- PayPal Standard Account]
LEFT JOIN
[CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
ON
[MS- PayPal Standard Account].[Account Id] = [G/L Account].[$systemId]
LEFT JOIN
[User] AS [User]
ON
[MS- PayPal Standard Account].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[MS- PayPal Standard Account].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in MS- PayPal Standard Account table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Primary Key | Primary Key | Normal | Integer | 4 | Primary Key | int |
2 | Name | Name | Normal | Text | 250 | Name | nvarchar(500) |
3 | Description | Description | Normal | Text | 250 | Description | nvarchar(500) |
4 | Enabled | Enabled | Normal | Boolean | 4 | Enabled | tinyint |
5 | Always Include on Documents | Always Include on Documents | Normal | Boolean | 4 | Always Include on Documents | tinyint |
8 | Terms of Service | Terms of Service | Normal | Text | 250 | Terms of Service | nvarchar(500) |
10 | Account ID | Account ID | Normal | Text | 250 | Account ID | nvarchar(500) |
Key to join to the G/L Account table.Show/hide example querySELECT [MS- PayPal Standard Account].[Account ID] ,[G/L Account].[$systemId] FROM [CRONUS UK Ltd_$MS- PayPal Standard Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [MS- PayPal Standard Account] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [MS- PayPal Standard Account].[Account ID] = [G/L Account].[$systemId] | |||||||
12 | Target URL | Target URL | Normal | BLOB | 8 | Target URL | image |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [MS- PayPal Standard Account].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$MS- PayPal Standard Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [MS- PayPal Standard Account] LEFT JOIN [User] AS [User] ON [MS- PayPal Standard Account].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |