IC Outbox Purchase Line

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

Table Type: Company

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

Table Number: 429

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$IC Outbox Purchase 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]
   ,[Direct Unit Cost]
   ,[Line Discount _]
   ,[Line Discount Amount]
   ,[Amount Including VAT]
   ,[Job No_]
   ,[Indirect Cost _]
   ,[Drop Shipment]
   ,[Currency Code]
   ,[VAT Base Amount]
   ,[Unit Cost]
   ,[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 Receipt Date]
   ,[Promised Receipt Date]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$IC Outbox Purchase 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_$IC Outbox Purchase Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Outbox Purchase Line]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
      ON
         [IC Outbox Purchase Line].[Document Type] = [Sales Header Archive].[Document Type]
      AND
         [IC Outbox Purchase Line].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
      ON
         [IC Outbox Purchase Line].[Document Type] = [Sales Header].[Document Type]
      AND
         [IC Outbox Purchase Line].[Document No_] = [Sales Header].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
      ON
         [IC Outbox Purchase Line].[Currency Code] = [Currency].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
      ON
         [IC Outbox Purchase Line].[IC Partner Code] = [IC Partner].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [IC Outbox Purchase Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [IC Outbox Purchase Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in IC Outbox Purchase 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)
22Direct Unit Cost SearchDirect Unit CostNormalDecimal12Direct Unit Costdecimal(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
	       [IC Outbox Purchase Line].[Job No_]
	       ,[Job].[No_]
	FROM
	       [CRONUS UK Ltd_$IC Outbox Purchase Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Outbox Purchase Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
	              ON
	                     [IC Outbox Purchase Line].[Job No_] = [Job].[No_]
54Indirect Cost % SearchIndirect Cost %NormalDecimal12Indirect Cost _decimal(38,38)
73Drop Shipment SearchDrop ShipmentNormalBoolean4Drop Shipmenttinyint
91Currency Code SearchCurrency CodeNormalCode10Currency Codenvarchar(20)
Key to join to the Currency table.

Show/hide example query

SELECT
	       [IC Outbox Purchase Line].[Currency Code]
	       ,[Currency].[Code]
	FROM
	       [CRONUS UK Ltd_$IC Outbox Purchase Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Outbox Purchase Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
	              ON
	                     [IC Outbox Purchase Line].[Currency Code] = [Currency].[Code]
99VAT Base Amount SearchTax Base AmountNormalDecimal12VAT Base Amountdecimal(38,38)
100Unit Cost SearchUnit CostNormalDecimal12Unit Costdecimal(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
	       [IC Outbox Purchase Line].[IC Partner Code]
	       ,[IC Partner].[Code]
	FROM
	       [CRONUS UK Ltd_$IC Outbox Purchase Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Outbox Purchase Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
	              ON
	                     [IC Outbox Purchase 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 Receipt Date SearchRequested Receipt DateNormalDate4Requested Receipt Datedatetime
5791Promised Receipt Date SearchPromised Receipt DateNormalDate4Promised Receipt 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
	       [IC Outbox Purchase Line].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$IC Outbox Purchase Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Outbox Purchase Line]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [IC Outbox Purchase Line].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from IC Outbox Purchase Line table

Leave a Reply

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