Handled IC Outbox Purch. Hdr

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

Table Type: Company

Table Name: Handled IC Outbox Purch. Hdr
Database Table Name: CRONUS UK Ltd_$Handled IC Outbox Purch_ Hdr$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 432

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 Handled IC Outbox Purch. Hdr can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Handled IC Outbox Purch_ Hdr$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 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_$Handled IC Outbox Purch_ Hdr$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

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

Show/hide columns in Handled IC Outbox Purch. Hdr 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
	       [Handled IC Outbox Purch. Hdr].[Buy-from Vendor No_]
	       ,[Vendor].[No_]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Purch_ Hdr$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch. Hdr]
	LEFT JOIN
	       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
	              ON
	                     [Handled IC Outbox Purch. Hdr].[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
	       [Handled IC Outbox Purch. Hdr].[Pay-to Vendor No_]
	       ,[Vendor].[No_]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Purch_ Hdr$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch. Hdr]
	LEFT JOIN
	       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
	              ON
	                     [Handled IC Outbox Purch. Hdr].[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
	       [Handled IC Outbox Purch. Hdr].[Ship-to City]
	       ,[Post Code].[City]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Purch_ Hdr$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch. Hdr]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [Handled IC Outbox Purch. Hdr].[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
	       [Handled IC Outbox Purch. Hdr].[Currency Code]
	       ,[Currency].[Code]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Purch_ Hdr$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch. Hdr]
	LEFT JOIN
	       [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
	              ON
	                     [Handled IC Outbox Purch. Hdr].[Currency Code] = [Currency].[Code]
35Prices Including VAT SearchPrices Including TaxNormalBoolean4Prices Including VATtinyint
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
	       [Handled IC Outbox Purch. Hdr].[Sell-to Customer No_]
	       ,[Customer].[No_]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Purch_ Hdr$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch. Hdr]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [Handled IC Outbox Purch. Hdr].[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
	       [Handled IC Outbox Purch. Hdr].[Ship-to Post Code]
	       ,[Post Code].[Code]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Purch_ Hdr$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch. Hdr]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [Handled IC Outbox Purch. Hdr].[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
	       [Handled IC Outbox Purch. Hdr].[IC Partner Code]
	       ,[IC Partner].[Code]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Purch_ Hdr$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch. Hdr]
	LEFT JOIN
	       [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
	              ON
	                     [Handled IC Outbox Purch. Hdr].[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:
  • “Rejected by Current Company”
  • “Created by Current Company”
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
	       [Handled IC Outbox Purch. Hdr].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Purch_ Hdr$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch. Hdr]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Handled IC Outbox Purch. Hdr].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Handled IC Outbox Purch. Hdr table

Leave a Reply

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