What is the object "CP" ?
It sounds like it is a view. If it's the same you've used for the IR, then check out "key preserved views"
There could be another issue once you address the error - depending on how you've defined apex_application.checkbox2 (the other is deprecated)
You may not be associating the correct value in g_f01