Jump to content
We've recently updated our Privacy Statement, available here ×

crystal fomula -> jasper


rene.beck

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Maybe one technology is more powerful in some aspects than the other and the other way around.

Looking at your code, I see nothing that Jasper can't handle with parameters, fields and variables.

c, menge, nomSap, denomSap could be variables.

Basically what you doing are tests and assignments, which can be easily hadled by the ternary operator (test ? a : b);

SV{menge} = $F{APOS.STATUS} == "FR" ? $F{APOS.MENGE_SOLL} : $F{APOS.MENGE_KOMM}

Replacements, rounding, formating, all this can be done in expressions.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...