GenerateSerialNumbers API throwing "The serial number SER00XXX is invalid because it is not unique"
Summary:
We are using GenerateSerialNumbers REST API to create serial numbers for receipt into stores transaction for serialized items. During creation sometimes, it fails stating serial number is invalid and its not unique. Upon checking the set up for the organization parameters , Generation of serial numbers is set at the organization level. while GenerateSerialNumbers REST API mandates to pass Item and organization details.
How to automate the generation of serial numbers for serialized items for automation purpose ?
https://fa-XXXX-****-XXXXXXX.fa.ocs.oraclecloud.com/fscmRestApi/resources/11.13.18.05/generateSerialNumbers
Content (please ensure you mask any confidential information):
URL :
Request :
{ "OrganizationCode" : "VALUATED", "ItemNumber" : "301606938", "NumberOfSerials" : 50}