Defect HC-11955

Need a new REST API with Organization filter for order history page (B2B organization).

Software

Customer case Applies to Corrected in
CS0246853 V9.0.1.8 9.1.9.0

Observed behavior

Unlike requisition lists, when viewing the order history, orders from all organizations appear, not just the ones for the current organization. Selecting orders from a different organization than the one logged into leads to an error.

Expected behavior

The order list should be restricted to the current organization, as is done with requisition lists.

Resolution

Additional query parameters were added to restrict the results coming back from the DB to just the current organization.