Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/4690
Table Type: Company
Table Name: Recurrence Schedule
Database Table Name: CRONUS UK Ltd_$Recurrence Schedule$63ca2fa4-4f03-4f2b-a480-172fef340d3f
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 Recurrence Schedule can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Recurrence Schedule$63ca2fa4-4f03-4f2b-a480-172fef340d3f]
Show/hide an example select of all columns by name
SELECT
[ID]
,[Pattern]
,[Recurs Every]
,[Monthly Pattern]
,[Recurs on Day]
,[Ordinal Recurrence No_]
,[Start Time]
,[Recurs on Monday]
,[Recurs on Tuesday]
,[Recurs on Wednesday]
,[Recurs on Thursday]
,[Recurs on Friday]
,[Recurs on Saturday]
,[Recurs on Sunday]
,[Weekday]
,[Month]
,[Start Date]
,[End Date]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Recurrence Schedule$63ca2fa4-4f03-4f2b-a480-172fef340d3f]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Recurrence Schedule$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Recurrence Schedule]
LEFT JOIN
[User] AS [User]
ON
[Recurrence Schedule].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Recurrence Schedule].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Recurrence Schedule table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | ID | ID | Normal | GUID | 16 | ID | uniqueidentifier |
2 | Pattern | Pattern | Normal | Option | 4 | Pattern | int |
Available options are:
| |||||||
3 | Recurs Every | Recurs Every | Normal | Integer | 4 | Recurs Every | int |
4 | Monthly Pattern | Monthly Pattern | Normal | Option | 4 | Monthly Pattern | int |
Available options are:
| |||||||
5 | Recurs on Day | Recurs on Day | Normal | Integer | 4 | Recurs on Day | int |
6 | Ordinal Recurrence No. | Ordinal Recurrence No. | Normal | Option | 4 | Ordinal Recurrence No_ | int |
Available options are:
| |||||||
8 | Start Time | Start Time | Normal | Time | 4 | Start Time | datetime |
9 | Recurs on Monday | Recurs on Monday | Normal | Boolean | 4 | Recurs on Monday | tinyint |
10 | Recurs on Tuesday | Recurs on Tuesday | Normal | Boolean | 4 | Recurs on Tuesday | tinyint |
11 | Recurs on Wednesday | Recurs on Wednesday | Normal | Boolean | 4 | Recurs on Wednesday | tinyint |
12 | Recurs on Thursday | Recurs on Thursday | Normal | Boolean | 4 | Recurs on Thursday | tinyint |
13 | Recurs on Friday | Recurs on Friday | Normal | Boolean | 4 | Recurs on Friday | tinyint |
14 | Recurs on Saturday | Recurs on Saturday | Normal | Boolean | 4 | Recurs on Saturday | tinyint |
15 | Recurs on Sunday | Recurs on Sunday | Normal | Boolean | 4 | Recurs on Sunday | tinyint |
16 | Weekday | Weekday | Normal | Option | 4 | Weekday | int |
Available options are:
| |||||||
17 | Month | Month | Normal | Option | 4 | Month | int |
Available options are:
| |||||||
21 | Start Date | Start Date | Normal | Date | 4 | Start Date | datetime |
22 | End Date | End Date | Normal | Date | 4 | End Date | 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 [Recurrence Schedule].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Recurrence Schedule$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Recurrence Schedule] LEFT JOIN [User] AS [User] ON [Recurrence Schedule].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |