Issues#1: PDC import is failing with the following error:
[exec] Error during- Import
[exec] EJBException: Unknown reason: BEA1-047E79AE2C611898D0B8; nested exception is:
[exec] javax.transaction.HeuristicMixedException: (PricingDB_pdc_domain, HeuristicHazard, ()) ; nested exception is: javax.transaction.HeuristicMixedException: (PricingDB_pdc_domain, HeuristicHazard, ())
[echo] Waiting 30 seconds for import to finish.
Issues#2: Sequential Discount configuration doesn't work when discounts configured using PDC
Solution: Set the grant_period_offset for the discounts which need sequential discount configurations:
update ifw_dscbalimpact set grant_period_offset=-1;
commit;
Solution: Add ProrateFixedDiscount entry in the discount pipeline's registry:
ApolloDiscountModule
{
ModuleName = FCT_Discount
Module
{
Active = TRUE
DiscountDataModule = ifw.DataPool.DiscountModelDataModule
BalanceDataModule = ifw.DataPool.BalanceDataModule
AccountDataModule = ifw.DataPool.CustomerData
CurrencyDataModule = ifw.DataPool.CurrencyDataModule
DiscountMoreThanPossible = False
TaxationMode = 3 #[0-3] needs to in sync with 'taxation_switch' entry in pin.conf
DiscountTrace = FALSE
ProrateFixedDiscount = true
}
}
{
ModuleName = FCT_Discount
Module
{
Active = TRUE
DiscountDataModule = ifw.DataPool.DiscountModelDataModule
BalanceDataModule = ifw.DataPool.BalanceDataModule
AccountDataModule = ifw.DataPool.CustomerData
CurrencyDataModule = ifw.DataPool.CurrencyDataModule
DiscountMoreThanPossible = False
TaxationMode = 3 #[0-3] needs to in sync with 'taxation_switch' entry in pin.conf
DiscountTrace = FALSE
ProrateFixedDiscount = true
}
}