Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/91
Table Type: Company
Table Name: User Setup
Database Table Name: CRONUS UK Ltd_$User 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 User Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[User ID]
,[Allow Posting From]
,[Allow Posting To]
,[Register Time]
,[Allow Deferral Posting From]
,[Allow Deferral Posting To]
,[Salespers__Purch_ Code]
,[Approver ID]
,[Sales Amount Approval Limit]
,[Purchase Amount Approval Limit]
,[Unlimited Sales Approval]
,[Unlimited Purchase Approval]
,[Substitute]
,[E-Mail]
,[Phone No_]
,[Request Amount Approval Limit]
,[Unlimited Request Approval]
,[Approval Administrator]
,[Sales Invoice Posting Policy]
,[Purch_ Invoice Posting Policy]
,[Time Sheet Admin_]
,[Allow FA Posting From]
,[Allow FA Posting To]
,[Sales Resp_ Ctr_ Filter]
,[Purchase Resp_ Ctr_ Filter]
,[Service Resp_ Ctr_ Filter]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$User 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_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup]
LEFT JOIN
[CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup]
ON
[User Setup].[Approver ID] = [User Setup].[User ID]
LEFT JOIN
[CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup]
ON
[User Setup].[Substitute] = [User Setup].[User ID]
LEFT JOIN
[User] AS [User]
ON
[User Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[User Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in User Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | User ID | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
2 | Allow Posting From | Allow Posting From | Normal | Date | 4 | Allow Posting From | datetime |
3 | Allow Posting To | Allow Posting To | Normal | Date | 4 | Allow Posting To | datetime |
4 | Register Time | Register Time | Normal | Boolean | 4 | Register Time | tinyint |
5 | Allow Deferral Posting From | Allow Deferral Posting From | Normal | Date | 4 | Allow Deferral Posting From | datetime |
6 | Allow Deferral Posting To | Allow Deferral Posting To | Normal | Date | 4 | Allow Deferral Posting To | datetime |
10 | Salespers./Purch. Code | Salespers./Purch. Code | Normal | Code | 20 | Salespers__Purch_ Code | nvarchar(40) |
11 | Approver ID | Approver ID | Normal | Code | 50 | Approver ID | nvarchar(100) |
12 | Sales Amount Approval Limit | Sales Amount Approval Limit | Normal | Integer | 4 | Sales Amount Approval Limit | int |
13 | Purchase Amount Approval Limit | Purchase Amount Approval Limit | Normal | Integer | 4 | Purchase Amount Approval Limit | int |
14 | Unlimited Sales Approval | Unlimited Sales Approval | Normal | Boolean | 4 | Unlimited Sales Approval | tinyint |
15 | Unlimited Purchase Approval | Unlimited Purchase Approval | Normal | Boolean | 4 | Unlimited Purchase Approval | tinyint |
16 | Substitute | Substitute | Normal | Code | 50 | Substitute | nvarchar(100) |
17 | Normal | Text | 100 | nvarchar(200) | |||
18 | Phone No. | Phone No. | Normal | Text | 30 | Phone No_ | nvarchar(60) |
19 | Request Amount Approval Limit | Request Amount Approval Limit | Normal | Integer | 4 | Request Amount Approval Limit | int |
20 | Unlimited Request Approval | Unlimited Request Approval | Normal | Boolean | 4 | Unlimited Request Approval | tinyint |
21 | Approval Administrator | Approval Administrator | Normal | Boolean | 4 | Approval Administrator | tinyint |
31 | License Type | License Type | FlowField | Option | 4 | ||
80 | Sales Invoice Posting Policy | Sales Invoice Posting Policy | Normal | Option | 4 | Sales Invoice Posting Policy | int |
Available options are:
| |||||||
90 | Purch. Invoice Posting Policy | Purch. Invoice Posting Policy | Normal | Option | 4 | Purch_ Invoice Posting Policy | int |
Available options are:
| |||||||
950 | Time Sheet Admin. | Time Sheet Admin. | Normal | Boolean | 4 | Time Sheet Admin_ | tinyint |
5600 | Allow FA Posting From | Allow FA Posting From | Normal | Date | 4 | Allow FA Posting From | datetime |
5601 | Allow FA Posting To | Allow FA Posting To | Normal | Date | 4 | Allow FA Posting To | datetime |
5700 | Sales Resp. Ctr. Filter | Sales Resp. Ctr. Filter | Normal | Code | 10 | Sales Resp_ Ctr_ Filter | nvarchar(20) |
Key to join to the Responsibility Center table.Show/hide example querySELECT [User Setup].[Sales Resp_ Ctr_ Filter] ,[Responsibility Center].[Code] FROM [CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup] LEFT JOIN [CRONUS UK Ltd_$Responsibility Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Responsibility Center] ON [User Setup].[Sales Resp_ Ctr_ Filter] = [Responsibility Center].[Code] | |||||||
5701 | Purchase Resp. Ctr. Filter | Purchase Resp. Ctr. Filter | Normal | Code | 10 | Purchase Resp_ Ctr_ Filter | nvarchar(20) |
Key to join to the Responsibility Center table.Show/hide example querySELECT [User Setup].[Purchase Resp_ Ctr_ Filter] ,[Responsibility Center].[Code] FROM [CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup] LEFT JOIN [CRONUS UK Ltd_$Responsibility Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Responsibility Center] ON [User Setup].[Purchase Resp_ Ctr_ Filter] = [Responsibility Center].[Code] | |||||||
5900 | Service Resp. Ctr. Filter | Service Resp. Ctr. Filter | Normal | Code | 10 | Service Resp_ Ctr_ Filter | nvarchar(20) |
Key to join to the Responsibility Center table.Show/hide example querySELECT [User Setup].[Service Resp_ Ctr_ Filter] ,[Responsibility Center].[Code] FROM [CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup] LEFT JOIN [CRONUS UK Ltd_$Responsibility Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Responsibility Center] ON [User Setup].[Service Resp_ Ctr_ Filter] = [Responsibility Center].[Code] | |||||||
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 [User Setup].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup] LEFT JOIN [User] AS [User] ON [User Setup].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |