This table contains the distributions associated with a bank transaction template. |
bank_transaction_template_distribution_KEY | int (4) | NOT NULL | Primary key. |
transaction_template_KEY | int (4) | NOT NULL | Key of the bank transaction template parent. |
gl_account_KEY | int (4) | | Key of the general ledger account associated with the distribution. If null, this sigifies that the application will not default the GL account on the bank transaction distribution we create when we apply the template. |
description | nvarchar (240) | NOT NULL | The description of the distribution. |
amount | decimal (9, 2) | NOT NULL | The amount of the distribution. |
sequence_number | int (4) | NOT NULL | A value that orders the distributions linked to a specific bank transaction template record. |
first__w2_1099_box_type_KEY | int (4) | | The foreign key to the first 1099 form box in which the distribution amount should appear. If this field is null, then the distribution amount will not appear in a 1099 form box. |
second__w2_1099_box_type_KEY | int (4) | | The foreign key to the second 1099 form box in which the distribution amount should appear. If second__w2_1099_box_type_KEY and first__w2_1099_box_type_KEY are both null, then the distribution amount will not appear in a 1099 form box. If second__w2_1099_box_type_KEY field is null and first__w2_1099_box_type_KEY is not null, then the distribution amount will appear only in the 1099 box denoted by first__w2_1099_box_type_KEY. If second__w2_1099_box_type_KEY and first__w2_1099_box_type_KEY are both not null, then the distribution amount will appear in two 1099 boxes denoted by those two keys. |