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
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
Show/hide an example select of all columns by name
Show/hide an example select of all columns including those from all joined tables
Show/hide columns in Purch. Rcpt. Header table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
2 | Buy-from Vendor No. ![]() | Buy-from Vendor No. | Normal | Code | 20 | Buy-from Vendor No_ | nvarchar(40) |
Key to join to the Vendor table.Show/hide example query | |||||||
3 | No. ![]() | No. | Normal | Code | 20 | No_ | nvarchar(40) |
4 | Pay-to Vendor No. ![]() ![]() | Vendor No. | Normal | Code | 20 | Pay-to Vendor No_ | nvarchar(40) |
Key to join to the Vendor table.Show/hide example query | |||||||
5 | Pay-to Name ![]() | Name | Normal | Text | 100 | Pay-to Name | nvarchar(200) |
Key to join to the Vendor table.Show/hide example query | |||||||
6 | Pay-to Name 2 ![]() | Name 2 | Normal | Text | 50 | Pay-to Name 2 | nvarchar(100) |
7 | Pay-to Address ![]() | Address | Normal | Text | 100 | Pay-to Address | nvarchar(200) |
8 | Pay-to Address 2 ![]() | Address 2 | Normal | Text | 50 | Pay-to Address 2 | nvarchar(100) |
9 | Pay-to City ![]() | City | Normal | Text | 30 | Pay-to City | nvarchar(60) |
Key to join to the Post Code table.Show/hide example query | |||||||
10 | Pay-to Contact ![]() | Contact | Normal | Text | 100 | Pay-to Contact | nvarchar(200) |
11 | Your Reference ![]() | Your Reference | Normal | Text | 35 | Your Reference | nvarchar(70) |
12 | Ship-to Code ![]() | Ship-to Code | Normal | Code | 10 | Ship-to Code | nvarchar(20) |
Key to join to the Ship-to Address table.Show/hide example query | |||||||
13 | Ship-to Name ![]() | Ship-to Name | Normal | Text | 100 | Ship-to Name | nvarchar(200) |
14 | Ship-to Name 2 ![]() | Ship-to Name 2 | Normal | Text | 50 | Ship-to Name 2 | nvarchar(100) |
15 | Ship-to Address ![]() | Ship-to Address | Normal | Text | 100 | Ship-to Address | nvarchar(200) |
16 | Ship-to Address 2 ![]() | Ship-to Address 2 | Normal | Text | 50 | Ship-to Address 2 | nvarchar(100) |
17 | Ship-to City ![]() | Ship-to City | Normal | Text | 30 | Ship-to City | nvarchar(60) |
Key to join to the Post Code table.Show/hide example query | |||||||
18 | Ship-to Contact ![]() | Ship-to Contact | Normal | Text | 100 | Ship-to Contact | nvarchar(200) |
19 | Order Date ![]() | Order Date | Normal | Date | 4 | Order Date | datetime |
20 | Posting Date ![]() | Posting Date | Normal | Date | 4 | Posting Date | datetime |
21 | Expected Receipt Date ![]() | Expected Receipt Date | Normal | Date | 4 | Expected Receipt Date | datetime |
22 | Posting Description ![]() | Posting Description | Normal | Text | 100 | Posting Description | nvarchar(200) |
23 | Payment Terms Code ![]() | Payment Terms Code | Normal | Code | 10 | Payment Terms Code | nvarchar(20) |
Key to join to the Payment Terms table.Show/hide example query | |||||||
24 | Due Date ![]() | Due Date | Normal | Date | 4 | Due Date | datetime |
25 | Payment Discount % ![]() | Payment Discount % | Normal | Decimal | 12 | Payment Discount _ | decimal(38,38) |
26 | Pmt. Discount Date ![]() | Pmt. Discount Date | Normal | Date | 4 | Pmt_ Discount Date | datetime |
27 | Shipment Method Code ![]() | Shipment Method Code | Normal | Code | 10 | Shipment Method Code | nvarchar(20) |
Key to join to the Shipment Method table.Show/hide example query | |||||||
28 | Location Code ![]() | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example query | |||||||
29 | Shortcut Dimension 1 Code ![]() | Shortcut Dimension 1 Code | Normal | Code | 20 | Shortcut Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example query | |||||||
30 | Shortcut Dimension 2 Code ![]() | Shortcut Dimension 2 Code | Normal | Code | 20 | Shortcut Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example query | |||||||
31 | Vendor Posting Group ![]() | Vendor Posting Group | Normal | Code | 20 | Vendor Posting Group | nvarchar(40) |
Key to join to the Vendor Posting Group table.Show/hide example query | |||||||
32 | Currency Code ![]() | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example query | |||||||
33 | Currency Factor ![]() | Currency Factor | Normal | Decimal | 12 | Currency Factor | decimal(38,38) |
37 | Invoice Disc. Code ![]() | Invoice Disc. Code | Normal | Code | 20 | Invoice Disc_ Code | nvarchar(40) |
41 | Language Code ![]() | Language Code | Normal | Code | 10 | Language Code | nvarchar(20) |
Key to join to the Language table.Show/hide example query | |||||||
42 | Format Region ![]() | Format Region | Normal | Text | 80 | Format Region | nvarchar(160) |
43 | Purchaser Code ![]() | Purchaser Code | Normal | Code | 20 | Purchaser Code | nvarchar(40) |
Key to join to the Salesperson/Purchaser table.Show/hide example query | |||||||
44 | Order No. ![]() | Order No. | Normal | Code | 20 | Order No_ | nvarchar(40) |
46 | Comment ![]() | Comment | FlowField | Boolean | 4 | ||
47 | No. Printed ![]() | No. Printed | Normal | Integer | 4 | No_ Printed | int |
51 | On Hold ![]() | On Hold | Normal | Code | 3 | On Hold | nvarchar(6) |
52 | Applies-to Doc. Type ![]() | Applies-to Doc. Type | Normal | Option | 4 | Applies-to Doc_ Type | int |
Available options are:
| |||||||
53 | Applies-to Doc. No. ![]() | Applies-to Doc. No. | Normal | Code | 20 | Applies-to Doc_ No_ | nvarchar(40) |
55 | Bal. Account No. ![]() | Bal. Account No. | Normal | Code | 20 | Bal_ Account No_ | nvarchar(40) |
66 | Vendor Order No. ![]() | Vendor Order No. | Normal | Code | 35 | Vendor Order No_ | nvarchar(70) |
67 | Vendor Shipment No. ![]() | Vendor Shipment No. | Normal | Code | 35 | Vendor Shipment No_ | nvarchar(70) |
70 | VAT Registration No. ![]() | Tax Registration No. | Normal | Text | 20 | VAT Registration No_ | nvarchar(40) |
72 | Sell-to Customer No. ![]() | Sell-to Customer No. | Normal | Code | 20 | Sell-to Customer No_ | nvarchar(40) |
Key to join to the Customer table.Show/hide example query | |||||||
73 | Reason Code ![]() | Reason Code | Normal | Code | 10 | Reason Code | nvarchar(20) |
Key to join to the Reason Code table.Show/hide example query | |||||||
74 | Gen. Bus. Posting Group ![]() | Gen. Bus. Posting Group | Normal | Code | 20 | Gen_ Bus_ Posting Group | nvarchar(40) |
Key to join to the Gen. Business Posting Group table.Show/hide example query | |||||||
76 | Transaction Type ![]() | Transaction Type | Normal | Code | 10 | Transaction Type | nvarchar(20) |
Key to join to the Transaction Type table.Show/hide example query | |||||||
77 | Transport Method ![]() | Transport Method | Normal | Code | 10 | Transport Method | nvarchar(20) |
Key to join to the Transport Method table.Show/hide example query | |||||||
78 | VAT Country/Region Code ![]() | Tax Country/Region Code | Normal | Code | 10 | VAT Country_Region Code | nvarchar(20) |
79 | Buy-from Vendor Name ![]() | Buy-from Vendor Name | Normal | Text | 100 | Buy-from Vendor Name | nvarchar(200) |
Key to join to the Vendor table.Show/hide example query | |||||||
80 | Buy-from Vendor Name 2 ![]() | Buy-from Vendor Name 2 | Normal | Text | 50 | Buy-from Vendor Name 2 | nvarchar(100) |
81 | Buy-from Address ![]() | Buy-from Address | Normal | Text | 100 | Buy-from Address | nvarchar(200) |
82 | Buy-from Address 2 ![]() | Buy-from Address 2 | Normal | Text | 50 | Buy-from Address 2 | nvarchar(100) |
83 | Buy-from City ![]() | Buy-from City | Normal | Text | 30 | Buy-from City | nvarchar(60) |
Key to join to the Post Code table.Show/hide example query | |||||||
84 | Buy-from Contact ![]() | Buy-from Contact | Normal | Text | 100 | Buy-from Contact | nvarchar(200) |
85 | Pay-to Post Code ![]() | ZIP Code | Normal | Code | 20 | Pay-to Post Code | nvarchar(40) |
Key to join to the Post Code table.Show/hide example query | |||||||
86 | Pay-to County ![]() | State | Normal | Text | 30 | Pay-to County | nvarchar(60) |
87 | Pay-to Country/Region Code ![]() | Country/Region Code | Normal | Code | 10 | Pay-to Country_Region Code | nvarchar(20) |
88 | Buy-from Post Code ![]() | Buy-from ZIP Code | Normal | Code | 20 | Buy-from Post Code | nvarchar(40) |
Key to join to the Post Code table.Show/hide example query | |||||||
89 | Buy-from County ![]() | Buy-from State | Normal | Text | 30 | Buy-from County | nvarchar(60) |
90 | Buy-from Country/Region Code ![]() | Buy-from Country/Region Code | Normal | Code | 10 | Buy-from Country_Region Code | nvarchar(20) |
91 | Ship-to Post Code ![]() | Ship-to ZIP Code | Normal | Code | 20 | Ship-to Post Code | nvarchar(40) |
Key to join to the Post Code table.Show/hide example query | |||||||
92 | Ship-to County ![]() | Ship-to State | Normal | Text | 30 | Ship-to County | nvarchar(60) |
93 | Ship-to Country/Region Code ![]() | Ship-to Country/Region Code | Normal | Code | 10 | Ship-to Country_Region Code | nvarchar(20) |
94 | Bal. Account Type ![]() | Bal. Account Type | Normal | Option | 4 | Bal_ Account Type | int |
Available options are:
| |||||||
95 | Order Address Code ![]() | Order Address Code | Normal | Code | 10 | Order Address Code | nvarchar(20) |
97 | Entry Point ![]() | Entry Point | Normal | Code | 10 | Entry Point | nvarchar(20) |
Key to join to the Entry/Exit Point table.Show/hide example query | |||||||
98 | Correction ![]() | Correction | Normal | Boolean | 4 | Correction | tinyint |
99 | Document Date ![]() | Document Date | Normal | Date | 4 | Document Date | datetime |
101 | Area ![]() | Area | Normal | Code | 10 | Area | nvarchar(20) |
Key to join to the Area table.Show/hide example query | |||||||
102 | Transaction Specification ![]() | Transaction Specification | Normal | Code | 10 | Transaction Specification | nvarchar(20) |
Key to join to the Transaction Specification table.Show/hide example query | |||||||
104 | Payment Method Code ![]() | Payment Method Code | Normal | Code | 10 | Payment Method Code | nvarchar(20) |
Key to join to the Payment Method table.Show/hide example query | |||||||
109 | No. Series ![]() | No. Series | Normal | Code | 20 | No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example query | |||||||
110 | Order No. Series ![]() | Order No. Series | Normal | Code | 20 | Order No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example query | |||||||
112 | User ID ![]() | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
113 | Source Code ![]() | Source Code | Normal | Code | 10 | Source Code | nvarchar(20) |
Key to join to the Source Code table.Show/hide example query | |||||||
114 | Tax Area Code ![]() | Tax Area Code | Normal | Code | 20 | Tax Area Code | nvarchar(40) |
Key to join to the Tax Area table.Show/hide example query | |||||||
115 | Tax Liable ![]() | Tax Liable | Normal | Boolean | 4 | Tax Liable | tinyint |
116 | VAT Bus. Posting Group ![]() | VAT Bus. Posting Group | Normal | Code | 20 | VAT Bus_ Posting Group | nvarchar(40) |
Key to join to the VAT Business Posting Group table.Show/hide example query | |||||||
119 | VAT Base Discount % ![]() | VAT Base Discount % | Normal | Decimal | 12 | VAT Base Discount _ | decimal(38,38) |
151 | Quote No. ![]() | Quote No. | Normal | Code | 20 | Quote No_ | nvarchar(40) |
480 | Dimension Set ID ![]() | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example query | |||||||
5050 | Campaign No. ![]() | Campaign No. | Normal | Code | 20 | Campaign No_ | nvarchar(40) |
Key to join to the Campaign table.Show/hide example query | |||||||
5052 | Buy-from Contact No. ![]() | Buy-from Contact No. | Normal | Code | 20 | Buy-from Contact No_ | nvarchar(40) |
Key to join to the Contact table.Show/hide example query | |||||||
5053 | Pay-to Contact no. ![]() | Contact no. | Normal | Code | 20 | Pay-to Contact no_ | nvarchar(40) |
Key to join to the Contact table.Show/hide example query | |||||||
5700 | Responsibility Center ![]() | Responsibility Center | Normal | Code | 10 | Responsibility Center | nvarchar(20) |
Key to join to the Responsibility Center table.Show/hide example query | |||||||
5790 | Requested Receipt Date ![]() | Requested Receipt Date | Normal | Date | 4 | Requested Receipt Date | datetime |
5791 | Promised Receipt Date ![]() | Promised Receipt Date | Normal | Date | 4 | Promised Receipt Date | datetime |
5792 | Lead Time Calculation ![]() | Lead Time Calculation | Normal | DateFormula | 32 | Lead Time Calculation | varchar(32) |
5793 | Inbound Whse. Handling Time ![]() | Inbound Whse. Handling Time | Normal | DateFormula | 32 | Inbound Whse_ Handling Time | varchar(32) |
7000 | Price Calculation Method ![]() | Price Calculation Method | Normal | Option | 4 | Price Calculation Method | int |
Available options are:
| |||||||
10005 | Ship-to UPS Zone ![]() | Ship-to UPS Zone | Normal | Code | 2 | ||
2000000000 | $systemId ![]() | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt ![]() | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy ![]() | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example query | |||||||
2000000003 | SystemModifiedAt ![]() | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy ![]() | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |