title: Customize MAXIMO purchase contract to be multi-vendor
body: <p>I'm try to customize a Maximo distribution by editing the java classes.</p>
  
  <p>The business would like to insert a purchase contract with multi-vendor capability. The problem is I'll have to authorize all the vendor on the contract on the single site when selecting the action "Authorize Sites" but I cannot find when nor where that action is called.</p>
  
  <p>Inside the Contract class I thought the method would be this:</p>
  
  <pre><code>public void copySitesToContractAuth(SiteSetRemote siteSetRemote) throws MXException, RemoteException
  
  {
  for (int i = 0; i &lt; selectedSites.size(); ++i) {
                  MboRemote selectedSite = (MboRemote) selectedSites.elementAt(i);
                  MboRemote contractAuth = contractAuthSet.add();
  
                  try {
                      contractAuth.setValue("authsiteid", selectedSite.getString("siteid"), 2L);
                  } catch (MXApplicationException var8) {
                      contractAuth.delete();
                      throw var8;
                  }
              }
  }
  </code></pre>
  
  <p>but it's not since it's not called.</p>
  
  <p>Does anyone have an idea of the correct method that must be override?</p>