Symptoms
Users and administrators frequently encounter this issue when attempting the following actions:
Saving or activating a custom Flow that maps standard Quote Line Items (QuoteLineItem) or Ad Quote Line Items (AdQuoteLineItem) to Order Products (OrderItem) or Ad Order Items (AdOrderItem).
Overriding the standard Create Order quick action on the Quote (Media Plan) object with a custom action or Flow, which disrupts the out-of-the-box order creation process.
Cause
Empty sObject Reference: The Flow Builder validator triggers this error on a Create Records (FlowRecordCreate) element when it is configured to use an sObject variable or separate fields, but the referenced object input variable (sObjectInputReference) is null or left blank at design time.
Bypassed Core Mapping: Overriding the standard button bypasses the native, automated Media Cloud order generation architecture. In Media Cloud on Core, order creation and line-item transformations are managed natively via the MediaPlanTransactionContext context definition. This automatically handles the conversion of Quote Line Items to Order Products, as well as Ad Quote Line Items (AdQuoteLineItem) to Ad Order Items (AdOrderItem), rather than relying on manual Flow assignments.
Scope
Product: Salesforce Media Cloud (Advertising Sales Management on Core)
Editions: Enterprise, Performance, and Unlimited editions
Version: Summer '24 and later
Navigate to Setup > Process Automation > Flows and open your failing Flow.
Open the Create Records element targeting the line item object (e.g., OrderItem or AdOrderItem).
Under How to Set the Record Fields, choose one of the following configurations:
Option A (Use all values from a record): Ensure the Record field points to a valid, single record variable of that object type (e.g., {!varNewOrderItem} or {!varNewAdOrderItem}). This satisfies the sObjectInputReference requirement.
Option B (Use separate resources, and literal values): Set the Object explicitly to Order Product or Ad Order Item and populate all minimum required fields.
If looping through multiple records: Assign your values to a single-record variable inside the loop, use an Assignment element to add that record to a record collection variable, and place the Create Records element after the loop using the collection variable.
Click Done and Save the Flow.
Navigate to Setup > Feature Settings > Industries > Revenue Settings.
Under Set Up Flow for Creating Orders from Quotes, enter the API name of the standard core order creation flow (e.g., Create_Orders_From_Quote) and click Save.
If you use an overridden action, invoke this registered core Order Creation Flow as a subflow after your custom UI steps execute. This ensures native mapping logic handles the transaction automatically for both standard and advertising line items.
Verify the Context Definition is active:
Navigate to Setup > Context Definitions and open MediaPlanTransactionContext.
Confirm the status is Active and that QuoteEntitiesMapping is selected as the default mapping.
Verify the pricing procedure setup:
Navigate to Setup > Pricing Procedures and open your active Advertising Sales Management pricing procedure.
Ensure the Context Definition field points to your active MediaPlanTransactionContext (or your extended version), then save and activate the latest version.
OrderItem):OrderId
Product2Id
Quantity
UnitPrice
ServiceDate
EndDate (Note: Only populate EndDate for subscription or recurring products. Specifying an EndDate for one-time products will trigger a system error).
AdOrderItem):AdOrderItem record alongside the OrderItem.OrderId) and its corresponding Ad Quote Line Item (AdQuoteLineItemId).005385147

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.