I'm using product proposal to enable cross selling within orders. I'm using option "keep main item", since the scenario is about selling a main program and its accessories on top of it. Correctly, the accessories are added as separate items. not as sub-items.
Now the challenging part: the requirement is to write some code to automatically remove/reject accessories added to the order, if the main product is removed/rejected. Can anybody tell me if the system keeps track of relationship to the main item in any way? Any field where this info is stored? Or do you think the only option is to add code during transfer of accessories to the order, in order to store such relationship with the main item in a custom field?
Thanks and Regards,