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)
Tagged:
0