PM Transaction OPEN File (PM20000)

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

Product: Microsoft Dynamics GP (0)
Series: Purchasing

Display Name: PM Transaction OPEN File
Physical Name: PM20000
Technical Name: PM_Transaction_OPEN

Group Display Name: Payables Transaction Logical File
Group Technical Name: PM_Transaction_Logical_File

Seq NoPhysical NameDisplay NameDexterity Data TypeSQL Data TypeSQL DB LengthKeyable Length
1VCHRNMBR SearchVoucher NumberSTR20_LBAUString2220
Partial key to the PM Key Master File (PM00400).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].VCHRNMBR AS 'PM Transaction OPEN File-Voucher Number'
       ,['PM Key Master File'].CNTRLNUM AS 'PM Key Master File-Control Number'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       PM00400 AS ['PM Key Master File']
              ON
                     ['PM Transaction OPEN File'].VCHRNMBR = ['PM Key Master File'].CNTRLNUM
              AND
                     ['PM Transaction OPEN File'].DOCTYPE = ['PM Key Master File'].DOCTYPE
2VENDORID SearchVendor IDSTR_15_Vendor_IDString1615
Key to the PM Vendor Master File (PM00200).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].VENDORID AS 'PM Transaction OPEN File-Vendor ID'
       ,['PM Vendor Master File'].VENDORID AS 'PM Vendor Master File-Vendor ID'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       PM00200 AS ['PM Vendor Master File']
              ON
                     ['PM Transaction OPEN File'].VENDORID = ['PM Vendor Master File'].VENDORID
3DOCTYPE SearchDocument TypeDDL_Document_TypeInteger20

Click to show/hide Document Types


1	Invoice
2	Finance Charge
3	Miscellaneous Charges
4	Return
5	Credit Memo
4DOCDATE SearchDocument DateDTDate48
5DOCNUMBR SearchDocument NumberSTR20_Document_NumberString2220
6DOCAMNT SearchDocument AmountDLR19_RBSO_UTR$Currency1019
7CURTRXAM SearchCurrent Trx AmountDLR17_RBS0_UTR$Currency1017
8DISTKNAM SearchDiscount Taken AmountDLR17_RBS0_UTR$Currency1017
9DISCAMNT SearchDiscount AmountDLR17_RBS0_STR$Currency1017
10DSCDLRAM SearchDiscount Dollar AmountDLR11_RBS0_UTR$Currency1011
11BACHNUMB SearchBatch NumberSTR15_LBAUString1615
12TRXSORCE SearchTRX SourceSTR13String1413
13BCHSOURC SearchBatch SourceSTR15String1615
Records whether the transaction was entered in a batch or not.

Click to show/hide the Batch Sources

PM_Trxent	Batch
XXPM_Trxent	No batch (real-time)
14DISCDATE SearchDiscount DateDTDate48
15DUEDATE SearchDue DateDTDate48
16PORDNMBR SearchPurchase Order NumberPurchase Order NumberString2220
17TEN99AMNT Search1099 AmountDLR17_RBS0_UTR$Currency1017
18WROFAMNT SearchWrite Off AmountDLR17_RBS0_STR$Currency1017
19DISAMTAV SearchDiscount Amount AvailableDLR17_RBS0_UTR$Currency1017
20TRXDSCRN SearchTransaction DescriptionSTR30String3230
21UN1099AM SearchUnapplied 1099 AmountDLR17_RBS0_UTR$Currency1017
22BKTPURAM SearchBackout Purchases AmountDLR19_RBS0_UTR$Currency1019
23BKTFRTAM SearchBackout Freight AmountDLR19_RBS0_UTR$Currency1019
24BKTMSCAM SearchBackout Misc AmountDLR19_RBS0_UTR$Currency1019
25VOIDED SearchVoidedCBBoolean20
26HOLD SearchHoldCB_HoldBoolean20
27CHEKBKID SearchCheckbook IDSTR15_Checkbook_IDString1615
Key to the CM Checkbook Master (CM00100).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].CHEKBKID AS 'PM Transaction OPEN File-Checkbook ID'
       ,['CM Checkbook Master'].CHEKBKID AS 'CM Checkbook Master-Checkbook ID'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       CM00100 AS ['CM Checkbook Master']
              ON
                     ['PM Transaction OPEN File'].CHEKBKID = ['CM Checkbook Master'].CHEKBKID
28DINVPDOF SearchDate Invoice Paid OffDTDate48
29PPSAMDED SearchPPS Amount DeductedDLR17_RBS0_UTR$Currency1017
30PPSTAXRT SearchPPS Tax RateINT5_%2Integer25
31PGRAMSBJ SearchPercent Of Gross Amount SubjectINT5_RBS2_U%Integer25
32GSTDSAMT SearchGST Discount AmountDLR17_RBS0_STR$Currency1017
33POSTEDDT SearchPosted DateDATEDate46
34PTDUSRID SearchPosted User IDSTR15String1615
Key to the Users Master (SY01400).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].PTDUSRID AS 'PM Transaction OPEN File-Posted User ID'
       ,['Users Master'].USERID AS 'Users Master-User ID'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       DYNAMICS..SY01400 AS ['Users Master']
              ON
                     ['PM Transaction OPEN File'].PTDUSRID = ['Users Master'].USERID
35MODIFDT SearchModified DateDTDate48
36MDFUSRID SearchModified User IDSTR15String1615
Key to the Users Master (SY01400).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].MDFUSRID AS 'PM Transaction OPEN File-Modified User ID'
       ,['Users Master'].USERID AS 'Users Master-User ID'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       DYNAMICS..SY01400 AS ['Users Master']
              ON
                     ['PM Transaction OPEN File'].MDFUSRID = ['Users Master'].USERID
37PYENTTYP SearchPayment Entry TypeGBInteger20

Click to show/hide Payment Entry Type


0	Check
1	Cash
2	Credit Card
38CARDNAME SearchCard NameSTR15_Card_NameString1615
39PRCHAMNT SearchPurchases AmountDLR17_RBS0_UTR$Currency1017
40TRDISAMT SearchTrade Discount AmountDLR17_RBS0_UTR$Currency1017
41MSCCHAMT SearchMisc Charges AmountDLR17_RBS0_UTR$Currency1017
42FRTAMNT SearchFreight AmountDLR17_RBS0_UTR$Currency1017
43TAXAMNT SearchTax AmountDLR17_RBS0_UTR$Currency1017
44TTLPYMTS SearchTotal PaymentsDLR19_RBS0_UTR$Currency1019
45CURNCYID SearchCurrency IDSTR15_Currency_IDString1615
Key to the Currency Setup (MC40200).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].CURNCYID AS 'PM Transaction OPEN File-Currency ID'
       ,['Currency Setup'].CURNCYID AS 'Currency Setup-Currency ID'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       DYNAMICS..MC40200 AS ['Currency Setup']
              ON
                     ['PM Transaction OPEN File'].CURNCYID = ['Currency Setup'].CURNCYID
46PYMTRMID SearchPayment Terms IDSTR20_Payment_Terms_IDString2220
Key to the Payment Terms Master (SY03300).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].PYMTRMID AS 'PM Transaction OPEN File-Payment Terms ID'
       ,['Payment Terms Master'].PYMTRMID AS 'Payment Terms Master-Payment Terms ID'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       SY03300 AS ['Payment Terms Master']
              ON
                     ['PM Transaction OPEN File'].PYMTRMID = ['Payment Terms Master'].PYMTRMID
47SHIPMTHD SearchShipping MethodSTR15_Shipping_MethodString1615
Key to the Shipping Methods Master (SY03000).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].SHIPMTHD AS 'PM Transaction OPEN File-Shipping Method'
       ,['Shipping Methods Master'].SHIPMTHD AS 'Shipping Methods Master-Shipping Method'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       SY03000 AS ['Shipping Methods Master']
              ON
                     ['PM Transaction OPEN File'].SHIPMTHD = ['Shipping Methods Master'].SHIPMTHD
48TAXSCHID SearchTax Schedule IDSTR15_Tax_Schedule_IDString1615
Key to the Sales/Purchases Tax Schedule Header Master (TX00101).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].TAXSCHID AS 'PM Transaction OPEN File-Tax Schedule ID'
       ,['Sales/Purchases Tax Schedule Header Master'].TAXSCHID AS 'Sales/Purchases Tax Schedule Header Master-Tax Schedule ID'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       TX00101 AS ['Sales/Purchases Tax Schedule Header Master']
              ON
                     ['PM Transaction OPEN File'].TAXSCHID = ['Sales/Purchases Tax Schedule Header Master'].TAXSCHID
49PCHSCHID SearchPurchase Schedule IDSTR15_LBAUString1615
Key to the Sales/Purchases Tax Schedule Header Master (TX00101).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].PCHSCHID AS 'PM Transaction OPEN File-Purchase Schedule ID'
       ,['Sales/Purchases Tax Schedule Header Master'].TAXSCHID AS 'Sales/Purchases Tax Schedule Header Master-Tax Schedule ID'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       TX00101 AS ['Sales/Purchases Tax Schedule Header Master']
              ON
                     ['PM Transaction OPEN File'].PCHSCHID = ['Sales/Purchases Tax Schedule Header Master'].TAXSCHID
50FRTSCHID SearchFreight Schedule IDSTR15_LBAUString1615
Key to the Sales/Purchases Tax Schedule Header Master (TX00101).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].FRTSCHID AS 'PM Transaction OPEN File-Freight Schedule ID'
       ,['Sales/Purchases Tax Schedule Header Master'].TAXSCHID AS 'Sales/Purchases Tax Schedule Header Master-Tax Schedule ID'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       TX00101 AS ['Sales/Purchases Tax Schedule Header Master']
              ON
                     ['PM Transaction OPEN File'].FRTSCHID = ['Sales/Purchases Tax Schedule Header Master'].TAXSCHID
51MSCSCHID SearchMisc Schedule IDSTR15_LBAUString1615
Key to the Sales/Purchases Tax Schedule Header Master (TX00101).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].MSCSCHID AS 'PM Transaction OPEN File-Misc Schedule ID'
       ,['Sales/Purchases Tax Schedule Header Master'].TAXSCHID AS 'Sales/Purchases Tax Schedule Header Master-Tax Schedule ID'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       TX00101 AS ['Sales/Purchases Tax Schedule Header Master']
              ON
                     ['PM Transaction OPEN File'].MSCSCHID = ['Sales/Purchases Tax Schedule Header Master'].TAXSCHID
52PSTGDATE SearchPosting DateDTDate48
53DISAVTKN SearchDiscount Available TakenDLR17_RBS0_UTR$Currency1017
54CNTRLTYP SearchControl TypeINT1Integer21
The Control Type records the type of transaction.

Click to show/hide Control Types

0	Voucher types
1	Payment types
2	Printed alignment forms
55NOTEINDX SearchNote IndexDLR14Currency1014
Key to the Record Notes Master (SY03900).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].NOTEINDX AS 'PM Transaction OPEN File-Note Index'
       ,['Record Notes Master'].NOTEINDX AS 'Record Notes Master-Note Index'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       SY03900 AS ['Record Notes Master']
              ON
                     ['PM Transaction OPEN File'].NOTEINDX = ['Record Notes Master'].NOTEINDX
56PRCTDISC SearchPercent DiscountINT5_%2Integer25
57RETNAGAM SearchRetainage AmountDLR17_RBS0_UTR$Currency1017
58ICTRX SearchIC TRXCB_IC_TRXBoolean20

Click to show/hide Intercompany flag


0	Not intercompany.
1	Intercompany
59Tax_Date SearchTax DateDTDate48
60PRCHDATE SearchPurchase DateDTDate48
61CORRCTN SearchCorrectionCB_CorrectionBoolean20
62SIMPLIFD SearchSimplifiedCB_SimplifiedBoolean20
63BNKRCAMT SearchBank Receipts AmountDLR17_RBS0_STR$Currency1017
64APLYWITH SearchApply WithholdingBooleanBoolean20
65Electronic SearchElectronicCB_ElectronicBoolean20
66ECTRX 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.
67DocPrinted SearchDocPrintedCB_DocPrintedBoolean20

Click to show/hide Document Printed flag


0	Record has not been printed.
1	Record has been printed.
68TaxInvReqd SearchTax Invoice RequiredCB_Tax_Invoice_RequiredBoolean20
69VNDCHKNM SearchVendor Check NameSTR64_Vendor_NameString6664
70BackoutTradeDisc SearchBackout Trade Discount AmountDLR19_RBS0_UTR$Currency1019
71CBVAT SearchCash Based VATCB_CashBasedVATBoolean20
72VADCDTRO SearchVendor Address Code - Remit ToSTR15_Address_CodeString1615
Partial key to the PM Address MSTR (PM00300).

Click to show/hide

SELECT
       ['PM Transaction OPEN File'].VADCDTRO AS 'PM Transaction OPEN File-Vendor Address Code - Remit To'
       ,['PM Address MSTR'].ADRSCODE AS 'PM Address MSTR-Address Code'
FROM
       PM20000 AS ['PM Transaction OPEN File']
INNER JOIN
       PM00300 AS ['PM Address MSTR']
              ON
                     ['PM Transaction OPEN File'].VADCDTRO = ['PM Address MSTR'].ADRSCODE
              AND
                     ['PM Transaction OPEN File'].VENDORID = ['PM Address MSTR'].VENDORID
73TEN99TYPE Search1099 Type1099_TypeInteger20
74TEN99BOXNUMBER Search1099 Box NumberDDL_1099_BoxInteger20
75PONUMBER SearchPO NumberSTR17_POP_NumberString1817
76Workflow_Status SearchWorkflow StatusWorkflow StatusInteger20
77InvoiceReceiptDate SearchInvoice Receipt DateDTDate48
Invoice Receipt Date is only available in a UK install of Microsoft Dynamics GP. It was introduced due to changes in UK legislation which came into force on 1st April 2017 for business of a certain size which now have duty to report on their payment practices, policies and performance. This new requirement was introduced to protect smaller businesses that suffer from late payments, which can adversely affect their cash flow and jeopardise their ability to trade.
78DEX_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.
79DEX_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 *