1145: p_user_id IN NUMBER := FND_API.G_MISS_NUM,
1146: p_category_id IN JTF_NUMBER_TABLE,
1147: p_include_subcats IN VARCHAR2 := FND_API.G_FALSE,
1148: p_external_contents IN VARCHAR2 := FND_API.G_FALSE,
1149: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1150: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1151: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1152: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1153: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1146: p_category_id IN JTF_NUMBER_TABLE,
1147: p_include_subcats IN VARCHAR2 := FND_API.G_FALSE,
1148: p_external_contents IN VARCHAR2 := FND_API.G_FALSE,
1149: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1150: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1151: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1152: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1153: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1154: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1148: p_external_contents IN VARCHAR2 := FND_API.G_FALSE,
1149: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1150: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1151: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1152: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1153: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1154: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1155: x_result_array OUT NOCOPY cs_kb_result_varray_type,
1156: p_search_option IN NUMBER := NULL
1149: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1150: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1151: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1152: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1153: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1154: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1155: x_result_array OUT NOCOPY cs_kb_result_varray_type,
1156: p_search_option IN NUMBER := NULL
1157:
1150: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1151: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1152: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1153: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1154: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1155: x_result_array OUT NOCOPY cs_kb_result_varray_type,
1156: p_search_option IN NUMBER := NULL
1157:
1158: )is
1266: p_category_id IN AMV_SEARCH_PVT.amv_number_varray_type
1267: :=AMV_SEARCH_PVT.amv_number_varray_type(),
1268: p_include_subcats IN VARCHAR2 := FND_API.G_FALSE,
1269: p_external_contents IN VARCHAR2 := FND_API.G_FALSE,
1270: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1271: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1272: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1273: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1274: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1267: :=AMV_SEARCH_PVT.amv_number_varray_type(),
1268: p_include_subcats IN VARCHAR2 := FND_API.G_FALSE,
1269: p_external_contents IN VARCHAR2 := FND_API.G_FALSE,
1270: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1271: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1272: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1273: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1274: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1275: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1269: p_external_contents IN VARCHAR2 := FND_API.G_FALSE,
1270: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1271: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1272: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1273: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1274: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1275: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1276: x_result_array OUT NOCOPY cs_kb_result_varray_type,
1277: p_search_option IN NUMBER := NULL
1270: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1271: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1272: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1273: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1274: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1275: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1276: x_result_array OUT NOCOPY cs_kb_result_varray_type,
1277: p_search_option IN NUMBER := NULL
1278:
1271: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1272: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1273: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1274: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1275: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1276: x_result_array OUT NOCOPY cs_kb_result_varray_type,
1277: p_search_option IN NUMBER := NULL
1278:
1279: )is
1335: p_category_id IN AMV_SEARCH_PVT.amv_number_varray_type
1336: :=AMV_SEARCH_PVT.amv_number_varray_type(),
1337: p_include_subcats IN VARCHAR2 := FND_API.G_FALSE,
1338: p_external_contents IN VARCHAR2 := FND_API.G_FALSE,
1339: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1340: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1341: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1342: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1343: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1336: :=AMV_SEARCH_PVT.amv_number_varray_type(),
1337: p_include_subcats IN VARCHAR2 := FND_API.G_FALSE,
1338: p_external_contents IN VARCHAR2 := FND_API.G_FALSE,
1339: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1340: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1341: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1342: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1343: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1344: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1338: p_external_contents IN VARCHAR2 := FND_API.G_FALSE,
1339: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1340: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1341: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1342: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1343: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1344: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1345: x_result_array OUT NOCOPY cs_kb_result_varray_type,
1346: x_amv_result_array OUT NOCOPY AMV_SEARCH_PVT.amv_searchres_varray_type,
1339: p_rows_requested_tbl IN cs_kb_number_tbl_type,
1340: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1341: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1342: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1343: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1344: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1345: x_result_array OUT NOCOPY cs_kb_result_varray_type,
1346: x_amv_result_array OUT NOCOPY AMV_SEARCH_PVT.amv_searchres_varray_type,
1347: p_search_option IN NUMBER := NULL
1340: p_start_row_pos_tbl IN cs_kb_number_tbl_type,
1341: p_get_total_cnt_flag IN VARCHAR2 := fnd_api.g_true,
1342: x_rows_returned_tbl OUT NOCOPY cs_kb_number_tbl_type,
1343: x_next_row_pos_tbl OUT NOCOPY cs_kb_number_tbl_type,
1344: x_total_row_cnt_tbl OUT NOCOPY cs_kb_number_tbl_type,
1345: x_result_array OUT NOCOPY cs_kb_result_varray_type,
1346: x_amv_result_array OUT NOCOPY AMV_SEARCH_PVT.amv_searchres_varray_type,
1347: p_search_option IN NUMBER := NULL
1348:
1380: -- x_row_return_obj := cs_kb_rowret_obj_type(0, 0, 0);
1381:
1382: -- this same array can be wrtten by both sms and mes search in out.
1383: x_result_array := cs_kb_result_varray_type();
1384: x_rows_returned_tbl := cs_kb_number_tbl_type();
1385: x_next_row_pos_tbl :=cs_kb_number_tbl_type();
1386: x_total_row_cnt_tbl :=cs_kb_number_tbl_type();
1387:
1388:
1381:
1382: -- this same array can be wrtten by both sms and mes search in out.
1383: x_result_array := cs_kb_result_varray_type();
1384: x_rows_returned_tbl := cs_kb_number_tbl_type();
1385: x_next_row_pos_tbl :=cs_kb_number_tbl_type();
1386: x_total_row_cnt_tbl :=cs_kb_number_tbl_type();
1387:
1388:
1389: if(p_repository_tbl is null) then
1382: -- this same array can be wrtten by both sms and mes search in out.
1383: x_result_array := cs_kb_result_varray_type();
1384: x_rows_returned_tbl := cs_kb_number_tbl_type();
1385: x_next_row_pos_tbl :=cs_kb_number_tbl_type();
1386: x_total_row_cnt_tbl :=cs_kb_number_tbl_type();
1387:
1388:
1389: if(p_repository_tbl is null) then
1390: if fnd_msg_pub.Check_Msg_Level( fnd_msg_pub.G_MSG_LVL_ERROR) then