Hi!
Does anyone know the difference between the tables RetailAssortmentExploded and RetailAssortmentLookup? At MSDN the description is the same and I dont see in both tables the same items/products as expected.
Thanks
*This post is locked for comments
Hi Pedro, The run looks to be based on a configuration key -
(isConfigurationkeyEnabled(configurationKeyNum(RetailCDXBackwardCompatibility)))
{
stepStartTime = DateTimeUtil::utcNow();
retailAssortmentSchedulerJob.run();
stepEndTime = DateTimeUtil::utcNow();
this.logStep(funcName(), 'retailAssortmentSchedulerJob.run()', stepStartTime, stepEndTime);
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);
}
}
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156