19: BEGIN
20:
21: x_progress := '001';
22:
23: x_success := FND_FLEX_KEYVAL.validate_segs(
24: operation=>x_operation,
25: appl_short_name=>x_appl_short_name,
26: key_flex_code=>x_key_flex_code,
27: structure_number=>x_structure_number,
32: x_progress := '002';
33:
34: IF x_success = TRUE THEN
35:
36: x_new_ccid := FND_FLEX_KEYVAL.combination_id;
37: return(TRUE);
38:
39: ELSE
40:
37: return(TRUE);
38:
39: ELSE
40:
41: x_encoded_error_msg := FND_FLEX_KEYVAL.encoded_error_message;
42: -- x_encoded_error_msg := FND_FLEX_KEYVAL.error_message;
43: return(FALSE);
44:
45: END IF;
38:
39: ELSE
40:
41: x_encoded_error_msg := FND_FLEX_KEYVAL.encoded_error_message;
42: -- x_encoded_error_msg := FND_FLEX_KEYVAL.error_message;
43: return(FALSE);
44:
45: END IF;
46: