Hi Jan,



I don't know if this is he best way, but it works.



static void JJ_Test(Args _args)

{

LanguageId orglanguageId = infolog.language();

;

infolog.language('En-GB');

info(enum2str(ItemType::Service));

infolog.language('FI');

info(enum2str(ItemType::Service));

infolog.language(orglanguageId);

}



/Jesper

Original Message processed by Tobit InfoCenter Subject: [development-axapta] enum2str() .. language labels (10-Dez-2003 9:50)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]


Hello,

enum2str(CustInvoiceJour.SalesType)

returns the English string value (label) for the enum element.
How do I get the other languages texts?

Jan



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



Yahoo! Groups Sponsor ADVERTISEMENT
click here


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to