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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Code to filter the cust trans based on sales order.

(1) ShareShare
ReportReport
Posted on by 2
Hi All,
 
I've requirement where we need to filter the customer trans records based on sales order when we click on transactions button.
just like we filter the customer trans based on account id when we open the customer transactions form from the customer account list.
 
For example:
 
There are 3 sales orders (SO-1, SO-2, SO-3) for customer X and all the sales orders are invoiced. When we click on Transactions action button on the sales order list only Customer transactions related to specific sales order should be filtered and shown which is currently happening in customer list form.
Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at
    If you're fine with seeing customer transactions related to any invoice which involved the selected sales order (although it might be a summary invoice covering other orders as well), it looks quite simple. You'll find invoices (CustInvoiceJour) for the sales order through CustInvoiceSalesLink and if you look at CustTrans, you'll see which relation is has to CustInvoiceJour.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans