RE: RetailAssortmentExploded VS RetailAssortmentLookup
In Class RetailAssortmentLookupJob, run Method I see the use of the Class RetailAssortmentsSchedulerJob but without call to run Method. Something wrong here?
public void run()
{
#OCCRetryCount
utcDateTime stepStartTime, stepEndTime;
RetailAssortmentSchedulerJob retailAssortmentSchedulerJob = new RetailAssortmentSchedulerJob();
// Ensure that categories are exploded before running anything.
stepStartTime = DateTimeUtil::utcNow();
RetailCategoryContainmentLookup::synchronizeAllRetailCategories();
stepEndTime = DateTimeUtil::utcNow();
this.logStep(funcName(), 'synchronizeAllRetailCategories()', stepStartTime, stepEndTime);
// Mark any assortments that have expired.
stepStartTime = DateTimeUtil::utcNow();
this.expirePublishedAssortments();
stepEndTime = DateTimeUtil::utcNow();
this.logStep(funcName(), 'expirePublishedAssortments()', stepStartTime, stepEndTime);
// Delete all expired assortments.
stepStartTime = DateTimeUtil::utcNow();
this.deleteExpiredAssortments();
stepEndTime = DateTimeUtil::utcNow();
this.logStep(funcName(), 'deleteExpiredAssortments()', stepStartTime, stepEndTime);
// Partition the data to be processed by assortment (in parallel).
stepStartTime = DateTimeUtil::utcNow();
this.createTasksByAssortment();
stepEndTime = DateTimeUtil::utcNow();
this.logStep(funcName(), 'createTasksByAssortment()', stepStartTime, stepEndTime);
// Run old assortment explosion if Bakcward compatibility is enabled.
if (isConfigurationkeyEnabled(configurationKeyNum(RetailCDXBackwardCompatibility)))
{
stepStartTime = DateTimeUtil::utcNow();
retailAssortmentSchedulerJob.run();
stepEndTime = DateTimeUtil::utcNow();
this.logStep(funcName(), 'retailAssortmentSchedulerJob.run()', stepStartTime, stepEndTime);
}
}