web
You’re offline. This is a read only version of the page.
close
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

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

I have the same question (0)
  • Suggested answer
    Rustem Galiamov Profile Picture
    8,072 on at

    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?

  • Community Member Profile Picture
    on at

    For one customer i want to link multiple sales responsible

  • Suggested answer
    Rustem Galiamov Profile Picture
    8,072 on at

    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));
        }
    }
  • Rustem Galiamov Profile Picture
    8,072 on at

    Hi SamuSafwan!

    Did you solve the issue?

  • Yohann Rolland Axcible Profile Picture
    3,111 on at

    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.

  • Community Member Profile Picture
    on at

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

    2402.Capture.JPG

  • Rustem Galiamov Profile Picture
    8,072 on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans