# View: Invoice Batches

RotoID: AP0020
Table: APIBC
Protocol: Batch, Key auto generate
DLL: APIBC

## Compositions: 1

RotoID | Tables | Title | DLL
--- | --- | --- | ---
AP0021 | APIBH | Invoices | APIBH

## Keys: 2

Title | Fields
--- | ---
Batch Number | CNTBTCH
Batch Status | BTCHSTTS, CNTBTCH

## Fields: 16

Field | Index | Type | Title | Attributes | Presentation
--- | --- | --- | --- | --- | ---
CNTBTCH | 1 | BCD*5.0 | Batch Number | E A K R |
DATEBTCH | 2 | Date | Batch Date | E A |
BTCHDESC | 3 | String*60 | Description | E A |
CNTINVCENT | 4 | BCD*4.0 | Number of Entries | E A C |
AMTENTR | 5 | BCD*10.3 | Batch Total | E A C |
BTCHTYPE | 6 | Integer | Batch Type | E A | List: 6 entries
1 | = | Entered
2 | = | Imported
3 | = | Generated
4 | = | Recurring
5 | = | External
6 | = | Retainage
BTCHSTTS | 7 | Integer | Batch Status | E A | List: 5 entries
1 | = | Open
3 | = | Posted
4 | = | Deleted
5 | = | Post In Progress
7 | = | Ready To Post
INVCTYPE | 8 | Integer | Invoice Type | E A | List: 1 entries
1 | = | Summary
CNTLSTITEM | 9 | BCD*4.0 | Last Entry Number | E A C |
POSTSEQNBR | 10 | BCD*5.0 | Posting Sequence No. | E A |
NBRERRORS | 11 | BCD*5.0 | Number of Errors | E A |
DTELSTEDIT | 12 | Date | Date Last Edited | E A |
SWPRINTED | 13 | Integer | Batch Printed Flag | E A | List: 2 entries
0 | = | No
1 | = | Yes
SRCEAPPL | 14 | String*2 | Source Application | E A R | Mask: %-2A
SWICT | 15 | Integer | ICT Related | E A X | List: 2 entries
0 | = | No
1 | = | Yes
PROCESSCMD | 16 | Integer | Process Command Code | E A C | List: 3 entries
0 | = | Unlock Batch Resource
1 | = | Lock Batch Resource Shared
2 | = | Lock Batch Resource Exclusive

This page was generated on 2008-May-01

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