Document Actions

Overview

This topic covers administration of document actions using the classic interface pages. Refer to Document Actions (Redwood) for administration using the new Redwood interface pages.

For addition information, refer to the following topics:

Administration

ClosedStandard Process Actions

Standard Process actions cannot be deleted, but the action functions can be viewed, overridden, and easily returned to their default values. The Standard Process attributes and actions come with predefined functional logic that is ready for customers' use. If required, seeded logic can be overridden by administrators to incorporate their customization logic.

Standard Process Action Overrides

To view a pre-defined function in read-only mode, click View Function.

Standard Process actions come with standard settings and values for advanced modify and the modify tab. These values and settings can also be overridden and returned to the standard values by removing the override.

Standard Process Action Modify tab

For Modify and Add from Catalog actions, the Standard Destination values and options can be overridden if desired. You can quickly return to the standard values and options by removing the override. To view the default values, check to Override Standard Destination option, and then click Apply.

Standard Process Action Destination tab


ClosedAdd Commerce Actions

  1. Navigate to the Admin home page.
  2. Click Process Definition in the Commerce and Documents section.
  3. Click on the applicable Commerce process.
  4. Select Actions from the Navigation drop-down for the applicable document, and then click List.
  5. Click Add at the bottom of the Actions List page.
    1. Enter a Label.
    2. Enter a unique Variable Name.

      The Variable Name field populates automatically. Variable names can only contain alpha-numeric characters and underscores. The entry can be changed before saving, but after saving the value is read-only.

    3. Select your desired Action Type from the drop-down.
  6. Click Add to save changes and open Admin Action editor or click Cancel to return to Action List without saving changes.
  7. Edit the available tabs.

    ClosedGeneral Tab

    ClosedModify Tab

    ClosedDestination Tab

    ClosedXSL Views Tab

    ClosedEmail Fields Tab

    ClosedIntegration Tab

    ClosedInitialization Tab

    ClosedMappings Tab

    ClosedDocument Views Tab

  8. Select one of the following:
    • Translations: Oracle CPQ content and product templates can be translated into the following languages: French, German, and Spanish.
    • Apply: saves changes and remains on the page.
    • Update: saves changes and returns to the Document List page.
    • Update and New: saves changes and creates a new action.
    • Back: returns to the Document List page without saving changes.
    The new action appears in alphabetical order on the Actions List page.

ClosedCloning Commerce Actions

  1. Navigate to the Action List page and perform one of the following actions:
    • Mark the checkbox of the desired action under the Select column and then click Clone.

      Action List page

      Only one Commerce action can be selected to clone at a time. Selecting multiple actions from the Admin List page results in an error message.
    • Click on the name of the action you wish to clone. When the Admin Action page displays, click Clone.

      Admin Action page

      The Admin Action page for the newly cloned action displays.

      Admin Action page for the newly cloned action

  1. Enter a Name in the Label field for the new cloned action.
  2. Enter a unique Variable Name or accept the default variable name in the Variable Name field for the new cloned action.

    Click Clone

  3. Click Clone. The Admin Action page for the new cloned action displays.

ClosedDeleting Commerce Actions

  1. Mark the checkbox of the desired action under the Select column within the Actions List page.

    Actions List page - select action to delete

  2. Click Delete.

Use caution when deleting a Commerce action because it is not possible to recover the deleted data. Upon a deletion, all associated rules within the Commerce action are also deleted.

Notes:

  • It is not possible to delete default, system-generated actions. For default actions created in association with document attributes, the system deletes these actions automatically when the corresponding attribute is deleted.
  • Standard Process actions cannot be deleted, but the action functions can be viewed, overridden, and easily returned to their default values Most Standard Process actions can be removed from the layout if a customer does not want to use them.
  • You can delete all custom actions by checking the Select All box and then clicking Delete.

ClosedGenerate a Commerce Action Performance Analysis

To generate a Commerce action performance analysis, perform the following steps:

  1. Navigate to the Action List page.

    Admin > Commerce and Documents > Process Definition > Documents > Actions

  2. Click on the name of the applicable action.

    The Admin Action page opens.

  3. Click on the Performance tab.
  4. Enter the applicable information:

    1. For main document actions, enter the Transaction ID.

      Generate Performance Analysis for Transaction ID

    2. For sub-documents, enter the Transaction ID and Document #.

      Generate Performance Analysis for sub-document

  5. Click Generate.

    The performance analysis operation includes BML functions in Advanced Modify Before and After Formulas, Advanced Validation, Modify options, Destination options, and BML integrations. Upon execution, the Commerce action Performance tab displays the following times for associated BML loops, BMQL, URL data calls, library calls, and JSON parsing.

    • Total Time: Total time taken, in milliseconds, to execute the nested BML, including any time spent executing BML items that have their own entries.
    • Incremental Time: Time taken, in milliseconds, to execute the nested BML, excluding time spent executing BML items that have their own entries.
    • Child Rollup Time: Total combined time taken, in milliseconds, for all BML items called from this BML item.

    Performance Analysis

Notes:

  • Actions that do not have BML functions will not show the Performance tab.
  • The run-time breakdowns are specific to BML functions and do not reflect non-BML execution times.
  • Generating a Performance Analysis does not save changes to the quote.
  • The external integrations defined in the Integration tab are not executed when generating a Performance Analysis, but calls from other BML using the urldata functions will execute and may modify external systems

ClosedFormulas in Reconfiguration Scenarios

The Reconfigure action is split into one parent (Reconfigure) and one sub-action (Reconfigure Inbound). This eliminates the need for conditionals to segregate logic.

  • The parent action (Reconfigure) contains all things common to both Reconfigure actions and its own identifiers: Label, Variable Name, Description, Action Icon, Show Loading Dialog, Layout Path, and Document Views Tab.
  • The sub-action (Reconfigure Inbound) only contains what is specific to it.
  • This allows administrators to execute a formula per attribute on:
    • Outbound paths from a Commerce Transaction.

    The Formula will run immediately after the user clicks the Reconfigure action in Commerce, and before the user enters Configuration.

    • Inbound paths to a Commerce Transaction.

    The Formula runs after the user clicks Save in the Reconfiguration, and before the user returns to the Commerce page.

  • Formula execution is consistent with the existing order of operations for inbound and outbound executions.

Notes

Notes:

  • In order for any action to appear on a commerce document, it must be included in the document view.
  • Commerce actions can be created, deleted, and edited one document at a time.
  • User will be prevented from creating or adding Quotes from Configuration to Commerce if mandatory items are missing.

Custom Variable Name Conventions Oracle CPQ appends the "_c" suffix to custom variable names to provide more consistency for integrations with Oracle Sales.

Customers can submit a Service Request (SR) on My Oracle Support to disable the "_c" suffix on variable names for custom Commerce entities

  • When the "_c" is disabled, the "_c" variable name suffix will not be required for newly created custom Commerce entities.
  • Disabling the "_c" variable name suffix for custom Commerce entities will not change existing variable names.
  • The "_c" suffix setting will not impact existing variable names when cloning a Commerce process or migrating Commerce items. Target variable names will be the same as the variable names from the source Commerce process.
Oracle CPQ recommends avoiding actions that call other actions on the same quote through BML. If this is implemented, the advanced validation of the parent action should be "modify without saving or validating".

Related Topics

Related Topics Link IconSee Also