Error When an Opportunity is Marked as 'Closed Won' with a Renewable Product [Error:Insert failed. First exception on row 0; first error: INVALID_CROSS_REFERENCE_KEY, Record Type ID: this ID value isn't valid for the user: : [RecordTypeId]]

(Doc ID 2098101.1)

Last updated on JANUARY 29, 2016

Applies to:

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

Symptoms

When Auto-Renewals is enabled, a Quote with a Renewable product is Synced to an Opportunity, and the Opportunity is marked as Closed Won,
the following error occurs.
Error:Insert failed. First exception on row 0; first error: INVALID_CROSS_REFERENCE_KEY, Record Type ID: this ID value isn't valid for the user: : [RecordTypeId]

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

  1. Ensure Manual Renewals is unchecked (More Tabs "+" > Renewals Settings > uncheck Manual Renewals)
  2. Navigate to Test Quote
  3. Insert Renewable Product to Quote (Add Line Item > Select Renewable Product > Enter Quantity > Save)
  4. Click Start Sync on Quote to sync to Opportunity
  5. Navigate to Opportunity > Mark Opportunity as Closed Won > Save
  6. Note error

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