My Oracle Support Banner

PCM_OP_SUBSCRIPTION_PURCHASE_PRODUCT Cannot Set Absolute Start and End Dates (Doc ID 2510493.1)

Last updated on JULY 19, 2023

Applies to:

Oracle Communications Billing and Revenue Management - Version and later
Information in this document applies to any platform.


According to opcode PCM_OP_SUBSCRIPTION_PURCHASE_PRODUCT's documentation for field X_END_UNIT:

If unit is 0 and end_t is 0 then End Never. If unit is 0 and end_t is greater than 0 then it is an Absolute date. Otherwise relative unit for Purchase end can be Seconds(1) Minutes(2) Hours(3) Days(4) Months(5) Act Cycles(8)

Issue is that, passing END_UNIT equal 0 and XX_END_T > 0, XX_END_T is not being set as absolute date.

Steps to reproduce:

1)  select an existing account
2)  prepare below flist to purchase product:

5)  see the issue fields :

0 PIN_FLD_USAGE_END_T  TSTAMP [0] (-1196092800) <bad value>
0 PIN_FLD_PURCHASE_END_T TSTAMP [0] (-1196092800) <bad value>
0 PIN_FLD_CYCLE_END_T  TSTAMP [0] (-1196092800) <bad value>

EXPECTED result is that, all these three fields will have the absolute date as passed in the input flist, which is, (1550181600) Thu Feb 14 14:00:00 2019.

Similar issue also exists around the XX_START_T fields.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.