Notifications
Announcements
No record found.
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
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?
For one customer i want to link multiple sales responsible
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)); } }
Did you solve the issue?
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.
i tried your steps but in salerep is not coming employee name
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2