Hi All, Is it possible for a Customer Product price to be recalculated on the requested ship date or on the ship date as opposed to the Ordered date? We have explored Future orders but this isn't a good solution for us. Thanks, Darleen
@darleen , Maybe, do you need to do this by session funcionality or code?
Hi Fabiano, Ideally via session functionality. We’re trying to avoid custom code in this case. But if it’s not possible, we’d consider a coded/Event Manager workaround that can force the Customer/Product price record to apply based on the requested ship date.
We found a working approach for repricing sales orders based on requested ship date
Just sharing this in case anyone else runs into the same issue. We needed a way to make sure pricing pulled from the PD Price Book was based on the requested ship date, not just the order entry date.
We didn’t find a clean way to do it using session options alone, but we did land on something that works really well:
Solution: Use the Reassign Ship-To API with repriceLinesFlag: true
You can call the sxapioereassigncustnoshipto endpoint and pass in the same Ship-To (no need to change it)
Just set repriceLinesFlag = true in the request
CSD will re-run the pricing logic and apply the correct PD record based on what’s valid today.
We’ve tested this both manually and through the API, and it works as expected. Next step for us is a scheduled job or event-driven flow using ION.