Hist. Purchase Recv. Line

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

Table Type: Company

Table Name: Hist. Purchase Recv. Line
Database Table Name:

Table Number: 40909

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 Hist. Purchase Recv. Line can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   []

Show/hide an example select of all columns by name

SELECT

FROM
   []

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

SELECT
   *
FROM
   [] AS [Hist. Purchase Recv. Line]
LEFT JOIN
   [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
      ON
         [Hist. Purchase Recv. Line].[Unit of Measure] = [Unit of Measure].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
      ON
         [Hist. Purchase Recv. Line].[Location Code] = [Location].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Hist. Purchase Recv. Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Hist. Purchase Recv. Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Hist. Purchase Recv. Line table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key SearchPrimary KeyNormalInteger4
2Receipt No. Primary Key SearchReceipt No.NormalCode35
3Line No. SearchLine No.NormalInteger4
4PO Number SearchPO NumberNormalCode35
5Item No. SearchItem No.NormalCode35
Key to join to the Item table.

Show/hide example query

SELECT
	       [Hist. Purchase Recv. Line].[]
	       ,[Item].[No_]
	FROM
	       [] AS [Hist. Purchase Recv. Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
	              ON
	                     [Hist. Purchase Recv. Line].[] = [Item].[No_]
6Item Desc. SearchItem Desc.NormalText100
7Vendor Item No. SearchVendor Item No.NormalText50
8Vendor Item Desc. SearchVendor Item Desc.NormalText100
9Base UofM Qty. SearchBase UofM Qty.NormalDecimal12
10Actual Ship Date SearchActual Ship DateNormalDate4
11Unit of Measure SearchUnit of MeasureNormalCode35
Key to join to the Unit of Measure table.

Show/hide example query

SELECT
	       [Hist. Purchase Recv. Line].[]
	       ,[Unit of Measure].[Code]
	FROM
	       [] AS [Hist. Purchase Recv. Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
	              ON
	                     [Hist. Purchase Recv. Line].[] = [Unit of Measure].[Code]
12Unit Cost SearchUnit CostNormalDecimal12
13Ext. Cost SearchExt. CostNormalDecimal12
14Tax Amount SearchTax AmountNormalDecimal12
15Location Code SearchLocation CodeNormalCode35
Key to join to the Location table.

Show/hide example query

SELECT
	       [Hist. Purchase Recv. Line].[]
	       ,[Location].[Code]
	FROM
	       [] AS [Hist. Purchase Recv. Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
	              ON
	                     [Hist. Purchase Recv. Line].[] = [Location].[Code]
16Audit Code SearchAudit CodeNormalCode35
17Ship Method SearchShip MethodNormalText50
18Orig. Unit Cost SearchOrig. Unit CostNormalDecimal12
19Orig. Ext. Cost SearchOrig. Ext. CostNormalDecimal12
20Orig. Disc. Taken Amount SearchOrig. Disc. Taken AmountNormalDecimal12
21Orig. Trade Disc. Amount SearchOrig. Trade Disc. AmountNormalDecimal12
22Orig. Freight Amount SearchOrig. Freight AmountNormalDecimal12
23Orig. Misc. Amount SearchOrig. Misc. AmountNormalDecimal12
24Quantity Shipped SearchQuantity ShippedNormalDecimal12
25Quantity Invoiced SearchQuantity InvoicedNormalDecimal12
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [Hist. Purchase Recv. Line].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [Hist. Purchase Recv. Line]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Hist. Purchase Recv. Line].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Show/hide tables related from Hist. Purchase Recv. Line table

Leave a Reply

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