Discrepancy Between Collection Status Value Described In Documentation And Implementation (Doc ID 1233900.1)

Last updated on SEPTEMBER 19, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version: 7.4.0.0.0 and later   [Release: 7.4.0 and later ]
Information in this document applies to any platform.

Goal

In the BRM documentation, description of field status in class /collections_action is different than what can be found in source code. The mapping in documentation is following:

PENDING (0)
COMPLETED (1)
CANCELLED (2)
ERROR (3)
NO_EXECUTE (4)

In fm_collections.h file, the following declaration can be found:

/* collections action status */
typedef enum pin_action_status {
       PIN_ACTION_PENDING      =       0,
       PIN_ACTION_CANCELED     =       1,
       PIN_ACTION_COMPLETED    =       2,
       PIN_ACTION_ERROR        =       3,
       PIN_ACTION_NO_EXECUTE   =       4
} pin_action_status_t;

Note how "CANCELED" and "COMPLETED" are swapped in the two definitions.
Which mapping is the correct one?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms