Skip to content

Commit

Permalink
Fix for table generation util
Browse files Browse the repository at this point in the history
  • Loading branch information
TrudAX committed Oct 10, 2022
1 parent 3ed75da commit e614424
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions TRUDUtilsD365/TableBuilder/TableBuilderParms.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using Microsoft.Dynamics.Framework.Tools.MetaModel.Core;
using TRUDUtilsD365.AddTableFindMethod;
using AxTableField = Microsoft.Dynamics.AX.Metadata.MetaModel.AxTableField;
using System.Text;

namespace TRUDUtilsD365.TableBuilder
{
Expand Down Expand Up @@ -325,6 +326,12 @@ void DoTableCreate()
}
newTable.AddFieldGroup(axTableFieldGroup);

StringBuilder stringBuilder = new StringBuilder();
stringBuilder.AppendLine($"public class {newTable.Name} extends common");
stringBuilder.AppendLine("{");
stringBuilder.AppendLine("}");
newTable.SourceCode.Declaration = stringBuilder.ToString();

AddTableFindMethodParms findMethodParms = new AddTableFindMethodParms();
findMethodParms.IsCreateFind = true;
findMethodParms.IsTestMode = true;
Expand Down
Binary file modified TRUDUtilsD365/bin/Debug/TRUDUtilsD365.dll
Binary file not shown.
Binary file modified TRUDUtilsD365/bin/Debug/TRUDUtilsD365.pdb
Binary file not shown.

0 comments on commit e614424

Please # to comment.