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
- 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 - Create Criteria : Test-Items-Parts-Recipe_02
Object Type : Recipe - Create Privilege : Test-Items-Parts-Recipe#Read_01
Privlege : Read
Object Type : Recipe
Privilege Criteria : Test-Items-Parts-Recipe_01 - Create Privilege : Test-Items-Parts-Recipe#Modify_02
Privlege : Modify
Object Type : Recipe
Privilege Criteria : Test-Items-Parts-Recipe_02 - 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 - Create user : testuser
- Role : Creator can read and discover object he or she created; My User Profile; Staff; TEST_SR
- Login to web client in admin user
- Create New > Changes > Change Orders > ECO Recipe creation
number : FQ00000000004
workflow : TestWorkFlow - On affected items tab, Add > Create to add
Type : Recipe
Number : CH0001001000
Corporate_Code : XXX - Set the status to complete
- Open recipe : CH0001001000 and Action > Create New > Changes
select ECO Recipe creation
number : FQ00000000005
workflow : TestWorkFlow - Move to status : In Process
- Go to affected item tab. Confirm that AN00000000030 can be added for BOM redline in CH0001001000
- 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 |