on 10-08-2007 6:09 PM
Hi,
i want to use oMultiLanguageTranslations to translate userfield of usertable but
sap give me an error message "the field cannot be translated", error number -5002.
Dim crt As SAPbobsCOM.MultiLanguageTranslations
crt = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oMultiLanguageTranslations)
crt.FieldAlias = "U_DESMER" '(userfieds)
crt.TableName = "@ALS_TMER" '(usertable)
crt.TranslationsInUserLanguages.LanguageCodeOfUserLanguage = 13
crt.TranslationsInUserLanguages.Translationscontent = "Prova"
lret = crt.Add()
If lret <> 0 Then
err = oCompany.GetLastErrorDescription
oApp.MessageBox(err)
End If
anyone can help me?
Thank
Valentina
Hi Valentina,
This feature is only available for "Master Data" objects (B1's own objects + UDOs)...
See the description of the MultiLanguageTranslations object taken from SDK Help Center:
<i><b>Description</b>
The MultiLanguageTranslation object enables to translate alphanumeric data of specified fields in master data objects (such as, BusinessPartners and Items) to foreign languages and then print documents in the translated language. This functionality is used by companies that trade with foreign business partners that require documents in their language.</i>
Sorry,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.