BSSV Output Issue(MathNumeric to Integer)...

erick1028

Member
Hi ALL

I have some troubles in converting Mathnumeric and Integer..
I'm trying to covert MathNumeric to Integer when I got value from Output..
But it seems not works .
The following is my code.

Thanks

//map output parameters to output value object
internalVO.setEDIDocumentNumber((MathNumeric)bsfnParams.getValue("mnEdiDocumentNumber_EDOC"));

//Output Value Object
public void setEDIDocumentNumber(MathNumeric eDIDocumentNumber) {
this.eDIDocumentNumber = new Integer(eDIDocumentNumber.intValue());

}

public Integer getEDIDocumentNumber() {
return eDIDocumentNumber;
}
 
Top