File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66using Microsoft . Dynamics . Framework . Tools . MetaModel . Core ;
77using TRUDUtilsD365 . AddTableFindMethod ;
88using AxTableField = Microsoft . Dynamics . AX . Metadata . MetaModel . AxTableField ;
9+ using System . Text ;
910
1011namespace TRUDUtilsD365 . TableBuilder
1112{
@@ -325,6 +326,12 @@ void DoTableCreate()
325326 }
326327 newTable . AddFieldGroup ( axTableFieldGroup ) ;
327328
329+ StringBuilder stringBuilder = new StringBuilder ( ) ;
330+ stringBuilder . AppendLine ( $ "public class { newTable . Name } extends common") ;
331+ stringBuilder . AppendLine ( "{" ) ;
332+ stringBuilder . AppendLine ( "}" ) ;
333+ newTable . SourceCode . Declaration = stringBuilder . ToString ( ) ;
334+
328335 AddTableFindMethodParms findMethodParms = new AddTableFindMethodParms ( ) ;
329336 findMethodParms . IsCreateFind = true ;
330337 findMethodParms . IsTestMode = true ;
You can’t perform that action at this time.
0 commit comments