GP Payment Terms

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

Table Type: Company

Table Name: GP Payment Terms
Database Table Name:

Table Number: 4026

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 GP Payment Terms can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   []

Show/hide an example select of all columns by name

SELECT

FROM
   []

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

SELECT
   *
FROM
   [] AS [GP Payment Terms]
LEFT JOIN
   [User] AS [User]
      ON
         [GP Payment Terms].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [GP Payment Terms].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in GP Payment Terms table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1PYMTRMID SearchPayment Terms IDNormalText22
2DUETYPE Primary Key SearchDue TypeNormalOption4
3DUEDTDS SearchDue Date/DaysNormalInteger4
4DISCTYPE SearchDiscount TypeNormalOption4
5DISCDTDS SearchDiscount Date/DaysNormalInteger4
6DSCLCTYP SearchDiscount Calculate TypeNormalOption4
8DSCPCTAM SearchDiscount Percent AmountNormalInteger4
13TAX SearchTaxNormalBoolean4
15CBUVATMD SearchCB_Use_Tax_ModeNormalBoolean4
19USEGRPER SearchUse Grace PeriodsNormalBoolean4
20CalculateDateFrom SearchCalculate Date FromNormalOption4
21CalculateDateFromDays SearchCalculate Date From DaysNormalInteger4
22DueMonth SearchDue MonthNormalOption4
23DiscountMonth SearchDiscount MonthNormalOption4
25PYMTRMID_New SearchBC-Friendly Payment TermNormalText10
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [GP Payment Terms].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GP Payment Terms]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GP Payment Terms].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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