Different Items, Different Sales Orders, Different Invoice FORMS for different Item Groups

Hi Friends,

Is it possible to have Different Items, Different Sales Orders, Different Invoice FORMS for different Item Groups?

For example we have 3 different item groups for 3 different types of services, we want to have different custom fields for items related to respective item groups. We cannot use DOCtype for sales order/invoice/items with same fields.

Thanks,
Zia

option 1: set depends (on order type) for relevant custom fields , this is a kind of dynamic form by simple conditional logic

option 2: custom script based on the control field:order type,change event,in the script call the set field property method

option 3: use doctype variant solution,define multiple virtual doctypes per item group, refer to my pull request.

1 Like