Payment Practice Line

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

Table Type: Company

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

Table Number: 688

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Header No_]
   ,[Line No_]
   ,[Aggregation Type]
   ,[Source Type]
   ,[Company Size Code]
   ,[Payment Period Code]
   ,[Average Agreed Payment Period]
   ,[Average Actual Payment Period]
   ,[Pct Paid on Time]
   ,[Pct Paid in Period]
   ,[Pct Paid in Period (Amount)]
   ,[Payment Period Description]
   ,[Modified Manually]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Payment Practice Line$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 Line$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Line]
LEFT JOIN
   [CRONUS UK Ltd_$Company Size$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Company Size]
      ON
         [Payment Practice Line].[Company Size Code] = [Company Size].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Payment Practice Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Payment Practice Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Payment Practice Line 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 Line].[Header No_]
	       ,[Payment Practice Header].[No_]
	FROM
	       [CRONUS UK Ltd_$Payment Practice Line$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Payment Practice Header$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Header]
	              ON
	                     [Payment Practice Line].[Header No_] = [Payment Practice Header].[No_]
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
3Aggregation Type Primary Key SearchAggregation TypeNormalOption4Aggregation Typeint
Available options are:
  • “Period”
  • “Company Size”
4Source Type SearchSource TypeNormalOption4Source Typeint
Available options are:
  • “Vendor”
  • “Customer”
  • “Vendor+Customer”
5Company Size Code SearchCompany Size CodeNormalCode20Company Size Codenvarchar(40)
Key to join to the Company Size table.

Show/hide example query

SELECT
	       [Payment Practice Line].[Company Size Code]
	       ,[Company Size].[Code]
	FROM
	       [CRONUS UK Ltd_$Payment Practice Line$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Company Size$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Company Size]
	              ON
	                     [Payment Practice Line].[Company Size Code] = [Company Size].[Code]
6Payment Period Code SearchPayment Period CodeNormalCode20Payment Period Codenvarchar(40)
7Average Agreed Payment Period SearchAverage Agreed Payment PeriodNormalInteger4Average Agreed Payment Periodint
8Average Actual Payment Period SearchAverage Actual Payment PeriodNormalInteger4Average Actual Payment Periodint
9Pct Paid on Time SearchPct Paid on TimeNormalDecimal12Pct Paid on Timedecimal(38,38)
10Pct Paid in Period SearchPct Paid in PeriodNormalDecimal12Pct Paid in Perioddecimal(38,38)
11Pct Paid in Period (Amount) SearchPct Paid in Period (Amount)NormalDecimal12Pct Paid in Period (Amount)decimal(38,38)
12Payment Period Description SearchPayment Period DescriptionNormalText250Payment Period Descriptionnvarchar(500)
13Modified Manually SearchModified ManuallyNormalBoolean4Modified Manuallytinyint
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 Line].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Payment Practice Line$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Line]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Payment Practice Line].[$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 *