IC Inbox Purchase Header

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

Table Type: Company

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

Table Number: 436

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 Purchase Header can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Document Type]
   ,[Buy-from Vendor No_]
   ,[No_]
   ,[Pay-to Vendor No_]
   ,[Your Reference]
   ,[Ship-to Name]
   ,[Ship-to Address]
   ,[Ship-to Address 2]
   ,[Ship-to City]
   ,[Posting Date]
   ,[Expected Receipt Date]
   ,[Due Date]
   ,[Payment Discount _]
   ,[Pmt_ Discount Date]
   ,[Currency Code]
   ,[Prices Including VAT]
   ,[Vendor Order No_]
   ,[Vendor Invoice No_]
   ,[Vendor Cr_ Memo No_]
   ,[Sell-to Customer No_]
   ,[Ship-to Post Code]
   ,[Ship-to County]
   ,[Ship-to Country_Region Code]
   ,[Document Date]
   ,[IC Partner Code]
   ,[IC Transaction No_]
   ,[Transaction Source]
   ,[Requested Receipt Date]
   ,[Promised Receipt Date]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$IC Inbox Purchase 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 Purchase Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Purchase Header]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
      ON
         [IC Inbox Purchase Header].[Document Type] = [Sales Header Archive].[Document Type]
      AND
         [IC Inbox Purchase Header].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
      ON
         [IC Inbox Purchase Header].[Document Type] = [Sales Header].[Document Type]
      AND
         [IC Inbox Purchase Header].[Document No_] = [Sales Header].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [IC Inbox Purchase Header].[Ship-to City] = [Post Code].[City]
LEFT JOIN
   [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
      ON
         [IC Inbox Purchase Header].[Currency Code] = [Currency].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [IC Inbox Purchase 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 Purchase Header].[IC Partner Code] = [IC Partner].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [IC Inbox Purchase Header].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [IC Inbox Purchase Header].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in IC Inbox Purchase Header table

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

Show/hide example query

SELECT
	       [IC Inbox Purchase Header].[Buy-from Vendor No_]
	       ,[Vendor].[No_]
	FROM
	       [CRONUS UK Ltd_$IC Inbox Purchase Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Purchase Header]
	LEFT JOIN
	       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
	              ON
	                     [IC Inbox Purchase Header].[Buy-from Vendor No_] = [Vendor].[No_]
3No. SearchNo.NormalCode20No_nvarchar(40)
4Pay-to Vendor No. SearchVendor No.NormalCode20Pay-to Vendor No_nvarchar(40)
Key to join to the Vendor table.

Show/hide example query

SELECT
	       [IC Inbox Purchase Header].[Pay-to Vendor No_]
	       ,[Vendor].[No_]
	FROM
	       [CRONUS UK Ltd_$IC Inbox Purchase Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Purchase Header]
	LEFT JOIN
	       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
	              ON
	                     [IC Inbox Purchase Header].[Pay-to Vendor No_] = [Vendor].[No_]
11Your Reference SearchYour ReferenceNormalText35Your Referencenvarchar(70)
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 Purchase Header].[Ship-to City]
	       ,[Post Code].[City]
	FROM
	       [CRONUS UK Ltd_$IC Inbox Purchase Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Purchase Header]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [IC Inbox Purchase Header].[Ship-to City] = [Post Code].[City]
20Posting Date SearchPosting DateNormalDate4Posting Datedatetime
21Expected Receipt Date SearchExpected Receipt DateNormalDate4Expected Receipt 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 Purchase Header].[Currency Code]
	       ,[Currency].[Code]
	FROM
	       [CRONUS UK Ltd_$IC Inbox Purchase Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Purchase Header]
	LEFT JOIN
	       [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
	              ON
	                     [IC Inbox Purchase Header].[Currency Code] = [Currency].[Code]
35Prices Including VAT SearchPrices Including TaxNormalBoolean4Prices Including VATtinyint
66Vendor Order No. SearchVendor Order No.NormalCode35Vendor Order No_nvarchar(70)
68Vendor Invoice No. SearchVendor Invoice No.NormalCode35Vendor Invoice No_nvarchar(70)
69Vendor Cr. Memo No. SearchVendor Cr. Memo No.NormalCode35Vendor Cr_ Memo No_nvarchar(70)
72Sell-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 Purchase Header].[Sell-to Customer No_]
	       ,[Customer].[No_]
	FROM
	       [CRONUS UK Ltd_$IC Inbox Purchase Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Purchase Header]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [IC Inbox Purchase Header].[Sell-to Customer No_] = [Customer].[No_]
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 Purchase Header].[Ship-to Post Code]
	       ,[Post Code].[Code]
	FROM
	       [CRONUS UK Ltd_$IC Inbox Purchase Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Purchase Header]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [IC Inbox Purchase 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)
99Document Date SearchDocument DateNormalDate4Document Datedatetime
125IC Partner Code SearchIC Partner CodeNormalCode20IC Partner Codenvarchar(40)
Key to join to the IC Partner table.

Show/hide example query

SELECT
	       [IC Inbox Purchase Header].[IC Partner Code]
	       ,[IC Partner].[Code]
	FROM
	       [CRONUS UK Ltd_$IC Inbox Purchase Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Purchase Header]
	LEFT JOIN
	       [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
	              ON
	                     [IC Inbox Purchase 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 Receipt Date Primary Key SearchRequested Receipt DateNormalDate4Requested Receipt Datedatetime
5791Promised Receipt Date SearchPromised Receipt DateNormalDate4Promised Receipt 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 Purchase Header].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$IC Inbox Purchase Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Inbox Purchase Header]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [IC Inbox Purchase Header].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from IC Inbox Purchase Header table

Leave a Reply

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