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 TypeLength
1VCHRNMBR SearchVoucher NumberSTR20_LBAUString20
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_IDString15
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_TypeInteger0

Click to show/hide Document Types


1	Invoice
2	Finance Charge
3	Miscellaneous Charges
4	Return
5	Credit Memo
4DOCDATE SearchDocument DateDTDate8
5DOCNUMBR SearchDocument NumberSTR20_Document_NumberString20
6DOCAMNT SearchDocument AmountDLR19_RBSO_UTR$Currency19
7CURTRXAM SearchCurrent Trx AmountDLR17_RBS0_UTR$Currency17
8DISTKNAM SearchDiscount Taken AmountDLR17_RBS0_UTR$Currency17
9DISCAMNT SearchDiscount AmountDLR17_RBS0_STR$Currency17
10DSCDLRAM SearchDiscount Dollar AmountDLR11_RBS0_UTR$Currency11
11BACHNUMB SearchBatch NumberSTR15_LBAUString15
12TRXSORCE SearchTRX SourceSTR13String13
13BCHSOURC SearchBatch SourceSTR15String15
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 DateDTDate8
15DUEDATE SearchDue DateDTDate8
16PORDNMBR SearchPurchase Order NumberPurchase Order NumberString20
17TEN99AMNT Search1099 AmountDLR17_RBS0_UTR$Currency17
18WROFAMNT SearchWrite Off AmountDLR17_RBS0_STR$Currency17
19DISAMTAV SearchDiscount Amount AvailableDLR17_RBS0_UTR$Currency17
20TRXDSCRN SearchTransaction DescriptionSTR30String30
21UN1099AM SearchUnapplied 1099 AmountDLR17_RBS0_UTR$Currency17
22BKTPURAM SearchBackout Purchases AmountDLR19_RBS0_UTR$Currency19
23BKTFRTAM SearchBackout Freight AmountDLR19_RBS0_UTR$Currency19
24BKTMSCAM SearchBackout Misc AmountDLR19_RBS0_UTR$Currency19
25VOIDED SearchVoidedCBBoolean0
26HOLD SearchHoldCB_HoldBoolean0
27CHEKBKID SearchCheckbook IDSTR15_Checkbook_IDString15
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 OffDTDate8
29PPSAMDED SearchPPS Amount DeductedDLR17_RBS0_UTR$Currency17
30PPSTAXRT SearchPPS Tax RateINT5_%2Integer5
31PGRAMSBJ SearchPercent Of Gross Amount SubjectINT5_RBS2_U%Integer5
32GSTDSAMT SearchGST Discount AmountDLR17_RBS0_STR$Currency17
33POSTEDDT SearchPosted DateDATEDate6
34PTDUSRID SearchPosted User IDSTR15String15
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 DateDTDate8
36MDFUSRID SearchModified User IDSTR15String15
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 TypeGBInteger0

Click to show/hide Payment Entry Type


0	Check
1	Cash
2	Credit Card
38CARDNAME SearchCard NameSTR15_Card_NameString15
39PRCHAMNT SearchPurchases AmountDLR17_RBS0_UTR$Currency17
40TRDISAMT SearchTrade Discount AmountDLR17_RBS0_UTR$Currency17
41MSCCHAMT SearchMisc Charges AmountDLR17_RBS0_UTR$Currency17
42FRTAMNT SearchFreight AmountDLR17_RBS0_UTR$Currency17
43TAXAMNT SearchTax AmountDLR17_RBS0_UTR$Currency17
44TTLPYMTS SearchTotal PaymentsDLR19_RBS0_UTR$Currency19
45CURNCYID SearchCurrency IDSTR15_Currency_IDString15
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_IDString20
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_MethodString15
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_IDString15
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_LBAUString15
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_LBAUString15
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_LBAUString15
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 DateDTDate8
53DISAVTKN SearchDiscount Available TakenDLR17_RBS0_UTR$Currency17
54CNTRLTYP SearchControl TypeINT1Integer1
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 IndexDLR14Currency14
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_%2Integer5
57RETNAGAM SearchRetainage AmountDLR17_RBS0_UTR$Currency17
58ICTRX SearchIC TRXCB_IC_TRXBoolean0

Click to show/hide Intercompany flag


0	Not intercompany.
1	Intercompany
59Tax_Date SearchTax DateDTDate8
60PRCHDATE SearchPurchase DateDTDate8
61CORRCTN SearchCorrectionCB_CorrectionBoolean0
62SIMPLIFD SearchSimplifiedCB_SimplifiedBoolean0
63BNKRCAMT SearchBank Receipts AmountDLR17_RBS0_STR$Currency17
64APLYWITH SearchApply WithholdingBooleanBoolean0
65Electronic SearchElectronicCB_ElectronicBoolean0
66ECTRX 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.
67DocPrinted SearchDocPrintedCB_DocPrintedBoolean0

Click to show/hide Document Printed flag


0	Record has not been printed.
1	Record has been printed.
68TaxInvReqd SearchTax Invoice RequiredCB_Tax_Invoice_RequiredBoolean0
69VNDCHKNM SearchVendor Check NameSTR64_Vendor_NameString64
70BackoutTradeDisc SearchBackout Trade Discount AmountDLR19_RBS0_UTR$Currency19
71CBVAT SearchCash Based VATCB_CashBasedVATBoolean0
72VADCDTRO SearchVendor Address Code - Remit ToSTR15_Address_CodeString15
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_TypeInteger0
74TEN99BOXNUMBER Search1099 Box NumberDDL_1099_BoxInteger0
75PONUMBER SearchPO NumberSTR17_POP_NumberString17
76Workflow_Status SearchWorkflow StatusWorkflow StatusInteger0
77InvoiceReceiptDate SearchInvoice Receipt DateDTDate8
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 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.
79DEX_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 *