Job Planning Line Invoice

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

Table Type: Company

Table Name: Job Planning Line Invoice
Database Table Name: CRONUS UK Ltd_$Job Planning Line Invoice$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 1022

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 Job Planning Line Invoice can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Job Planning Line Invoice$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Job No_]
   ,[Job Task No_]
   ,[Job Planning Line No_]
   ,[Document Type]
   ,[Document No_]
   ,[Line No_]
   ,[Quantity Transferred]
   ,[Transferred Date]
   ,[Invoiced Date]
   ,[Invoiced Amount (LCY)]
   ,[Invoiced Cost Amount (LCY)]
   ,[Job Ledger Entry No_]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Job Planning Line Invoice$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

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

Show/hide columns in Job Planning Line Invoice table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Job No. SearchJob No.NormalCode20Job No_nvarchar(40)
Key to join to the Job table.

Show/hide example query

SELECT
	       [Job Planning Line Invoice].[Job No_]
	       ,[Job].[No_]
	FROM
	       [CRONUS UK Ltd_$Job Planning Line Invoice$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line Invoice]
	LEFT JOIN
	       [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
	              ON
	                     [Job Planning Line Invoice].[Job No_] = [Job].[No_]
2Job Task No. Primary Key SearchJob Task No.NormalCode20Job Task No_nvarchar(40)
3Job Planning Line No. Primary Key SearchJob Planning Line No.NormalInteger4Job Planning Line No_int
4Document Type Primary Key SearchDocument TypeNormalOption4Document Typeint
Available options are:
  • ” “
  • “Invoice”
  • “Credit Memo”
  • “Posted Invoice”
  • “Posted Credit Memo”
5Document No. Primary Key SearchDocument No.NormalCode20Document No_nvarchar(40)
6Line No. Primary Key SearchLine No.NormalInteger4Line No_int
7Quantity Transferred Primary Key SearchQuantity TransferredNormalDecimal12Quantity Transferreddecimal(38,38)
8Transferred Date SearchTransferred DateNormalDate4Transferred Datedatetime
9Invoiced Date SearchInvoiced DateNormalDate4Invoiced Datedatetime
10Invoiced Amount (LCY) SearchInvoiced Amount ($)NormalDecimal12Invoiced Amount (LCY)decimal(38,38)
11Invoiced Cost Amount (LCY) SearchInvoiced Cost Amount ($)NormalDecimal12Invoiced Cost Amount (LCY)decimal(38,38)
12Job Ledger Entry No. SearchJob Ledger Entry No.NormalInteger4Job Ledger Entry No_int
Key to join to the Job Ledger Entry table.

Show/hide example query

SELECT
	       [Job Planning Line Invoice].[Job Ledger Entry No_]
	       ,[Job Ledger Entry].[Entry No_]
	FROM
	       [CRONUS UK Ltd_$Job Planning Line Invoice$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line Invoice]
	LEFT JOIN
	       [CRONUS UK Ltd_$Job Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Ledger Entry]
	              ON
	                     [Job Planning Line Invoice].[Job Ledger Entry No_] = [Job Ledger Entry].[Entry No_]
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
	       [Job Planning Line Invoice].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Job Planning Line Invoice$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line Invoice]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Job Planning Line Invoice].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Job Planning Line Invoice table

Leave a Reply

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