My Oracle Support Banner

FA:SCM:INV-21D Regression- Reservations REST API Generates error 'The value of the attribute {DEMANDSOURCEHEADERNUMBER=xx234} isn't valid' (Doc ID 2822048.1)

Last updated on DECEMBER 26, 2021

Applies to:

Oracle Fusion Inventory Management Cloud Service - Version 11.13.21.10.0 and later
Oracle Fusion Inventory Management - Version 11.13.21.10.0 and later
Information in this document applies to any platform.

Symptoms

Post upgrade to rel 21D, when users try to create reservations for orders coming into Order Management from an external source via Inventory REST API passing DemandSourceHeaderId, the process completes with an error.

API:
/fscmRestApi/resources/11.13.18.05/inventoryReservations

Error:
"The value of the attribute {DEMANDSOURCEHEADERNUMBER=108270} isn't valid"

Steps to reproduce:
Execute the above listed Reservations API and pass value for string 'DemandSourceHeaderId' instead of passing a value for string 'DemandSourceHeaderNumber'

Sample payload causing the error:

{
  "OrganizationId": <Inventory_Org_Id>,
  "OrganizationCode": null,
  "InventoryItemId": <Inventory_Item_Id>,
  "ItemNumber": null,
  "DemandSourceTypeId": 2,
  "DemandSourceType": "Sales order",
  "DemandSourceHeaderId": 986432759087,
  "DemandSourceHeaderNumber": "null",
  "DemandSourceName": null,
  "DemandSourceLineId": null,
  "DemandSourceLineNumber": <Order_Fullfillment_Line_ID>,
  "SourceFulfillmentLineId": null,
  "SupplySourceTypeId": 13,
  "SupplySourceType": "On hand",
  "SupplySourceHeaderId": null,
  "SupplySourceHeaderNumber": null,
  "SupplySourceLineId": null,
  "SupplySourceLineNumber": null,
  "Revision": null,
  "SubinventoryCode": "Subinv_Code",
  "SubinventoryId": null,
  "LotNumber": null,
  "LocatorId": null,
  "Locator": null,
  "PrimaryUOMCode": null,
  "PrimaryUnitOfMeasure": null,
  "ReservationQuantity": 5,
  "ReservationUOMCode": "Uom_Code",
  "ReservationUnitOfMeasure": null,
  "RequirementDate": "2021-11-19"

Expected Behavior:
API should complete successfully without any errors and create reservations against the order number.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.