Unable to create supply request without a supply source using REST API
Summary: We need to create a supply request using REST API without entering the supply source. The expectation is that the system should pick the appropriate source from sourcing rules. We are unable to achieve this and getting the below error even when sufficient onhand quantity is available. However, the supply request is getting created when we pass SupplyType as Transfer and Source Organization is entered in the payload.Error - "SupplyOrderReferenceNumber: 31decv2, SupplyOrderReferenceLineNumber: 23020202, MessageType:ERROR, MessageText:JBO- Unavailable inventory: Unavailable inventory.oracle.javatools.resourcebundle.ResourceBundleRT"
Sufficient onhand is available and therefore this error is not expected.
Can somebody please guide where we are going wrong?