// which has following product dimensions:
// configuration –
001
// size – XL
// color - Red
EcoResDistinctProductVariantRecId
productVariantRecId;
container
productDimensions =
EcoResProductVariantDimValue::getDimensionValuesContainer(„001‟, „XL‟, „Red‟);
// find product
variant surrogate key for product master and specified product dimensions
productVariantRecId
=
EcoResProductVariantExistMgr::findVariantByMasterAndDimensions(productMaster.RecId,
productDimensions));
Nessun commento:
Posta un commento