How can I autopopulate the invoice.vendor field “on add” with maxuser.company?

5 pts.
Tags:
Maximo
I have an automation script code problem. Client has requested their vendors be able to log in and create/submit their own invoices. Restrictions are they can only select from POs issued by their company, only create invoices to sites they are authorized to. I have this taken care of by data restrictions in their security groups and this also hides POs not from their company. What I need to do is autopopulate the invoice.vendor field with maxuser.company and have it be read-only as some of this selection restriction is based on invoice.vendor. I have created an automation script with and object launch point that launches 'on add' but am having trouble with the code for the script. Can anyone help?

Software/Hardware used:
maximo 7.5.0.4

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following