function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Stephen Hill 2Stephen Hill 2 

Generate Orders (w/ Quotes) Flow Error

I am brand new to Salesforce, and still working in our trial but trying to test out a few apps while im in the trial.  I just installed the Generate Orders (w/ Quotes) app.  I am looking to create orders from quotes.  I added the Generate Order button to the quote page layout.  When I tried to use the button I got the below error and the below email. I did not modify the flow template (that I know of).  

Also, let me know if this is miscateforized? 

An unhandled fault has occurred in this flow
An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information.


Encountered unhandled fault when running process Quote_to_Order/30137000000ChYs exception by user/organization: 00537000000J406/00D37000000PmEp
Errorcaused by element : FlowRecordCreate.Create_Order
caused by: UPSERT --- UPSERT FAILED --- ERRORS : (INVALID_FIELD_FOR_INSERT_UPDATE) Order: bad field names on insert/update call: QuoteId, OpportunityId --- for SFDC record with ID : null,


An error occurred at element Create_Order.
UPSERT --- UPSERT FAILED --- ERRORS : (INVALID_FIELD_FOR_INSERT_UPDATE) Order: bad field names on insert/update call: QuoteId, OpportunityId --- for SFDC record with ID : null, .

This report lists the elements that the flow interview executed. The report is a beta feature.
We welcome your feedback on IdeaExchange
Flow DetailsFlow Name: Quote_to_Order
Type: AutoLaunchedFlow
Version: 1
Status: ACTIVE
 
Flow DetailsStart time(GMT): Tue Aug 04 19:57:02 GMT 2015
End time(GMT): Not Yet Finished
Duration: 0 seconds
 
Fast Lookup: Get_Quote_Fields 
Decision: OrderGenerated 
Fast Lookup: Get_Opportunity_Fields 
Fast Lookup: Get_Account_Fields 
Assignment: Assign_Order_Fields 
Fast Create: Create_Order
ShashankShashank (Salesforce Developers) 
You might want to check if you have enabled orders and quotes in your org.
Sarah LishinSarah Lishin
I am having this same error - and I have both quotes and order enabled for my group (for all users).
Tyler DittoTyler Ditto
I am also getting this same error. Does anybody have a solution for this?
Julian T RedwoodJulian T Redwood
Need to check the permission on the Order, Opportunity Id lookup field.
Steven TooleSteven Toole
I'm getting a similar error. Did anyone ever solve this?

An error occurred at element Create_Order (FlowRecordCreate).
INSERT --- INSERT FAILED --- ERRORS : (REQUIRED_FIELD_MISSING) Account Name:You must enter a value
Gancho.Gancho.
Hi,
You can enable "Force.com Flow User" checkbox on user record.
Regards