AL icon indicating copy to clipboard operation
AL copied to clipboard

Caption ML Problem

Open ReneGubler opened this issue 9 years ago • 1 comments

Hi

I can't compile objects if I add more than one CaptionML

    field(1;"Code";Code[10])
    {
        CaptionML=ENU='Code';
        CaptionML=DES='Code';            
    }

Is the syntax wrong?

ReneGubler avatar Jan 12 '17 09:01 ReneGubler

The correct syntax for CaptionML property is:

<MultiLanguageText> ::= <LanguageText> [{ ,<LanguageText>}];
<LanguageText> ::= <LanguageIdOrComment> = <string>
<LanguageIdOrComment> ::= Language3LetterCode | Comment

In this particular case: field(1;"Code";Code[10]) { CaptionML=ENU='Code', DES='Code';
}

StanislawStempin avatar Jan 12 '17 09:01 StanislawStempin