Hi Team,
I am currently working on Subdivide opertaion in product partition section.I need your support on following issues.
1.Getting the error 'An error has occurred: [RequiredError.REQUIRED @ operations[6].operand.criterion.caseValue.type]'
while performing product partition.
The following is my code,
$root = $helper->createSubdivision();
$helper->createUnit($root, new ProductCanonicalCondition('NEW'), 200000);
$helper->createUnit($root, new ProductCanonicalCondition('USED'), 100000);
$otherCondition = $helper->createSubdivision($root,new ProductCanonicalCondition());
$helper->createUnit($otherCondition,new ProductType('PRODUCT_TYPE_L1','sametou1'), 900000);
$helper->createUnit($otherCondition,new ProductType('PRODUCT_TYPE_L1','sametou2'), 10000);
$otherBrand = $helper->createSubdivision($otherCondition, new ProductType());
$helper->createUnit($otherBrand,new ProductType('PRODUCT_TYPE_L2'), 110000);
I tried as in your documentation.
Why this error and how can i resolve this?
Regards
sandeep cv