GPSOPCommissionsWorkHist

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

Table Type: Company

Table Name: GPSOPCommissionsWorkHist
Database Table Name:

Table Number: 4068

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 GPSOPCommissionsWorkHist 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 [GPSOPCommissionsWorkHist]
LEFT JOIN
   [User] AS [User]
      ON
         [GPSOPCommissionsWorkHist].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [GPSOPCommissionsWorkHist].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in GPSOPCommissionsWorkHist table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1SOPTYPE SearchSOP TypeNormalOption4
2SOPNUMBE Primary Key SearchSOP NumberNormalText22
3SEQNUMBR Primary Key SearchSequence NumberNormalInteger4
4SLPRSNID Primary Key SearchSalesperson IDNormalText16
5SALSTERR SearchSales TerritoryNormalText16
6COMPRCNT SearchCommission PercentNormalInteger4
7COMMAMNT SearchCommission AmountNormalDecimal12
8OCOMMAMT SearchOriginating Commission AmountNormalDecimal12
9NCOMAMNT SearchNon-Commissioned AmountNormalDecimal12
10ORNCMAMT SearchOriginating Non-Commissioned AmountNormalDecimal12
11PRCTOSAL SearchPercent of SaleNormalInteger4
12ACTSLAMT SearchActual Sale AmountNormalDecimal12
13ORSLSAMT SearchOriginating Sales AmountNormalDecimal12
14CMMSLAMT SearchCommission Sale AmountNormalDecimal12
15ORCOSAMT SearchOriginating Commission Sales AmountNormalDecimal12
16CURRNIDX SearchCurrency IndexNormalInteger4
17TRXSORCE SearchTRX SourceNormalText14
18DEX_ROW_ID SearchDEX_ROW_IDNormalInteger4
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

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

Leave a Reply

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