Handled IC Outbox Sales Line

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

Table Type: Company

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

Table Number: 431

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 Outbox Sales Line can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Handled IC Outbox 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_]
   ,[Shipment No_]
   ,[Shipment Line 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]
   ,[IC Item Reference No_]
   ,[Unit of Measure Code]
   ,[Requested Delivery Date]
   ,[Promised Delivery Date]
   ,[Return Receipt No_]
   ,[Return Receipt Line No_]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Handled IC Outbox 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 Outbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Sales Line]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
      ON
         [Handled IC Outbox Sales Line].[Document Type] = [Sales Header Archive].[Document Type]
      AND
         [Handled IC Outbox 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 Outbox Sales Line].[Document Type] = [Sales Header].[Document Type]
      AND
         [Handled IC Outbox Sales Line].[Document No_] = [Sales Header].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
      ON
         [Handled IC Outbox Sales Line].[Currency Code] = [Currency].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
      ON
         [Handled IC Outbox Sales Line].[IC Partner Code] = [IC Partner].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Handled IC Outbox Sales Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Handled IC Outbox Sales Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Handled IC Outbox 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 Outbox Sales Line].[Job No_]
	       ,[Job].[No_]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Sales Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
	              ON
	                     [Handled IC Outbox Sales Line].[Job No_] = [Job].[No_]
63Shipment No. SearchShipment No.NormalCode20Shipment No_nvarchar(40)
64Shipment Line No. SearchShipment Line No.NormalInteger4Shipment Line No_int
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 Outbox Sales Line].[Currency Code]
	       ,[Currency].[Code]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Sales Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
	              ON
	                     [Handled IC Outbox 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 Outbox Sales Line].[IC Partner Code]
	       ,[IC Partner].[Code]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Sales Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
	              ON
	                     [Handled IC Outbox 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:
  • “Rejected by Current Company”
  • “Created by Current Company”
138IC Item Reference No. Primary Key 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
6600Return Receipt No. SearchReturn Receipt No.NormalCode20Return Receipt No_nvarchar(40)
6601Return Receipt Line No. SearchReturn Receipt Line No.NormalInteger4Return Receipt Line No_int
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 Outbox Sales Line].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Handled IC Outbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Sales Line]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Handled IC Outbox Sales Line].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

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

Leave a Reply

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