Hi, You can give a type to category as brand category and restrict the association with only one manufacturer.
Regards, Abhsihake On Thu, Dec 16, 2010 at 6:13 PM, Shailen <[email protected]>wrote: > Thanks Abhishake for your inputs. but IMO brand and categories are two > different things as a brand can only be associated with only one > manufacturer while a category can be associated with multiple manufacturers. > So how can I restrict this association of multiple manufacturers? > > Regards, > > Shailen ([email protected]) > +91-9216020360 > Mohali, Chandigarh - 160062 > > > On Thursday 16 December 2010 05:26 PM, Abhishake Agarwal wrote: > >> Hi, >> >> you can create a party with role manufacturer. Then you can add party in >> category which can act as a brand. >> >> Regards, >> Abhishake >> >> On Thu, Dec 16, 2010 at 1:13 PM, Shailen<[email protected] >> >wrote: >> >> Hi, >>> >>> I have a requirement where I need to create manufacturers which I can >>> insert as parties. Manufacturers can have zero or more brands. Each brand >>> can have zero or more products. >>> >>> - Is brands supported in ofbiz ? I have checked the data model but not >>> able to find. >>> - If not what would be the best way to achieve this ? >>> >>> IMO I should extend ofbiz data model and create a new brand table and >>> manufacturer-brand table. >>> Brand table would have all the brands and manufacturer-brand table would >>> have the manufacturer brand association. >>> Also extend the product table and include brandId as a drop-down. Product >>> has OEM Party ID(which I think is nothing but manufacturer) and based on >>> the >>> OEM Party Id the brandId can be populated. >>> >>> Any design pointers are much welcomed. >>> >>> -- >>> >>> Thanks, >>> Shailen ([email protected]) >>> +91-9216020360 >>> Mohali, Chandigarh - 160062 >>> >>> >>>
