When Attempting To Create A Specification Related Sourcing Approval Template In Supply Chain Relationship Management (SCRM), Receive Error: "Xeno.Prodika.SCRM.Service.SupplierAuthorizationException: Error in the application."

(Doc ID 1645119.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Agile Product Lifecycle Management for Process - Version 6.1.0.1 and later
Information in this document applies to any platform.

Symptoms

When a user is attempting to create a Spec Related Sourcing Approval Template in SCRM but does not have the appropriate privileges, the user receives an unhandled exception error. The following error is found in the SCRM-Prodika event log on the server:

ErrorType: First| ErrorCount: 0| App: SCRM| Misc: Url;/scrm/baseforms/createNewTemplate.aspx|
Exception: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Xeno.Prodika.SCRM.Service.SupplierAuthorizationException: Error in the application.
  at Xeno.Prodika.SCRM.Service.SupplierServiceImpl.NewBlankFacility()
  at prodika.CreateNewTemplate.Page_Load(Object sender, EventArgs e)
  at System.Web.UI.Control.OnLoad(EventArgs e)
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  --- End of inner exception stack trace ---
  at System.Web.UI.Page.HandleError(Exception e)
  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  at System.Web.UI.Page.ProcessRequest()
  at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
  at System.Web.UI.Page.ProcessRequest(HttpContext context)
  at ASP.baseforms_createnewtemplate_aspx.ProcessRequest(HttpContext context)
  at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

The system has to report that the user does not have the appropriate privileges instead of crashing with an unhandled error.


STEPS TO REPRODUCE

1. Create a user having the GSM,SCRM and reporting module access.
2. Add access to roles "SCRM Sourcing Approval Creator", "SCRM Sourcing Approval Creator from Template" and SCRM Company and Facility Reader.
3. Start PLM for Process with that user.
4. In SCRM try to create a Spec Related Sourcing Approval Template.
=> 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