PCM_OP_INC_FLDS Should Not Be Able To Update Unwritable Fields
Last updated on DECEMBER 07, 2017
Applies to:Oracle Communications Billing and Revenue Management - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
This problem can occur on any platform.
Checked for relevance on 04-Aug-2013
PCM_OP_INC_FLDS opcode should fail to update a field that is not writable.
Tried to execute PCM_OP_INC_FLDS against a non-writable field in an object and it worked.
Also tested PCM_OP_WRITE_FLDS against the same field and it failed. Both should have failed as
both are updates to the field.
-- Steps To Reproduce:
1. Pick any /event object in the database, and not-writable field PIN_FLD_EARNED_TYPE.
2. Using that event POID, execute the following via testnap:
r << EOF 1
0 PIN_FLD_POID POID  <insert_poid_here>
0 PIN_FLD_EARNED_TYPE INT  1
xop PCM_OP_INC_FLDS 0 1
xop PCM_OP_WRITE_FLDS 0 2
The PCM_OP_INC_FLDS succeeds (even with a non-zero input amount) but PCM_OP_WRITE_FLDS fails because the field PIN_FLD_EARNED_TYPE is not-writable in the data dictionary.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms