My Oracle Support Banner

FA:SCM:MNT Maintenance Material Transactions REST API Ends With Negative Inventory Balances Are Not Allowed in This Organization Error (Doc ID 2862726.1)

Last updated on APRIL 16, 2022

Applies to:

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

Symptoms

When Performing a Material Issue Transaction Using the /fscmRestApi/resources/11.13.18.05/maintenanceMaterialTransactions REST API, the following error is thrown:


ERROR
-----------------------
"Negative inventory balances are not allowed in this organization"




STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Submit request payload like the sample below:

{
   "SourceSystemCode": "OFS",
   "SourceSystemType": "EXTERNAL",
   "InterfaceBatchStatus": "VALID",
   "MaterialTransactionDetail": [
       {
           "OrganizationCode": "ABC",
           "Locator": "1.2.3.4",
           "TransactionDate": "2022-04-04 14:38:00",
           "TransactionQuantity": 1,
           "TransactionTypeCode": "MATERIAL_ISSUE",
           "WoOperationSequenceNumber": 20,
           "WorkOrderNumber": "ABC-1234",
           "InventoryItemNumber": "TEST123"
       }
   ]
}

2. See error above



 

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


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