Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1060
Table Type: Company
Table Name: Payment Service Setup
Database Table Name: CRONUS UK Ltd_$Payment Service Setup$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 Payment Service Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Payment Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[No_]
,[Name]
,[Description]
,[Enabled]
,[Always Include on Documents]
,[Setup Record ID]
,[Setup Page ID]
,[Terms of Service]
,[Available]
,[Management Codeunit ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Payment Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Payment Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Service Setup]
LEFT JOIN
[User] AS [User]
ON
[Payment Service Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Payment Service Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Payment Service Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | No. | No. | Normal | Text | 250 | No_ | nvarchar(500) |
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 |
6 | Setup Record ID | Setup Record ID | Normal | RecordID | 448 | Setup Record ID | varbinary(448) |
7 | Setup Page ID | Setup Page ID | Normal | Integer | 4 | Setup Page ID | int |
8 | Terms of Service | Terms of Service | Normal | Text | 250 | Terms of Service | nvarchar(500) |
100 | Available | Available | Normal | Boolean | 4 | Available | tinyint |
101 | Management Codeunit ID | Management Codeunit ID | Normal | Integer | 4 | Management Codeunit ID | int |
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 [Payment Service Setup].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Payment Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Service Setup] LEFT JOIN [User] AS [User] ON [Payment Service Setup].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |