Table: dbo.Bank_Feeds_Assignment_Rule_Action
This table holds the information for Create Rules dialog Action part. The dialog should allow the user to create rules for assigning a description, reference, vendor, and account to bank statement transactions. The user may use the reference, description, amount, vendor, or account fields to apply the rules.
Columns
NameTypeConstraintsDescription
bank_feeds_assignment_rule_action_KEYint (4)NOT NULLPrimary key for table.
bank_feeds_assignment_rule_KEYint (4)NOT NULLPrimary key of table Bank Feeds Assignment Rule which is used to link the action to parent rule.
bank_feeds_assignment_column_KEYint (4)NOT NULLPrimary key of the Bank Feeds Assignment Column associated with Bank Feeds Assignment Rule. This column will only have a value of description, reference, vendor, and account.
assigned_value__vendor_KEYint (4)This column indicates the vendor that should be assigned to any bank feed transaction that matches the predicate. This column will only have a value if the bank_feeds_assignment_column_KEY is of type Vendor. Otherwise, it will be set to NULL.
assigned_value__gl_account_KEYint (4)This column indicates the GL Account that should be assigned to any bank feed transaction that matches the predicate. This column will only have a value if the bank_feeds_assignment_column_KEY is of type Account. Otherwise, it will be set to NULL.
assigned_valuenvarchar (240)This column indicates the Description or Reference that should be assigned to any bank feed transaction that matches the predicate. This column will only have a value if the bank_feeds_assignment_column_KEY is of type either Description or Reference. Otherwise, it will be set to NULL.
assigned_value__vendor_1099_box_setup_KEYint (4)This column indicates the Vendor 1099 box setup that should be assigned to any bank feeds transaction that matches the predicate.["BR"] This column will only have a value if the bank_feeds_assignment_column_KEY is of type 1099. Otherwise, it will be set to NULL.
assigned_value__bank_transaction_type_KEYint (4)This column indicates the bank transaction type that should be assigned to any bank feeds transaction that matches the predicate.["BR"] This column will only have a value if the bank_feeds_assignment_column_KEY is of type (Transaction) type. Otherwise, it will be set to NULL.
Primary key
NameColumnsDescription
PK_Bank_Feeds_Assignment_Rule_Actionbank_feeds_assignment_rule_action_KEY
Foreign keys
NameColumnsReferenced tableDescription
FK_Bank_Feeds_Assignment_Rule_Action__Bank_Feeds_Assignment_Rule__bank_feeds_assignment_rule_KEYbank_feeds_assignment_rule_KEYBank_Feeds_Assignment_Rule (bank_feeds_assignment_rule_KEY)
FK_Bank_Feeds_Assignment_Rule_Action__Bank_Feeds_Assignment_Column__bank_feeds_assignment_column_KEYbank_feeds_assignment_column_KEYBank_Feeds_Assignment_Column (bank_feeds_assignment_column_KEY)
FK_Bank_Feeds_Assignment_Rule_Action__Vendor__assigned_value__vendor_KEYassigned_value__vendor_KEYVendor (vendor_KEY)
FK_Bank_Feeds_Assignment_Rule_Action__GL_Account__assigned_value__gl_account_KEYassigned_value__gl_account_KEYGL_Account (gl_account_KEY)
FK_Bank_Feeds_Assignment_Rule_Action__Vendor_1099_Box_Setup__assigned_value__vendor_1099_box_setup_KEYassigned_value__vendor_1099_box_setup_KEYVendor_1099_Box_Setup (vendor_1099_box_setup_KEY)
FK_Bank_Feeds_Assignment_Rule_Action__Bank_Transaction_Type__assigned_value__bank_transaction_type_KEYassigned_value__bank_transaction_type_KEYBank_Transaction_Type (bank_transaction_type_KEY)

Schema diagram