static void newTableCreate(Args _args)
{
TreeNode treeNode;
#AOT
;
treeNode = TreeNode::findNode(#TablesPath);
treeNode.AOTadd("Table_kanha");
SqlDataDictionary::synchronize();
}
********************************************************************
Create a new table or we can do same for all AOT. use this according as we want.
#define.TableMapsPath('\\Data Dictionary\\Maps')
#define.ViewsPath('\\Data Dictionary\\Views')
#define.ExtendedDataTypesPath('\\Data Dictionary\\Extended Data Types')
#define.BaseEnumsPath('\\Data Dictionary\\Base Enums')
#define.LicenseCodesPath('\\Data Dictionary\\License Codes')
#define.ConfigurationKeysPath('\\Data Dictionary\\Configuration Keys')
#define.SecurityKeysPath('\\Data Dictionary\\Security Keys')
#define.TableCollectionsPath('\\Data Dictionary\\Table Collections')
#define.PerspectivesPath('\\Data Dictionary\\Perspectives')
#define.MacrosPath('\\Macros')
#define.MacroPath('\\Macros\\%1')
#define.ClassesPath('\\Classes')
#define.FormsPath('\\Forms')
#define.FormsDesignPath(#FormsPath + '\\%1\\Designs\\Design')
#define.PartsPath('\\Parts')
#define.ReportsPath('\\Reports')
#define.ReportTemplatesPath('\\Reports\\Report Templates')
#define.SectionTemplatesPath('\\Reports\\Section Templates')
#define.QueriesPath('\\Queries')
#define.QueryPath('\\Queries\\%1')
#define.DataSetsPath('\\Data Sets')
#define.JobsPath('\\Jobs')
#define.JobPath('\\Jobs\\%1')
#define.MenusPath('\\Menus')
#define.MenuItemsPath('\\Menu Items')
#define.MenuItemsDisplayPath('\\Menu Items\\Display')
#define.MenuItemsOutputPath('\\Menu Items\\Output')
#define.MenuItemsActionPath('\\Menu Items\\Action')
#define.ResourcesPath('\\Resources')
#define.SecurityPath('\\Security')
#define.ReferencesPath('\\References')
#define.LabelFilesPath('\\Label Files')
#define.LabelFilePath('\\Label Files\\%1')
#define.LabelFileLanguagesPath('\\Label Files\\%1\\Languages')
#define.LabelFileLanguagePath('\\Label Files\\%1\\Languages\\%2')
#define.WebPath('\\Web')
#define.WebFormsPath('\\Web\\Web Forms')
#define.WebMenusPath('\\Web\\Web Menus')
#define.WebFilesPath('\\Web\\Web Files')
#define.WebWebPartsPath('\\Web\\Web Files\\Web Parts')
#define.WebPageDefinitionsPath('\\Web\\Web Files\\Page Definitions')
#define.WebStaticFilesPath('\\Web\\Web Files\\Static Files')
#define.WebStaticFilesProxiesFormat('\\Web\\Web Files\\Static Files\\%1')
#define.WebStaticFilesEPProxyNodeListPath('\\Web\\Web Files\\Static Files\\EPProxyNodeList')
#define.WebControlsPath('\\Web\\Web Files\\Web Controls')
#define.WebListsPath('\\Web\\Web Files\\List Definitions')
#define.WebMenuItemsPath('\\Web\\Web Menu Items')
#define.WebMenuItemsUrlPath('\\Web\\Web Menu Items\\URLs')
#define.WebMenuItemsActionPath('\\Web\\Web Menu Items\\Actions')
#define.WebContentItemsPath('\\Web\\Web Content')
#define.WebContentItemsDisplayPath('\\Web\\Web Content\\Display')
#define.WebContentItemsOutputPath('\\Web\\Web Content\\Output')
#define.WebContentItemsManagedPath('\\Web\\Web Content\\Managed')
#define.WebletItemsPath('\\Web\\Weblets')
#define.WebModulesPath('\\Web\\Web Modules')
#define.WorkflowPath('\\Workflow')
#define.WorkflowProvidersPath('\\Workflow\\Providers')
#define.WorkflowCategoriesPath('\\Workflow\\Workflow Categories')
#define.WorkflowApprovalTasksPath('\\Workflow\\Approvals')
#define.WorkflowTasksPath('\\Workflow\\Tasks')
#define.WorkflowAutomatedTasksPath('\\Workflow\\Automated Tasks')
#define.WorkflowTypesPath('\\Workflow\\Workflow Types')
#define.WorkflowTypeElementsPath('\\Supported Elements')
#define.WorkflowTypeLineItemWorkflowsPath('\\Line Item Workflows')
#define.WorkflowTypeLineItemWorkflowTypesPath('\\Line Item Workflow Types')
#define.WorkflowOutcomesPath('\\Outcomes')
#define.WorkflowHierarchyProvidersPath('\\Workflow\\Providers\\Hierarchy Assignment')
#define.WorkflowParticipantProvidersPath('\\Workflow\\Providers\\Participant Assignment')
#define.WorkflowQueueProvidersPath('\\Workflow\\Providers\\Queue Assignment')
#define.WorkflowDueDateProvidersPath('\\Workflow\\Providers\\Due Date Calculation')
#define.WorkflowProviderWorkflowTypesPath('\\Workflow Types')
#define.ServicesPath('\\Services')
#define.ServicePath('\\Services\\%1')
#define.ServiceOperations('Operations')
#define.ServiceOperationPath('\\Services\\%1\\Operations\\%2')
#define.ServiceGroupsPath('\\Service Groups')
#define.ServiceGroupPath('\\Service Groups\\%1')
#define.ServiceNodeReferencePath('\\Service Groups\\%1\\%2')
#define.SecCodePermissionsPath('\\Security\\Code Permissions')
#define.SecDutiesPath('\\Security\\Duties')
#define.SecPrivilegesPath('\\Security\\Privileges')
#define.SecProcessCyclesPath('\\Security\\Process Cycles')
#define.SecRolesPath('\\Security\\Roles')
#define.SecPoliciesPath('\\Security\\Policies')
#define.SecPolicyPath('\\Security\\Policies\\%1')
#define.SecPolicyConstrainedTablesPath('\\Security\\Policies\\%1\\Constrained Tables')
#define.SecPolicyConstrainedTablePath('\\Security\\Policies\\%1\\Constrained Tables\\%2')
#define.SecPolicyConstrainedTableLevel2Path('\\Security\\Policies\\%1\\Constrained Tables\\%2\\%3')
#define.ReportLibrariesPath('\\Report Libraries')
#define.SSRSReportsRootPath('\\SSRS Reports')
#define.SSRSReportsPath('\\SSRS Reports\\Reports')
#define.ReportStyleTemplatesPath('\\SSRS Reports\\Report Style Templates')
#define.DatasourcesPath('\\SSRS Reports\\Report Datasources')
#define.ReportImagesPath('\\SSRS Reports\\Report Images')
#define.LayoutTemplatesPath('\\SSRS Reports\\Report Style Templates\\Layout Templates')
#define.ListStyleTemplatesPath('\\SSRS Reports\\Report Style Templates\\List Style Templates')
#define.MatrixStyleTemplatesPath('\\SSRS Reports\\Report Style Templates\\Matrix Style Templates')
#define.TableStyleTemplatesPath('\\SSRS Reports\\Report Style Templates\\Table Style Templates')
#define.PieChartStyleTemplatesPath('\\SSRS Reports\\Report Style Templates\\Pie and Doughnut Chart Style Templates')
#define.XYChartStyleTemplatePath('\\SSRS Reports\\Report Style Templates\\XY Chart Style Templates')
#define.VSProjectsPath('\\Visual Studio Projects')
#define.VSProjectsAXModelPath('\\Visual Studio Projects\\Dynamics AX Model Projects')
#define.VSProjectsCSharpPath('\\Visual Studio Projects\\C Sharp Projects')
#define.VSProjectsVBasicPath('\\Visual Studio Projects\\Visual Basic Projects')
#define.VSProjectsWebAppPath('\\Visual Studio Projects\\Web Application Projects')
#define.VSProjectsAnalysisPath('\\Visual Studio Projects\\Analysis Services Projects')
#define.VSProjectsOtherPath('\\Visual Studio Projects\\Other Projects')
#define.VSProjectContentFolder('project content')
#define.VSProjectOutputFolder('project output')
#define.VSProjectCache('VSProjectCache')
#define.SuspendVSProjectEvents('SuspendVSProjectEvents')
#define.VSProjectPathMatch('^\\\\Visual Studio Projects\\\\[^\\\\]+\\\\[^\\\\]+$')
#define.FieldPath( '\%1\\Fields\\\%2' )
#define.RelationsPath('\%1\\Relations\\\%2' )
#define.SystemDocPath('\\System Documentation')
#define.SystemGlobalPath('\\System Documentation\\Global')
#define.SystemPropertyPath('\\System Documentation\\Property')
#define.SystemReservedWordsPath('\\System Documentation\\Reserved Words')
#define.SystemFunctionsPath('\\System Documentation\\Functions')
#define.SystemTablesPath('\\System Documentation\\Tables')
#define.SystemTypesPath('\\System Documentation\\Types')
#define.SystemEnumsPath('\\System Documentation\\Enums')
#define.SystemClassesPath('\\System Documentation\\Classes')
#define.ApplicationDeveloperDocPath('\\Application Developer Documentation')
#define.ApplicationDeveloperDocTablesPath('\\Application Developer Documentation\\Tables')
#define.ApplicationDeveloperDocClassesPath('\\Application Developer Documentation\\Classes')
#define.ApplicationDocPath('\\Application Documentation')
#define.ApplicationHelpTopicsPath('\\Application Documentation\\Help Topics')
#define.ApplicationHintsPath('\\Application Documentation\\Hints')
#define.ApplicationGlobalPath('\\Application Documentation\\Global')
#define.ApplicationExtendedDataTypesPath('\\Application Documentation\\Extended Data Types')
#define.ApplicationBaseEnumsPath('\\Application Documentation\\Base Enums')
#define.ApplicationLicenseCodesPath('\\Application Documentation\\License Codes')
#define.ApplicationConfigurationKeysPath('\\Application Documentation\\Configuration Keys')
#define.ApplicationSecurityKeysPath('\\Application Documentation\\Security Keys')
#define.ApplicationTablesPath('\\Application Documentation\\Tables')
#define.ApplicationMenuItems('\\Application Documentation\\Menu Items')
#define.ApplicationMenuItemsDisplayPath('\\Application Documentation\\Menu Items\\Display')
#define.ApplicationMenuItemsOutputPath('\\Application Documentation\\Menu Items\\Output')
#define.ApplicationMenuItemsActionPath('\\Application Documentation\\Menu Items\\Action')
#define.ApplicationFormsPath('\\Application Documentation\\Forms')
#define.ApplicationWebFormsPath('\\Application Documentation\\Web Forms')
#define.ApplicationReportsPath('\\Application Documentation\\Reports')
#define.ApplicationQueriesPath('\\Application Documentation\\Queries')
#define.ApplicationClassesPath('\\Application Documentation\\Classes')
#define.ApplicationWebMenuItems('\\Application Documentation\\Web Menu Items')
#define.ApplicationWebMenuItemsUrlPath('\\Application Documentation\\Web Menu Items\\URL')
#define.ApplicationWebMenuItemsActionPath('\\Application Documentation\\Web Menu Items\\Action')
#define.ApplicationWebContentItems('\\Application Documentation\\Web Content Items')
#define.ApplicationWebContentItemsDisplayPath('\\Application Documentation\\Web Content Items\\Display')
#define.ApplicationWebContentItemsOutputPath('\\Application Documentation\\Web Content Items\\Output')
No comments:
Post a Comment