05.01.2013 Views

Upgrade Toolkit

Upgrade Toolkit

Upgrade Toolkit

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

In TextBox controls:<br />

Property Value<br />

OptionString Day,Week,Month,Quarter,Year<br />

OptionCaptionML ENU=Day,Week,Month,Quarter,Year<br />

SourceExpr PeriodType<br />

Note the use of the new property OptionCaptionML.<br />

3.3 Multilanguage Enabling the Database<br />

For an example, see report 98, Date Compress General Ledger, in both Navision<br />

Financials and Navision.<br />

In OptionButton controls:<br />

Property Value<br />

CaptionML ENU=Day<br />

ShowCaption Yes<br />

OptionValue Day<br />

SourceExpr PeriodType<br />

Note the use of the new property CaptionML.<br />

For an example, see report 110, Customer - Labels, in both Navision Financials and<br />

Navision.<br />

C/AL Functions If you have used an option variable with a C/AL function that formats the option into a<br />

string, you must change the code as shown in the following examples.<br />

Before:<br />

MESSAGE(Text000,PeriodType);<br />

Text000 : TextConst ’ENU="Period is %1"’;<br />

PeriodType : 'Day,Week,Month,Quarter,Year';<br />

After:<br />

MESSAGE(Text000,SELECTSTR(PeriodType + 1,Text001));<br />

Text000 : TextConst ’ENU="Period is %1"’;<br />

Text001 : TextConst ’ENU="Day,Week,Month,Quarter,Year"’;<br />

PeriodType : 'Day,Week,Month,Quarter,Year';<br />

31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!