protected function validate() {
        $validator=parent::validate();
        
        //Verify we have a KapostRefID
        $kapostID=$this->KapostRefID;
        if(empty($kapostID)) {
            $validator->error(_t('KapostObject.MISSING_KAPOST_ID', '_Kapost Reference ID is missing'), 'missing-kapost-id');
        }
        
        return $validator;
    }