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 TypeLength
1DOCTYPE SearchDocument TypeDDL_Document_TypeInteger0
2RMDTYPAL SearchRM Document Type-AllINT2Integer2
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_LBAUString17
4DOCNUMBR SearchDocument NumberSTR20_Document_NumberString20
5DOCPRFIX SearchDocument PrefixSTR3String3
6DOCDESCR SearchDocument DescriptionSTR30String30
7DOCDATE SearchDocument DateDTDate8
8BACHNUMB SearchBatch NumberSTR15_LBAUString15
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 SourceSTR15String15
10NOTEINDX SearchNote IndexDLR14Currency14
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_NumberString15
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_NameString64
13ADRSCODE SearchAddress CodeSTR15_Address_CodeString15
14SLPRSNID SearchSalesperson IDSTR15_Salesperson_IDString15
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_TerritoryString15
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 ToGBInteger0
17COMDLRAM SearchCommission Dollar AmountDLR17_RBSO_STR$Currency17
18NCOMAMNT SearchNon-Commissioned AmountDLR19_RBS0_STR$Currency19
19SHIPMTHD SearchShipping MethodSTR15_Shipping_MethodString15
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_NumberString20
21TAXSCHID SearchTax Schedule IDSTR15_Tax_Schedule_IDString15
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_LBUString15
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_LBAUString15
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_LBAUString15
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$Currency19
26SLSAMNT SearchSales AmountDLR19_RBSO_UTR$Currency19
27TRDISAMT SearchTrade Discount AmountDLR17_RBS0_UTR$Currency17
28TRDDISCT SearchTrade DiscountINT4_%2Integer4
29FRTAMNT SearchFreight AmountDLR17_RBS0_UTR$Currency17
30MISCAMNT SearchMisc AmountDLR17_RBS0_UTR$Currency17
31TAXAMNT SearchTax AmountDLR17_RBS0_UTR$Currency17
32BKTSLSAM SearchBackout Sales AmountDLR19_RBS0_UTR$Currency19
33BKTFRTAM SearchBackout Freight AmountDLR19_RBS0_UTR$Currency19
34BKTMSCAM SearchBackout Misc AmountDLR19_RBS0_UTR$Currency19
35TXENGCLD SearchTax Engine CalledYNBoolean0
36DOCAMNT SearchDocument AmountDLR19_RBSO_UTR$Currency19
37APPLDAMT SearchApplied AmountDLR17_RBS0_STR$Currency17
38CASHAMNT SearchCash AmountDLR19_RBS0_UTR$Currency19
39CBKIDCSH SearchCheckbook ID CashSTR15_Checkbook_IDString15
40CASHDATE SearchCash DateDATEDate6
41DCNUMCSH SearchDocument Number CashSTR20_Document_NumberString20
42CHEKAMNT SearchCheck AmountDLR19_RBS0_UTR$Currency19
43CBKIDCHK SearchCheckbook ID CheckSTR15_Checkbook_IDString15
44CBKIDCRD SearchCheckbook ID Credit CardSTR15_Checkbook_IDString15
45CHEKNMBR SearchCheck NumberSTR20_Document_NumberString20
46CHEKDATE SearchCheck DateDATEDate6
47DCNUMCHK SearchDocument Number CheckSTR20_Document_NumberString20
48CRCRDAMT SearchCredit Card AmountDLR19_RBS0_UTR$Currency19
49CRCRDNAM SearchCredit Card NameSTR15String15
50RCTNCCRD SearchReceipt Number Credit CardSTR20_Document_NumberString20
51CRCARDDT SearchCredit Card DateDATEDate6
52DCNUMCRD SearchDocument Number Credit CardSTR20_Document_NumberString20
53DISCRTND SearchDiscount ReturnedDLR17_RBS0_STR$Currency17
54DISTKNAM SearchDiscount Taken AmountDLR17_RBS0_UTR$Currency17
55DISAVTKN SearchDiscount Available TakenDLR17_RBS0_UTR$Currency17
56WROFAMNT SearchWrite Off AmountDLR17_RBS0_STR$Currency17
57PPSAMDED SearchPPS Amount DeductedDLR17_RBS0_UTR$Currency17
58GSTDSAMT SearchGST Discount AmountDLR17_RBS0_STR$Currency17
59ACCTAMNT SearchAccount AmountDLR19_RBS0_UTR$Currency19
60PYMTRMID SearchPayment Terms IDSTR20_Payment_Terms_IDString20
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$Currency17
62DISCDATE SearchDiscount DateDTDate8
63DUEDATE SearchDue DateDTDate8
64DSCDLRAM SearchDiscount Dollar AmountDLR11_RBS0_UTR$Currency11
65DSCPCTAM SearchDiscount Percent AmountINT5_%2Integer5
66CURNCYID SearchCurrency IDSTR15_Currency_IDString15
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/FalseBoolean0
68LSTEDTDT SearchLast Edit DateDT_DateDate6
69LSTUSRED SearchLast User to EditSTR15String15
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 Integer0
71RMDPEMSG SearchRM Dist Posting Error MessagesRM_Dist_Posting_Error_MessagesLong Integer0
72GLPOSTDT SearchGL Posting DateDTDate8
73POSTEDDT SearchPosted DateDATEDate6
74PTDUSRID SearchPosted User IDSTR15String15
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 DateDTDate8
76APLYWITH SearchApply WithholdingBooleanBoolean0
77SALEDATE SearchSale DateDTDate8
78CORRCTN SearchCorrectionCB_CorrectionBoolean0
79SIMPLIFD SearchSimplifiedCB_SimplifiedBoolean0
80CORRNXST SearchCorrection to Nonexisting TransactionBooleanBoolean0
81DOCNCORR SearchDocument Number CorrectedDocument_NumberString20
82RMTREMSG2 SearchRM TRX Posting Error Messages 2RM_TRX_Posting_Error_Messages_2Long Integer0
83DocPrinted SearchDocPrintedCB_DocPrintedBoolean0

Click to show/hide Document Printed flag


0	Record has not been printed.
1	Record has been printed.
84DISGRPER SearchDiscount Grace PeriodINT2_U0Integer2
85DUEGRPER SearchDue Date Grace PeriodINT2_U0Integer2
86Electronic SearchElectronicCB_ElectronicBoolean0
87ECTRX SearchEC TransactionCB_EC_TransactionBoolean0
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 StatusINTInteger0
89BackoutTradeDisc SearchBackout Trade Discount AmountDLR19_RBS0_UTR$Currency19
90DIRECTDEBIT SearchDirect DebitCB_DirectDebitBoolean0
91EFTFLAG SearchEFT FlagCB_EFTBoolean0
92DEX_ROW_TS Searchdatetimedatetime3
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 Searchintint10

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 *