Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Customer Link With Multiple Sale man

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

i want to link One Customer to multiple Sales Responsible, please guide me with complete process

Regard,

Safwan

*This post is locked for comments

  • Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Customer Link With Multiple Sale man

    Hi SamuSafwan!

    It's not clear what you want to achieve.

    You need to create some report which collect data from sales orders or you need to setting up the sales rep for customer?

    And you mentioned 3.0 version instead of 2012 in tags.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customer Link With Multiple Sale man

    i tried your steps but in salerep is not coming employee  name 

    2402.Capture.JPG

  • RE: Customer Link With Multiple Sale man

    Hi, you can use sales groups on the Customer record. From there, you can add as many as sales rep as you want.

    Then sales group is retrieve on sales orders.

  • Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Customer Link With Multiple Sale man

    Hi SamuSafwan!

    Did you solve the issue?

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Customer Link With Multiple Sale man

    Try this:

    static void Job278(Args _args)
    {
        CustTable   custTable;
        SalesTable  salesTable;
        EmplTable   emplTable;
    
        while select custTable
            group by AccountNum
            where custTable.AccountNum == 'yourCustomerCode'
        join salesTable
            group by SalesResponsible
            where salesTable.InvoiceAccount == custTable.AccountNum
        join emplTable
            group by Name
            where emplTable.EmplId == salesTable.SalesResponsible
        {
            info(strfmt("%1 %2 %3",custTable.AccountNum, salesTable.SalesResponsible, emplTable.Name));
        }
    }
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customer Link With Multiple Sale man

    For one customer i want to link multiple sales responsible

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Customer Link With Multiple Sale man

    Hi SamuSafwan!

    You should use CustTable, SalesTable and EmplTable.

    Can you provide more information about your requirements? 

    And you tell about AX 3.0 right?

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

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,401 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans