Payment Practice Header

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

Table Type: Company

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

Table Number: 687

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [No_]
   ,[Starting Date]
   ,[Ending Date]
   ,[Aggregation Type]
   ,[Header Type]
   ,[Average Agreed Payment Period]
   ,[Average Actual Payment Period]
   ,[Pct Paid on Time]
   ,[Generated On]
   ,[Generated By]
   ,[Modified Manually]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Payment Practice Header$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 Header$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Header]
LEFT JOIN
   [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
      ON
         [Payment Practice Header].[Ending Date] = [Inventory Period].[Ending Date]
LEFT JOIN
   [User] AS [User]
      ON
         [Payment Practice Header].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Payment Practice Header].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Payment Practice Header table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1No. SearchNo.NormalInteger4No_int
2Starting Date Primary Key SearchStarting DateNormalDate4Starting Datedatetime
3Ending Date SearchEnding DateNormalDate4Ending Datedatetime
Key to join to the Inventory Period table.

Show/hide example query

SELECT
	       [Payment Practice Header].[Ending Date]
	       ,[Inventory Period].[Ending Date]
	FROM
	       [CRONUS UK Ltd_$Payment Practice Header$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Header]
	LEFT JOIN
	       [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
	              ON
	                     [Payment Practice Header].[Ending Date] = [Inventory Period].[Ending Date]
4Aggregation Type SearchAggregation TypeNormalOption4Aggregation Typeint
Available options are:
  • “Period”
  • “Company Size”
5Header Type SearchHeader TypeNormalOption4Header Typeint
Available options are:
  • “Vendor”
  • “Customer”
  • “Vendor+Customer”
6Average Agreed Payment Period SearchAverage Agreed Payment PeriodNormalInteger4Average Agreed Payment Periodint
7Average Actual Payment Period SearchAverage Actual Payment PeriodNormalInteger4Average Actual Payment Periodint
8Pct Paid on Time SearchPct Paid on TimeNormalDecimal12Pct Paid on Timedecimal(38,38)
9Generated On SearchGenerated OnNormalDateTime8Generated Ondatetime
10Generated By SearchGenerated ByNormalCode20Generated Bynvarchar(40)
11Lines Exist SearchLines ExistFlowFieldBoolean4
12Modified 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 Header].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Payment Practice Header$64977288-facd-4b48-aaaa-bb0e288edfb3] AS [Payment Practice Header]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Payment Practice Header].[$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 *