You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

What is the privilege/duty role to update a Quote in Oracle Sales Cloud?

I have a groovy script to update "ActiveVersionFlag" to "Y" but the user doesn't have access to query/update the quote record.

I'm logged in as a user with "Employee", "Resource" and a custom role similar to "Sales Representative".

When I'm logged in as a Sales Administrator, the groovy script works fine.

See groovy script below.

//Update Opty Quote ActiveVersionFlag
def qVO = newView('SalesOrderHeader');
def qVC = qVO.createViewCriteria();
def qVCR = qVC.createRow();
def qVCI = qVCR.ensureCriteriaItem('OptyNumber')
qVCI.setOperator('=');
qVCI.setValue(OptyNumber);
qVC.insertRow(qVCR);
qVO.appendViewCriteria(qVC);
qVO.executeQuery();
while(qVO.hasNext()){
def NextQuote= qVO.next()
def activeFlg = NextQuote.getAttribute('ActiveVersionFlag');

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!