Sales Order for ATO with Subscription as Component
Summary:
When creating the Sales Order for ATO with Subscription item as a component through the salesOrdersForOrderHub REST API, it throws following error:
"SourceTransactionLineNumber 2002, SourceScheduleNumber 2002: The import wasnt successful because the order line includes attributes that you use with a subscription, but the subscriptions feature isnt enabled. (FOM-4515383) Details: To import the sales order with these attributes, go to the Setup and Maintenance work area, select the Order Management offering, then enable the Integrate Order Management with Subscription Management to Process Subscriptions opt-in feature. Redo your import."
The Opt-in features for Subscription are enabled.
From Sales Order UI it allows to create a sales order for ATO with Subscription as a component.