function verificaComplemento(){   
       var numProcess = getValue("WKNumProces");
       var constraints = [ DatasetFactory.createConstraint("nrSolicitacaoComplemento", numProcess, numProcess, ConstraintType.MUST) ]
       var dataset = DatasetFactory.getDataset("ds_verifica_complemento", null, constraints, null);
       if (dataset.rowsCount > 0) {
             throw dataset.getValue(0, "mensagem");
       }      
}
