68: i BINARY_INTEGER :=1;
69:
70: BEGIN
71: IF (l_debug = 'Y') THEN
72: okc_debug.Set_Indentation(l_proc);
73: okc_debug.Log('10: Entering ',2);
74: okc_debug.Log('50: Contract Id : '||p_contract_id,2);
75: okc_debug.Log('100: Line Id : '||p_contract_line_id,2);
76: END IF;
69:
70: BEGIN
71: IF (l_debug = 'Y') THEN
72: okc_debug.Set_Indentation(l_proc);
73: okc_debug.Log('10: Entering ',2);
74: okc_debug.Log('50: Contract Id : '||p_contract_id,2);
75: okc_debug.Log('100: Line Id : '||p_contract_line_id,2);
76: END IF;
77:
70: BEGIN
71: IF (l_debug = 'Y') THEN
72: okc_debug.Set_Indentation(l_proc);
73: okc_debug.Log('10: Entering ',2);
74: okc_debug.Log('50: Contract Id : '||p_contract_id,2);
75: okc_debug.Log('100: Line Id : '||p_contract_line_id,2);
76: END IF;
77:
78: x_return_status := OKC_API.G_RET_STS_SUCCESS;
71: IF (l_debug = 'Y') THEN
72: okc_debug.Set_Indentation(l_proc);
73: okc_debug.Log('10: Entering ',2);
74: okc_debug.Log('50: Contract Id : '||p_contract_id,2);
75: okc_debug.Log('100: Line Id : '||p_contract_line_id,2);
76: END IF;
77:
78: x_return_status := OKC_API.G_RET_STS_SUCCESS;
79:
130: CLOSE csr_seeded_rules;
131:
132:
133: IF (l_debug = 'Y') THEN
134: okc_debug.Log('x_return_status : '||x_return_status,2);
135: okc_debug.Log('1000: Leaving ',2);
136: okc_debug.Reset_Indentation;
137: END IF;
138:
131:
132:
133: IF (l_debug = 'Y') THEN
134: okc_debug.Log('x_return_status : '||x_return_status,2);
135: okc_debug.Log('1000: Leaving ',2);
136: okc_debug.Reset_Indentation;
137: END IF;
138:
139: EXCEPTION
132:
133: IF (l_debug = 'Y') THEN
134: okc_debug.Log('x_return_status : '||x_return_status,2);
135: okc_debug.Log('1000: Leaving ',2);
136: okc_debug.Reset_Indentation;
137: END IF;
138:
139: EXCEPTION
140: WHEN OTHERS THEN
145: p_token2 => g_sqlerrm_token,
146: p_token2_value => sqlerrm);
147: x_return_status := OKC_API.G_RET_STS_UNEXP_ERROR;
148: IF (l_debug = 'Y') THEN
149: okc_debug.Log('x_return_status : '||x_return_status,2);
150: END IF;
151: END get_contract_contingencies;
152:
153: