If you search in source code for "RecordBegin(RcVc" you will see all the fields that you can use. The "flags" go from 1 to 29 so anything higher than flags[29] will not work.
Actually a new version of this bug is SL>>Reports>>Periodic customer statement "accumulates" amounts
Not sure why it was duplicated, I clicked "submit"only once....