Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

how i will know which sales order is tagged with which Sales taker?

(0) ShareShare
ReportReport
Posted on by 6

hi All,

how i will know which sales order is tagged with which Sales taker? in report, sales taker drop down , i have select the sales taker name.

based on the sales taker name, i have to dipsplay the lines.

kindly let me know the exact table relation.

please give me more shed on this.

thanks

  • @rp@n Profile Picture
    6 on at
    RE: how i will know which sales order is tagged with which Sales taker?

    sorry, nikoloas

    i missed, thanks for your reply

  • nmaenpaa Profile Picture
    101,156 Moderator on at
    RE: how i will know which sales order is tagged with which Sales taker?

    Didn't I just explain it? Was it unclear or did you even read my message?

  • @rp@n Profile Picture
    6 on at
    RE: how i will know which sales order is tagged with which Sales taker?

    no martin,

    suppose i select sales taker = aba, then how i will filter sales id's which is tagged aba only. those i need to consider only which is belongs to sales taker = aba only.

    let me know the logic please... how i will get?

    '

  • Martin Dráb Profile Picture
    232,000 Most Valuable Professional on at
    RE: how i will know which sales order is tagged with which Sales taker?

    So what's your question? How to filter a field? It depends on your implementation, that you still didn't mention, but I assume you'll a query object somewhere. Have you learnt how to use QueryBuildDataSource?

    Or is your actual question how to join CustPackingSlipJour with SalesTable?

  • @rp@n Profile Picture
    6 on at
    RE: how i will know which sales order is tagged with which Sales taker?

    see, user will put from date and to date i.e mandatory. and sales taker

    the from date and to date is filter with custPackingSlipJour.DeliveryDate. based on the transaction i need to search the sales id which is tagged with the sales taker. those lines need to display.

    so, my question is how i will found, which sales order is tagged with which sales taker ?

  • Verified answer
    nmaenpaa Profile Picture
    101,156 Moderator on at
    RE: how i will know which sales order is tagged with which Sales taker?

    In SalesTable there's field WorkerSalesTaker which points to HcmWorker.RecId. So if you have a lookup of workers, you can find all SalesTable records where WorkerSalesTaker is the same than the RecId of the selected worker.

    Then you need to find all SalesLine where SalesId is same than on the SalesTables above.

    These are the table relations (which you also find in AOT by looking at Relations node of the tables).

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,091 on at
    RE: how i will know which sales order is tagged with which Sales taker?

    Hi @rp@n,

    You can check field name if you go the sales table form and open personalization and found needed control there. In this case it's WorkerSalesTaker field on SalesTable and it's Rec id reference to worker table.

    pastedimage1592895104264v1.png

  • Martin Dráb Profile Picture
    232,000 Most Valuable Professional on at
    RE: how i will know which sales order is tagged with which Sales taker?

    You forgot to give us enough details. We can't help you unless you do your part.

    Please tell us what kind of report it is and what problem do you have with applying the filter.

    Also, notice that you ask for a table relation, but you forgot to mention what table you're talking about. And your requirement above is filtering a table by a value, not about relations between two tables.

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... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,000 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans