Technical Blog Post
Abstract
Set Default Authorize Sites for Purchase Contracts Application
Body
If you only have one Site configured for your system. In the meantime if you want to default to the site value when Authorize Site on the Purchase Contracts application. You can write an automation script to set the default site value. The difficulty is the user has to authorize a site each time when creating a new contract. In order to achieve this.
Create an Object Launch Point
Object CONTRACTAUTH
Click Next
Click Next
Enter the Source Code as mbo.setValue("AUTHSITEID","BEDFORD")
Create the script
Change Status to Active
Go to Purchase Contract
Create a new Contract
Enter the Vendor
Select Action Authorize Site
Click New Row
The default value BEFORD Site Automaticaly populates
UID
ibm11130097