on 08-15-2014 2:13 PM
I'm using SAP Crystal Reports at Eclipse Kepler. I created a POJO class:
package pojo;
import java.util.Date;
public class FIN_POSICAO_GERAL_VENCIMENTO {
public String TIPO_TITULO;
public String TIPO_TITULO_REL;
public String CODG_TITULO;
public Date DATA_EMISSAO;
public Date DATA_PAGAMENTO;
public Date DATA_VENCIMENTO;
public String INDR_TITULO;
public Long VALR_TITULO;
public Long VALR_IMPOSTOS_RETIDOS;
public Long VALR_JUROS;
public Long VALR_MULTA;
public Long VALR_CORRECAO;
public Long VALR_DESPESA_ACRESCIMO;
public Long VALR_PAGAMENTO;
public Long VALR_DESCONTO;
public Long VALR_DESPESA_DESCONTO;
public Long FORMULA_DESP_DESCONTO;
public Long VALR_SALDO;
public Long DIAS_VCAV;
public String NOME_RAZAO_SOCIAL;
public String DESC_OPERACAO;
public String NOME_USUARIO;
public String NOME_PORTADOR;
public Long CODG_OPERACAO;
public Long CODG_DOCUMENTO;
public String DESC_DOCUMENTO;
public String NUMR_CGC;
public String FONE_CONTATO;
public String NOME_RAZAO_LEASING;
public String NUMR_MATRICULA_FUNC;
public String DESC_SIGLA;
public String NUMR_SG;
public Long VALR_JUROS_OCORR;
public Long VALR_MULTA_OCORR;
public Long VALR_CORRECAO_OCORR;
public Long VALR_DESPESA_DESCONTO_OCORR;
public Long VALR_DESPESA_ACRESCIMO_OCORR;
public Long VALR_SALDO_OCORR;
}
When i click at the "Preview" tab in Crystal View, i received a message error saying that my .rpt file didn't found the .TTX file that it was builded. I clicked in "Click here to run set datasource location to fix this error" and changed to a POJO Table: pojo.FIN_POSICAO_GERAL_VENCIMENTO.
After that, the Crystal view recognize every field from my POJO class, except 4 (i attached a print). Why? How can i see a log to fix that? It's the same thing if i build a code using the lib in Java to export the RPT to a PDF.
I already tried change the fields types to BigDecimal, Number, Long, Integer, Double, Float and everyone give me the same error.
Export your POJO to XML, then use the troubleshooting steps in this wiki.
- Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.