Hist. Sales Trx. Line

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

Table Type: Company

Table Name: Hist. Sales Trx. Line
Database Table Name:

Table Number: 40903

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. Sales Trx. 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. Sales Trx. Line]
LEFT JOIN
   [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
      ON
         [Hist. Sales Trx. Line].[Unit of Measure] = [Unit of Measure].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
      ON
         [Hist. Sales Trx. Line].[Location Code] = [Location].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Hist. Sales Trx. Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Hist. Sales Trx. Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Hist. Sales Trx. Line table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key Primary Key SearchPrimary KeyNormalInteger4
2Sales Trx. Type SearchSales TypeNormalOption4
3Sales Header No. SearchSales Header No.NormalCode35
4Line Item Sequence No. SearchLine Item Sequence No.NormalInteger4
5Component Sequence SearchComponent SequenceNormalInteger4
6Item No. SearchItem No.NormalCode35
7Item Description SearchItem DescriptionNormalText100
8Unit of Measure SearchUnit of MeasureNormalCode35
9Unit Cost SearchUnit CostNormalDecimal12
10Unit Price SearchUnit PriceNormalDecimal12
11Quantity SearchQuantityNormalDecimal12
12Ext. Cost SearchExt. CostNormalDecimal12
13Ext. Price SearchExt. PriceNormalDecimal12
14Tax Amount SearchTax AmountNormalDecimal12
15Location Code SearchLocation CodeNormalCode35
16Ship-to Name SearchShip-to NameNormalText65
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Show/hide tables related from Hist. Sales Trx. Line table

Leave a Reply

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