2689: FETCH c_origination_type INTO l_origination_type;
2690: CLOSE c_origination_type;
2691: END IF;
2692: --lpn status project start
2693: IF(inv_cache.set_org_rec(v_lpn_content.organization_id))THEN
2694: IF((inv_cache.org_rec.default_status_id) IS NOT NULL)THEN
2695: l_onhand_status_enabled := 1;
2696: IF (l_debug = 1) THEN
2697: trace('Org is onhand status enabled');
2690: CLOSE c_origination_type;
2691: END IF;
2692: --lpn status project start
2693: IF(inv_cache.set_org_rec(v_lpn_content.organization_id))THEN
2694: IF((inv_cache.org_rec.default_status_id) IS NOT NULL)THEN
2695: l_onhand_status_enabled := 1;
2696: IF (l_debug = 1) THEN
2697: trace('Org is onhand status enabled');
2698: END IF;