Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

What does "Generate queries" do under "Commerce channel schema"

(0) ShareShare
ReportReport
Posted on by 15

Hi Experts, 

I am just curious to understand what is the function of "Generate queries" under Retail and Commerce > Headquarters setup > Commerce scheduler. 


4263.pastedimage1663119924454v2.png

*This is my first post in community so apology for any mistake in choosing the Forum*

  • Verified answer
    Shafeeque P. Profile Picture
    Shafeeque P. 6,499 Super User 2025 Season 1 on at
    RE: What does "Generate queries" do under "Commerce channel schema"

    We used to use this functionality in the legacy version(AX) of Dynamics when there was new distribution job being added. I am not sure if this is relevant, if you are not using (N-1) in D365.

    Based on the data distribution definition (an XML file where you can define relationship between different tables ), the "Generate query" button  will generate the X++ queries that will be used to define what all relevant data needs to be send to the channel DB. For example, even if you have 1000 products in your released products, only products in your assortments gets pushed in channel DB. This is actually taken care by Retail Data distribution definition.

    You can refer my blog below, to understand how you can add additional filters to definition.

    blog.shafeeque.in/.../

  • Verified answer
    Charlotte X Profile Picture
    Charlotte X on at
    RE: What does "Generate queries" do under "Commerce channel schema"

    Hi Mr Karan Singh,

    I haven't used this feature before, and I went to try to click on this button:

    pastedimage1663209522050v1.png

    Scheduler jobs are the mechanism for distributing data to and from locations. Jobs are made up of subjobs, which specify the tables and table fields that contain the data to distribute.

    So I think the "Generate queries" is to query the data that be sent to channels.

    Anyone with other ideas can also explain here.

    Best Regards,

    Charlotte

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans