Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5965
Table Type: Company
Table Name: Service Contract Header
Database Table Name: CRONUS UK Ltd_$Service Contract Header$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 Service Contract Header can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Contract No_]
,[Contract Type]
,[Description]
,[Description 2]
,[Status]
,[Change Status]
,[Customer No_]
,[Contact Name]
,[Your Reference]
,[Salesperson Code]
,[Bill-to Customer No_]
,[Ship-to Code]
,[Serv_ Contract Acc_ Gr_ Code]
,[Invoice Period]
,[Last Invoice Date]
,[Next Invoice Date]
,[Starting Date]
,[Expiration Date]
,[First Service Date]
,[Max_ Labor Unit Price]
,[Annual Amount]
,[Amount per Period]
,[Combine Invoices]
,[Prepaid]
,[Next Invoice Period]
,[Service Zone Code]
,[Language Code]
,[Format Region]
,[Cancel Reason Code]
,[Last Price Update Date]
,[Next Price Update Date]
,[Last Price Update _]
,[Response Time (Hours)]
,[Contract Lines on Invoice]
,[Service Period]
,[Payment Terms Code]
,[Invoice after Service]
,[Quote Type]
,[Allow Unbalanced Amounts]
,[Contract Group Code]
,[Service Order Type]
,[Shortcut Dimension 1 Code]
,[Shortcut Dimension 2 Code]
,[Accept Before]
,[Automatic Credit Memos]
,[Template No_]
,[Price Update Period]
,[Price Inv_ Increase Code]
,[Print Increase Text]
,[Currency Code]
,[No_ Series]
,[Probability]
,[Responsibility Center]
,[Phone No_]
,[Fax No_]
,[E-Mail]
,[Next Invoice Period Start]
,[Next Invoice Period End]
,[Payment Method Code]
,[Dimension Set ID]
,[Direct Debit Mandate ID]
,[Contact No_]
,[Bill-to Contact No_]
,[Bill-to Contact]
,[Last Invoice Period End]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[] AS [Service Contract Header]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Service Contract Header].[Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Service Contract Header].[City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser]
ON
[Service Contract Header].[Salesperson Code] = [Salesperson/Purchaser].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
ON
[Service Contract Header].[Bill-to Name] = [Customer].[Name]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Service Contract Header].[Bill-to Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Service Contract Header].[Bill-to City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Ship-to Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ship-to Address]
ON
[Service Contract Header].[Ship-to Code] = [Ship-to Address].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Service Contract Header].[Ship-to Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Service Contract Header].[Ship-to City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Service Zone$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Zone]
ON
[Service Contract Header].[Service Zone Code] = [Service Zone].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
ON
[Service Contract Header].[Language Code] = [Language].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
ON
[Service Contract Header].[Cancel Reason Code] = [Reason Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Payment Terms$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Terms]
ON
[Service Contract Header].[Payment Terms Code] = [Payment Terms].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Contract Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contract Group]
ON
[Service Contract Header].[Contract Group Code] = [Contract Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Service Order Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Type]
ON
[Service Contract Header].[Service Order Type] = [Service Order Type].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Service Contract Header].[Shortcut Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Service Contract Header].[Shortcut Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Service Contract Header].[Currency Code] = [Currency].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Responsibility Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Responsibility Center]
ON
[Service Contract Header].[Responsibility Center] = [Responsibility Center].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
ON
[Service Contract Header].[Reason Code Filter] = [Reason Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
ON
[Service Contract Header].[Item Filter] = [Item].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method]
ON
[Service Contract Header].[Payment Method Code] = [Payment Method].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Service Contract Header].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[Service Contract Header].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Service Contract Header].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Service Contract Header table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Contract No. | Contract No. | Normal | Code | 20 | Contract No_ | nvarchar(40) |
2 | Contract Type | Contract Type | Normal | Option | 4 | Contract Type | int |
Available options are:
| |||||||
3 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
4 | Description 2 | Description 2 | Normal | Text | 50 | Description 2 | nvarchar(100) |
5 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
6 | Change Status | Change Status | Normal | Option | 4 | Change Status | int |
Available options are:
| |||||||
7 | Customer No. | Customer No. | Normal | Code | 20 | Customer No_ | nvarchar(40) |
Key to join to the Customer table.Show/hide example querySELECT [Service Contract Header].[Customer No_] ,[Customer].[No_] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Service Contract Header].[Customer No_] = [Customer].[No_] | |||||||
8 | Name | Name | FlowField | Text | 100 | ||
9 | Address | Address | FlowField | Text | 100 | ||
10 | Address 2 | Address 2 | FlowField | Text | 50 | ||
11 | Post Code | ZIP Code | FlowField | Code | 20 | ||
Key to join to the Post Code table.Show/hide example querySELECT [Service Contract Header].[] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Service Contract Header].[] = [Post Code].[Code] | |||||||
12 | City | City | FlowField | Text | 30 | ||
Key to join to the Post Code table.Show/hide example querySELECT [Service Contract Header].[] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Service Contract Header].[] = [Post Code].[City] | |||||||
13 | Contact Name | Contact Name | Normal | Text | 100 | Contact Name | nvarchar(200) |
14 | Your Reference | Your Reference | Normal | Text | 35 | Your Reference | nvarchar(70) |
15 | Salesperson Code | Salesperson Code | Normal | Code | 20 | Salesperson Code | nvarchar(40) |
Key to join to the Salesperson/Purchaser table.Show/hide example querySELECT [Service Contract Header].[Salesperson Code] ,[Salesperson/Purchaser].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] ON [Service Contract Header].[Salesperson Code] = [Salesperson/Purchaser].[Code] | |||||||
16 | Bill-to Customer No. | Bill-to Customer No. | Normal | Code | 20 | Bill-to Customer No_ | nvarchar(40) |
Key to join to the Customer table.Show/hide example querySELECT [Service Contract Header].[Bill-to Customer No_] ,[Customer].[No_] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Service Contract Header].[Bill-to Customer No_] = [Customer].[No_] | |||||||
17 | Bill-to Name | Bill-to Name | FlowField | Text | 100 | ||
Key to join to the Customer table.Show/hide example querySELECT [Service Contract Header].[] ,[Customer].[Name] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Service Contract Header].[] = [Customer].[Name] | |||||||
18 | Bill-to Address | Bill-to Address | FlowField | Text | 100 | ||
19 | Bill-to Address 2 | Bill-to Address 2 | FlowField | Text | 50 | ||
20 | Bill-to Post Code | Bill-to ZIP Code | FlowField | Code | 20 | ||
Key to join to the Post Code table.Show/hide example querySELECT [Service Contract Header].[] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Service Contract Header].[] = [Post Code].[Code] | |||||||
21 | Bill-to City | Bill-to City | FlowField | Text | 30 | ||
Key to join to the Post Code table.Show/hide example querySELECT [Service Contract Header].[] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Service Contract Header].[] = [Post Code].[City] | |||||||
22 | Ship-to Code | Ship-to Code | Normal | Code | 10 | Ship-to Code | nvarchar(20) |
Key to join to the Ship-to Address table.Show/hide example querySELECT [Service Contract Header].[Ship-to Code] ,[Ship-to Address].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Ship-to Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ship-to Address] ON [Service Contract Header].[Ship-to Code] = [Ship-to Address].[Code] | |||||||
23 | Ship-to Name | Ship-to Name | FlowField | Text | 100 | ||
24 | Ship-to Address | Ship-to Address | FlowField | Text | 100 | ||
25 | Ship-to Address 2 | Ship-to Address 2 | FlowField | Text | 50 | ||
26 | Ship-to Post Code | Ship-to ZIP Code | FlowField | Code | 20 | ||
Key to join to the Post Code table.Show/hide example querySELECT [Service Contract Header].[] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Service Contract Header].[] = [Post Code].[Code] | |||||||
27 | Ship-to City | Ship-to City | FlowField | Text | 30 | ||
Key to join to the Post Code table.Show/hide example querySELECT [Service Contract Header].[] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Service Contract Header].[] = [Post Code].[City] | |||||||
28 | Serv. Contract Acc. Gr. Code | Serv. Contract Acc. Gr. Code | Normal | Code | 10 | Serv_ Contract Acc_ Gr_ Code | nvarchar(20) |
Key to join to the Service Contract Account Group table.Show/hide example querySELECT [Service Contract Header].[Serv_ Contract Acc_ Gr_ Code] ,[Service Contract Account Group].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Service Contract Account Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Account Group] ON [Service Contract Header].[Serv_ Contract Acc_ Gr_ Code] = [Service Contract Account Group].[Code] | |||||||
32 | Invoice Period | Invoice Period | Normal | Option | 4 | Invoice Period | int |
Available options are:
| |||||||
33 | Last Invoice Date | Last Invoice Date | Normal | Date | 4 | Last Invoice Date | datetime |
34 | Next Invoice Date | Next Invoice Date | Normal | Date | 4 | Next Invoice Date | datetime |
35 | Starting Date | Starting Date | Normal | Date | 4 | Starting Date | datetime |
36 | Expiration Date | Expiration Date | Normal | Date | 4 | Expiration Date | datetime |
38 | First Service Date | First Service Date | Normal | Date | 4 | First Service Date | datetime |
39 | Max. Labor Unit Price | Max. Labor Unit Price | Normal | Decimal | 12 | Max_ Labor Unit Price | decimal(38,38) |
40 | Calcd. Annual Amount | Calcd. Annual Amount | FlowField | Decimal | 12 | ||
42 | Annual Amount | Annual Amount | Normal | Decimal | 12 | Annual Amount | decimal(38,38) |
43 | Amount per Period | Amount per Period | Normal | Decimal | 12 | Amount per Period | decimal(38,38) |
44 | Combine Invoices | Combine Invoices | Normal | Boolean | 4 | Combine Invoices | tinyint |
45 | Prepaid | Prepaid | Normal | Boolean | 4 | Prepaid | tinyint |
46 | Next Invoice Period | Next Invoice Period | Normal | Text | 30 | Next Invoice Period | nvarchar(60) |
47 | Service Zone Code | Service Zone Code | Normal | Code | 10 | Service Zone Code | nvarchar(20) |
Key to join to the Service Zone table.Show/hide example querySELECT [Service Contract Header].[Service Zone Code] ,[Service Zone].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Service Zone$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Zone] ON [Service Contract Header].[Service Zone Code] = [Service Zone].[Code] | |||||||
48 | Language Code | Language Code | Normal | Code | 10 | Language Code | nvarchar(20) |
Key to join to the Language table.Show/hide example querySELECT [Service Contract Header].[Language Code] ,[Language].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language] ON [Service Contract Header].[Language Code] = [Language].[Code] | |||||||
49 | Format Region | Format Region | Normal | Text | 80 | Format Region | nvarchar(160) |
50 | Cancel Reason Code | Cancel Reason Code | Normal | Code | 10 | Cancel Reason Code | nvarchar(20) |
Key to join to the Reason Code table.Show/hide example querySELECT [Service Contract Header].[Cancel Reason Code] ,[Reason Code].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code] ON [Service Contract Header].[Cancel Reason Code] = [Reason Code].[Code] | |||||||
51 | Last Price Update Date | Last Price Update Date | Normal | Date | 4 | Last Price Update Date | datetime |
52 | Next Price Update Date | Next Price Update Date | Normal | Date | 4 | Next Price Update Date | datetime |
53 | Last Price Update % | Last Price Update % | Normal | Decimal | 12 | Last Price Update _ | decimal(38,38) |
55 | Response Time (Hours) | Response Time (Hours) | Normal | Decimal | 12 | Response Time (Hours) | decimal(38,38) |
56 | Contract Lines on Invoice | Contract Lines on Invoice | Normal | Boolean | 4 | Contract Lines on Invoice | tinyint |
57 | No. of Posted Invoices | No. of Posted Invoices | FlowField | Integer | 4 | ||
58 | No. of Unposted Invoices | No. of Unposted Invoices | FlowField | Integer | 4 | ||
59 | Service Period | Service Period | Normal | DateFormula | 32 | Service Period | varchar(32) |
60 | Payment Terms Code | Payment Terms Code | Normal | Code | 10 | Payment Terms Code | nvarchar(20) |
Key to join to the Payment Terms table.Show/hide example querySELECT [Service Contract Header].[Payment Terms Code] ,[Payment Terms].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Payment Terms$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Terms] ON [Service Contract Header].[Payment Terms Code] = [Payment Terms].[Code] | |||||||
62 | Invoice after Service | Invoice after Service | Normal | Boolean | 4 | Invoice after Service | tinyint |
63 | Quote Type | Quote Type | Normal | Option | 4 | Quote Type | int |
Available options are:
| |||||||
64 | Allow Unbalanced Amounts | Allow Unbalanced Amounts | Normal | Boolean | 4 | Allow Unbalanced Amounts | tinyint |
65 | Contract Group Code | Contract Group Code | Normal | Code | 10 | Contract Group Code | nvarchar(20) |
Key to join to the Contract Group table.Show/hide example querySELECT [Service Contract Header].[Contract Group Code] ,[Contract Group].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Contract Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contract Group] ON [Service Contract Header].[Contract Group Code] = [Contract Group].[Code] | |||||||
66 | Service Order Type | Service Order Type | Normal | Code | 10 | Service Order Type | nvarchar(20) |
Key to join to the Service Order Type table.Show/hide example querySELECT [Service Contract Header].[Service Order Type] ,[Service Order Type].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Service Order Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Type] ON [Service Contract Header].[Service Order Type] = [Service Order Type].[Code] | |||||||
67 | Shortcut Dimension 1 Code | Shortcut Dimension 1 Code | Normal | Code | 20 | Shortcut Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Service Contract Header].[Shortcut Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Service Contract Header].[Shortcut Dimension 1 Code] = [Dimension].[Code] | |||||||
68 | Shortcut Dimension 2 Code | Shortcut Dimension 2 Code | Normal | Code | 20 | Shortcut Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Service Contract Header].[Shortcut Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Service Contract Header].[Shortcut Dimension 2 Code] = [Dimension].[Code] | |||||||
69 | Accept Before | Accept Before | Normal | Date | 4 | Accept Before | datetime |
71 | Automatic Credit Memos | Automatic Credit Memos | Normal | Boolean | 4 | Automatic Credit Memos | tinyint |
74 | Template No. | Template No. | Normal | Code | 20 | Template No_ | nvarchar(40) |
75 | Price Update Period | Price Update Period | Normal | DateFormula | 32 | Price Update Period | varchar(32) |
79 | Price Inv. Increase Code | Price Inv. Increase Code | Normal | Code | 20 | Price Inv_ Increase Code | nvarchar(40) |
Key to join to the Standard Text table.Show/hide example querySELECT [Service Contract Header].[Price Inv_ Increase Code] ,[Standard Text].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Standard Text$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Text] ON [Service Contract Header].[Price Inv_ Increase Code] = [Standard Text].[Code] | |||||||
80 | Print Increase Text | Print Increase Text | Normal | Boolean | 4 | Print Increase Text | tinyint |
81 | Currency Code | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Service Contract Header].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Service Contract Header].[Currency Code] = [Currency].[Code] | |||||||
82 | No. Series | No. Series | Normal | Code | 20 | No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Service Contract Header].[No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Service Contract Header].[No_ Series] = [No. Series].[Code] | |||||||
83 | Probability | Probability | Normal | Decimal | 12 | Probability | decimal(38,38) |
84 | Comment | Comment | FlowField | Boolean | 4 | ||
85 | Responsibility Center | Responsibility Center | Normal | Code | 10 | Responsibility Center | nvarchar(20) |
Key to join to the Responsibility Center table.Show/hide example querySELECT [Service Contract Header].[Responsibility Center] ,[Responsibility Center].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Responsibility Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Responsibility Center] ON [Service Contract Header].[Responsibility Center] = [Responsibility Center].[Code] | |||||||
86 | Phone No. | Phone No. | Normal | Text | 30 | Phone No_ | nvarchar(60) |
87 | Fax No. | Fax No. | Normal | Text | 30 | Fax No_ | nvarchar(60) |
88 | Normal | Text | 80 | nvarchar(160) | |||
89 | Bill-to County | Bill-to State | FlowField | Text | 30 | ||
90 | County | State | FlowField | Text | 30 | ||
91 | Ship-to County | Ship-to State | FlowField | Text | 30 | ||
92 | Country/Region Code | Country/Region Code | FlowField | Code | 10 | ||
93 | Bill-to Country/Region Code | Bill-to Country/Region Code | FlowField | Code | 10 | ||
94 | Ship-to Country/Region Code | Ship-to Country/Region Code | FlowField | Code | 10 | ||
95 | Name 2 | Name 2 | FlowField | Text | 50 | ||
96 | Bill-to Name 2 | Bill-to Name 2 | FlowField | Text | 50 | ||
97 | Ship-to Name 2 | Ship-to Name 2 | FlowField | Text | 50 | ||
98 | Next Invoice Period Start | Next Invoice Period Start | Normal | Date | 4 | Next Invoice Period Start | datetime |
99 | Next Invoice Period End | Next Invoice Period End | Normal | Date | 4 | Next Invoice Period End | datetime |
100 | Contract Invoice Amount | Contract Invoice Amount | FlowField | Decimal | 12 | ||
101 | Contract Prepaid Amount | Contract Prepaid Amount | FlowField | Decimal | 12 | ||
102 | Contract Discount Amount | Contract Discount Amount | FlowField | Decimal | 12 | ||
103 | Contract Cost Amount | Contract Cost Amount | FlowField | Decimal | 12 | ||
104 | Contract Gain/Loss Amount | Contract Gain/Loss Amount | FlowField | Decimal | 12 | ||
106 | No. of Posted Credit Memos | No. of Posted Credit Memos | FlowField | Integer | 4 | ||
107 | No. of Unposted Credit Memos | No. of Unposted Credit Memos | FlowField | Integer | 4 | ||
140 | Type Filter | Type Filter | FlowFilter | Option | 4 | ||
141 | Reason Code Filter | Reason Code Filter | FlowFilter | Code | 10 | ||
Key to join to the Reason Code table.Show/hide example querySELECT [Service Contract Header].[] ,[Reason Code].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code] ON [Service Contract Header].[] = [Reason Code].[Code] | |||||||
142 | Posted Service Order Filter | Posted Service Order Filter | FlowFilter | Code | 20 | ||
143 | Date Filter | Date Filter | FlowFilter | Date | 4 | ||
144 | Item Filter | Item Filter | FlowFilter | Code | 20 | ||
Key to join to the Item table.Show/hide example querySELECT [Service Contract Header].[] ,[Item].[No_] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Service Contract Header].[] = [Item].[No_] | |||||||
204 | Payment Method Code | Payment Method Code | Normal | Code | 10 | Payment Method Code | nvarchar(20) |
Key to join to the Payment Method table.Show/hide example querySELECT [Service Contract Header].[Payment Method Code] ,[Payment Method].[Code] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method] ON [Service Contract Header].[Payment Method Code] = [Payment Method].[Code] | |||||||
480 | Dimension Set ID | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example querySELECT [Service Contract Header].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Service Contract Header].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
1200 | Direct Debit Mandate ID | Direct Debit Mandate ID | Normal | Code | 35 | Direct Debit Mandate ID | nvarchar(70) |
5050 | Contact No. | Contact No. | Normal | Code | 20 | Contact No_ | nvarchar(40) |
Key to join to the Contact table.Show/hide example querySELECT [Service Contract Header].[Contact No_] ,[Contact].[No_] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact] ON [Service Contract Header].[Contact No_] = [Contact].[No_] | |||||||
5051 | Bill-to Contact No. | Bill-to Contact No. | Normal | Code | 20 | Bill-to Contact No_ | nvarchar(40) |
Key to join to the Contact table.Show/hide example querySELECT [Service Contract Header].[Bill-to Contact No_] ,[Contact].[No_] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact] ON [Service Contract Header].[Bill-to Contact No_] = [Contact].[No_] | |||||||
5052 | Bill-to Contact | Bill-to Contact | Normal | Text | 100 | Bill-to Contact | nvarchar(200) |
5053 | Last Invoice Period End | Last Invoice Period End | Normal | Date | 4 | Last Invoice Period End | datetime |
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 [Service Contract Header].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Service Contract Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Contract Header] LEFT JOIN [User] AS [User] ON [Service Contract Header].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |