payable_transaction_KEY | int (4) | NOT NULL | Primary key for this table |
vendor_KEY | int (4) | NOT NULL | Reference to vendor |
transaction_date | smalldatetime (4) | NOT NULL | Date transaction is/was processed |
amount | decimal (9, 2) | NOT NULL | Amount of liability to be paid |
description | nvarchar (240) | NOT NULL | Description of the payable transaction |
bank_transaction_KEY | int (4) | | Key of associated vendor check to indicate payment |
due_date | smalldatetime (4) | NOT NULL | Due date of the payable transaction |
tax_period_end_date | smalldatetime (4) | | Tax period end date for this liability if liability is for a vendor tax agent or null if liability is not for a vendor tax agent |
edited_ach_effective_date | smalldatetime (4) | | Effective date of the transaction if edited by the user - null otherwise |
funding_processed_status_KEY | int (4) | NOT NULL | Funding electronic processing status values: 0 - tx has not been processed, 1 - tx has been funded but not processed, 2 - tx has been processed, 3 - do not ever process this tx. |
payable__gl_account_KEY | int (4) | | The GL account number pointed to by this foreign key is the payable account that offsets this payables liability details. |
description_override | nvarchar (86) | NOT NULL | Field used for defining descriptions of tax items, payroll items as well as fee and billing items that will be used by the report engine. Employee and employer types will have the same description. |
export_journal_entry_to_csa_status_KEY | int (4) | NOT NULL | The csa export status of the payable transaction. |
payable_transaction_type_KEY | int (4) | NOT NULL | Foreign key to the payable transaction's type. |
transaction_status_KEY | int (4) | NOT NULL | |
origin__accounting_application_KEY | int (4) | | The application that was running when the payable transaction was created. |
reference_number | nvarchar (32) | NOT NULL | Either a reference or check number depending on transaction type. |
purchase_order_number | nvarchar (32) | NOT NULL | Purchase order number for the transaction. |
vendor__contact_address_type_KEY | int (4) | | The contact address type for the vendor. A vendor can have multiple contact addresses and this specifies which type of address to use. It is acceptable if the vendor specified by the vendor_KEY in this table does not have a contact address for the specified type. If no associated contact address is found for the specified type, then this value can be treated as if it were null. A null value for this key indicates that there is no contact address that will be associated with this payable transaction. |
payment_term_KEY | int (4) | | FK to the payment term table. |
discount_expiration_date | smalldatetime (4) | | Expiration date for the discount. |
not_eligible_for_discount_allowed_amount | decimal (9, 2) | NOT NULL | An amount of money that is not eligible to have a discount applied to it. |
discount_allowed_amount | decimal (9, 2) | NOT NULL | amount of discount applied. |
memo | nvarchar (480) | NOT NULL | A Memo. |
ap_discount_method_KEY | int (4) | NOT NULL | FK to the AP Discount Method table. |
is_discount_forced | bit (1) | NOT NULL | Allows the discount_allowed_amount to be used after the discount_expiration_date. |
reference_number_sortable | nvarchar (160) | NOT NULL | Sortable reference number. |
purchase_order_number_sortable | nvarchar (160) | NOT NULL | Sortable purchase order number. |
client_tax_item_KEY | int (4) | | Key to client tax item for manual liabilities and forms adjustment payments |
created_date | datetime (8, 3) | | The date the payable transaction was created. |
created__staff_KEY | int (4) | | The staff that created the payable transaction. |
vendor_amortization_schedule_entry_KEY | int (4) | | Foreign key to Vendor_Amortization_Schedule_Entry - optional when transaction is not associated with an amortization payment. |
payable_transaction_guid | uniqueidentifier (16) | NOT NULL | A unique identifer for each payable transaction row. |
exported_to_quick_books | bit (1) | NOT NULL | This flag should be true if the transaction has been exported to quickbooks. It should be false otherwise. |
generated_by__transaction_template_KEY | int (4) | | A key linking the payable transaction back to its originating template. This link is necessary because the template generation schedule can be based on amount or number of transactions generated. This link will allow the scheduler to keep track of any changes that might require reconfiguring the schedule, such as a generated transaction being deleted. |
file_storage_KEY | int (4) | | A key for attaching a payable file to the transaction. A null key means that no file is attached to the transaction. |
ap_discount__gl_account_KEY | int (4) | | Foreign key to the gl account table that tells us which gl account to use for the discount amount. This will be null if there is no discount allowed for the payable. |
tax_deferral_reason_KEY | tinyint (1) | NOT NULL | Foreign Key into the Tax_Deferral_Reason table |