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

Invoice view object in groovy script

Summary:

For Payable -> Invoices object
In Groovy script how to get invoice object ie what is the name of the view object

I am trying to see if the current user has access to a invoice
I am new to this
Pls comment

Content (please ensure you mask any confidential information):

Version (include the version you are using, if applicable):

11.13.24.10.0

Code Snippet (add any code snippets that support your topic, if applicable):

// It says InvoiceVO is not a valid object on validation

// Verify if user has access to invoice object

def vo = newView('InvoiceVO');

addBindVariable(vo,'dInvoiceNumber','Text');

setBindVariable(vo,'dInvoiceNumber',InvoiceNumber)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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