Sales Cue

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

Table Type: Company

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

Table Number: 9053

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 Sales Cue can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Sales Cue$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Primary Key]
   ,[Average Days Delayed]
   ,[Avg_ Days Delayed Updated On]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Sales Cue$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Sales Cue$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Cue]
LEFT JOIN
   [User] AS [User]
      ON
         [Sales Cue].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Sales Cue].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Sales Cue table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key SearchPrimary KeyNormalCode10Primary Keynvarchar(20)
2Sales Quotes – Open Primary Key SearchSales Quotes – OpenFlowFieldInteger4
3Sales Orders – Open SearchSales Orders – OpenFlowFieldInteger4
4Ready to Ship SearchReady to ShipFlowFieldInteger4
5Delayed SearchDelayedFlowFieldInteger4
6Sales Return Orders – Open SearchSales Return Orders – OpenFlowFieldInteger4
7Sales Credit Memos – Open SearchSales Credit Memos – OpenFlowFieldInteger4
8Partially Shipped SearchPartially ShippedFlowFieldInteger4
9Average Days Delayed SearchAverage Days DelayedNormalDecimal12Average Days Delayeddecimal(38,38)
10Sales Inv. – Pending Doc.Exch. SearchSales Invoices – Pending Document ExchangeFlowFieldInteger4
12Sales CrM. – Pending Doc.Exch. SearchSales Credit Memos – Pending Document ExchangeFlowFieldInteger4
13Avg. Days Delayed Updated On SearchAverage Days Delayed Updated OnNormalDateTime8Avg_ Days Delayed Updated Ondatetime
20Date Filter SearchDate FilterFlowFilterDate4
21Date Filter2 SearchDate Filter 2FlowFilterDate4
22Responsibility Center Filter SearchResponsibility Center FilterFlowFilterCode10
23User ID Filter SearchUser ID FilterFlowFilterCode50
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [Sales Cue].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Sales Cue$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Cue]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Sales Cue].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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