You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is there a way to get latest order details for a customer account from OM to CX?

edited Dec 14, 2023 12:13PM in Order Management 4 comments

Summary:

Sales Order details for a customer account in CX

Content (please ensure you mask any confidential information):

Hello,

Is it possible to retrieve the most recent sales order information from the Order Management (OM) SCM module in CX for a specific customer account?

I used salesOrdersForOrderHub to REST API collect the details based on BuyingPartyId, which is PartyId in Accounts. I registered the reest call in Webservices and then attempted to work with Groovy scripts. Given that hundreds or perhaps thousands of orders may have been placed from customer accounts, the fact that I was only able to get 25 records is a failure scenario. Additionally, I've tried sorting the entries by the most recent order date and raising the limit, but neither of these strategies has worked.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!