Payment Practice Data

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

Table Type: Company

Table Name: Payment Practice Data
Database Table Name: CRONUS UK Ltd_$Payment Practice Data$64977288-facd-4b48-aaaa-bb0e288edfb3

Table Number: 686

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 Payment Practice Data can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Payment Practice Data$64977288-facd-4b48-aaaa-bb0e288edfb3]

Show/hide an example select of all columns by name

SELECT
   [Header No_]
   ,[Invoice Entry No_]
   ,[Source Type]
   ,[Pmt_ Entry No_]
   ,[Invoice Posting Date]
   ,[Invoice Received Date]
   ,[Due Date]
   ,[Pmt_ Posting Date]
   ,[Invoice Is Open]
   ,[Invoice Doc_ No_]
   ,[CV No_]
   ,[Inv_ External Document No_]
   ,[Company Size Code]
   ,[Agreed Payment Days]
   ,[Actual Payment Days]
   ,[Invoice Amount]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Payment Practice Data$64977288-facd-4b48-aaaa-bb0e288edfb3]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Payment Practice Data$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Data]
LEFT JOIN
   [CRONUS UK Ltd_$Company Size$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Company Size]
      ON
         [Payment Practice Data].[Company Size Code] = [Company Size].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Payment Practice Data].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Payment Practice Data].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Payment Practice Data table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Header No. SearchHeader No.NormalInteger4Header No_int
Key to join to the Payment Practice Header table.

Show/hide example query

SELECT
	       [Payment Practice Data].[Header No_]
	       ,[Payment Practice Header].[No_]
	FROM
	       [CRONUS UK Ltd_$Payment Practice Data$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Data]
	LEFT JOIN
	       [CRONUS UK Ltd_$Payment Practice Header$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Header]
	              ON
	                     [Payment Practice Data].[Header No_] = [Payment Practice Header].[No_]
2Invoice Entry No. Primary Key SearchInvoice Entry No.NormalInteger4Invoice Entry No_int
3Source Type Primary Key SearchSource TypeNormalOption4Source Typeint
Available options are:
  • “Vendor”
  • “Customer”
  • “Vendor+Customer”
4Pmt. Entry No. Primary Key SearchPmt. Entry No.NormalInteger4Pmt_ Entry No_int
5Invoice Posting Date SearchInvoice Posting DateNormalDate4Invoice Posting Datedatetime
6Invoice Received Date SearchInvoice Received DateNormalDate4Invoice Received Datedatetime
7Due Date SearchDue DateNormalDate4Due Datedatetime
8Pmt. Posting Date SearchPmt. Posting DateNormalDate4Pmt_ Posting Datedatetime
9Invoice Is Open SearchInvoice Is OpenNormalBoolean4Invoice Is Opentinyint
10Invoice Doc. No. SearchInvoice Doc. No.NormalCode20Invoice Doc_ No_nvarchar(40)
11CV No. SearchCV No.NormalCode20CV No_nvarchar(40)
Key to join to the Customer table.

Show/hide example query

SELECT
	       [Payment Practice Data].[CV No_]
	       ,[Customer].[No_]
	FROM
	       [CRONUS UK Ltd_$Payment Practice Data$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Data]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [Payment Practice Data].[CV No_] = [Customer].[No_]
12Inv. External Document No. SearchInv. External Document No.NormalCode35Inv_ External Document No_nvarchar(70)
13Company Size Code SearchCompany Size CodeNormalCode20Company Size Codenvarchar(40)
Key to join to the Company Size table.

Show/hide example query

SELECT
	       [Payment Practice Data].[Company Size Code]
	       ,[Company Size].[Code]
	FROM
	       [CRONUS UK Ltd_$Payment Practice Data$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Data]
	LEFT JOIN
	       [CRONUS UK Ltd_$Company Size$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Company Size]
	              ON
	                     [Payment Practice Data].[Company Size Code] = [Company Size].[Code]
14Agreed Payment Days SearchAgreed Payment DaysNormalInteger4Agreed Payment Daysint
15Actual Payment Days SearchActual Payment DaysNormalInteger4Actual Payment Daysint
16Invoice Amount SearchInvoice AmountNormalDecimal12Invoice Amountdecimal(38,38)
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
	       [Payment Practice Data].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Payment Practice Data$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Data]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Payment Practice Data].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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