I encountered some strange behavior in this standard Cbsfn. I'm using JDE 9.2. There is a line of code which says "iDec = Decimals(&lpDS->mnAmountGross);"
This is used to know the Decimal place of the variable. When i debug this BSFN i see that when ever this BSFN is called from F0411Editline...