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

Updating sales reps on sales orders inconsistent between Redwood UI and salesOrdersForOrderHub

in Order Management 3 comments

Summary:

We're encountering a strange issue with updating the sales rep on some sales orders. Specifically:

  • It only affects unprocessed orders that are still in draft status.
  • When we submit the same personID for two different draft orders:
  • One updates successfully.
  • The other fails to update.

However, this problem does not occur when using Redwood forms — the update always works there. So the change request is valid; it's just failing inconsistently using the rest service via postman.

Content (please ensure you mask any confidential information):

Payload example:
Patch: /fscmRestApi/resources/latest/salesOrdersForOrderHub/OPS:300000281211418
Body: {   "SalespersonId": 300000050511243 }

Response:

Bad Request Status:400

The request couldn't be completed because either it doesn't include a value for the SalespersonId attribute, or the value of 300000050511243 that it does provide isn't valid.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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