Q35GetErrorDetails
This is a generic Cantara Business function to retrieve the text based on an Error Message Id.
If the "Language Preference" is not passed in then it will check for that language first, else it will check using the User's Language Preference.
Where no record is found for the data item with above Language then it will check for a record with a blank Language and if no records found then it will attempt to choose the first found record for the data item.
Where no records are found for the Error Message Data Item an Error Code of "1" is returned
Data Structure
Name | Type | Inclusion | Direction |
---|---|---|---|
szDataItem_DTA1 | ERRORALIAS | REQUIRED | IN |
szLanguagePreference_LNGP | STRING | OPTIONAL | IN |
szDescriptionAlpha_DSCA | STRING | OPTIONAL | OUT |
cErrorLevel_ERLV | CHARACTER | OPTIONAL | OUT |
cErrorCode_ERRC | CHARACTER | OPTIONAL | OUT |