Precisely Enterworks

 View Only
  • 1.  Product Bundles in PIM

    Posted 08-05-2021 15:45
    I am new to PIM and working on a solution for creating product bundles. I am thinking to create a new repository for bundles, have a new product number for this bundle and create a bundle to product/locale link. 

    Is there a better way of doing this that doesn't involve creating new repos?

    ------------------------------
    Deepika Jaggi | Business Analyst
    The Pokemon Company International, Inc. | 4253943183
    ------------------------------


  • 2.  RE: Product Bundles in PIM

    Employee
    Posted 08-16-2021 01:49
    Deepika,

    If you are creating a one-to-many link where each item that is being linked can only have one parent, then it shouldn't be necessary to create a new repository.  All that would be required is to add a foreign key attribute to the child repository that references a parent repository, then define a link relationship on the parent repository that uses this attribute in the join condition with the parent.

    If you a creating a many-to-many repository, then there must be an intermediate repository that associates a parent record to a child record.  This requires two link relationships, each defined on the parent or child repository and each listing the intermediate repository as the child repository.  The child repository needs to have at a minimum the foreign key attributes for the parent and child repositories.  It is also recommended that it have its own primary key attribute (using an auto-sequenced attribute).  When setting up the link relationships, it is necessary to temporarily make the first one a one-to-many and then update it to many-to-many after defining the second link relationship.  This is because a many-to-many link relationship must identify the other link relationship, which would not initially exist.  Once the second link relationship is defined, the first can be changed from one-to-many to many-to-many.

    -Brian

    ------------------------------
    Brian Zupke | Senior Technical Support Engineer
    Winshuttle North America | 9099009179
    ------------------------------