Skip to content

Missing field SyncedQuoteId

Detection

  • String: field SyncedQuoteId
  • String: Error force-app/main/default/objects/Quote/Quote.object-meta.xml
  • String: Error force-app/main/default/objects/Opportunity/fields/SyncedQuoteId.field-meta.xml

Examples

  • Error Opportunity_Form Invalid field SyncedQuoteId for SObject Opportunity

Resolution

Quotes must be activated in the target org.
- Turn it on from git: commit force-app/main/default/settings/Quote.settings-meta.xml with <enableQuote>true</enableQuote> (retrieve it with the Metadata Retriever of VS Code), and deploy it in a Pull Request merged before this one
- Or activate them in Setup -> Quote Settings (https://help.salesforce.com/articleView?id=sf.quotes_enable.htm&type=5)
- Scratch org setting:
"quoteSettings": {
  "enableQuote": true
}

Comments