CatalogEntryComponent

Use the CatalogEntryComponent keyword to load the relationship between a bundle or kit and its components (products or SKUs) into your HCL Commerce database.

Previously, you could load this data only in CSV formatted files. You can now load information in a CSV or XML formatted input file. Your input file must contain CSV column or XML element names and definitions that specify the characteristics of the business object type you are loading into your database.

CSV column and XML element definitions

PartNumber
(String) The part number of the bundle or kit catalog entry. Either this field or the CatalogEntryUniqueId is required. The part number for a catalog entry displays in Management Center as the value for the catalog entry Code property.
CatalogEntryUniqueId
(Integer) The internal unique reference number of the bundle or kit catalog entry. Either this field or the PartNumber is required.
Type
(String) The type of component relationship. Valid values are:
  • PackageComponent (use for kits)
  • BundleComponent (use for bundles)
  • DynamicKitComponent (use for dynamic kits)
If you do not provide a value for this field, the Type is selected based on the catalog entry type of the bundle or kit. For example, if the parent catalog entry type is Bundle, then the BundleComponent relationship type is used.
ChildPartNumber
(String) The part number of the component product or SKU. Either this field or the ChildCatalogEntryUniqueId is required.
ChildCatalogEntryUniqueId
(Integer) The unique reference number of the component product or SKU. Either this field or the ChildPartNumber is required.
ChildStoreIdentifier
(String) The identifier of the store that owns the component product or SKU. Use this field when your site uses the extended sites model, where the store that owns the component product or SKU is different from the store that owns the bundle or kit.
ChildStoreUniqueId
(Integer) The unique reference number of the store that owns the component product or SKU.
Sequence
(Decimal) An optional number that is used to control the order in which the component products or SKUs are displayed in the bundle or kit. This number can include decimal places, for example, 1.1.
Quantity
(Decimal) The quantity of this product or SKU to include in the bundle or kit.
ParentToChildCatEntryRelField1
(String) The parent to child catalog entry relationship custom field 1.
ParentToChildCatEntryRelField2
(Integer) The parent to child catalog entry relationship custom field 2.
ParentToChildCatEntryRelField3
(Decimal) The parent to child catalog entry relationship custom field 3.
Delete
(String) A flag that indicates whether to delete. Specify 1 to delete the row.