Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8372

Transient limitation in sub node ?

$
0
0

Hi all is there any limitation to use Transient element in sub-node.

like :

businessobject MultipleLanguageOnTreeLevels {  [Label("Identification")] [AlternativeKey] element ID:ID;  [Label(" Name")]  element IdName:LANGUAGEINDEPENDENT_MEDIUM_Description;  [Transient] element CurrentLanguage : LanguageCode;  node Characterictics[1,n]{    [Label("Characterictis Name")] element CharactericticName:LANGUAGEINDEPENDENT_MEDIUM_Description;    [Transient] [Label("Characterictis Description Logon Langu")]element CharDescription:LANGUAGEINDEPENDENT_MEDIUM_Description;    node CharactericticDescriptions[0,n]{       [Label("Characteristics Language")]  element LanguageCode:LanguageCode;  [Label("Characterictis Description")]element Description:LANGUAGEINDEPENDENT_MEDIUM_Description;    }
}

I can not see the CharDescription in AfterLoadin event:

 

//Get curent language  this.CurrentLanguage = Context.GetCurrentUserLanguage();
//Fill Description  foreach( var Characterstic in this.Characterictics ){     foreach( var Description in Characterstic.CharactericticDescriptions ){        if( Description.LanguageCode == this.CurrentLanguage){           Characterstic.CharDescription = Description.Description;       }     }  }
Error1Identifier 'CharDescription' does not exist.MultipleLanguageOnTreeLevels-Root-Event-AfterLoading.absl2319Simple Tests (In Development)

Viewing all articles
Browse latest Browse all 8372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>