Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5088
Table Type: Company
Table Name: Profile Questionnaire Line
Database Table Name: CRONUS UK Ltd_$Profile Questionnaire Line$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 Profile Questionnaire Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Profile Questionnaire Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Profile Questionnaire Code]
,[Line No_]
,[Type]
,[Description]
,[Multiple Answers]
,[Auto Contact Classification]
,[Customer Class_ Field]
,[Vendor Class_ Field]
,[Contact Class_ Field]
,[Starting Date Formula]
,[Ending Date Formula]
,[Classification Method]
,[Sorting Method]
,[From Value]
,[To Value]
,[Priority]
,[No_ of Decimals]
,[Min_ _ Questions Answered]
,[Wizard Step]
,[Interval Option]
,[Answer Option]
,[Answer Description]
,[Wizard From Value]
,[Wizard To Value]
,[Wizard From Line No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Profile Questionnaire Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Profile Questionnaire Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Profile Questionnaire Line]
LEFT JOIN
[CRONUS UK Ltd_$Profile Questionnaire Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Profile Questionnaire Header]
ON
[Profile Questionnaire Line].[Profile Questionnaire Code] = [Profile Questionnaire Header].[Code]
LEFT JOIN
[User] AS [User]
ON
[Profile Questionnaire Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Profile Questionnaire Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Profile Questionnaire Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Profile Questionnaire Code | Profile Questionnaire Code | Normal | Code | 20 | Profile Questionnaire Code | nvarchar(40) |
Key to join to the Profile Questionnaire Header table.Show/hide example querySELECT [Profile Questionnaire Line].[Profile Questionnaire Code] ,[Profile Questionnaire Header].[Code] FROM [CRONUS UK Ltd_$Profile Questionnaire Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Profile Questionnaire Line] LEFT JOIN [CRONUS UK Ltd_$Profile Questionnaire Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Profile Questionnaire Header] ON [Profile Questionnaire Line].[Profile Questionnaire Code] = [Profile Questionnaire Header].[Code] | |||||||
2 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
3 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
4 | Description | Description | Normal | Text | 250 | Description | nvarchar(500) |
5 | Multiple Answers | Multiple Answers | Normal | Boolean | 4 | Multiple Answers | tinyint |
6 | Auto Contact Classification | Auto Contact Classification | Normal | Boolean | 4 | Auto Contact Classification | tinyint |
7 | Customer Class. Field | Customer Class. Field | Normal | Option | 4 | Customer Class_ Field | int |
Available options are:
| |||||||
8 | Vendor Class. Field | Vendor Class. Field | Normal | Option | 4 | Vendor Class_ Field | int |
Available options are:
| |||||||
9 | Contact Class. Field | Contact Class. Field | Normal | Option | 4 | Contact Class_ Field | int |
Available options are:
| |||||||
10 | Starting Date Formula | Starting Date Formula | Normal | DateFormula | 32 | Starting Date Formula | varchar(32) |
11 | Ending Date Formula | Ending Date Formula | Normal | DateFormula | 32 | Ending Date Formula | varchar(32) |
12 | Classification Method | Classification Method | Normal | Option | 4 | Classification Method | int |
Available options are:
| |||||||
13 | Sorting Method | Sorting Method | Normal | Option | 4 | Sorting Method | int |
Available options are:
| |||||||
14 | From Value | From Value | Normal | Decimal | 12 | From Value | decimal(38,38) |
15 | To Value | To Value | Normal | Decimal | 12 | To Value | decimal(38,38) |
16 | No. of Contacts | No. of Contacts | FlowField | Integer | 4 | ||
17 | Priority | Priority | Normal | Option | 4 | Priority | int |
Available options are:
| |||||||
18 | No. of Decimals | No. of Decimals | Normal | Integer | 4 | No_ of Decimals | int |
19 | Min. % Questions Answered | Min. % Questions Answered | Normal | Decimal | 12 | Min_ _ Questions Answered | decimal(38,38) |
9501 | Wizard Step | Wizard Step | Normal | Option | 4 | Wizard Step | int |
Available options are:
| |||||||
9502 | Interval Option | Interval Option | Normal | Option | 4 | Interval Option | int |
Available options are:
| |||||||
9503 | Answer Option | Answer Option | Normal | Option | 4 | Answer Option | int |
Available options are:
| |||||||
9504 | Answer Description | Answer Description | Normal | Text | 250 | Answer Description | nvarchar(500) |
9505 | Wizard From Value | Wizard From Value | Normal | Decimal | 12 | Wizard From Value | decimal(38,38) |
9506 | Wizard To Value | Wizard To Value | Normal | Decimal | 12 | Wizard To Value | decimal(38,38) |
9707 | Wizard From Line No. | Wizard From Line No. | Normal | Integer | 4 | Wizard From Line No_ | int |
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 [Profile Questionnaire Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Profile Questionnaire Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Profile Questionnaire Line] LEFT JOIN [User] AS [User] ON [Profile Questionnaire Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |