Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Help finding last purchase date of a customer and its subcustomers
I need help getting a list of all customers whose last purchase date was a year ago. The twist is that I want to search both a customer and its subcustomers, and get the last purchase date of all transactions that any of them made. So I only want customer IDs returned where either a customer or one of its subcustomers made a purchase one year ago, and neither the customer or any of its subcustomers made a purchase since then.
Here is how I set up my search so far:
Standard Criteria:
[LIST]
[*]Type : is any of Cash Sale, Invoice
0