| id |
integer |
Yes |
Yes |
nextval('ap_transactions_id_seq'::regclass) |
|
| vendor_no |
character varying(20) |
No |
No |
|
The vendor |
| link_date |
date |
No |
No |
|
Date transaction linked |
| link_trans_no |
character varying(10) |
No |
No |
|
GL transaction number |
| recno |
integer |
No |
No |
|
|
| date |
date |
No |
No |
|
Transaction Date |
| credit_amt |
numeric(15,2) |
No |
No |
|
Credit Amount |
| debit_amt |
numeric(15,2) |
No |
No |
|
Debit amount |
| balance |
numeric(15,2) |
No |
No |
|
Balance owing on transaction |
| trans_no |
character varying(10) |
No |
No |
|
GL transaction number |
| ref_no |
character varying(25) |
No |
No |
|
Invoice or check number |
| code |
character varying(1) |
No |
No |
|
P = Payment I = Invoice D = Debit C = Credit |
| open_close_flag |
character varying(1) |
No |
No |
|
O = Open C = Closed |
| item_hold_flag |
boolean |
No |
No |
|
Hold flag on transaction TRUE = Yes FALSE = No |
| due_date |
date |
No |
No |
|
Due date of transaction |
| terms_code |
character varying(10) |
No |
No |
|
Terms code for transaction. Links to table payment_terms.terms_code |
| terms_description |
character varying(60) |
No |
No |
|
Description of the payment terms |
| terms_days_before_due |
smallint |
No |
No |
|
Number of days before the payment is due calculated from field date |
| terms_days_allowed |
smallint |
No |
No |
|
Days allowed for discount |
| terms_discount_rate |
numeric(5,2) |
No |
No |
|
Early payment discount percentage rate |
| apf_user |
character varying(3) |
No |
No |
|
User that posted the transaction |
| rate_method |
character varying(1) |
No |
No |
|
Multi currency raye method used. |
| rate |
numeric(13,7) |
No |
No |
|
Multi currency rate used. |
| base_debit_amt |
numeric(15,2) |
No |
No |
|
Debit amount is base currency |
| base_credit_amt |
numeric(15,2) |
No |
No |
|
Credit amount is base currency |
| po_no |
character varying(10) |
No |
No |
|
Purchase Order Number |
| cheque_void_flag |
character varying(1) |
No |
No |
|
'Y' if check was voided |
| note |
character varying(60) |
No |
No |
|
Note or memo added to tranaction |
| _dbversion |
integer |
No |
No |
|
|
| _created |
timestamp without time zone |
No |
No |
|
|
| _created_by |
character varying(3) |
No |
No |
|
|
| _modified |
timestamp without time zone |
No |
No |
|
|
| _modified_by |
character varying(3) |
No |
No |
|
|
| sales_tax_no |
smallint[] |
Yes |
No |
'{0,0,0,0}'::smallint[] |
Array field containing tax codes used on transaction |
| sales_tax_rate |
numeric(7,4)[] |
Yes |
No |
'{0,0,0,0}'::numeric[] |
Array field containing tax rates used on transaction |
| sales_tax_total |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0}'::numeric[] |
Array field containing tax amounts used on transaction |
| freight |
numeric(15,2) |
No |
No |
|
Freight charged on transaction |