You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

salesOrdersForOrderHub expects Locator

edited Jun 4, 2025 11:11PM in Order Management 3 comments

Summary:

We want to create a sales order that mimics the Allow Inventory Transaction flag, but the api fails because we haven't passed locator.

Content (please ensure you mask any confidential information):

The error:

SourceTransactionLineNumber 1, SourceScheduleNumber 1: The request failed for item 2083695. Subinventory MAIN is under locator control and the order line has an inventory transaction, but it doesn't have a locator. (FOM-4515435) Details: If the subinventory is under locator control, and if the order line includes an inventory transaction, then you must include a value in the Locator attribute.

I've searched the documentation and cannot find it. I even used GET to get the SO lines, and Locator does not appear on an order I created from the UI.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!