peterbruce
Legendary Poster
JDEList,
Here is another one from the strange but true files - well in my view anyway. I was investigating problems with some custom UBEs and discovered that the Report Interconnect (RI) numeric variables did not behave as I thought
. I had mistakenly thought that a null value for a numeric RI variable was different from a zero value
.
My investigation so far has been only on a fat client.
I had setup a number of If statements in the UBE to be called to check for Null, Zero, and non-Null/Zero values passed into numeric RI variables and Null, Blank and non-Null/Blank values passed into alpha RI variables. I looked at both literal and variable values mapped to the RI variables in the calling UBE as well as unmapped. In the called UBE I looked at the RI variables and also ER variables set equal to the RI variables.
The results for the literal and variable values mapped to the RI variables in the calling UBE were the same. The results for the RI variables and ER variables set equal to the RI variables in the called UBE were the same. This was as I expected.
The really strange result was that the following if statement proved true
:
If RI NumericVariable is equal to null AND RI NumericVariable is equal to zero
I have attached a zip file containing an Excel (97-2003 version) file holding the results and a text file with the ER extract from the calling and called UBEs.
My system config for the above is:
Oracle JD Edwards EnterpriseOne E8.11sp1 TR 8.97.2.1, ES Sun.
Here is another one from the strange but true files - well in my view anyway. I was investigating problems with some custom UBEs and discovered that the Report Interconnect (RI) numeric variables did not behave as I thought
My investigation so far has been only on a fat client.
I had setup a number of If statements in the UBE to be called to check for Null, Zero, and non-Null/Zero values passed into numeric RI variables and Null, Blank and non-Null/Blank values passed into alpha RI variables. I looked at both literal and variable values mapped to the RI variables in the calling UBE as well as unmapped. In the called UBE I looked at the RI variables and also ER variables set equal to the RI variables.
The results for the literal and variable values mapped to the RI variables in the calling UBE were the same. The results for the RI variables and ER variables set equal to the RI variables in the called UBE were the same. This was as I expected.
The really strange result was that the following if statement proved true
If RI NumericVariable is equal to null AND RI NumericVariable is equal to zero
I have attached a zip file containing an Excel (97-2003 version) file holding the results and a text file with the ER extract from the calling and called UBEs.
My system config for the above is:
Oracle JD Edwards EnterpriseOne E8.11sp1 TR 8.97.2.1, ES Sun.