Easily find this page again using the shortlink: https://gpt.azrcrv.co.uk/PM20200
Product: Microsoft Dynamics GP (0)
Series: Purchasing
Display Name: PM Distribution OPEN OPEN Temporary File Group Display Name: Payables Transaction Logical File
Physical Name: PM20200
Technical Name: PM_Distribution_OPEN_OPEN
Group Technical Name: PM_Transaction_Logical_File
Seq No | Physical Name | Display Name | Dexterity Data Type | SQL Data Type | Length | |
---|---|---|---|---|---|---|
1 | KEYSOURC | Key Source | String | STR40_Source | 40 | |
2 | VCHRNMBR | Voucher Number | String | STR20_LBAU | 20 | |
Partial key to the PM Key Master File (PM00400).
Click to show/hideSELECT
['PM Distribution OPEN OPEN Temporary File'].VCHRNMBR AS 'PM Distribution OPEN OPEN Temporary File-Voucher Number'
,['PM Key Master File'].CNTRLNUM AS 'PM Key Master File-Control Number'
FROM
PM20200 AS ['PM Distribution OPEN OPEN Temporary File']
INNER JOIN
PM00400 AS ['PM Key Master File']
ON
['PM Distribution OPEN OPEN Temporary File'].VCHRNMBR = ['PM Key Master File'].CNTRLNUM
AND
['PM Distribution OPEN OPEN Temporary File'].DOCTYPE = ['PM Key Master File'].DOCTYPE | ||||||
3 | DOCTYPE | Document Type | Integer | DDL_Document_Type | 0 | |
Click to show/hide Document Types
1 Invoice
2 Finance Charge
3 Miscellaneous Charges
4 Return
5 Credit Memo | ||||||
4 | DSTSQNUM | Distribution Sequence Number | Long Integer | Long Int | 8 | |
5 | CRDTAMNT | Credit Amount | Currency | DLR19_$S2 | 19 | |
6 | DEBITAMT | Debit Amount | Currency | DLR19_$S2 | 19 | |
7 | DSTINDX | Distribution Account Index | Long Integer | LI_14 | 14 | |
Key to the Account Index Master (GL00105).
Click to show/hideSELECT
['PM Distribution OPEN OPEN Temporary File'].DSTINDX AS 'PM Distribution OPEN OPEN Temporary File-Distribution Account Index'
,['Account Index Master'].ACTINDX AS 'Account Index Master-Account Index'
FROM
PM20200 AS ['PM Distribution OPEN OPEN Temporary File']
INNER JOIN
GL00105 AS ['Account Index Master']
ON
['PM Distribution OPEN OPEN Temporary File'].DSTINDX = ['Account Index Master'].ACTINDX | ||||||
8 | DISTTYPE | Distribution Type | Integer | DDL | 0 | |
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 | ||||||
9 | APTVCHNM | Apply To Voucher Number | String | STR20_LBAU | 20 | |
10 | APTODCTY | Apply To Document Type | Integer | DDL_Document_Type | 0 | |
11 | CHANGED | Changed | Boolean | YN | 0 | |
12 | USERID | User ID | String | STR15_User_ID | 15 | |
Key to the Users Master (SY01400).
Click to show/hideSELECT
['PM Distribution OPEN OPEN Temporary File'].USERID AS 'PM Distribution OPEN OPEN Temporary File-User ID'
,['Users Master'].USERID AS 'Users Master-User ID'
FROM
PM20200 AS ['PM Distribution OPEN OPEN Temporary File']
INNER JOIN
DYNAMICS..SY01400 AS ['Users Master']
ON
['PM Distribution OPEN OPEN Temporary File'].USERID = ['Users Master'].USERID | ||||||
13 | PSTGSTUS | Posting Status | Integer | INT | 0 | |
14 | GLPOSTDT | GL Posting Date | Date | DT | 8 | |
15 | CURNCYID | Currency ID | String | STR15_Currency_ID | 15 | |
Key to the Currency Setup (MC40200).
Click to show/hideSELECT
['PM Distribution OPEN OPEN Temporary File'].CURNCYID AS 'PM Distribution OPEN OPEN Temporary File-Currency ID'
,['Currency Setup'].CURNCYID AS 'Currency Setup-Currency ID'
FROM
PM20200 AS ['PM Distribution OPEN OPEN Temporary File']
INNER JOIN
DYNAMICS..MC40200 AS ['Currency Setup']
ON
['PM Distribution OPEN OPEN Temporary File'].CURNCYID = ['Currency Setup'].CURNCYID | ||||||
16 | CURRNIDX | Currency Index | Integer | INT3 | 3 | |
Key to the Currency Setup (MC40200).
Click to show/hideSELECT
['PM Distribution OPEN OPEN Temporary File'].CURRNIDX AS 'PM Distribution OPEN OPEN Temporary File-Currency Index'
,['Currency Setup'].CURRNIDX AS 'Currency Setup-Currency Index'
FROM
PM20200 AS ['PM Distribution OPEN OPEN Temporary File']
INNER JOIN
DYNAMICS..MC40200 AS ['Currency Setup']
ON
['PM Distribution OPEN OPEN Temporary File'].CURRNIDX = ['Currency Setup'].CURRNIDX | ||||||
17 | ORCRDAMT | Originating Credit Amount | Currency | DLR19_$S2 | 19 | |
18 | ORDBTAMT | Originating Debit Amount | Currency | DLR19_$S2 | 19 |