[Home] [Help]
41:
42: IF (x_freight_cost_type_id IS NULL) THEN
43: IF (p_freight_cost_type <> FND_API.G_MISS_CHAR) THEN
44: SELECT freight_cost_type_id INTO x_freight_cost_type_id
45: FROM wsh_freight_cost_types
46: WHERE name = p_freight_cost_type;
47: IF (SQL%NOTFOUND) THEN
48: RAISE invalid_type;
49: END IF;
49: END IF;
50: END IF;
51: ELSE
52: SELECT freight_cost_type_id INTO l_type_id
53: FROM wsh_freight_cost_types
54: WHERE freight_cost_type_id = x_freight_cost_type_id;
55: IF (SQL%NOTFOUND) THEN
56: RAISE invalid_type;
57: END IF;
694:
695:
696: CURSOR get_freight_cost_type_del(p_freight_cost_type_id NUMBER) IS
697: SELECT currency_code, amount
698: FROM wsh_freight_cost_types
699: WHERE freight_cost_type_id=p_freight_cost_type_id;
700:
701: --J-IB-JCKWOK
702: CURSOR c_detail_rec(v_detail_id NUMBER ) IS