Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Customer's orders missing when accessing from CustTable form

Posted on by 45

Hi Experts.

i'm having an issue and i can't figure out why I'm facing such a behaviour.

When I am on the SalesTableListPage, I can see all sales orders. And I can filter on any customer : 

pastedimage1644849854887v2.png

When i go on the CustTable form here's a button in the SellRelatedInfo actiontab : 

pastedimage1644850029063v4.png

This should show me the same 2 sales orders in the screenshot above.

But it doesn't show me any sales order : 

pastedimage1644850136506v5.png

The only customizations we've made on the SalesTableListPageInteraction class are some controls visibility. I don't have any idea of what's happening. I tried to debug but i don't see any difference with our sandbox on which it's working fine.

Any clue would be appreciated :)

Thanks in  advance.

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Customer's orders missing when accessing from CustTable form

    Hi Maxime,

    I don't see why it would work in your sandbox environment and your Dev environment. The last thing I would suggest it is to comment the code you added to SalesTableListPageInteraction class, compile and do a full/incremental CIL. This is just to check if the new code is causing this issue.

  • MCallebert Profile Picture
    MCallebert 45 on at
    RE: Customer's orders missing when accessing from CustTable form

    Hi Gunjan,

    I've compared the form CustTable (the caller form) the only changes we've made are some custom fields/buttons. It's the same for the SalesTableListPage form. On the SalesTableListePageInteraction we've add some code to show/hide these fields/buttons. But the DataSources are unchanged, And finally i checkk the query SalesTableListPage, they're exactly the same.

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Customer's orders missing when accessing from CustTable form

    Hi Maxime,

    Apart from the changes to SalesTableListPageInteration class, are there any other changes between the Development and Sandbox environments? Since you mentioned it is working fine in Sandbox.

  • MCallebert Profile Picture
    MCallebert 45 on at
    RE: Customer's orders missing when accessing from CustTable form

    Hi,

    Of course, it's the same form, SalesTableListPage, calles by the menuitem SalestableListForm on which we pass the datasource CustTable

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customer's orders missing when accessing from CustTable form

    can you let us know the name of the form you are trying to access?

  • MCallebert Profile Picture
    MCallebert 45 on at
    RE: Customer's orders missing when accessing from CustTable form

    Hi Gunjan,

    I'm filtering on the SalesAccount, anyway SalesAccount and InvoiceAccount are the same for these orders

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Customer's orders missing when accessing from CustTable form

    HI Maxime C,

    In the screenshot, are you filtering based on the customer account or the invoice account? I believe the related sales orders works off the Sales order customer account and not the invoice account.

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans