Last updated on MARCH 23, 2009
Applies to:Oracle Communications Billing and Revenue Management - Version: 126.96.36.199.0
This problem can occur on any platform.
The BRM 7.3.1 documentation states that returning a PIN_FLD_RESULT of zero (0) causes the
writeoff to fail due to a validation failure, but the calling opcode PCM_OP_AR_ITEM_WRITEOFF
only checks for PIN_ERR_IS_ERR(ebufp) and totally ignores the PIN_FLD_RESULT field (and PIN_FLD_DESCR).
### Steps to Reproduce ###
Customize PCM_OP_BILL_POL_VALID_WRITEOFF to return PIN_FLD_RESULT 0
(PIN_BOOLEAN_FALSE) and deploy the fm_bill_pol library.
Create an account with open items (charges due).
Attempt to write off the accoiunt - it succeeds.
Customize the opcode to set an error (pin_set_err()).
Create another account (or put more open items on the existing account).
Attempt to write off the account - it fails, but no error buffer is returned - just a validation description.
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