Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5604
Table Type: Company
Table Name: FA Posting Type Setup
Database Table Name: CRONUS UK Ltd_$FA Posting Type 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 FA Posting Type Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$FA Posting Type Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[FA Posting Type]
,[Depreciation Book Code]
,[Part of Book Value]
,[Part of Depreciable Basis]
,[Include in Depr_ Calculation]
,[Include in Gain_Loss Calc_]
,[Reverse before Disposal]
,[Sign]
,[Depreciation Type]
,[Acquisition Type]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$FA Posting Type 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_$FA Posting Type Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Posting Type Setup]
LEFT JOIN
[CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book]
ON
[FA Posting Type Setup].[Depreciation Book Code] = [Depreciation Book].[Code]
LEFT JOIN
[User] AS [User]
ON
[FA Posting Type Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[FA Posting Type Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in FA Posting Type Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | FA Posting Type | FA Posting Type | Normal | Option | 4 | FA Posting Type | int |
Available options are:
| |||||||
2 | Depreciation Book Code | Depreciation Book Code | Normal | Code | 10 | Depreciation Book Code | nvarchar(20) |
Key to join to the Depreciation Book table.Show/hide example querySELECT [FA Posting Type Setup].[Depreciation Book Code] ,[Depreciation Book].[Code] FROM [CRONUS UK Ltd_$FA Posting Type Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Posting Type Setup] LEFT JOIN [CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book] ON [FA Posting Type Setup].[Depreciation Book Code] = [Depreciation Book].[Code] | |||||||
3 | Part of Book Value | Part of Book Value | Normal | Boolean | 4 | Part of Book Value | tinyint |
4 | Part of Depreciable Basis | Part of Depreciable Basis | Normal | Boolean | 4 | Part of Depreciable Basis | tinyint |
5 | Include in Depr. Calculation | Include in Depr. Calculation | Normal | Boolean | 4 | Include in Depr_ Calculation | tinyint |
6 | Include in Gain/Loss Calc. | Include in Gain/Loss Calc. | Normal | Boolean | 4 | Include in Gain_Loss Calc_ | tinyint |
7 | Reverse before Disposal | Reverse before Disposal | Normal | Boolean | 4 | Reverse before Disposal | tinyint |
8 | Sign | Sign | Normal | Option | 4 | Sign | int |
Available options are:
| |||||||
9 | Depreciation Type | Depreciation Type | Normal | Boolean | 4 | Depreciation Type | tinyint |
10 | Acquisition Type | Acquisition Type | Normal | Boolean | 4 | Acquisition Type | tinyint |
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 Posting Type Setup].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$FA Posting Type Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Posting Type Setup] LEFT JOIN [User] AS [User] ON [FA Posting Type Setup].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |