PM Apply To History File (PM30300)

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

Product: Microsoft Dynamics GP (0)
Series: Purchasing

Display Name: PM Apply To History File
Physical Name: PM30300
Technical Name: PM_Apply_To_HIST

Group Display Name: Payables History Logical Files
Group Technical Name: PM_History_Logical_Files

Seq NoPhysical NameDisplay NameDexterity Data TypeSQL Data TypeSQL DB LengthKeyable Length
1VENDORID SearchVendor IDSTR_15_Vendor_IDString1615
Key to the PM Vendor Master File (PM00200).

Click to show/hide

SELECT
       ['PM Apply To History File'].VENDORID AS 'PM Apply To History File-Vendor ID'
       ,['PM Vendor Master File'].VENDORID AS 'PM Vendor Master File-Vendor ID'
FROM
       PM30300 AS ['PM Apply To History File']
INNER JOIN
       PM00200 AS ['PM Vendor Master File']
              ON
                     ['PM Apply To History File'].VENDORID = ['PM Vendor Master File'].VENDORID
2DOCDATE SearchDocument DateDTDate48
3DATE1 SearchDateDT6Date46
4GLPOSTDT SearchGL Posting DateDTDate48
5TIME1 SearchTimeTM6Time46
6VCHRNMBR SearchVoucher NumberSTR20_LBAUString2220
Partial key to the PM Key Master File (PM00400).

Click to show/hide

SELECT
       ['PM Apply To History File'].VCHRNMBR AS 'PM Apply To History File-Voucher Number'
       ,['PM Key Master File'].VCHRNMBR AS 
FROM
       PM30300 AS ['PM Apply To History File']
INNER JOIN
       PM00400 AS ['PM Key Master File']
              ON
                     ['PM Apply To History File'].VCHRNMBR = ['PM Key Master File'].VCHRNMBR
              AND
                     ['PM Apply To History File'].DOCTYPE = ['PM Key Master File'].DOCTYPE
              AND
                     ['PM Key Master File'].CNTRLTYP = 0
7DOCTYPE SearchDocument TypeDDL_Document_TypeInteger20

Click to show/hide Document Types


1	Invoice
2	Finance Charge
3	Miscellaneous Charges
4	Return
5	Credit Memo
8APFRDCNM SearchApply From Document NumberSTR20_Document_NumberString2220
9ApplyFromGLPostDate SearchApply From GL Posting DateDTDate48
10FROMCURR SearchApply From Currency IDSTR15_Currency_IDString1615
11APFRMAPLYAMT SearchApply From Apply AmountDLR17_RBS0_UTR$Currency1017
12APFRMDISCTAKEN SearchApply From Discount Taken AmountDLR17_RBS0_UTR$Currency1017
13APFRMDISCAVAIL SearchApply From Discount Available TakenDLR17_RBS0_UTR$Currency1017
14APFRMWROFAMT SearchApply From Write Off AmountDLR17_RBS0_UTR$Currency1017
15ActualApplyToAmount SearchActual Apply To AmountDLR17_RBS0_UTR$Currency1017
16ActualDiscTakenAmount SearchActual Discount Taken AmountDLR17_RBS0_UTR$Currency1017
17ActualDiscAvailTaken SearchActual Discount Available TakenDLR17_RBS0_UTR$Currency1017
18ActualWriteOffAmount SearchActual Write Off AmountDLR17_RBS0_UTR$Currency1017
19APFRMEXRATE SearchApply From Exchange RateDLR14_Exchange_RateCurrency (Variable)1014
20APFRMDENRATE SearchApply From Denomination Exchange RateDLR14_Exchange_RateCurrency (Variable)1014
21APFRMRTCLCMETH SearchApply From Rate Calc MethodINTInteger20
22APFRMMCTRXSTT SearchApply From MC Transaction StateINTInteger20
23APTVCHNM SearchApply To Voucher NumberSTR20_LBAUString2220
24APTODCTY SearchApply To Document TypeDDL_Document_TypeInteger20
25APTODCNM SearchApply To Document NumberSTR20_Document_NumberString2220
26APTODCDT SearchApply To Document DateDTDate48
27ApplyToGLPostDate SearchApply To GL Posting DateDTDate48
28CURNCYID SearchCurrency IDSTR15_Currency_IDString1615
Key to the Currency Setup (MC40200).

Click to show/hide

SELECT
       ['PM Apply To History File'].CURNCYID AS 'PM Apply To History File-Currency ID'
       ,['Currency Setup'].CURNCYID AS 'Currency Setup-Currency ID'
FROM
       PM30300 AS ['PM Apply To History File']
INNER JOIN
       DYNAMICS..MC40200 AS ['Currency Setup']
              ON
                     ['PM Apply To History File'].CURNCYID = ['Currency Setup'].CURNCYID
29CURRNIDX SearchCurrency IndexINT3Integer23
Key to the Currency Setup (MC40200).

Click to show/hide

SELECT
       ['PM Apply To History File'].CURRNIDX AS 'PM Apply To History File-Currency Index'
       ,['Currency Setup'].CURRNIDX AS 'Currency Setup-Currency Index'
FROM
       PM30300 AS ['PM Apply To History File']
INNER JOIN
       DYNAMICS..MC40200 AS ['Currency Setup']
              ON
                     ['PM Apply To History File'].CURRNIDX = ['Currency Setup'].CURRNIDX
30APPLDAMT SearchApplied AmountDLR17_RBS0_STR$Currency1017
31DISTKNAM SearchDiscount Taken AmountDLR17_RBS0_UTR$Currency1017
32DISAVTKN SearchDiscount Available TakenDLR17_RBS0_UTR$Currency1017
33WROFAMNT SearchWrite Off AmountDLR17_RBS0_STR$Currency1017
34ORAPPAMT SearchOriginating Applied AmountDLR17_RBS0_STR$Currency1017
35ORDISTKN SearchOriginating Discount Taken AmountDLR17_RBS0_UTR$Currency1017
36ORDATKN SearchOriginating Discount Available TakenDLR17_RBS0_UTR$Currency1017
37ORWROFAM SearchOriginating Write Off AmountDLR17_RBS0_STR$Currency1017
38APTOEXRATE SearchApply To Exchange RateDLR14_Exchange_RateCurrency (Variable)1014
39APTODENRATE SearchApply To Denomination Exchange RateDLR14_Exchange_RateCurrency (Variable)1014
40APTORTCLCMETH SearchApply To Rate Calc MethodINTInteger20
41APTOMCTRXSTT SearchApply To MC Transaction StateINTInteger20
42PPSAMDED SearchPPS Amount DeductedDLR17_RBS0_UTR$Currency1017
43GSTDSAMT SearchGST Discount AmountDLR17_RBS0_STR$Currency1017
44TAXDTLID SearchTax Detail IDSTR15_Tax_Detail_IDString1615
Key to the Sales/Purchases Tax Master (TX00201).

Click to show/hide

SELECT
       ['PM Apply To History File'].TAXDTLID AS 'PM Apply To History File-Tax Detail ID'
       ,['Sales/Purchases Tax Master'].TAXDTLID AS 'Sales/Purchases Tax Master-Tax Detail ID'
FROM
       PM30300 AS ['PM Apply To History File']
INNER JOIN
       TX00201 AS ['Sales/Purchases Tax Master']
              ON
                     ['PM Apply To History File'].TAXDTLID = ['Sales/Purchases Tax Master'].TAXDTLID
45POSTED SearchPostedTrue/FalseBoolean20
46TEN99AMNT Search1099 AmountDLR17_RBS0_UTR$Currency1017
47RLGANLOS SearchRealized Gain-Loss AmountDLR19_$S2Currency1019
48APYFRMRNDAMT SearchApply From Round AmountDLR17_RBS0_STR$Currency1017
49APYTORNDAMT SearchApply To Round AmountDLR17_RBS0_STR$Currency1017
50APYTORNDDISC SearchApply To Round DiscountDLR17_RBS0_STR$Currency1017
51OAPYFRMRNDAMT SearchOriginating Apply From Round AmountDLR17_RBS0_STR$Currency1017
52OAPYTORNDAMT SearchOriginating Apply To Round AmountDLR17_RBS0_STR$Currency1017
53OAPYTORNDDISC SearchOriginating Apply To Round DiscountDLR17_RBS0_STR$Currency1017
54Settled_Gain_CreditCurrT SearchSettled Gain CreditCurrTrxDLR19_$S2Currency1019
55Settled_Loss_CreditCurrT SearchSettled Loss CreditCurrTrxDLR19_$S2Currency1019
56Settled_Gain_DebitCurrTr SearchSettled Gain DebitCurrTrxDLR19_$S2Currency1019
57Settled_Loss_DebitCurrTr SearchSettled Loss DebitCurrTrxDLR19_$S2Currency1019
58Settled_Gain_DebitDiscAv SearchSettled Gain DebitDiscAvailDLR19_$S2Currency1019
59Settled_Loss_DebitDiscAv SearchSettled Loss DebitDiscAvailDLR19_$S2Currency1019
60Revaluation_Status SearchRevaluation StatusINTInteger20
61Credit1099Amount SearchCredit 1099 AmountDLR17_RBS0_UTR$Currency1017
62DEFTEN99TYPE SearchDefault 1099 Type1099_TypeInteger20
63DEFTEN99BOXNUMBER SearchDefault 1099 Box NumberDDL_1099_BoxInteger20
64DEX_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 *