on 05-09-2007 9:03 PM
Hi all,
I have a multilingual field and would like to make sure the user populates the English language value for this field. I would like to write a validation to accomplish this. But how do I access the specific language value to perform the IS_NOT_NULL test? I tried the language operator but it does not work properly. It appears as though it looks at the logon language and not on the field's language specific value.
Has anybody tried this? Appreciate a response.
Thanks,
Jagathi
Hi Jagathi,
Data Manager displays the data based on the logon language, and any validations executed are based on that language.
If you logon using Spanish language and expecting to execute the validation for English language, then I don't think that is possible.
For example: the following validation
IF (LANGUAGE=English [US] THEN
IS_NOT_NULL (<Field-Name>)
ELSE IF (LANGUAGE=Russian [RU] THEN
language_specific_expression
ELSE IF (LANGUAGE=Japanese [JP] THEN
language_specific_expression
ELSE IF (LANGUAGE=Hebrew [IL] THEN
language_specific_expression
ELSE IF (LANGUAGE=Portuguese [BR] THEN
language_specific_expression
ELSE IF (LANGUAGE=Chinese [HK] THEN
language_specific_expression
ELSE IF (LANGUAGE=Spanish [MX] THEN
language_specific_expression
ELSE
otherwise_expression
)))))))
Will only fail when the field value is NULL when logged on to Data Manager in English language. Any other language with the field value NULL will not fail.
And if you want to apply the same validation for all languages, then replace all the 'language_specific_expression' lines with 'IS_NOT_NULL (<Field-Name>)'.
Let me know if you need any more help with this one.
Regards,
Ramu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramu,
I have the same problem. In my case customer has departments in several countres and use 4 lang in MDM (Ukranian, Russian, English and Italian). Its acceptable if Production have description in 1 lang only and use inheritance for other lang from Business point of view. But how we can check that description exist on non-logon lang?
Regards, Alexander.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.