Error in Commerce Library Debugger [Invalid date entered: [object Object]] (Doc ID 1937491.1)

Last updated on APRIL 20, 2016

Applies to:

Oracle BigMachines CPQ Cloud Service - Version 2014 R1 to 2015 R1 Update 4 [Release 2014 to 2015]
Information in this document applies to any platform.

Symptoms

If any util library uses "_current_date" in BML and the util library is imported to a commerce library, the debugger of the commerce library returns this error:

ERROR: Invalid date entered: [object Object]. Please make sure the value is in the proper format (MM/dd/yyyy) with valid date/time values.

To reproduce this issue:

  1. Create a util library and add the attribute _current_date.
  2. Save and deploy the util library.
  3. Create a commerce library and import the util library.
  4. Use any transaction to import in the debugger and click Run.
  5. Error message appears.

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