Activity API Eam_activity_pub.Create_activity_with_templ Error (Doc ID 352642.1)

Last updated on JUNE 11, 2017

Applies to:

Oracle Enterprise Asset Management - Version 11.5.10.2 and later
Information in this document applies to any platform.

Symptoms

The following error occurs when trying to create 'Activity' using API
(EAM_ACTIVITY_PUB.Create_Activity_With_Template):

"Error Message: Create Activity under Current Organization failed."

Steps to Reproduce

TEST CASE 1:

    1. Execute API EAM_ACTIVITY_PUB.Create_Activity_With_Template with Activity code data
    2. Error happened as follows.
      lx_return_status => E
      lx_msg_count => 1
      lx_msg_data => EAMlx_curr_item_return_status => U
      lx_master_item_return_status => S
      Error Message 1: Create Activity under Current Organization failed.

TEST CASE 2:

  1. Execute API EAM_ACTIVITY_PUB.Create_Activity_With_Template without Activity code data as null.
  2. Successfully executed as follows.
    lx_return_status => S
    lx_msg_count => 0
    lx_msg_data =>
    lx_curr_item_return_status => S
    lx_master_item_return_status => S

 

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