IC Inbox Sales Header

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

Table Type: Company

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

Table Number: 434

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 IC Inbox Sales Header can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Document Type]
   ,[Sell-to Customer No_]
   ,[No_]
   ,[Bill-to Customer No_]
   ,[Ship-to Name]
   ,[Ship-to Address]
   ,[Ship-to Address 2]
   ,[Ship-to City]
   ,[Posting Date]
   ,[Due Date]
   ,[Payment Discount _]
   ,[Pmt_ Discount Date]
   ,[Currency Code]
   ,[Prices Including VAT]
   ,[Ship-to Post Code]
   ,[Ship-to County]
   ,[Ship-to Country_Region Code]
   ,[Document Date]
   ,[External Document No_]
   ,[IC Partner Code]
   ,[IC Transaction No_]
   ,[Transaction Source]
   ,[Requested Delivery Date]
   ,[Promised Delivery Date]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$IC Inbox Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$IC Inbox Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Sales Header]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
      ON
         [IC Inbox Sales Header].[Document Type] = [Sales Header].[Document Type]
      AND
         [IC Inbox Sales Header].[Document No_] = [Sales Header].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
      ON
         [IC Inbox Sales Header].[Document Type] = [Sales Header Archive].[Document Type]
      AND
         [IC Inbox Sales Header].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [IC Inbox Sales Header].[Ship-to City] = [Post Code].[City]
LEFT JOIN
   [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
      ON
         [IC Inbox Sales Header].[Currency Code] = [Currency].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [IC Inbox Sales Header].[Ship-to Post Code] = [Post Code].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
      ON
         [IC Inbox Sales Header].[IC Partner Code] = [IC Partner].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [IC Inbox Sales Header].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [IC Inbox Sales Header].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in IC Inbox Sales Header table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Document Type SearchDocument TypeNormalOption4Document Typeint
Available options are:
  • ” “
  • “Order”
  • “Invoice”
  • “Credit Memo”
  • “Return Order”
2Sell-to Customer No. SearchSell-to Customer No.NormalCode20Sell-to Customer No_nvarchar(40)
Key to join to the Customer table.

Show/hide example query

SELECT
       [IC Inbox Sales Header].[Sell-to Customer No_]
       ,[Customer].[No_]
FROM
       [CRONUS UK Ltd_$IC Inbox Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Sales Header]
LEFT JOIN
       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
              ON
                     [IC Inbox Sales Header].[Sell-to Customer No_] = [Customer].[No_]
3No. SearchNo.NormalCode20No_nvarchar(40)
4Bill-to Customer No. SearchBill-to Customer No.NormalCode20Bill-to Customer No_nvarchar(40)
Key to join to the Customer table.

Show/hide example query

SELECT
       [IC Inbox Sales Header].[Bill-to Customer No_]
       ,[Customer].[No_]
FROM
       [CRONUS UK Ltd_$IC Inbox Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Sales Header]
LEFT JOIN
       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
              ON
                     [IC Inbox Sales Header].[Bill-to Customer No_] = [Customer].[No_]
13Ship-to Name SearchShip-to NameNormalText100Ship-to Namenvarchar(200)
15Ship-to Address SearchShip-to AddressNormalText100Ship-to Addressnvarchar(200)
16Ship-to Address 2 SearchShip-to Address 2NormalText50Ship-to Address 2nvarchar(100)
17Ship-to City SearchShip-to CityNormalText30Ship-to Citynvarchar(60)
Key to join to the Post Code table.

Show/hide example query

SELECT
       [IC Inbox Sales Header].[Ship-to City]
       ,[Post Code].[City]
FROM
       [CRONUS UK Ltd_$IC Inbox Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Sales Header]
LEFT JOIN
       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
              ON
                     [IC Inbox Sales Header].[Ship-to City] = [Post Code].[City]
20Posting Date SearchPosting DateNormalDate4Posting Datedatetime
24Due Date SearchDue DateNormalDate4Due Datedatetime
25Payment Discount % SearchPayment Discount %NormalDecimal12Payment Discount _decimal(38,38)
26Pmt. Discount Date SearchPmt. Discount DateNormalDate4Pmt_ Discount Datedatetime
32Currency Code SearchCurrency CodeNormalCode10Currency Codenvarchar(20)
Key to join to the Currency table.

Show/hide example query

SELECT
       [IC Inbox Sales Header].[Currency Code]
       ,[Currency].[Code]
FROM
       [CRONUS UK Ltd_$IC Inbox Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Sales Header]
LEFT JOIN
       [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
              ON
                     [IC Inbox Sales Header].[Currency Code] = [Currency].[Code]
35Prices Including VAT SearchPrices Including TaxNormalBoolean4Prices Including VATtinyint
91Ship-to Post Code SearchShip-to ZIP CodeNormalCode20Ship-to Post Codenvarchar(40)
Key to join to the Post Code table.

Show/hide example query

SELECT
       [IC Inbox Sales Header].[Ship-to Post Code]
       ,[Post Code].[Code]
FROM
       [CRONUS UK Ltd_$IC Inbox Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Sales Header]
LEFT JOIN
       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
              ON
                     [IC Inbox Sales Header].[Ship-to Post Code] = [Post Code].[Code]
92Ship-to County SearchShip-to StateNormalText30Ship-to Countynvarchar(60)
93Ship-to Country/Region Code SearchShip-to Country/Region CodeNormalCode10Ship-to Country_Region Codenvarchar(20)
Key to join to the Country/Region table.

Show/hide example query

SELECT
       [IC Inbox Sales Header].[Ship-to Country_Region Code]
       ,[Country/Region].[Code]
FROM
       [CRONUS UK Ltd_$IC Inbox Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Sales Header]
LEFT JOIN
       [CRONUS UK Ltd_$Country_Region$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Country/Region]
              ON
                     [IC Inbox Sales Header].[Ship-to Country_Region Code] = [Country/Region].[Code]
99Document Date SearchDocument DateNormalDate4Document Datedatetime
100External Document No. SearchExternal Document No.NormalCode35External Document No_nvarchar(70)
125IC Partner Code Primary Key SearchIC Partner CodeNormalCode20IC Partner Codenvarchar(40)
Key to join to the IC Partner table.

Show/hide example query

SELECT
       [IC Inbox Sales Header].[IC Partner Code]
       ,[IC Partner].[Code]
FROM
       [CRONUS UK Ltd_$IC Inbox Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Sales Header]
LEFT JOIN
       [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
              ON
                     [IC Inbox Sales Header].[IC Partner Code] = [IC Partner].[Code]
201IC Transaction No. Primary Key SearchIC Transaction No.NormalInteger4IC Transaction No_int
202Transaction Source Primary Key SearchTransaction SourceNormalOption4Transaction Sourceint
Available options are:
  • “Returned by Partner”
  • “Created by Partner”
5790Requested Delivery Date SearchRequested Delivery DateNormalDate4Requested Delivery Datedatetime
5791Promised Delivery Date SearchPromised Delivery DateNormalDate4Promised Delivery Datedatetime
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
       [IC Inbox Sales Header].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$IC Inbox Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Sales Header]
LEFT JOIN
       [User] AS [User]
              ON
                     [IC Inbox Sales Header].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [IC Inbox Sales Header].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$IC Inbox Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Sales Header]
LEFT JOIN
       [User] AS [User]
              ON
                     [IC Inbox Sales Header].[$systemModifiedBy] = [User].[User Security ID]

Show/hide tables related from IC Inbox Sales Header table

Leave a Reply

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