Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ITEM COMPUTATION Not saving result

EdlJan 15 2014 — edited Jan 15 2014

I'm returning to APEX development after an absence. I'm hitting a problem that I can't remember how to solve. I have an item which gets its value from a computation. DEBUG output shows that the computation is saving the proper value. Then there is a RESULT = line and another line where the New Value is empty. Where does the RESULT come from and why is there the second line, how do I get rid of them?

0.740730.00037...Perform computation of item: P2_FIT_EXPRESS_DECOMM_CD, type=FUNCTION_BODY4

0

0.741100.00097...Performing function body computation4

0

0.742090.00284...Execute Statement: declare function x return varchar2 is begin BEGIN IF :P2_QUIESCENT_CD = 'Y' AND :P2_REALLY_HAVE_DBMS_DATA = 'Y' AND :P2_SINGLE_DISPOSAL = 'Y' AND :P2_ONGOING_MIGRATION = 'N' AND :P2_LEGAL_HOLD = 'N' AND :P2_SATISFY_DATA_RETENTION = 'Y' AND :P2_ALTERNATIVE_IN_USE = 'N' AND :P2_APPLICATION_DEPENDENT = 'N' AND :P2_DBMS_SUPPORTED = 'Y' AND :P2_EXTENSIVE_ARCH_REPORTING = 'N' THEN :P2_FIT_EXPRESS_DECOMM_CD := 'Y'; ELSE :P2_FIT_EXPRESS_DECOMM_CD := 'N'; END IF; END; return null; end; begin wwv_flow.g_computation_result_vc := x; end;4

1

0.744920.00170...Session State: Saved Item "P2_FIT_EXPRESS_DECOMM_CD" New Value="Y"4

1

0.746610.00072......Result =4

0

0.747330.00037...Session State: Saved Item "P2_FIT_EXPRESS_DECOMM_CD" New Value=""
This post has been answered by Jeff E on Jan 15 2014
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 12 2014
Added on Jan 15 2014
2 comments
209 views