RM Sales Work File (RM10301)

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

Product: Microsoft Dynamics GP (0)
Series: Sales

Display Name: RM Sales Work File
Physical Name: RM10301
Technical Name: RM_Sales_WORK

Group Display Name: Receivables Open Transaction Files
Group Technical Name: RM_Open_Transaction_Logical_File

Seq NoPhysical NameDisplay NameDexterity Data TypeSQL Data TypeSQL DB LengthKeyable Length
1DOCTYPE SearchDocument TypeDDL_Document_TypeInteger20
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
3RMDNUMWK SearchRM Document Number-WORKSTR17_LBAUString1817
4DOCNUMBR SearchDocument NumberSTR20_Document_NumberString2220
5DOCPRFIX SearchDocument PrefixSTR3String43
6DOCDESCR SearchDocument DescriptionSTR30String3230
7DOCDATE SearchDocument DateDTDate48
8BACHNUMB SearchBatch NumberSTR15_LBAUString1615
Partial key to the PA Report Posting Definitions Master (SY00500).

Click to show/hide

SELECT
       ['RM Sales Work File'].BACHNUMB AS 'RM Sales Work File-Batch Number'
       ,['PA Report Posting Definitions Master'].BACHNUMB AS 'PA Report Posting Definitions Master-Batch Number'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       SY00500 AS ['PA Report Posting Definitions Master']
              ON
                     ['RM Sales Work File'].BACHNUMB = ['PA Report Posting Definitions Master'].BACHNUMB
              AND
                     ['RM Sales Work File'].BCHSOURC = ['PA Report Posting Definitions Master'].BCHSOURC
9BCHSOURC SearchBatch SourceSTR15String1615
10NOTEINDX SearchNote IndexDLR14Currency1014
Key to the Record Notes Master (SY03900).

Click to show/hide

SELECT
       ['RM Sales Work File'].NOTEINDX AS 'RM Sales Work File-Note Index'
       ,['Record Notes Master'].NOTEINDX AS 'Record Notes Master-Note Index'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       SY03900 AS ['Record Notes Master']
              ON
                     ['RM Sales Work File'].NOTEINDX = ['Record Notes Master'].NOTEINDX
11CUSTNMBR SearchCustomer NumberSTR15_RM_Customer_NumberString1615
Key to the RM Customer MSTR (RM00101).

Click to show/hide

SELECT
       ['RM Sales Work File'].CUSTNMBR AS 'RM Sales Work File-Customer Number'
       ,['RM Customer MSTR'].CUSTNMBR AS 'RM Customer MSTR-Customer Number'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       RM00101 AS ['RM Customer MSTR']
              ON
                     ['RM Sales Work File'].CUSTNMBR = ['RM Customer MSTR'].CUSTNMBR
12CUSTNAME SearchCustomer NameSTR64_Customer_NameString6664
13ADRSCODE SearchAddress CodeSTR15_Address_CodeString1615
14SLPRSNID SearchSalesperson IDSTR15_Salesperson_IDString1615
Key to the RM Salesperson Master (RM00301).

Click to show/hide

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

Click to show/hide

SELECT
       ['RM Sales Work File'].SALSTERR AS 'RM Sales Work File-Sales Territory'
       ,['Sales Territory Master File'].SALSTERR AS 'Sales Territory Master File-Sales Territory'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       RM00303 AS ['Sales Territory Master File']
              ON
                     ['RM Sales Work File'].SALSTERR = ['Sales Territory Master File'].SALSTERR
16COMAPPTO SearchCommission Applied ToGBInteger20
17COMDLRAM SearchCommission Dollar AmountDLR17_RBSO_STR$Currency1017
18NCOMAMNT SearchNon-Commissioned AmountDLR19_RBS0_STR$Currency1019
19SHIPMTHD SearchShipping MethodSTR15_Shipping_MethodString1615
Key to the Shipping Methods Master (SY03000).

Click to show/hide

SELECT
       ['RM Sales Work File'].SHIPMTHD AS 'RM Sales Work File-Shipping Method'
       ,['Shipping Methods Master'].SHIPMTHD AS 'Shipping Methods Master-Shipping Method'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       SY03000 AS ['Shipping Methods Master']
              ON
                     ['RM Sales Work File'].SHIPMTHD = ['Shipping Methods Master'].SHIPMTHD
20CSTPONBR SearchCustomer PO NumberSTR20_Document_NumberString2220
21TAXSCHID SearchTax Schedule IDSTR15_Tax_Schedule_IDString1615
Key to the Sales/Purchases Tax Schedule Header Master (TX00101).

Click to show/hide

SELECT
       ['RM Sales Work File'].TAXSCHID AS 'RM Sales Work File-Tax Schedule ID'
       ,['Sales/Purchases Tax Schedule Header Master'].TAXSCHID AS 'Sales/Purchases Tax Schedule Header Master-Tax Schedule ID'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       TX00101 AS ['Sales/Purchases Tax Schedule Header Master']
              ON
                     ['RM Sales Work File'].TAXSCHID = ['Sales/Purchases Tax Schedule Header Master'].TAXSCHID
22SLSCHDID SearchSales Schedule IDSTR15_LBUString1615
Key to the Sales/Purchases Tax Schedule Header Master (TX00101).

Click to show/hide

SELECT
       ['RM Sales Work File'].SLSCHDID AS 'RM Sales Work File-Sales Schedule ID'
       ,['Sales/Purchases Tax Schedule Header Master'].TAXSCHID AS 'Sales/Purchases Tax Schedule Header Master-Tax Schedule ID'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       TX00101 AS ['Sales/Purchases Tax Schedule Header Master']
              ON
                     ['RM Sales Work File'].SLSCHDID = ['Sales/Purchases Tax Schedule Header Master'].TAXSCHID
23FRTSCHID SearchFreight Schedule IDSTR15_LBAUString1615
Key to the Sales/Purchases Tax Schedule Header Master (TX00101).

Click to show/hide

SELECT
       ['RM Sales Work File'].FRTSCHID AS 'RM Sales Work File-Freight Schedule ID'
       ,['Sales/Purchases Tax Schedule Header Master'].TAXSCHID AS 'Sales/Purchases Tax Schedule Header Master-Tax Schedule ID'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       TX00101 AS ['Sales/Purchases Tax Schedule Header Master']
              ON
                     ['RM Sales Work File'].FRTSCHID = ['Sales/Purchases Tax Schedule Header Master'].TAXSCHID
24MSCSCHID SearchMisc Schedule IDSTR15_LBAUString1615
Key to the Sales/Purchases Tax Schedule Header Master (TX00101).

Click to show/hide

SELECT
       ['RM Sales Work File'].MSCSCHID AS 'RM Sales Work File-Misc Schedule ID'
       ,['Sales/Purchases Tax Schedule Header Master'].TAXSCHID AS 'Sales/Purchases Tax Schedule Header Master-Tax Schedule ID'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       TX00101 AS ['Sales/Purchases Tax Schedule Header Master']
              ON
                     ['RM Sales Work File'].MSCSCHID = ['Sales/Purchases Tax Schedule Header Master'].TAXSCHID
25COSTAMNT SearchCost AmountDLR19_RBSO_UTR$Currency1019
26SLSAMNT SearchSales AmountDLR19_RBSO_UTR$Currency1019
27TRDISAMT SearchTrade Discount AmountDLR17_RBS0_UTR$Currency1017
28TRDDISCT SearchTrade DiscountINT4_%2Integer24
29FRTAMNT SearchFreight AmountDLR17_RBS0_UTR$Currency1017
30MISCAMNT SearchMisc AmountDLR17_RBS0_UTR$Currency1017
31TAXAMNT SearchTax AmountDLR17_RBS0_UTR$Currency1017
32BKTSLSAM SearchBackout Sales AmountDLR19_RBS0_UTR$Currency1019
33BKTFRTAM SearchBackout Freight AmountDLR19_RBS0_UTR$Currency1019
34BKTMSCAM SearchBackout Misc AmountDLR19_RBS0_UTR$Currency1019
35TXENGCLD SearchTax Engine CalledYNBoolean20
36DOCAMNT SearchDocument AmountDLR19_RBSO_UTR$Currency1019
37APPLDAMT SearchApplied AmountDLR17_RBS0_STR$Currency1017
38CASHAMNT SearchCash AmountDLR19_RBS0_UTR$Currency1019
39CBKIDCSH SearchCheckbook ID CashSTR15_Checkbook_IDString1615
40CASHDATE SearchCash DateDATEDate46
41DCNUMCSH SearchDocument Number CashSTR20_Document_NumberString2220
42CHEKAMNT SearchCheck AmountDLR19_RBS0_UTR$Currency1019
43CBKIDCHK SearchCheckbook ID CheckSTR15_Checkbook_IDString1615
44CBKIDCRD SearchCheckbook ID Credit CardSTR15_Checkbook_IDString1615
45CHEKNMBR SearchCheck NumberSTR20_Document_NumberString2220
46CHEKDATE SearchCheck DateDATEDate46
47DCNUMCHK SearchDocument Number CheckSTR20_Document_NumberString2220
48CRCRDAMT SearchCredit Card AmountDLR19_RBS0_UTR$Currency1019
49CRCRDNAM SearchCredit Card NameSTR15String1615
50RCTNCCRD SearchReceipt Number Credit CardSTR20_Document_NumberString2220
51CRCARDDT SearchCredit Card DateDATEDate46
52DCNUMCRD SearchDocument Number Credit CardSTR20_Document_NumberString2220
53DISCRTND SearchDiscount ReturnedDLR17_RBS0_STR$Currency1017
54DISTKNAM SearchDiscount Taken AmountDLR17_RBS0_UTR$Currency1017
55DISAVTKN SearchDiscount Available TakenDLR17_RBS0_UTR$Currency1017
56WROFAMNT SearchWrite Off AmountDLR17_RBS0_STR$Currency1017
57PPSAMDED SearchPPS Amount DeductedDLR17_RBS0_UTR$Currency1017
58GSTDSAMT SearchGST Discount AmountDLR17_RBS0_STR$Currency1017
59ACCTAMNT SearchAccount AmountDLR19_RBS0_UTR$Currency1019
60PYMTRMID SearchPayment Terms IDSTR20_Payment_Terms_IDString2220
Key to the Payment Terms Master (SY03300).

Click to show/hide

SELECT
       ['RM Sales Work File'].PYMTRMID AS 'RM Sales Work File-Payment Terms ID'
       ,['Payment Terms Master'].PYMTRMID AS 'Payment Terms Master-Payment Terms ID'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       SY03300 AS ['Payment Terms Master']
              ON
                     ['RM Sales Work File'].PYMTRMID = ['Payment Terms Master'].PYMTRMID
61DISAVAMT SearchDiscount Available AmountDLR17_RBS0_UTR$Currency1017
62DISCDATE SearchDiscount DateDTDate48
63DUEDATE SearchDue DateDTDate48
64DSCDLRAM SearchDiscount Dollar AmountDLR11_RBS0_UTR$Currency1011
65DSCPCTAM SearchDiscount Percent AmountINT5_%2Integer25
66CURNCYID SearchCurrency IDSTR15_Currency_IDString1615
Key to the Currency Setup (MC40200).

Click to show/hide

SELECT
       ['RM Sales Work File'].CURNCYID AS 'RM Sales Work File-Currency ID'
       ,['Currency Setup'].CURNCYID AS 'Currency Setup-Currency ID'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       DYNAMICS..MC40200 AS ['Currency Setup']
              ON
                     ['RM Sales Work File'].CURNCYID = ['Currency Setup'].CURNCYID
67POSTED SearchPostedTrue/FalseBoolean20
68LSTEDTDT SearchLast Edit DateDT_DateDate46
69LSTUSRED SearchLast User to EditSTR15String1615
Key to the Users Master (SY01400).

Click to show/hide

SELECT
       ['RM Sales Work File'].LSTUSRED AS 'RM Sales Work File-Last User to Edit'
       ,['Users Master'].USERID AS 'Users Master-User ID'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       DYNAMICS..SY01400 AS ['Users Master']
              ON
                     ['RM Sales Work File'].LSTUSRED = ['Users Master'].USERID
70RMTREMSG SearchRM TRX Posting Error MessagesRM_TRX_Posting_Error_MessagesLong Integer40
71RMDPEMSG SearchRM Dist Posting Error MessagesRM_Dist_Posting_Error_MessagesLong Integer40
72GLPOSTDT SearchGL Posting DateDTDate48
73POSTEDDT SearchPosted DateDATEDate46
74PTDUSRID SearchPosted User IDSTR15String1615
Key to the Users Master (SY01400).

Click to show/hide

SELECT
       ['RM Sales Work File'].PTDUSRID AS 'RM Sales Work File-Posted User ID'
       ,['Users Master'].USERID AS 'Users Master-User ID'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       DYNAMICS..SY01400 AS ['Users Master']
              ON
                     ['RM Sales Work File'].PTDUSRID = ['Users Master'].USERID
75Tax_Date SearchTax DateDTDate48
76APLYWITH SearchApply WithholdingBooleanBoolean20
77SALEDATE SearchSale DateDTDate48
78CORRCTN SearchCorrectionCB_CorrectionBoolean20
79SIMPLIFD SearchSimplifiedCB_SimplifiedBoolean20
80CORRNXST SearchCorrection to Nonexisting TransactionBooleanBoolean20
81DOCNCORR SearchDocument Number CorrectedDocument_NumberString2220
82RMTREMSG2 SearchRM TRX Posting Error Messages 2RM_TRX_Posting_Error_Messages_2Long Integer40
83DocPrinted SearchDocPrintedCB_DocPrintedBoolean20

Click to show/hide Document Printed flag


0	Record has not been printed.
1	Record has been printed.
84DISGRPER SearchDiscount Grace PeriodINT2_U0Integer22
85DUEGRPER SearchDue Date Grace PeriodINT2_U0Integer22
86Electronic SearchElectronicCB_ElectronicBoolean20
87ECTRX SearchEC TransactionCB_EC_TransactionBoolean20
The field is set to true for each VAT Line Analysis record, if the user marks the transaction as being an EC Transaction.

Click to show/hide Document Printed flag


0	Not an EU Transaction.
1	EU Transaction.
88PSTGSTUS SearchPosting StatusINTInteger20
89BackoutTradeDisc SearchBackout Trade Discount AmountDLR19_RBS0_UTR$Currency1019
90DIRECTDEBIT SearchDirect DebitCB_DirectDebitBoolean20
91EFTFLAG SearchEFT FlagCB_EFTBoolean20
92DEX_ROW_TS Searchdatetimedatetime33
DEX_ROW_TS records the time the record was last changed; often used with integration tools to identify which records have changed and need to be synchronised.
93DEX_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 *