Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5603
Table Type: Company
Table Name: FA Setup
Database Table Name: CRONUS UK Ltd_$FA Setup$437dbf0e-84ff-417a-965d-ed2bb9650972$ext
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 FA Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$FA Setup$437dbf0e-84ff-417a-965d-ed2bb9650972$ext]
Show/hide an example select of all columns by name
SELECT
[Primary Key]
,[Allow Posting to Main Assets]
,[Default Depr_ Book]
,[Allow FA Posting From]
,[Allow FA Posting To]
,[Insurance Depr_ Book]
,[Automatic Insurance Posting]
,[Fixed Asset Nos_]
,[Insurance Nos_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$FA Setup$437dbf0e-84ff-417a-965d-ed2bb9650972$ext]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$FA Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Setup]
LEFT JOIN
[User] AS [User]
ON
[FA Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[FA Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in FA Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Primary Key | Primary Key | Normal | Code | 10 | Primary Key | nvarchar(20) |
3 | Allow Posting to Main Assets | Allow Posting to Main Assets | Normal | Boolean | 4 | Allow Posting to Main Assets | tinyint |
4 | Default Depr. Book | Default Depr. Book | Normal | Code | 10 | Default Depr_ Book | nvarchar(20) |
Key to join to the Depreciation Book table.Show/hide example querySELECT [FA Setup].[Default Depr_ Book] ,[Depreciation Book].[Code] FROM [CRONUS UK Ltd_$FA Setup$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [FA Setup] LEFT JOIN [CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book] ON [FA Setup].[Default Depr_ Book] = [Depreciation Book].[Code] | |||||||
5 | Allow FA Posting From | Allow FA Posting From | Normal | Date | 4 | Allow FA Posting From | datetime |
6 | Allow FA Posting To | Allow FA Posting To | Normal | Date | 4 | Allow FA Posting To | datetime |
7 | Insurance Depr. Book | Insurance Depr. Book | Normal | Code | 10 | Insurance Depr_ Book | nvarchar(20) |
Key to join to the Depreciation Book table.Show/hide example querySELECT [FA Setup].[Insurance Depr_ Book] ,[Depreciation Book].[Code] FROM [CRONUS UK Ltd_$FA Setup$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [FA Setup] LEFT JOIN [CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book] ON [FA Setup].[Insurance Depr_ Book] = [Depreciation Book].[Code] | |||||||
8 | Automatic Insurance Posting | Automatic Insurance Posting | Normal | Boolean | 4 | Automatic Insurance Posting | tinyint |
9 | Fixed Asset Nos. | Fixed Asset Nos. | Normal | Code | 20 | Fixed Asset Nos_ | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [FA Setup].[Fixed Asset Nos_] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$FA Setup$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [FA Setup] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [FA Setup].[Fixed Asset Nos_] = [No. Series].[Code] | |||||||
10 | Insurance Nos. | Insurance Nos. | Normal | Code | 20 | Insurance Nos_ | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [FA Setup].[Insurance Nos_] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$FA Setup$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [FA Setup] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [FA Setup].[Insurance Nos_] = [No. Series].[Code] | |||||||
6090 | LastEntryNo | Last Entry No. Checked | Normal | Integer | 4 | ||
6091 | Last time scanned | Last time scanned | Normal | DateTime | 8 | ||
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 [FA Setup].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$FA Setup$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [FA Setup] LEFT JOIN [User] AS [User] ON [FA Setup].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |