548: p_lot_number => p_lot_number,
549: p_subinventory_code => p_subinventory_code,
550: p_locator_id => p_locator_id,
551: p_primary_quantity => l_primary_qty,
552: p_quantity_type => 3, --inv_quantity_tree_pvt.g_qr_other_demand
553: p_secondary_quantity => l_secondary_qty,
554: x_qoh => l_qoh,
555: x_rqoh => l_rqoh,
556: x_qr => l_qr,
599: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
600: RAISE CREATE_TREE_ERROR;
601: END IF;
602:
603: INV_Quantity_Tree_Pvt.Prepare_Reservation_Quantities(
604: x_return_status => x_return_status
605: , p_tree_id => x_tree_id);
606:
607: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN