Discounts not getting calculated using QP_PREQ_PUB.PRICE_REQUEST
Hi,
I am using oracle api QP_PREQ_PUB.PRICE_REQUEST to calculate unit price for item. The script is working well and API is returing correct amount when we don't have any discount associated.
The api is not returning discounted amount.
We are on Oracle R12.1.3
Tried few things:
-> As per note (1448751.1) we have to pass control record (p_control_rec.source_order_amount_flag := 'Y';) . I too passed the same but it didn't work.
-> Changed control record p_control_rec.pricing_event :='LINE' to control record p_control_rec.pricing_event :='BATCH'
These options didn't help me to retrieve the correct unit price. Please let me know if we need to pass anymore mandatory field.