Error When Attempting to Mark an Opportunity as Closed Won [Error:Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, (Specific validation rule error)]

(Doc ID 2133583.1)

Last updated on MAY 12, 2016

Applies to:

Oracle BigMachines Express CPQ Cloud Service for Salesforce.com - Version Spring 16 and later
Information in this document applies to any platform.

Symptoms

When attempting to mark an Opportunity as Closed Won, the following error occurs:

Error:Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, (Specific validation rule error): []

The issue can be reproduced at will with the following steps:

  1. Navigate to an Opportunity with a valid, syncing, renewable Quote
  2. Mark Opportunity as Closed Won
  3. Note error

Changes

The Salesforce org has Auto-Renewals active. Also, the Salesforce org has a validation rule on the Quote object which requires certain criteria to be met in order to save the Quote. The validation error is referenced within the error for this issue.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms