Table: Document Payments

Table: APOBP
View: AP0027
Record length: 256
Flags: A R 

Keys: 6


Title  Flags  Fields

Open Item Obligation Payment key  IDVEND, IDINVC, CNTPAYMNBR, IDRMIT, DATEBUS, TRANSTYPE, CNTSEQNCE
Bank Code / Batch Number   D M  IDBANK, CNTBTCH, CNTITEM, IDVEND, IDINVC, CNTPAYMNBR
Prepay. Number/Document Number   D M  IDPREPAID, IDINVC, CNTPAYMNBR
Invoice Comment Key   D M  IDBANK, IDVEND, IDRMIT, LONGSERIAL, DATERMIT
Payment Master Primary Key   D M  IDBANK, IDVEND, IDRMIT, LONGSERIAL, DATERMIT, CNTSEQNCE
Vendor, Document, Payment Number  D M  IDVEND, IDINVC, CNTPAYMNBR, DATEBUS

Fields: 38


Field  Type  Title  Presentation 

IDVEND  String*12  Vendor Number  Mask: %-12C
IDINVC  String*22  Document Number  Mask: %-22C
CNTPAYMNBR  BCD*3.0  Payment Number   
IDRMIT  String*12  Check Number  Mask: %-12D
DATEBUS  Date  Business Date   
TRANSTYPE  Integer  Document Type  List: 10 entries
6=Debit Note Applied To
7=Applied Debit Note
8=Credit Note Applied To
9=Applied Credit Note
10=Prepayment
11=Payment
12=Earned Discount
13=Unearned Discount
14=Adjustment
16=Gain/Loss
CNTSEQNCE  BCD*3.0  Sequence No.   
AUDTDATE  Date     
AUDTTIME  Time     
AUDTUSER  String*8     
AUDTORG  String*6     
DEPSTNBR  BCD*5.0  Reserved   
CNTBTCH  BCD*5.0  Batch Number   
DATEBTCH  Date  Batch Date   
AMTPAYMHC  BCD*10.3  Func. Payment Amount   
AMTPAYMTC  BCD*10.3  Vend. Payment Amount   
CODECURN  String*3  Currency Code  Mask: %-3N
IDRATETYPE  String*2  Rate Type  Mask: %-2N
RATEEXCHHC  BCD*8.7  Exchange Rate   
SWOVRDRATE  Integer  Rate Overridden  List: 2 entries
0=No
1=Yes
IDBANK  String*8  Bank Code  Mask: %-8N
TRXTYPE  Integer  Transaction Type  List: 16 entries
41=Debit Note Applied To
42=Applied Debit Note
43=Credit Note Applied To
44=Applied Credit Note
58=Prepayment - Applied
59=Prepayment - Reversed
51=Payment - Posted
52=Payment - Applied
53=Payment - Reversed
61=Earned Discount - Posted
63=Earned Discount - Reversed
81=Adjustment - Posted
83=Adjustment - Reversed
65=Realized Gain/Loss - Posted
67=Realized Gain/Loss - Reversed
69=Unrealized Gain/Loss
IDMEMOXREF  String*22  Reference Document No.  Mask: %-22C
SWINVCDEL  Integer  Delete Invoice  List: 2 entries
0=No
1=Yes
DATELSTSTM  Date  Last Statement Date   
IDPREPAID  String*22  Matching Document No.  Mask: %-22C
IDRMITVEND  String*12  Remitting Vendor No.   
DATERMIT  Date  Check Date   
CNTITEM  BCD*4.0  Entry Number   
PAYMFORM  String*6  Reserved   
FISCYR  String*4  Year  Mask: %04D
FISCPER  String*2  Period  Mask: %02D
LONGSERIAL  Long  Check Serial Number   
CODE1099  String*6  1099/CPRS Code   
AMT1099  BCD*10.3  1099/CPRS Amount   
RATEDATE  Date  Rate Date   
RATEOP  Integer  Rate Operator   
SWJOB  Integer  Job Related  List: 2 entries
0=No
1=Yes

This page was generated on 2003-May-05

Copyright © 2003 ACCPAC International, Inc. All rights reserved.