Opportunity

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5092

Table Type: Company

Table Name: Opportunity
Database Table Name: CRONUS UK Ltd_$Opportunity$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5092

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 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 table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1No. SearchNo.NormalCode20No_nvarchar(40)
2Description Primary Key SearchDescriptionNormalText100Descriptionnvarchar(200)
3Salesperson Code SearchSalesperson CodeNormalCode20Salesperson Codenvarchar(40)
Key to join to the Salesperson/Purchaser table.

Show/hide example query

4Campaign No. SearchCampaign No.NormalCode20Campaign No_nvarchar(40)
Key to join to the Campaign table.

Show/hide example query

5Contact No. SearchContact No.NormalCode20Contact No_nvarchar(40)
Key to join to the Contact table.

Show/hide example query

6Contact Company No. SearchContact Company No.NormalCode20Contact Company No_nvarchar(40)
7Sales Cycle Code SearchSales Cycle CodeNormalCode10Sales Cycle Codenvarchar(20)
Key to join to the Sales Cycle table.

Show/hide example query

8Sales Document No. SearchSales Document No.NormalCode20Sales Document No_nvarchar(40)
9Creation Date SearchCreation DateNormalDate4Creation Datedatetime
10Status SearchStatusNormalOption4Statusint
Available options are:
  • “Not Started”
  • “In Progress”
  • “Won”
  • “Lost”
11Priority SearchPriorityNormalOption4Priorityint
Available options are:
  • “Low”
  • “Normal”
  • “High”
12Closed SearchClosedNormalBoolean4Closedtinyint
13Date Closed SearchDate ClosedNormalDate4Date Closeddatetime
15No. Series SearchNo. SeriesNormalCode20No_ Seriesnvarchar(40)
Key to join to the No. Series table.

Show/hide example query

16Comment SearchCommentFlowFieldBoolean4
17Current Sales Cycle Stage SearchCurrent Sales Cycle StageFlowFieldInteger4
18Estimated Value (LCY) SearchEstimated Value ($)FlowFieldDecimal12
19Probability % SearchProbability %FlowFieldDecimal12
20Calcd. Current Value (LCY) SearchCalcd. Current Value ($)FlowFieldDecimal12
21Chances of Success % SearchChances of Success %FlowFieldDecimal12
22Completed % SearchCompleted %FlowFieldDecimal12
23Contact Name SearchContact NameFlowFieldText100
24Contact Company Name SearchContact Company NameFlowFieldText100
25Salesperson Name SearchSalesperson NameFlowFieldText50
26Campaign Description SearchCampaign DescriptionFlowFieldText100
27Segment No. SearchSegment No.NormalCode20Segment No_nvarchar(40)
Key to join to the Segment Header table.

Show/hide example query

28Estimated Closing Date SearchEstimated Closing DateFlowFieldDate4
29Sales Document Type SearchSales Document TypeNormalOption4Sales Document Typeint
Available options are:
  • ” “
  • “Quote”
  • “Order”
  • “Posted Invoice”
30No. of Interactions SearchNo. of InteractionsFlowFieldInteger4
720Coupled to CRM SearchCoupled to Dynamics 365 SalesNormalBoolean4Coupled to CRMtinyint
721Coupled to Dataverse SearchCoupled to Dynamics 365 SalesFlowFieldBoolean4
9501Wizard Step SearchWizard StepNormalOption4Wizard Stepint
Available options are:
  • ” “
  • “1”
  • “2”
  • “3”
  • “4”
  • “5”
  • “6”
9502Activate First Stage SearchActivate First StageNormalBoolean4Activate First Stagetinyint
9503Segment Description SearchSegment DescriptionNormalText100Segment Descriptionnvarchar(200)
9504Wizard Estimated Value (LCY) SearchWizard Estimated Value ($)NormalDecimal12Wizard Estimated Value (LCY)decimal(38,38)
9505Wizard Chances of Success % SearchWizard Chances of Success %NormalDecimal12Wizard Chances of Success _decimal(38,38)
9506Wizard Estimated Closing Date SearchWizard Estimated Closing DateNormalDate4Wizard Estimated Closing Datedatetime
9507Wizard Contact Name SearchWizard Contact NameNormalText100Wizard Contact Namenvarchar(200)
9508Wizard Campaign Description SearchWizard Campaign DescriptionNormalText100Wizard Campaign Descriptionnvarchar(200)
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Opportunity table

Leave a Reply

Your email address will not be published. Required fields are marked *