Beruflich Dokumente
Kultur Dokumente
GET_COMBINATION_ID:
This API Finds combination_id for given set of key flexfield segment values. Segment values
must be input in segments(1) segments(n_segments) in the order displayed.
It also creates a new combination if it is valid and the flexfield allows dynamic inserts and the
combination does not already exist. It commit the transaction soon after calling this function
since if a combination is created it will prevent other users creating similar combinations on any
flexfield until a commit is issued.
It performs all checks on values including security and cross-validation. Value security rules will
be checked for the current user identified in the FND_GLOBAL package.
Generally pass in SYSDATE for validation date. If validation date is null, this function considers
expired values valid and checks all cross-validation rules even if they are outdated.
This function returns TRUE if combination valid or FALSE and sets error message using
FND_MESSAGE utility on error or if invalid. If this function returns FALSE, use
GET_MESSAGE to get the text of the error message in the language of the database, or
GET_ENCODED_MESSAGE to get the error message in a language-independent encoded
format.
2] FND_FLEX_EXT.get_ccid:
This API gets combination id for the specified key flexfield segments.It is identical to
get_combination_id() except this function takes segment values in a string concatenated by the
segment delimiter for this flexfield, and returns a positive combination id if valid or 0 on error.
3] FND_FLEX_KEYVAL.VALIDATE_SEGS:
These key flexfields server validations API are a low level interface to key flexfields
validation. They are designed to allow access to all the flexfields functionality, and to allow the
user to get only the information they need in return. Because of their generality, these functions
are more difficult to use than those in the FND_FLEX_EXT package. Oracle strongly suggests
using the functions in FND_FLEX_EXT package if at all possible.
This function finds combination from given segment values. Segments are passed in as a
concatenated string in increasing order of segment_number (display order).
If validation date is NULL checks all cross-validation rules. It returns TRUE if combination
valid or FALSE and sets error message on server if invalid. Use the default values if you do not
want any special functionality.