Purch_ Cr_ Memo Hdr_

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

Table Type: Company

Table Name: Purch_ Cr_ Memo Hdr_
Database Table Name: CRONUS UK Ltd_$Purch_ Cr_ Memo Hdr_$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 124

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_ Cr_ Memo Hdr_ can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Purch_ Cr_ Memo Hdr_$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]
   ,[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]
   ,[Prices Including VAT]
   ,[Invoice Disc_ Code]
   ,[Language Code]
   ,[Purchaser Code]
   ,[No_ Printed]
   ,[On Hold]
   ,[Applies-to Doc_ Type]
   ,[Applies-to Doc_ No_]
   ,[Bal_ Account No_]
   ,[Vendor Cr_ Memo 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]
   ,[Pre-Assigned No_ Series]
   ,[No_ Series]
   ,[Pre-Assigned No_]
   ,[User ID]
   ,[Source Code]
   ,[Tax Area Code]
   ,[Tax Liable]
   ,[VAT Bus_ Posting Group]
   ,[VAT Base Discount _]
   ,[Prepmt_ Cr_ Memo No_ Series]
   ,[Prepayment Credit Memo]
   ,[Prepayment Order No_]
   ,[Dimension Set ID]
   ,[Vendor Ledger Entry No_]
   ,[Campaign No_]
   ,[Buy-from Contact No_]
   ,[Pay-to Contact No_]
   ,[Responsibility Center]
   ,[Return Order No_]
   ,[Return Order No_ Series]
   ,[Price Calculation Method]
   ,[Type of Supply Code]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Purch_ Cr_ Memo 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_$Purch_ Cr_ Memo Hdr_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Cr_ Memo Hdr_]
LEFT JOIN
   [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
      ON
         [Purch_ Cr_ Memo Hdr_].[Buy-from Vendor No_] = [Vendor].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
      ON
         [Purch_ Cr_ Memo Hdr_].[Pay-to Vendor No_] = [Vendor].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Payment Terms$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Terms]
      ON
         [Purch_ Cr_ Memo Hdr_].[Payment Terms Code] = [Payment Terms].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Shipment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Shipment Method]
      ON
         [Purch_ Cr_ Memo Hdr_].[Shipment Method Code] = [Shipment Method].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
      ON
         [Purch_ Cr_ Memo Hdr_].[Location Code] = [Location].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
      ON
         [Purch_ Cr_ Memo Hdr_].[Currency Code] = [Currency].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
      ON
         [Purch_ Cr_ Memo Hdr_].[Language Code] = [Language].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
      ON
         [Purch_ Cr_ Memo Hdr_].[Sell-to Customer No_] = [Customer].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Method]
      ON
         [Purch_ Cr_ Memo Hdr_].[Payment Method Code] = [Payment Method].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area]
      ON
         [Purch_ Cr_ Memo Hdr_].[Tax Area Code] = [Tax Area].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Type of Supply$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Type of Supply]
      ON
         [Purch_ Cr_ Memo Hdr_].[Type of Supply Code] = [Type of Supply].[Code]

Show/hide columns in Purch_ Cr_ Memo Hdr_ 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_ Cr_ Memo Hdr_].[Buy-from Vendor No_]
       ,[Vendor].[No_]
FROM
       [CRONUS UK Ltd_$Purch_ Cr_ Memo Hdr_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Cr_ Memo Hdr_]
LEFT JOIN
       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
              ON
                     [Purch_ Cr_ Memo Hdr_].[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_ Cr_ Memo Hdr_].[Pay-to Vendor No_]
       ,[Vendor].[No_]
FROM
       [CRONUS UK Ltd_$Purch_ Cr_ Memo Hdr_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Cr_ Memo Hdr_]
LEFT JOIN
       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
              ON
                     [Purch_ Cr_ Memo Hdr_].[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)
19Posting Date Searchdatetime
20Expected Receipt Date Searchdatetime
21Posting Description Searchnvarchar(200)
22Payment Terms Code Searchnvarchar(20)
Key to join to the Payment Terms table.

Show/hide example query

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

Show/hide example query

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

Show/hide example query

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

Show/hide example query

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

Show/hide example query

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

Show/hide example query

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

Show/hide example query

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

Show/hide example query

SELECT
       [Purch_ Cr_ Memo Hdr_].[Tax Area Code]
       ,[Tax Area].[Code]
FROM
       [CRONUS UK Ltd_$Purch_ Cr_ Memo Hdr_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Cr_ Memo Hdr_]
LEFT JOIN
       [CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area]
              ON
                     [Purch_ Cr_ Memo Hdr_].[Tax Area Code] = [Tax Area].[Code]
79Tax Liable Searchtinyint
80VAT Bus_ Posting Group Searchnvarchar(40)
81VAT Base Discount _ Searchdecimal(38,38)
82Prepmt_ Cr_ Memo No_ Series Searchnvarchar(40)
83Prepayment Credit Memo Searchtinyint
84Prepayment Order No_ Searchnvarchar(40)
85Dimension Set ID Searchint
86Vendor Ledger Entry No_ Searchint
87Campaign No_ Searchnvarchar(40)
88Buy-from Contact No_ Searchnvarchar(40)
89Pay-to Contact No_ Searchnvarchar(40)
90Responsibility Center Searchnvarchar(20)
91Return Order No_ Searchnvarchar(40)
92Return Order No_ Series Searchnvarchar(40)
93Price Calculation Method Searchint
94Type of Supply Code Searchnvarchar(20)
Key to join to the Type of Supply table.

Show/hide example query

SELECT
       [Purch_ Cr_ Memo Hdr_].[Type of Supply Code]
       ,[Type of Supply].[Code]
FROM
       [CRONUS UK Ltd_$Purch_ Cr_ Memo Hdr_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Purch_ Cr_ Memo Hdr_]
LEFT JOIN
       [CRONUS UK Ltd_$Type of Supply$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Type of Supply]
              ON
                     [Purch_ Cr_ Memo Hdr_].[Type of Supply Code] = [Type of Supply].[Code]
95$systemId Searchuniqueidentifier
96$systemCreatedAt Searchdatetime
97$systemCreatedBy Searchuniqueidentifier
98$systemModifiedAt Searchdatetime
99$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Purch_ Cr_ Memo Hdr_ table

Leave a Reply

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