Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

RetailAssortmentExploded VS RetailAssortmentLookup

Posted on by Microsoft Employee

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

  • RE: RetailAssortmentExploded VS RetailAssortmentLookup

    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);

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    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);
        }
    }

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,228 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans