Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2762 Представления

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"?

Аватар
Отменить
Лучший ответ

Why don't you use the account assignment in the product category or the product itself to determine the sales account?

Аватар
Отменить
Автор

The same product can be sold through all the different sales types types so we’ll still face the same issue. We can’t assign a product to one sales method, it needs to be dynamic also.

Related Posts Ответы Просмотры Активность
3
февр. 25
2455
1
нояб. 24
2161
2
окт. 24
1678
1
дек. 23
2153
1
июл. 22
2129