public void copyPKeyToBuff() {
   if (buff != null) {
     buff.setRequiredTenantId(getPKey().getRequiredTenantId());
     buff.setRequiredAddressId(getPKey().getRequiredAddressId());
   }
   if (edit != null) {
     edit.copyPKeyToBuff();
   }
 }
 public ICFSecuritySecUserObj getUpdatedBy() {
   if (updatedBy == null) {
     CFCrmAddressBuff buff = getBuff();
     updatedBy =
         ((ICFAccSchemaObj) getSchema())
             .getSecUserTableObj()
             .readSecUserByIdIdx(buff.getUpdatedByUserId());
   }
   return (updatedBy);
 }
 public void copyBuffToPKey() {
   getPKey().setRequiredTenantId(buff.getRequiredTenantId());
   getPKey().setRequiredAddressId(buff.getRequiredAddressId());
 }