Only Allow Certain Items to be Ordered Together

Dear All,

Let say I have an item ABC, DEF and GHI. ABC and DEF have these options:

  • S1234
  • S2587
  • S3698

Those three options can only be ordered together with ABC and/or DEF.
On the other hand, GHI has different options:

  • S8527
  • S9645
  • S9985

Those can only be ordered if GHI is ordered.

How to set and ensure that item S1234/S2587/S3698 can only be entered into purchase request/purchase order or quotation/sales order if, and only if, item ABC or DEF is in the list? The same for S8527/S9645/S9985 for GHI.

Just very raw idea, as I know there is DocType “Product Bundle” may be you can use it to group your whatever need to be together. Or else just create similar doctype to hold your settings.

And then use Server Script (creat one for each doctype, i.e., Mat Request, Purchase Order) to validate the items table.

Not sure this could work?

1 Like