Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5612
Table Type: Company
Table Name: FA Depreciation Book
Database Table Name: CRONUS UK Ltd_$FA Depreciation Book$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 Depreciation Book can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$FA Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[FA No_]
,[Depreciation Book Code]
,[Depreciation Method]
,[Depreciation Starting Date]
,[Straight-Line _]
,[No_ of Depreciation Years]
,[No_ of Depreciation Months]
,[Fixed Depr_ Amount]
,[Declining-Balance _]
,[Depreciation Table Code]
,[Final Rounding Amount]
,[Ending Book Value]
,[FA Posting Group]
,[Depreciation Ending Date]
,[Acquisition Date]
,[G_L Acquisition Date]
,[Disposal Date]
,[Last Acquisition Cost Date]
,[Last Depreciation Date]
,[Last Write-Down Date]
,[Last Appreciation Date]
,[Last Custom 1 Date]
,[Last Custom 2 Date]
,[Last Salvage Value Date]
,[FA Exchange Rate]
,[Fixed Depr_ Amount below Zero]
,[Last Date Modified]
,[First User-Defined Depr_ Date]
,[Use FA Ledger Check]
,[Last Maintenance Date]
,[Depr_ below Zero _]
,[Projected Disposal Date]
,[Projected Proceeds on Disposal]
,[Depr_ Starting Date (Custom 1)]
,[Depr_ Ending Date (Custom 1)]
,[Accum_ Depr_ _ (Custom 1)]
,[Depr_ This Year _ (Custom 1)]
,[Property Class (Custom 1)]
,[Description]
,[Main Asset_Component]
,[Component of Main Asset]
,[FA Add_-Currency Factor]
,[Use Half-Year Convention]
,[Use DB_ First Fiscal Year]
,[Temp_ Ending Date]
,[Temp_ Fixed Depr_ Amount]
,[Ignore Def_ Ending Book Value]
,[Default FA Depreciation Book]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$FA Depreciation Book$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 Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Depreciation Book]
LEFT JOIN
[CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book]
ON
[FA Depreciation Book].[Depreciation Book Code] = [Depreciation Book].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Depreciation Table Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Table Header]
ON
[FA Depreciation Book].[Depreciation Table Code] = [Depreciation Table Header].[Code]
LEFT JOIN
[CRONUS UK Ltd_$FA Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Posting Group]
ON
[FA Depreciation Book].[FA Posting Group] = [FA Posting Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Maintenance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Maintenance]
ON
[FA Depreciation Book].[Maintenance Code Filter] = [Maintenance].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fixed Asset]
ON
[FA Depreciation Book].[Component of Main Asset] = [Fixed Asset].[No_]
LEFT JOIN
[User] AS [User]
ON
[FA Depreciation Book].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[FA Depreciation Book].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in FA Depreciation Book table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | FA No. | FA No. | Normal | Code | 20 | FA No_ | nvarchar(40) |
Key to join to the Fixed Asset table.Show/hide example querySELECT [FA Depreciation Book].[FA No_] ,[Fixed Asset].[No_] FROM [CRONUS UK Ltd_$FA Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Depreciation Book] LEFT JOIN [CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fixed Asset] ON [FA Depreciation Book].[FA No_] = [Fixed Asset].[No_] | |||||||
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 Depreciation Book].[Depreciation Book Code] ,[Depreciation Book].[Code] FROM [CRONUS UK Ltd_$FA Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Depreciation Book] LEFT JOIN [CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book] ON [FA Depreciation Book].[Depreciation Book Code] = [Depreciation Book].[Code] | |||||||
3 | Depreciation Method | Depreciation Method | Normal | Option | 4 | Depreciation Method | int |
Available options are:
| |||||||
4 | Depreciation Starting Date | Depreciation Starting Date | Normal | Date | 4 | Depreciation Starting Date | datetime |
5 | Straight-Line % | Straight-Line % | Normal | Decimal | 12 | Straight-Line _ | decimal(38,38) |
6 | No. of Depreciation Years | No. of Depreciation Years | Normal | Decimal | 12 | No_ of Depreciation Years | decimal(38,38) |
7 | No. of Depreciation Months | No. of Depreciation Months | Normal | Decimal | 12 | No_ of Depreciation Months | decimal(38,38) |
8 | Fixed Depr. Amount | Fixed Depr. Amount | Normal | Decimal | 12 | Fixed Depr_ Amount | decimal(38,38) |
9 | Declining-Balance % | Declining-Balance % | Normal | Decimal | 12 | Declining-Balance _ | decimal(38,38) |
10 | Depreciation Table Code | Depreciation Table Code | Normal | Code | 10 | Depreciation Table Code | nvarchar(20) |
Key to join to the Depreciation Table Header table.Show/hide example querySELECT [FA Depreciation Book].[Depreciation Table Code] ,[Depreciation Table Header].[Code] FROM [CRONUS UK Ltd_$FA Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Depreciation Book] LEFT JOIN [CRONUS UK Ltd_$Depreciation Table Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Table Header] ON [FA Depreciation Book].[Depreciation Table Code] = [Depreciation Table Header].[Code] | |||||||
11 | Final Rounding Amount | Final Rounding Amount | Normal | Decimal | 12 | Final Rounding Amount | decimal(38,38) |
12 | Ending Book Value | Ending Book Value | Normal | Decimal | 12 | Ending Book Value | decimal(38,38) |
13 | FA Posting Group | FA Posting Group | Normal | Code | 20 | FA Posting Group | nvarchar(40) |
Key to join to the FA Posting Group table.Show/hide example querySELECT [FA Depreciation Book].[FA Posting Group] ,[FA Posting Group].[Code] FROM [CRONUS UK Ltd_$FA Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Depreciation Book] LEFT JOIN [CRONUS UK Ltd_$FA Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Posting Group] ON [FA Depreciation Book].[FA Posting Group] = [FA Posting Group].[Code] | |||||||
14 | Depreciation Ending Date | Depreciation Ending Date | Normal | Date | 4 | Depreciation Ending Date | datetime |
15 | Acquisition Cost | Acquisition Cost | FlowField | Decimal | 12 | ||
16 | Depreciation | Depreciation | FlowField | Decimal | 12 | ||
17 | Book Value | Book Value | FlowField | Decimal | 12 | ||
18 | Proceeds on Disposal | Proceeds on Disposal | FlowField | Decimal | 12 | ||
19 | Gain/Loss | Gain/Loss | FlowField | Decimal | 12 | ||
20 | Write-Down | Write-Down | FlowField | Decimal | 12 | ||
21 | Appreciation | Appreciation | FlowField | Decimal | 12 | ||
22 | Custom 1 | Custom 1 | FlowField | Decimal | 12 | ||
23 | Custom 2 | Custom 2 | FlowField | Decimal | 12 | ||
24 | Depreciable Basis | Depreciable Basis | FlowField | Decimal | 12 | ||
25 | Salvage Value | Salvage Value | FlowField | Decimal | 12 | ||
26 | Book Value on Disposal | Book Value on Disposal | FlowField | Decimal | 12 | ||
27 | Maintenance | Maintenance | FlowField | Decimal | 12 | ||
28 | Maintenance Code Filter | Maintenance Code Filter | FlowFilter | Code | 10 | ||
Key to join to the Maintenance table.Show/hide example querySELECT [FA Depreciation Book].[] ,[Maintenance].[Code] FROM [CRONUS UK Ltd_$FA Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Depreciation Book] LEFT JOIN [CRONUS UK Ltd_$Maintenance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Maintenance] ON [FA Depreciation Book].[] = [Maintenance].[Code] | |||||||
29 | FA Posting Date Filter | FA Posting Date Filter | FlowFilter | Date | 4 | ||
30 | Acquisition Date | Acquisition Date | Normal | Date | 4 | Acquisition Date | datetime |
31 | G/L Acquisition Date | G/L Acquisition Date | Normal | Date | 4 | G_L Acquisition Date | datetime |
32 | Disposal Date | Disposal Date | Normal | Date | 4 | Disposal Date | datetime |
33 | Last Acquisition Cost Date | Last Acquisition Cost Date | Normal | Date | 4 | Last Acquisition Cost Date | datetime |
34 | Last Depreciation Date | Last Depreciation Date | Normal | Date | 4 | Last Depreciation Date | datetime |
35 | Last Write-Down Date | Last Write-Down Date | Normal | Date | 4 | Last Write-Down Date | datetime |
36 | Last Appreciation Date | Last Appreciation Date | Normal | Date | 4 | Last Appreciation Date | datetime |
37 | Last Custom 1 Date | Last Custom 1 Date | Normal | Date | 4 | Last Custom 1 Date | datetime |
38 | Last Custom 2 Date | Last Custom 2 Date | Normal | Date | 4 | Last Custom 2 Date | datetime |
39 | Last Salvage Value Date | Last Salvage Value Date | Normal | Date | 4 | Last Salvage Value Date | datetime |
40 | FA Exchange Rate | FA Exchange Rate | Normal | Decimal | 12 | FA Exchange Rate | decimal(38,38) |
41 | Fixed Depr. Amount below Zero | Fixed Depr. Amount below Zero | Normal | Decimal | 12 | Fixed Depr_ Amount below Zero | decimal(38,38) |
42 | Last Date Modified | Last Date Modified | Normal | Date | 4 | Last Date Modified | datetime |
43 | First User-Defined Depr. Date | First User-Defined Depr. Date | Normal | Date | 4 | First User-Defined Depr_ Date | datetime |
44 | Use FA Ledger Check | Use FA Ledger Check | Normal | Boolean | 4 | Use FA Ledger Check | tinyint |
45 | Last Maintenance Date | Last Maintenance Date | Normal | Date | 4 | Last Maintenance Date | datetime |
46 | Depr. below Zero % | Depr. below Zero % | Normal | Decimal | 12 | Depr_ below Zero _ | decimal(38,38) |
47 | Projected Disposal Date | Projected Disposal Date | Normal | Date | 4 | Projected Disposal Date | datetime |
48 | Projected Proceeds on Disposal | Projected Proceeds on Disposal | Normal | Decimal | 12 | Projected Proceeds on Disposal | decimal(38,38) |
50 | Depr. Starting Date (Custom 1) | Depr. Starting Date (Custom 1) | Normal | Date | 4 | Depr_ Starting Date (Custom 1) | datetime |
51 | Depr. Ending Date (Custom 1) | Depr. Ending Date (Custom 1) | Normal | Date | 4 | Depr_ Ending Date (Custom 1) | datetime |
52 | Accum. Depr. % (Custom 1) | Accum. Depr. % (Custom 1) | Normal | Decimal | 12 | Accum_ Depr_ _ (Custom 1) | decimal(38,38) |
53 | Depr. This Year % (Custom 1) | Depr. This Year % (Custom 1) | Normal | Decimal | 12 | Depr_ This Year _ (Custom 1) | decimal(38,38) |
54 | Property Class (Custom 1) | Property Class (Custom 1) | Normal | Option | 4 | Property Class (Custom 1) | int |
Available options are:
| |||||||
55 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
56 | Main Asset/Component | Main Asset/Component | Normal | Option | 4 | Main Asset_Component | int |
57 | Component of Main Asset | Component of Main Asset | Normal | Code | 20 | Component of Main Asset | nvarchar(40) |
Key to join to the Fixed Asset table.Show/hide example querySELECT [FA Depreciation Book].[Component of Main Asset] ,[Fixed Asset].[No_] FROM [CRONUS UK Ltd_$FA Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Depreciation Book] LEFT JOIN [CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fixed Asset] ON [FA Depreciation Book].[Component of Main Asset] = [Fixed Asset].[No_] | |||||||
58 | FA Add.-Currency Factor | FA Add.-Currency Factor | Normal | Decimal | 12 | FA Add_-Currency Factor | decimal(38,38) |
59 | Use Half-Year Convention | Use Half-Year Convention | Normal | Boolean | 4 | Use Half-Year Convention | tinyint |
60 | Use DB% First Fiscal Year | Use DB% First Fiscal Year | Normal | Boolean | 4 | Use DB_ First Fiscal Year | tinyint |
61 | Temp. Ending Date | Temp. Ending Date | Normal | Date | 4 | Temp_ Ending Date | datetime |
62 | Temp. Fixed Depr. Amount | Temp. Fixed Depr. Amount | Normal | Decimal | 12 | Temp_ Fixed Depr_ Amount | decimal(38,38) |
63 | Ignore Def. Ending Book Value | Ignore Def. Ending Book Value | Normal | Boolean | 4 | Ignore Def_ Ending Book Value | tinyint |
70 | Default FA Depreciation Book | Default FA Depreciation Book | Normal | Boolean | 4 | Default FA Depreciation Book | 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 Depreciation Book].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$FA Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Depreciation Book] LEFT JOIN [User] AS [User] ON [FA Depreciation Book].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |