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 TypeIntegerDDL_Document_Type0
2RMDTYPAL SearchRM Document Type-AllIntegerINT22
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-WORKStringSTR17_LBAU17
4DOCNUMBR SearchDocument NumberStringSTR20_Document_Number20
5DOCPRFIX SearchDocument PrefixStringSTR33
6DOCDESCR SearchDocument DescriptionStringSTR3030
7DOCDATE SearchDocument DateDateDT8
8BACHNUMB SearchBatch NumberStringSTR15_LBAU15
Partial key to the Posting Definitions Master (SY00500).

Click to show/hide

SELECT
       ['RM Sales Work File'].BACHNUMB AS 'RM Sales Work File-Batch Number'
       ,['Posting Definitions Master'].BACHNUMB AS 'Posting Definitions Master-Batch Number'
FROM
       RM10301 AS ['RM Sales Work File']
INNER JOIN
       SY00500 AS ['Posting Definitions Master']
              ON
                     ['RM Sales Work File'].BACHNUMB = ['Posting Definitions Master'].BACHNUMB
              AND
                     ['RM Sales Work File'].BCHSOURC = ['Posting Definitions Master'].BCHSOURC
9BCHSOURC SearchBatch SourceStringSTR1515
10NOTEINDX SearchNote IndexCurrencyDLR1414
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 NumberStringSTR15_RM_Customer_Number15
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 NameStringSTR64_Customer_Name64
13ADRSCODE SearchAddress CodeStringSTR15_Address_Code15
14SLPRSNID SearchSalesperson IDStringSTR15_Salesperson_ID15
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 TerritoryStringSTR15_Sales_Territory15
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 ToIntegerGB0
17COMDLRAM SearchCommission Dollar AmountCurrencyDLR17_RBSO_STR$17
18NCOMAMNT SearchNon-Commissioned AmountCurrencyDLR19_RBS0_STR$19
19SHIPMTHD SearchShipping MethodStringSTR15_Shipping_Method15
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 NumberStringSTR20_Document_Number20
21TAXSCHID SearchTax Schedule IDStringSTR15_Tax_Schedule_ID15
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 IDStringSTR15_LBU15
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 IDStringSTR15_LBAU15
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 IDStringSTR15_LBAU15
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 AmountCurrencyDLR19_RBSO_UTR$19
26SLSAMNT SearchSales AmountCurrencyDLR19_RBSO_UTR$19
27TRDISAMT SearchTrade Discount AmountCurrencyDLR17_RBS0_UTR$17
28TRDDISCT SearchTrade DiscountIntegerINT4_%24
29FRTAMNT SearchFreight AmountCurrencyDLR17_RBS0_UTR$17
30MISCAMNT SearchMisc AmountCurrencyDLR17_RBS0_UTR$17
31TAXAMNT SearchTax AmountCurrencyDLR17_RBS0_UTR$17
32BKTSLSAM SearchBackout Sales AmountCurrencyDLR19_RBS0_UTR$19
33BKTFRTAM SearchBackout Freight AmountCurrencyDLR19_RBS0_UTR$19
34BKTMSCAM SearchBackout Misc AmountCurrencyDLR19_RBS0_UTR$19
35TXENGCLD SearchTax Engine CalledBooleanYN0
36DOCAMNT SearchDocument AmountCurrencyDLR19_RBSO_UTR$19
37APPLDAMT SearchApplied AmountCurrencyDLR17_RBS0_STR$17
38CASHAMNT SearchCash AmountCurrencyDLR19_RBS0_UTR$19
39CBKIDCSH SearchCheckbook ID CashStringSTR15_Checkbook_ID15
40CASHDATE SearchCash DateDateDATE6
41DCNUMCSH SearchDocument Number CashStringSTR20_Document_Number20
42CHEKAMNT SearchCheck AmountCurrencyDLR19_RBS0_UTR$19
43CBKIDCHK SearchCheckbook ID CheckStringSTR15_Checkbook_ID15
44CBKIDCRD SearchCheckbook ID Credit CardStringSTR15_Checkbook_ID15
45CHEKNMBR SearchCheck NumberStringSTR20_Document_Number20
46CHEKDATE SearchCheck DateDateDATE6
47DCNUMCHK SearchDocument Number CheckStringSTR20_Document_Number20
48CRCRDAMT SearchCredit Card AmountCurrencyDLR19_RBS0_UTR$19
49CRCRDNAM SearchCredit Card NameStringSTR1515
50RCTNCCRD SearchReceipt Number Credit CardStringSTR20_Document_Number20
51CRCARDDT SearchCredit Card DateDateDATE6
52DCNUMCRD SearchDocument Number Credit CardStringSTR20_Document_Number20
53DISCRTND SearchDiscount ReturnedCurrencyDLR17_RBS0_STR$17
54DISTKNAM SearchDiscount Taken AmountCurrencyDLR17_RBS0_UTR$17
55DISAVTKN SearchDiscount Available TakenCurrencyDLR17_RBS0_UTR$17
56WROFAMNT SearchWrite Off AmountCurrencyDLR17_RBS0_STR$17
57PPSAMDED SearchPPS Amount DeductedCurrencyDLR17_RBS0_UTR$17
58GSTDSAMT SearchGST Discount AmountCurrencyDLR17_RBS0_STR$17
59ACCTAMNT SearchAccount AmountCurrencyDLR19_RBS0_UTR$19
60PYMTRMID SearchPayment Terms IDStringSTR20_Payment_Terms_ID20
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 AmountCurrencyDLR17_RBS0_UTR$17
62DISCDATE SearchDiscount DateDateDT8
63DUEDATE SearchDue DateDateDT8
64DSCDLRAM SearchDiscount Dollar AmountCurrencyDLR11_RBS0_UTR$11
65DSCPCTAM SearchDiscount Percent AmountIntegerINT5_%25
66CURNCYID SearchCurrency IDStringSTR15_Currency_ID15
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 SearchPostedBooleanTrue/False0
68LSTEDTDT SearchLast Edit DateDateDT_Date6
69LSTUSRED SearchLast User to EditStringSTR1515
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 MessagesLong IntegerRM_TRX_Posting_Error_Messages0
71RMDPEMSG SearchRM Dist Posting Error MessagesLong IntegerRM_Dist_Posting_Error_Messages0
72GLPOSTDT SearchGL Posting DateDateDT8
73POSTEDDT SearchPosted DateDateDATE6
74PTDUSRID SearchPosted User IDStringSTR1515
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 DateDateDT8
76APLYWITH SearchApply WithholdingBooleanBoolean0
77SALEDATE SearchSale DateDateDT8
78CORRCTN SearchCorrectionBooleanCB_Correction0
79SIMPLIFD SearchSimplifiedBooleanCB_Simplified0
80CORRNXST SearchCorrection to Nonexisting TransactionBooleanBoolean0
81DOCNCORR SearchDocument Number CorrectedStringDocument_Number20
82RMTREMSG2 SearchRM TRX Posting Error Messages 2Long IntegerRM_TRX_Posting_Error_Messages_20
83DocPrinted SearchDocPrintedBooleanCB_DocPrinted0

Click to show/hide Document Printed flag


0	Record has not been printed.
1	Record has been printed.
84DISGRPER SearchDiscount Grace PeriodIntegerINT2_U02
85DUEGRPER SearchDue Date Grace PeriodIntegerINT2_U02
86Electronic SearchElectronicBooleanCB_Electronic0
87ECTRX SearchEC TransactionBooleanCB_EC_Transaction0
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 StatusIntegerINT0
89BackoutTradeDisc SearchBackout Trade Discount AmountCurrencyDLR19_RBS0_UTR$19
90DIRECTDEBIT SearchDirect DebitBooleanCB_DirectDebit0
91EFTFLAG SearchEFT FlagBooleanCB_EFT0

Leave a Reply

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