protected function _set_created_by($field, &$entity)
 {
     $params = current(self::$AUTO_CREATED_BY);
     $entity[$field] = $this->_marshal(booking_account_helper::current_account_id(), $params['type']);
 }
 protected function current_account_id()
 {
     return booking_account_helper::current_account_id();
 }
 /**
  * @see booking_account_helper
  */
 public static function current_account_id()
 {
     return booking_account_helper::current_account_id();
 }