Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2731 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 2 25
2385
1
thg 11 24
2052
2
thg 10 24
1635
1
thg 12 23
2060
1
thg 7 22
2097