My Oracle Support Banner

Discount With All Cycle Validity Flags Set To 3 ("No Discount") Is Triggered On Cyclic Event (Doc ID 1569885.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version to [Release 7.4.0 to 7.5.0]
Linux x86-64


Discount with all cycle validity flags set to 3 ("No discount") is triggered on cyclic event

Steps to reproduce

1. Create account with billing day set to 1
2. Purchase product P1, with event type /event/billing/product/fee/cycle/cycle_forward_monthly
3. Purchase discount D1 on product P1. Discount D1 has all cycle validity PIN_FLD_DISCOUNT_FLAGS set to 2 ("prorate"). Discount D1 has mode PIN_DISC_MODE_CASCADING. Discount D1 has event type /event/billing/product/fee/cycle/cycle_forward_monthly
4. Perform billing
5. One day before next billing date, purchase two discounts:
5.1. discount D2 on product P1. Discount D2 has all cycle validity PIN_FLD_DISCOUNT_FLAGS set to 3 ("No discount"). Discount D2 has lower priority than discount D1. Discount D2 has mode PIN_DISC_MODE_SEQUENTIAL. Discount D2 has event type /event/billing/product/fee/cycle/cycle_forward_monthly
5.2. discount D3 on product P1. Discount D3 has all cycle validity PIN_FLD_DISCOUNT_FLAGS set to 2 ("prorate"). Discount D3 has the same priority as discount D2. Discount D3 has mode PIN_DISC_MODE_SEQUENTIAL. Discount D3 has event types /event/billing/product/fee/cancel and /event/billing/product/fee/purchase
6. Perform billing

Actual Behavior :
Purchasing discount D2 triggers undesired event with discount D1 prorated for 1 day.

Expected Behavior:

Purchasing discount D2 should not affect the pro-ration charge made


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.