ASO_PRICING_INT.G_LINE_REC value not Correct inside custom Pricing Attribute
We have used one of the Line level ASO pricing global variable inside custom Pricing function and found out it was not holding a correct value. Also, we have noticed that it always has information from the last line if Quote has multiple lines.
Some examples of global variables used are:
ASO_PRICING_INT.G_LINE_REC.QUOTE_LINE_ID
ASO_PRICING_INT.G_LINE_REC.INVENTORY_ITEM_ID
The above information is an exact match to Doc ID 1300100.1.
The note indicates us to use:
SELECT line_id
INTO l_line_id
FROM qp_preq_lines_tmp
WHERE line_index = p_req_line_attrs_tbl(1).line_index;