Purch_ Rcpt_ Header

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

Table Type: Company

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

Table Number: 0

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [timestamp]
   ,[No_]
   ,[Buy-from Vendor No_]
   ,[Pay-to Vendor No_]
   ,[Pay-to Name]
   ,[Pay-to Name 2]
   ,[Pay-to Address]
   ,[Pay-to Address 2]
   ,[Pay-to City]
   ,[Pay-to Contact]
   ,[Your Reference]
   ,[Ship-to Code]
   ,[Ship-to Name]
   ,[Ship-to Name 2]
   ,[Ship-to Address]
   ,[Ship-to Address 2]
   ,[Ship-to City]
   ,[Ship-to Contact]
   ,[Order Date]
   ,[Posting Date]
   ,[Expected Receipt Date]
   ,[Posting Description]
   ,[Payment Terms Code]
   ,[Due Date]
   ,[Payment Discount _]
   ,[Pmt_ Discount Date]
   ,[Shipment Method Code]
   ,[Location Code]
   ,[Shortcut Dimension 1 Code]
   ,[Shortcut Dimension 2 Code]
   ,[Vendor Posting Group]
   ,[Currency Code]
   ,[Currency Factor]
   ,[Invoice Disc_ Code]
   ,[Language Code]
   ,[Purchaser Code]
   ,[Order No_]
   ,[No_ Printed]
   ,[On Hold]
   ,[Applies-to Doc_ Type]
   ,[Applies-to Doc_ No_]
   ,[Bal_ Account No_]
   ,[Vendor Order No_]
   ,[Vendor Shipment No_]
   ,[VAT Registration No_]
   ,[Sell-to Customer No_]
   ,[Reason Code]
   ,[Gen_ Bus_ Posting Group]
   ,[Transaction Type]
   ,[Transport Method]
   ,[VAT Country_Region Code]
   ,[Buy-from Vendor Name]
   ,[Buy-from Vendor Name 2]
   ,[Buy-from Address]
   ,[Buy-from Address 2]
   ,[Buy-from City]
   ,[Buy-from Contact]
   ,[Pay-to Post Code]
   ,[Pay-to County]
   ,[Pay-to Country_Region Code]
   ,[Buy-from Post Code]
   ,[Buy-from County]
   ,[Buy-from Country_Region Code]
   ,[Ship-to Post Code]
   ,[Ship-to County]
   ,[Ship-to Country_Region Code]
   ,[Bal_ Account Type]
   ,[Order Address Code]
   ,[Entry Point]
   ,[Correction]
   ,[Document Date]
   ,[Area]
   ,[Transaction Specification]
   ,[Payment Method Code]
   ,[No_ Series]
   ,[Order No_ Series]
   ,[User ID]
   ,[Source Code]
   ,[Tax Area Code]
   ,[Tax Liable]
   ,[VAT Bus_ Posting Group]
   ,[VAT Base Discount _]
   ,[Quote No_]
   ,[Dimension Set ID]
   ,[Campaign No_]
   ,[Buy-from Contact No_]
   ,[Pay-to Contact no_]
   ,[Responsibility Center]
   ,[Requested Receipt Date]
   ,[Promised Receipt Date]
   ,[Lead Time Calculation]
   ,[Inbound Whse_ Handling Time]
   ,[Price Calculation Method]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Purch_ Rcpt_ 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_$Purch_ Rcpt_ Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Rcpt_ Header]
LEFT JOIN
   [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
      ON
         [Purch_ Rcpt_ Header].[Buy-from Vendor No_] = [Vendor].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
      ON
         [Purch_ Rcpt_ Header].[Pay-to Vendor No_] = [Vendor].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Payment Terms$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Terms]
      ON
         [Purch_ Rcpt_ Header].[Payment Terms Code] = [Payment Terms].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Shipment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Shipment Method]
      ON
         [Purch_ Rcpt_ Header].[Shipment Method Code] = [Shipment Method].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
      ON
         [Purch_ Rcpt_ Header].[Location Code] = [Location].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
      ON
         [Purch_ Rcpt_ Header].[Currency Code] = [Currency].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
      ON
         [Purch_ Rcpt_ Header].[Language Code] = [Language].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
      ON
         [Purch_ Rcpt_ Header].[Sell-to Customer No_] = [Customer].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Method]
      ON
         [Purch_ Rcpt_ Header].[Payment Method Code] = [Payment Method].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area]
      ON
         [Purch_ Rcpt_ Header].[Tax Area Code] = [Tax Area].[Code]

Show/hide columns in Purch_ Rcpt_ Header table

Column IDColumn NameData Type
1timestamp Searchtimestamp
2No_ Primary Key Searchnvarchar(40)
3Buy-from Vendor No_ Searchnvarchar(40)
Key to join to the Vendor table.

Show/hide example query

SELECT
       [Purch_ Rcpt_ Header].[Buy-from Vendor No_]
       ,[Vendor].[No_]
FROM
       [CRONUS UK Ltd_$Purch_ Rcpt_ Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Rcpt_ Header]
LEFT JOIN
       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
              ON
                     [Purch_ Rcpt_ Header].[Buy-from Vendor No_] = [Vendor].[No_]
4Pay-to Vendor No_ Searchnvarchar(40)
Key to join to the Vendor table.

Show/hide example query

SELECT
       [Purch_ Rcpt_ Header].[Pay-to Vendor No_]
       ,[Vendor].[No_]
FROM
       [CRONUS UK Ltd_$Purch_ Rcpt_ Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Rcpt_ Header]
LEFT JOIN
       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
              ON
                     [Purch_ Rcpt_ Header].[Pay-to Vendor No_] = [Vendor].[No_]
5Pay-to Name Searchnvarchar(200)
6Pay-to Name 2 Searchnvarchar(100)
7Pay-to Address Searchnvarchar(200)
8Pay-to Address 2 Searchnvarchar(100)
9Pay-to City Searchnvarchar(60)
10Pay-to Contact Searchnvarchar(200)
11Your Reference Searchnvarchar(70)
12Ship-to Code Searchnvarchar(20)
13Ship-to Name Searchnvarchar(200)
14Ship-to Name 2 Searchnvarchar(100)
15Ship-to Address Searchnvarchar(200)
16Ship-to Address 2 Searchnvarchar(100)
17Ship-to City Searchnvarchar(60)
18Ship-to Contact Searchnvarchar(200)
19Order Date Searchdatetime
20Posting Date Searchdatetime
21Expected Receipt Date Searchdatetime
22Posting Description Searchnvarchar(200)
23Payment Terms Code Searchnvarchar(20)
Key to join to the Payment Terms table.

Show/hide example query

SELECT
       [Purch_ Rcpt_ Header].[Payment Terms Code]
       ,[Payment Terms].[Code]
FROM
       [CRONUS UK Ltd_$Purch_ Rcpt_ Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Rcpt_ Header]
LEFT JOIN
       [CRONUS UK Ltd_$Payment Terms$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Terms]
              ON
                     [Purch_ Rcpt_ Header].[Payment Terms Code] = [Payment Terms].[Code]
24Due Date Searchdatetime
25Payment Discount _ Searchdecimal(38,38)
26Pmt_ Discount Date Searchdatetime
27Shipment Method Code Searchnvarchar(20)
Key to join to the Shipment Method table.

Show/hide example query

SELECT
       [Purch_ Rcpt_ Header].[Shipment Method Code]
       ,[Shipment Method].[Code]
FROM
       [CRONUS UK Ltd_$Purch_ Rcpt_ Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Rcpt_ Header]
LEFT JOIN
       [CRONUS UK Ltd_$Shipment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Shipment Method]
              ON
                     [Purch_ Rcpt_ Header].[Shipment Method Code] = [Shipment Method].[Code]
28Location Code Searchnvarchar(20)
Key to join to the Location table.

Show/hide example query

SELECT
       [Purch_ Rcpt_ Header].[Location Code]
       ,[Location].[Code]
FROM
       [CRONUS UK Ltd_$Purch_ Rcpt_ Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Rcpt_ Header]
LEFT JOIN
       [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
              ON
                     [Purch_ Rcpt_ Header].[Location Code] = [Location].[Code]
29Shortcut Dimension 1 Code Searchnvarchar(40)
30Shortcut Dimension 2 Code Searchnvarchar(40)
31Vendor Posting Group Searchnvarchar(40)
32Currency Code Searchnvarchar(20)
Key to join to the Currency table.

Show/hide example query

SELECT
       [Purch_ Rcpt_ Header].[Currency Code]
       ,[Currency].[Code]
FROM
       [CRONUS UK Ltd_$Purch_ Rcpt_ Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Rcpt_ Header]
LEFT JOIN
       [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
              ON
                     [Purch_ Rcpt_ Header].[Currency Code] = [Currency].[Code]
33Currency Factor Searchdecimal(38,38)
34Invoice Disc_ Code Searchnvarchar(40)
35Language Code Searchnvarchar(20)
Key to join to the Language table.

Show/hide example query

SELECT
       [Purch_ Rcpt_ Header].[Language Code]
       ,[Language].[Code]
FROM
       [CRONUS UK Ltd_$Purch_ Rcpt_ Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Rcpt_ Header]
LEFT JOIN
       [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
              ON
                     [Purch_ Rcpt_ Header].[Language Code] = [Language].[Code]
36Purchaser Code Searchnvarchar(40)
37Order No_ Searchnvarchar(40)
38No_ Printed Searchint
39On Hold Searchnvarchar(6)
40Applies-to Doc_ Type Searchint
41Applies-to Doc_ No_ Searchnvarchar(40)
42Bal_ Account No_ Searchnvarchar(40)
43Vendor Order No_ Searchnvarchar(70)
44Vendor Shipment No_ Searchnvarchar(70)
45VAT Registration No_ Searchnvarchar(40)
46Sell-to Customer No_ Searchnvarchar(40)
Key to join to the Customer table.

Show/hide example query

SELECT
       [Purch_ Rcpt_ Header].[Sell-to Customer No_]
       ,[Customer].[No_]
FROM
       [CRONUS UK Ltd_$Purch_ Rcpt_ Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Rcpt_ Header]
LEFT JOIN
       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
              ON
                     [Purch_ Rcpt_ Header].[Sell-to Customer No_] = [Customer].[No_]
47Reason Code Searchnvarchar(20)
48Gen_ Bus_ Posting Group Searchnvarchar(40)
49Transaction Type Searchnvarchar(20)
50Transport Method Searchnvarchar(20)
51VAT Country_Region Code Searchnvarchar(20)
52Buy-from Vendor Name Searchnvarchar(200)
53Buy-from Vendor Name 2 Searchnvarchar(100)
54Buy-from Address Searchnvarchar(200)
55Buy-from Address 2 Searchnvarchar(100)
56Buy-from City Searchnvarchar(60)
57Buy-from Contact Searchnvarchar(200)
58Pay-to Post Code Searchnvarchar(40)
59Pay-to County Searchnvarchar(60)
60Pay-to Country_Region Code Searchnvarchar(20)
61Buy-from Post Code Searchnvarchar(40)
62Buy-from County Searchnvarchar(60)
63Buy-from Country_Region Code Searchnvarchar(20)
64Ship-to Post Code Searchnvarchar(40)
65Ship-to County Searchnvarchar(60)
66Ship-to Country_Region Code Searchnvarchar(20)
67Bal_ Account Type Searchint
68Order Address Code Searchnvarchar(20)
69Entry Point Searchnvarchar(20)
70Correction Searchtinyint
71Document Date Searchdatetime
72Area Searchnvarchar(20)
73Transaction Specification Searchnvarchar(20)
74Payment Method Code Searchnvarchar(20)
Key to join to the Payment Method table.

Show/hide example query

SELECT
       [Purch_ Rcpt_ Header].[Payment Method Code]
       ,[Payment Method].[Code]
FROM
       [CRONUS UK Ltd_$Purch_ Rcpt_ Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Rcpt_ Header]
LEFT JOIN
       [CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Method]
              ON
                     [Purch_ Rcpt_ Header].[Payment Method Code] = [Payment Method].[Code]
75No_ Series Searchnvarchar(40)
76Order No_ Series Searchnvarchar(40)
77User ID Searchnvarchar(100)
78Source Code Searchnvarchar(20)
79Tax Area Code Searchnvarchar(40)
Key to join to the Tax Area table.

Show/hide example query

SELECT
       [Purch_ Rcpt_ Header].[Tax Area Code]
       ,[Tax Area].[Code]
FROM
       [CRONUS UK Ltd_$Purch_ Rcpt_ Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Rcpt_ Header]
LEFT JOIN
       [CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area]
              ON
                     [Purch_ Rcpt_ Header].[Tax Area Code] = [Tax Area].[Code]
80Tax Liable Searchtinyint
81VAT Bus_ Posting Group Searchnvarchar(40)
82VAT Base Discount _ Searchdecimal(38,38)
83Quote No_ Searchnvarchar(40)
84Dimension Set ID Searchint
85Campaign No_ Searchnvarchar(40)
86Buy-from Contact No_ Searchnvarchar(40)
87Pay-to Contact no_ Searchnvarchar(40)
88Responsibility Center Searchnvarchar(20)
89Requested Receipt Date Searchdatetime
90Promised Receipt Date Searchdatetime
91Lead Time Calculation Searchvarchar(32)
92Inbound Whse_ Handling Time Searchvarchar(32)
93Price Calculation Method Searchint
94$systemId Searchuniqueidentifier
95$systemCreatedAt Searchdatetime
96$systemCreatedBy Searchuniqueidentifier
97$systemModifiedAt Searchdatetime
98$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Purch_ Rcpt_ Header table

Leave a Reply

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