web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

RetailAssortmentExploded VS RetailAssortmentLookup

(0) ShareShare
ReportReport
Posted on by

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

  • Community Member Profile Picture
    on at

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

  • Wayne Clemett Profile Picture
    on at

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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans