My Oracle Support Banner

Redline BOM via SDK Ends in Insufficient Privilege Error When $CURRENTREV Used (Doc ID 2248139.1)

Last updated on APRIL 04, 2023

Applies to:

Oracle Agile PLM Framework - Version 9.3.3.0 to 9.3.6.0 [Release 9.3]
Information in this document applies to any platform.

Symptoms

Actual Behavior
Redline bom via SDK ends in Insufficient privilege error when $CURRENTREV equals workflow.status is set.
However Redline bom can be performed for Web Client.

Error
Error code : 407
Error message : Insufficient privilege.
Root Cause exception : com.agile.util.exception.CMAppException: Insufficient privilege.

Steps

  1. Create Criteria : Test-Items-Parts-Recipe_01

    Object Type : Recipe
    Page Two.Corporate_Code In XXX And
    Page Three.Recipe Division Is Null And
    $CURRENTREV Equal To TestWorkFlow.In Process

  2. Create Criteria : Test-Items-Parts-Recipe_02

    Object Type : Recipe

  3. Create Privilege : Test-Items-Parts-Recipe#Read_01

    Privlege : Read
    Object Type : Recipe
    Privilege Criteria : Test-Items-Parts-Recipe_01

  4. Create Privilege : Test-Items-Parts-Recipe#Modify_02

    Privlege : Modify
    Object Type : Recipe
    Privilege Criteria : Test-Items-Parts-Recipe_02

  5. Create Role : TEST_SR. Add below privilege

    Changes-Change Orders-ECO Recipe creation#Create_01
    Changes-Change Orders-ECO Recipe creation#Discovery_01
    Changes-Change Orders-ECO Recipe creation#Modify_01[All]
    Changes-Change Orders-ECO Recipe creation#Read_01[All]
    Items-Parts-Item#Create_01
    Items-Parts-Item#Discovery_01
    Items-Parts-Item#Modify_01[All]
    Items-Parts-Item#Read_01[All]
    Items-Parts-Recipe#Create_01
    Items-Parts-Recipe#Discovery_01
    Test-Items-Parts-Recipe#Modify_02
    Test-Items-Parts-Recipe#Read_01

  6. Create user : testuser
  7. Role : Creator can read and discover object he or she created; My User Profile; Staff; TEST_SR
  8. Login to web client in admin user
  9. Create New > Changes > Change Orders > ECO Recipe creation

    number : FQ00000000004
    workflow : TestWorkFlow

  10. On affected items tab, Add > Create to add

    Type : Recipe
    Number : CH0001001000
    Corporate_Code : XXX

  11. Set the status to complete
  12. Open recipe : CH0001001000 and Action > Create New > Changes
    select ECO Recipe creation

    number : FQ00000000005
    workflow : TestWorkFlow

  13. Move to status : In Process
  14. Go to affected item tab. Confirm that AN00000000030 can be added for BOM redline in CH0001001000
  15. Run SDK adding AN00000000030 to BOM redline in CH0001001000

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.