Commission History (RM30501)

Easily find this page again using the shortlink: https://gpt.azrcrv.co.uk/RM30501

Product: Microsoft Dynamics GP (0)
Series: Sales

Display Name: Commission History
Physical Name: RM30501
Technical Name: RM_Commission_History

Group Display Name: Receivable Transaction History Files
Group Technical Name: RM_Transaction_History_Logical_File

Seq NoPhysical NameDisplay NameDexterity Data TypeSQL Data TypeSQL DB LengthKeyable Length
1NCOMAMNT SearchNon-Commissioned AmountDLR19_RBS0_STR$Currency1019
2RMDTYPAL SearchRM Document Type-AllINT2Integer22
Document Type records the type of document.

Click to show/hide the Document Types


0	Balance Carried Forward
1	Sales / Invoice
2	Scheduled Payments
3	Debit Memo
4	Finance Charge
5	Service Repairs
6	Warranties
7	Credit Memo
8	Returns
9	Payments
3COMPRCNT SearchCommission PercentINT5_%2Integer25
4DOCNUMBR SearchDocument NumberSTR20_Document_NumberString2220
5SEQNUMBR SearchSequence NumberLI_Sequence_NumberLong Integer410
6TRXSORCE SearchTRX SourceSTR13String1413
7COMTRSRC SearchCommission TRX SourceSTR13String1413
8CUSTNMBR SearchCustomer NumberSTR15_RM_Customer_NumberString1615
Key to the RM Customer MSTR (RM00101).

Click to show/hide

SELECT
       ['Commission History'].CUSTNMBR AS 'Commission History-Customer Number'
       ,['RM Customer MSTR'].CUSTNMBR AS 'RM Customer MSTR-Customer Number'
FROM
       RM30501 AS ['Commission History']
INNER JOIN
       RM00101 AS ['RM Customer MSTR']
              ON
                     ['Commission History'].CUSTNMBR = ['RM Customer MSTR'].CUSTNMBR
9SLPRSNID SearchSalesperson IDSTR15_Salesperson_IDString1615
Key to the RM Salesperson Master (RM00301).

Click to show/hide

SELECT
       ['Commission History'].SLPRSNID AS 'Commission History-Salesperson ID'
       ,['RM Salesperson Master'].SLPRSNID AS 'RM Salesperson Master-Salesperson ID'
FROM
       RM30501 AS ['Commission History']
INNER JOIN
       RM00301 AS ['RM Salesperson Master']
              ON
                     ['Commission History'].SLPRSNID = ['RM Salesperson Master'].SLPRSNID
10SALSTERR SearchSales TerritorySTR15_Sales_TerritoryString1615
Key to the Sales Territory Master File (RM00303).

Click to show/hide

SELECT
       ['Commission History'].SALSTERR AS 'Commission History-Sales Territory'
       ,['Sales Territory Master File'].SALSTERR AS 'Sales Territory Master File-Sales Territory'
FROM
       RM30501 AS ['Commission History']
INNER JOIN
       RM00303 AS ['Sales Territory Master File']
              ON
                     ['Commission History'].SALSTERR = ['Sales Territory Master File'].SALSTERR
11COMMCODE SearchCommission CodeSTR15_LBAUString1615
12PRCTOSAL SearchPercent of SaleINT5_%2Integer25
13SLSAMNT SearchSales AmountDLR19_RBSO_UTR$Currency1019
14COMDLRAM SearchCommission Dollar AmountDLR17_RBSO_STR$Currency1017
15POSTED SearchPostedTrue/FalseBoolean20
16COMMPAID SearchCommission PaidCB_Commission_PaidBoolean20
17COMMDEST SearchCommission DestinationDDL_Commission_DestinationInteger20
18ORCOMAMT SearchOriginating Commission Dollar AmountDLR17_RBSO_STR$Currency1017
19ORSLSAMT SearchOriginating Sales AmountDLR19_RBSO_STR$Currency1019
20ORNCMAMT SearchOriginating Non-Commissioned AmountDLR19_RBS0_STR$Currency1019
21CURRNIDX SearchCurrency IndexINT3Integer23
Key to the Currency Setup (MC40200).

Click to show/hide

SELECT
       ['Commission History'].CURRNIDX AS 'Commission History-Currency Index'
       ,['Currency Setup'].CURRNIDX AS 'Currency Setup-Currency Index'
FROM
       RM30501 AS ['Commission History']
INNER JOIN
       DYNAMICS..MC40200 AS ['Currency Setup']
              ON
                     ['Commission History'].CURRNIDX = ['Currency Setup'].CURRNIDX
22DEX_ROW_ID Searchintint1010

DEX_ROW_ID is an auto-numbered IDENTITY column used internally by Dexterity for lock management; it should not be used by developers to identify any particular piece of information.

Microsoft MVP Mariano Gomez has a good write up on the DEX_ROW_ID column.

Leave a Reply

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