/** Sets the "modifiedby" element */
 public void setModifiedby(com.microsoft.schemas.crm._2006.webservices.Lookup modifiedby) {
   synchronized (monitor()) {
     check_orphaned();
     com.microsoft.schemas.crm._2006.webservices.Lookup target = null;
     target =
         (com.microsoft.schemas.crm._2006.webservices.Lookup)
             get_store().find_element_user(MODIFIEDBY$10, 0);
     if (target == null) {
       target =
           (com.microsoft.schemas.crm._2006.webservices.Lookup)
               get_store().add_element_user(MODIFIEDBY$10);
     }
     target.set(modifiedby);
   }
 }
 /** Sets the "createdby" element */
 public void setCreatedby(com.microsoft.schemas.crm._2006.webservices.Lookup createdby) {
   synchronized (monitor()) {
     check_orphaned();
     com.microsoft.schemas.crm._2006.webservices.Lookup target = null;
     target =
         (com.microsoft.schemas.crm._2006.webservices.Lookup)
             get_store().find_element_user(CREATEDBY$2, 0);
     if (target == null) {
       target =
           (com.microsoft.schemas.crm._2006.webservices.Lookup)
               get_store().add_element_user(CREATEDBY$2);
     }
     target.set(createdby);
   }
 }
 /** Sets the "businessunitid" element */
 public void setBusinessunitid(com.microsoft.schemas.crm._2006.webservices.Lookup businessunitid) {
   synchronized (monitor()) {
     check_orphaned();
     com.microsoft.schemas.crm._2006.webservices.Lookup target = null;
     target =
         (com.microsoft.schemas.crm._2006.webservices.Lookup)
             get_store().find_element_user(BUSINESSUNITID$0, 0);
     if (target == null) {
       target =
           (com.microsoft.schemas.crm._2006.webservices.Lookup)
               get_store().add_element_user(BUSINESSUNITID$0);
     }
     target.set(businessunitid);
   }
 }
 /** Sets the "salespersonid" element */
 public void setSalespersonid(com.microsoft.schemas.crm._2006.webservices.Lookup salespersonid) {
   synchronized (monitor()) {
     check_orphaned();
     com.microsoft.schemas.crm._2006.webservices.Lookup target = null;
     target =
         (com.microsoft.schemas.crm._2006.webservices.Lookup)
             get_store().find_element_user(SALESPERSONID$32, 0);
     if (target == null) {
       target =
           (com.microsoft.schemas.crm._2006.webservices.Lookup)
               get_store().add_element_user(SALESPERSONID$32);
     }
     target.set(salespersonid);
   }
 }
 /** Sets the "regardingobjectid" element */
 public void setRegardingobjectid(
     com.microsoft.schemas.crm._2006.webservices.Lookup regardingobjectid) {
   synchronized (monitor()) {
     check_orphaned();
     com.microsoft.schemas.crm._2006.webservices.Lookup target = null;
     target =
         (com.microsoft.schemas.crm._2006.webservices.Lookup)
             get_store().find_element_user(REGARDINGOBJECTID$22, 0);
     if (target == null) {
       target =
           (com.microsoft.schemas.crm._2006.webservices.Lookup)
               get_store().add_element_user(REGARDINGOBJECTID$22);
     }
     target.set(regardingobjectid);
   }
 }
 /** Sets the "transactioncurrencyid" element */
 public void setTransactioncurrencyid(
     com.microsoft.schemas.crm._2006.webservices.Lookup transactioncurrencyid) {
   synchronized (monitor()) {
     check_orphaned();
     com.microsoft.schemas.crm._2006.webservices.Lookup target = null;
     target =
         (com.microsoft.schemas.crm._2006.webservices.Lookup)
             get_store().find_element_user(TRANSACTIONCURRENCYID$36, 0);
     if (target == null) {
       target =
           (com.microsoft.schemas.crm._2006.webservices.Lookup)
               get_store().add_element_user(TRANSACTIONCURRENCYID$36);
     }
     target.set(transactioncurrencyid);
   }
 }