You are here: File Descriptions > Accounts Payable > APTB - AP Tables

# APTB - AP Tables

Each application has its own copy of the General Table file to hold the tables needed by its programs. The file is named xxTB, where xx is the two-character program prefix. (This is set by the menu program OSMENU in the variable T$.)

See the Accounts Payable User's Manual for a description of the tables used by this application.

There is one record for each table.

| Template: | DIM APTB:"TBID:C(8*), COLS:N(1*), TYPE:C(1*), HEAD:C(78*), ENT:C(504*), TDESC:C(40*), WIDTH:N(2*)"
| IOLIST: | 0999 APTB: IOLIST T0$, T1, T1$, T2$, T3$, T4$, T2
| String Sizes: | DIM T0$(8), T1$(1), T2$(78), T3$(504), T4$(40)

Key Definitions

| Field | Length | Description
| T0$ | 8 | Table ID

AP Tables

| File Name: | APTB | Record Size: | 641(640)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 5

| Field | Field Name | Variable | Description | A/N | Length | Note
| 1 | TBID | T0$ | Table ID | A | 8 |
| 2 | COLS | T1 | Number of Columns | N | 1 |
| 3 | TYPE | T1$ | Table Type | A | 1 | A = Alphanumeric
|  |  |  |  |  |  | N = Numeric
| 4 | HEAD | T2$ | Column Headings | A | 78 |
| 5 | ENT | T3$ | Table Entries | A | 504 |
| 6 | TDESC | T4$ | Description | A | 40 |
| 7 | WIDTH | T2 | Column width | N | 2 |