Currently all my account_id defaults to account "200000 Product Sales".
I have a parent field in the invoice form called x_sales_type (Selections: Retail, Wholesale & Events), how can I make account_id change account depending on the x_sales_type selection?
e.g. if x_sales_type = Events; then account_id = "210000 Event Sales"
else if x_sales_type = Wholesale; then account_id = "220000 Wholesale Sales"
else if x_sales_type = Retail; then account_id = "230000 Retail Sales"?