DBA Data[Home] [Help]

APPS.OKS_AUTO_REMINDER dependencies on OKS_TIME_MEASURES_PUB

Line 1080: oks_time_measures_pub.get_quantity (p_start_date => p_end_date,

1076: BEGIN
1077: IF p_start_date > p_end_date
1078: THEN
1079: l_duration :=
1080: oks_time_measures_pub.get_quantity (p_start_date => p_end_date,
1081: p_end_date => p_start_date,
1082: p_source_uom => p_source_uom
1083: );
1084: x_duration := l_duration;

Line 1087: oks_time_measures_pub.get_quantity (p_start_date => p_start_date,

1083: );
1084: x_duration := l_duration;
1085: ELSE
1086: l_duration :=
1087: oks_time_measures_pub.get_quantity (p_start_date => p_start_date,
1088: p_end_date => p_end_date,
1089: p_source_uom => p_source_uom
1090: );
1091: x_duration := l_duration *

Line 2318: l_period := oks_time_measures_pub.get_uom_code ('DAY', 1);

2314:
2315: -- STEP 3: Check if the contract qualifies for a reminder / cancelation notice
2316: IF l_template_set_id IS NOT NULL AND x_is_eligible = 'Y' THEN
2317: l_duration := TRUNC (SYSDATE) - TRUNC (l_k_details_rec.start_date);
2318: l_period := oks_time_measures_pub.get_uom_code ('DAY', 1);
2319:
2320: IF FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL THEN
2321: FND_LOG.STRING( FND_LOG.LEVEL_STATEMENT ,G_MODULE||l_api_name,
2322: 'l_duration: ' ||l_duration||' l_period: '||l_period );

Line 2360: l_temp_duration := oks_time_measures_pub.get_target_qty

2356: l_applies_to
2357: )
2358: LOOP
2359: IF l_reports_rec.report_duration < 0 THEN
2360: l_temp_duration := oks_time_measures_pub.get_target_qty
2361: (
2362: p_start_date => TRUNC(SYSDATE),
2363: p_source_qty => ABS(l_reports_rec.report_duration),
2364: p_source_uom => l_reports_rec.report_period,

Line 2370: l_temp_duration := oks_time_measures_pub.get_target_qty

2366: p_round_dec => 18
2367: );
2368: l_temp_duration := (l_temp_duration - 1) * -1;
2369: ELSE
2370: l_temp_duration := oks_time_measures_pub.get_target_qty
2371: (
2372: p_start_date => TRUNC(l_k_details_rec.start_date),
2373: p_source_qty => l_reports_rec.report_duration,
2374: p_source_uom => l_reports_rec.report_period,