PM Distribution History File (PM30600)

azurecurveProductsMicrosoft Dynamics GP (0)PurchasingPM Distribution History File (PM30600)

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

Product: Microsoft Dynamics GP (0)
Series: Purchasing

Display Name: PM Distribution History File
Physical Name: PM30600
Technical Name: PM_Distribution_HIST

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

Seq NoPhysical NameDisplay NameDexterity Data TypeSQL Data TypeLength
1DOCTYPE SearchDocument TypeDDL_Document_TypeInteger0

Click to show/hide Document Types


1	Invoice
2	Finance Charge
3	Miscellaneous Charges
4	Return
5	Credit Memo
2VCHRNMBR SearchVoucher NumberSTR20_LBAUString20
Partial key to the PM Key Master File (PM00400).

Click to show/hide

SELECT
       ['PM Distribution History File'].VCHRNMBR AS 'PM Distribution History File-Voucher Number'
       ,['PM Key Master File'].CNTRLNUM AS 'PM Key Master File-Control Number'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       PM00400 AS ['PM Key Master File']
              ON
                     ['PM Distribution History File'].VCHRNMBR = ['PM Key Master File'].CNTRLNUM
              AND
                     ['PM Distribution History File'].DOCTYPE = ['PM Key Master File'].DOCTYPE
3DSTSQNUM SearchDistribution Sequence NumberLong IntLong Integer8
4CNTRLTYP 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
5CRDTAMNT SearchCredit AmountDLR19_$S2Currency19
6DEBITAMT SearchDebit AmountDLR19_$S2Currency19
7DSTINDX SearchDistribution Account IndexLI_14Long Integer14
Key to the Account Index Master (GL00105).

Click to show/hide

SELECT
       ['PM Distribution History File'].DSTINDX AS 'PM Distribution History File-Distribution Account Index'
       ,['Account Index Master'].ACTINDX AS 'Account Index Master-Account Index'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       GL00105 AS ['Account Index Master']
              ON
                     ['PM Distribution History File'].DSTINDX = ['Account Index Master'].ACTINDX
8DISTTYPE SearchDistribution TypeDDLInteger0

Click to show/hide Distribution Type


1	Cash			
2	Payable			
3	Discount Available		
4	Discount Taken		
5	Finance Charge	
6	Purchase
7	Trade Disc.
8	Misc. Charge
9	Freight
10	Taxes
11	Writeoffs
12	Other
13	GST Disc
14	PPS Amount
9CHANGED SearchChangedYNBoolean0
10USERID SearchUser IDSTR15_User_IDString15
Key to the Users Master (SY01400).

Click to show/hide

SELECT
       ['PM Distribution History File'].USERID AS 'PM Distribution History File-User ID'
       ,['Users Master'].USERID AS 'Users Master-User ID'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       DYNAMICS..SY01400 AS ['Users Master']
              ON
                     ['PM Distribution History File'].USERID = ['Users Master'].USERID
11PSTGSTUS SearchPosting StatusINTInteger0
12VENDORID SearchVendor IDSTR_15_Vendor_IDString15
Key to the PM Vendor Master File (PM00200).

Click to show/hide

SELECT
       ['PM Distribution History File'].VENDORID AS 'PM Distribution History File-Vendor ID'
       ,['PM Vendor Master File'].VENDORID AS 'PM Vendor Master File-Vendor ID'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       PM00200 AS ['PM Vendor Master File']
              ON
                     ['PM Distribution History File'].VENDORID = ['PM Vendor Master File'].VENDORID
13TRXSORCE SearchTRX SourceSTR13String13
14PSTGDATE SearchPosting DateDTDate8
15CURNCYID SearchCurrency IDSTR15_Currency_IDString15
Key to the Currency Setup (MC40200).

Click to show/hide

SELECT
       ['PM Distribution History File'].CURNCYID AS 'PM Distribution History File-Currency ID'
       ,['Currency Setup'].CURNCYID AS 'Currency Setup-Currency ID'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       DYNAMICS..MC40200 AS ['Currency Setup']
              ON
                     ['PM Distribution History File'].CURNCYID = ['Currency Setup'].CURNCYID
16CURRNIDX SearchCurrency IndexINT3Integer3
Key to the Currency Setup (MC40200).

Click to show/hide

SELECT
       ['PM Distribution History File'].CURRNIDX AS 'PM Distribution History File-Currency Index'
       ,['Currency Setup'].CURRNIDX AS 'Currency Setup-Currency Index'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       DYNAMICS..MC40200 AS ['Currency Setup']
              ON
                     ['PM Distribution History File'].CURRNIDX = ['Currency Setup'].CURRNIDX
17ORCRDAMT SearchOriginating Credit AmountDLR19_$S2Currency19
18ORDBTAMT SearchOriginating Debit AmountDLR19_$S2Currency19
19APTVCHNM SearchApply To Voucher NumberSTR20_LBAUString20
20APTODCTY SearchApply To Document TypeDDL_Document_TypeInteger0
21SPCLDIST SearchSpecialized DistributionINT4Integer4
22DistRef SearchDistribution ReferenceSTR30String30
23DEX_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.

azurecurveProductsMicrosoft Dynamics GP (0)PurchasingPM Distribution History File (PM30600)

Leave a Reply

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