Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5093
Table Type: Company
Table Name: Opportunity Entry
Database Table Name: CRONUS UK Ltd_$Opportunity Entry$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 Opportunity Entry can be queried.
Show/hide an example select of all columns
Show/hide an example select of all columns by name
Show/hide an example select of all columns including those from all joined tables
Show/hide columns in Opportunity Entry table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Entry No. ![]() | Entry No. | Normal | Integer | 4 | Entry No_ | int |
2 | Opportunity No. ![]() ![]() | Opportunity No. | Normal | Code | 20 | Opportunity No_ | nvarchar(40) |
Key to join to the Opportunity table.Show/hide example query | |||||||
3 | Sales Cycle Code ![]() | Sales Cycle Code | Normal | Code | 10 | Sales Cycle Code | nvarchar(20) |
Key to join to the Sales Cycle table.Show/hide example query | |||||||
4 | Sales Cycle Stage ![]() | Sales Cycle Stage | Normal | Integer | 4 | Sales Cycle Stage | int |
5 | Contact No. ![]() | Contact No. | Normal | Code | 20 | Contact No_ | nvarchar(40) |
Key to join to the Contact table.Show/hide example query | |||||||
6 | Contact Company No. ![]() | Contact Company No. | Normal | Code | 20 | Contact Company No_ | nvarchar(40) |
7 | Salesperson Code ![]() | Salesperson Code | Normal | Code | 20 | Salesperson Code | nvarchar(40) |
Key to join to the Salesperson/Purchaser table.Show/hide example query | |||||||
8 | Campaign No. ![]() | Campaign No. | Normal | Code | 20 | Campaign No_ | nvarchar(40) |
Key to join to the Campaign table.Show/hide example query | |||||||
9 | Date of Change ![]() | Date of Change | Normal | Date | 4 | Date of Change | datetime |
10 | Active ![]() | Active | Normal | Boolean | 4 | Active | tinyint |
11 | Date Closed ![]() | Date Closed | Normal | Date | 4 | Date Closed | datetime |
12 | Days Open ![]() | Days Open | Normal | Decimal | 12 | Days Open | decimal(38,38) |
13 | Action Taken ![]() | Action Taken | Normal | Option | 4 | Action Taken | int |
Available options are:
| |||||||
14 | Estimated Value (LCY) ![]() | Estimated Value ($) | Normal | Decimal | 12 | Estimated Value (LCY) | decimal(38,38) |
15 | Calcd. Current Value (LCY) ![]() | Calcd. Current Value ($) | Normal | Decimal | 12 | Calcd_ Current Value (LCY) | decimal(38,38) |
16 | Completed % ![]() | Completed % | Normal | Decimal | 12 | Completed _ | decimal(38,38) |
17 | Chances of Success % ![]() | Chances of Success % | Normal | Decimal | 12 | Chances of Success _ | decimal(38,38) |
18 | Probability % ![]() | Probability % | Normal | Decimal | 12 | Probability _ | decimal(38,38) |
19 | Close Opportunity Code ![]() | Close Opportunity Code | Normal | Code | 10 | Close Opportunity Code | nvarchar(20) |
20 | Previous Sales Cycle Stage ![]() | Previous Sales Cycle Stage | Normal | Integer | 4 | Previous Sales Cycle Stage | int |
21 | Estimated Close Date ![]() | Estimated Close Date | Normal | Date | 4 | Estimated Close Date | datetime |
9501 | Wizard Step ![]() | Wizard Step | Normal | Option | 4 | Wizard Step | int |
Available options are:
| |||||||
9502 | Cancel Old To Do ![]() | Cancel Old Task | Normal | Boolean | 4 | Cancel Old To Do | tinyint |
9503 | Action Type ![]() | Action Type | Normal | Option | 4 | Action Type | int |
Available options are:
| |||||||
9504 | Sales Cycle Stage Description ![]() | Sales Cycle Stage Description | Normal | Text | 100 | Sales Cycle Stage Description | nvarchar(200) |
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 query | |||||||
2000000003 | SystemModifiedAt ![]() | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy ![]() | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |