# Table: Payment and Adjustment Batches

Table: APBTA
View: AP0030
Record length: 208
Flags: A R

## Keys: 3

Title | Flags | Fields
--- | --- | ---
Batch Number |  | PAYMTYPE, CNTBTCH
Payment Register Print Status | D M | SWPRECHKRG
Batch Status | M | PAYMTYPE, BATCHSTAT, CNTBTCH

## Fields: 35

Field | Type | Title | Presentation
--- | --- | --- | ---
PAYMTYPE | String*2 | Batch Selector | Mask: %-2N
CNTBTCH | BCD*5.0 | Batch Number |
AUDTDATE | Date |  |
AUDTTIME | Time |  |
AUDTUSER | String*8 |  |
AUDTORG | String*6 |  |
DATEBTCH | Date | Batch Date |
BATCHDESC | String*60 | Description |
CNTENTER | BCD*4.0 | Number of Entries |
AMTENTER | BCD*10.3 | Batch Total |
BATCHTYPE | Integer | Batch Type | List: 5 entries
1 | = | Entered
2 | = | Imported
3 | = | Generated
4 | = | System
5 | = | External
BATCHSTAT | Integer | Batch Status | List: 6 entries
1 | = | Open
3 | = | Posted
4 | = | Deleted
5 | = | Post In Progress
7 | = | Ready To Post
8 | = | Check Creation In Progress
IDBANK | String*8 | Bank Code | Mask: %-8N
SWPRTDEP | Integer | Reserved |
CODECURN | String*3 | Bank Currency Code | Mask: %-3N
DATERATE | Date | Bank Rate Date |
CNTLSTRMIT | BCD*4.0 | Last Entry Number |
RATETYPE | String*2 | Bank Rate Type | Mask: %-2N
RATEEXCHHC | BCD*8.7 | Bank Exchange Rate |
CNTDEPNBR | BCD*5.0 | Reserved |
CNTDEPSEQ | Long | Reserved |
FUNCAMOUNT | BCD*10.3 | Func. Batch Total |
POSTSEQNBR | BCD*5.0 | Posting Sequence No. |
NBRERRORS | BCD*5.0 | Number of Errors |
DATELSTEDT | Date | Date Last Edited |
CODECHKTYP | Integer | Reserved |
PAYMFORM | String*6 | Reserved |
SWBTCHEDIT | Integer | Batch Edited | List: 2 entries
0 | = | No
1 | = | Yes
SWPRECHKRG | Integer | Payment Register Print status | List: 2 entries
0 | = | Not printed
1 | = | Printed
CNTCHKPRNT | BCD*4.0 | Number of Printed Checks |
CNTREAPPLY | BCD*4.0 | Number of Reapplies |
SWPRINTED | Integer | Batch Printed Flag | List: 2 entries
0 | = | No
1 | = | Yes
RATEOP | Integer | Bank Rate Operator |
SWRATE | Integer | Bank Rate Overridden | List: 2 entries
0 | = | No
1 | = | Yes
SRCEAPPL | String*2 | Source Application | Mask: %-2A

This page was generated on 2008-May-01

Copyright © 2001–2008 Sage Software, Inc. All rights reserved.