Handled IC Inbox Sales Line

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

Table Type: Company

Table Name: Handled IC Inbox Sales Line
Database Table Name: CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 439

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 Handled IC Inbox Sales Line can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Document Type]
   ,[Document No_]
   ,[Line No_]
   ,[Description]
   ,[Description 2]
   ,[Quantity]
   ,[Unit Price]
   ,[Line Discount _]
   ,[Line Discount Amount]
   ,[Amount Including VAT]
   ,[Job No_]
   ,[Drop Shipment]
   ,[Currency Code]
   ,[VAT Base Amount]
   ,[Line Amount]
   ,[IC Partner Ref_ Type]
   ,[IC Partner Reference]
   ,[IC Partner Code]
   ,[IC Transaction No_]
   ,[Transaction Source]
   ,[Item Ref_]
   ,[IC Item Reference No_]
   ,[Unit of Measure Code]
   ,[Requested Delivery Date]
   ,[Promised Delivery Date]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Sales Line]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
      ON
         [Handled IC Inbox Sales Line].[Document Type] = [Sales Header Archive].[Document Type]
      AND
         [Handled IC Inbox Sales Line].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
      ON
         [Handled IC Inbox Sales Line].[Document Type] = [Sales Header].[Document Type]
      AND
         [Handled IC Inbox Sales Line].[Document No_] = [Sales Header].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
      ON
         [Handled IC Inbox Sales Line].[Currency Code] = [Currency].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
      ON
         [Handled IC Inbox Sales Line].[IC Partner Code] = [IC Partner].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Handled IC Inbox Sales Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Handled IC Inbox Sales Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Handled IC Inbox Sales Line table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Document Type SearchDocument TypeNormalOption4Document Typeint
Available options are:
  • “Order”
  • “Invoice”
  • “Credit Memo”
  • “Return Order”
3Document No. SearchDocument No.NormalCode20Document No_nvarchar(40)
4Line No. SearchLine No.NormalInteger4Line No_int
11Description Primary Key SearchDescriptionNormalText100Descriptionnvarchar(200)
12Description 2 SearchDescription 2NormalText50Description 2nvarchar(100)
15Quantity SearchQuantityNormalDecimal12Quantitydecimal(38,38)
22Unit Price SearchUnit PriceNormalDecimal12Unit Pricedecimal(38,38)
27Line Discount % SearchLine Discount %NormalDecimal12Line Discount _decimal(38,38)
28Line Discount Amount SearchLine Discount AmountNormalDecimal12Line Discount Amountdecimal(38,38)
30Amount Including VAT SearchAmount Including TaxNormalDecimal12Amount Including VATdecimal(38,38)
45Job No. SearchJob No.NormalCode20Job No_nvarchar(40)
Key to join to the Job table.

Show/hide example query

SELECT
	       [Handled IC Inbox Sales Line].[Job No_]
	       ,[Job].[No_]
	FROM
	       [CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Sales Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
	              ON
	                     [Handled IC Inbox Sales Line].[Job No_] = [Job].[No_]
73Drop Shipment SearchDrop ShipmentNormalBoolean4Drop Shipmenttinyint
91Currency Code SearchCurrency CodeNormalCode10Currency Codenvarchar(20)
Key to join to the Currency table.

Show/hide example query

SELECT
	       [Handled IC Inbox Sales Line].[Currency Code]
	       ,[Currency].[Code]
	FROM
	       [CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Sales Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
	              ON
	                     [Handled IC Inbox Sales Line].[Currency Code] = [Currency].[Code]
99VAT Base Amount SearchTax Base AmountNormalDecimal12VAT Base Amountdecimal(38,38)
103Line Amount SearchLine AmountNormalDecimal12Line Amountdecimal(38,38)
107IC Partner Ref. Type SearchIC Partner Ref. TypeNormalOption4IC Partner Ref_ Typeint
Available options are:
  • ” “
  • “G/L Account”
  • “Item”
  • “Charge (Item)”
  • “Cross Reference”
  • “Common Item No.”
  • “Vendor Item No.”
108IC Partner Reference SearchIC Partner ReferenceNormalCode20IC Partner Referencenvarchar(40)
125IC Partner Code SearchIC Partner CodeNormalCode20IC Partner Codenvarchar(40)
Key to join to the IC Partner table.

Show/hide example query

SELECT
	       [Handled IC Inbox Sales Line].[IC Partner Code]
	       ,[IC Partner].[Code]
	FROM
	       [CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Sales Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
	              ON
	                     [Handled IC Inbox Sales Line].[IC Partner Code] = [IC Partner].[Code]
126IC Transaction No. Primary Key SearchIC Transaction No.NormalInteger4IC Transaction No_int
127Transaction Source Primary Key SearchTransaction SourceNormalOption4Transaction Sourceint
Available options are:
  • “Returned by Partner”
  • “Created by Partner”
128Item Ref. Primary Key SearchItem Ref.NormalOption4Item Ref_int
Available options are:
  • “Local Item No.”
  • “Cross Reference”
  • “Vendor Item No.”
138IC Item Reference No. SearchIC Item Reference No.NormalCode50IC Item Reference No_nvarchar(100)
5407Unit of Measure Code SearchUnit of Measure CodeNormalCode10Unit of Measure Codenvarchar(20)
5790Requested Delivery Date SearchRequested Delivery DateNormalDate4Requested Delivery Datedatetime
5791Promised Delivery Date SearchPromised Delivery DateNormalDate4Promised Delivery Datedatetime
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [Handled IC Inbox Sales Line].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Sales Line]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Handled IC Inbox Sales Line].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Handled IC Inbox Sales Line table

Leave a Reply

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