public void copyPKeyToBuff() {
   if (buff != null) {
     buff.setRequiredTenantId(getPKey().getRequiredTenantId());
     buff.setRequiredPhoneId(getPKey().getRequiredPhoneId());
   }
   if (edit != null) {
     edit.copyPKeyToBuff();
   }
 }
 public ICFSecuritySecUserObj getUpdatedBy() {
   if (updatedBy == null) {
     CFCrmPhoneBuff buff = getBuff();
     updatedBy =
         ((ICFCrmSchemaObj) getSchema())
             .getSecUserTableObj()
             .readSecUserByIdIdx(buff.getUpdatedByUserId());
   }
   return (updatedBy);
 }
 public void copyBuffToPKey() {
   getPKey().setRequiredTenantId(buff.getRequiredTenantId());
   getPKey().setRequiredPhoneId(buff.getRequiredPhoneId());
 }