AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 17.10.2007, 22:40   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
daxmy: Tips: Enable company/user template when created new form with new table
Источник: http://daxmy.blogspot.com/2007/10/ti...late-when.html
==============

It is pretty simple. Go and check your new table, look at TableGroup property, and set the value to Group/Main.

There is some info in Dev Guide 4.0 (grabbed from internet):

Table groups constitute a way to categorize tables according to the types of data they hold. Determining group membership, though, is not an exact science but more of a conceptual definition. But when determining group membership for your own tables, follow the standards in the Microsoft Axapta application.

Parameter
The table holds data primarily used as parameters or setup information for one of the Main tables. The table typically holds only one record.
CustParameters, VendParameters

Group
The table holds data primarily used to categorize one of the Main tables. There is a one-to-many relationship between Group and Main.
CustGroup, VendGroup

Main
The table is one of the principal tables in the application and holds data for a central business object. The table typically holds static, base information.
There is a one-to-many relationship between Main and Transaction.
CustTable, VendTable

Transaction
The table holds transaction data. Typically the table is not used for data entry directly.
CustTrans, VendTrans

WorksheetHeader
The table typically categorizes information in the WorkSheetLine tables.
There is a one-to-many relationship between WorkSheetHeader and WorkSheetLine.
SalesTable

WorksheetLine
The table holds information to be validated and made into transactions. Compared to the information in Transaction tables, the information in WorkSheetLine tables is temporary and may be deleted without affecting system stability.
SalesLine

Miscellaneous
The table does not fit in any of the other categories.

Источник: http://daxmy.blogspot.com/2007/10/ti...late-when.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Старый 18.10.2007, 07:55   #2  
mazzy is offline
mazzy
Участник
Аватар для mazzy
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
29,472 / 4494 (208) ++++++++++
Регистрация: 29.11.2001
Адрес: Москва
Записей в блоге: 10
где-то я читал, что исходная задумка была не совсем такая.
Parameter - да, одна и только одна запись на каждую компанию
Group - как правило содержат до нескольких десятков-тысяч, записи редко добавляются и практически никогда не удаляются
Main - как правило содержат до нескольких тысяч-миллионов записей, не очень часто добавляются и редко удаляются
Transaction - очень много записей, до нескольких милииардов, записи только добавляются и в штатном режиме никогда не удаляются
WorksheetHeader, WorksheetLine - черновики и журналы, записей может быть много, записи постоянно добавляются и удаляются
Miscellaneous - прочее. сложно что-либо сказать.

Так вот, насколько я понял, такое деление изначально предполагалось для автоматической оптимизации, для разделения по сегментам, а также, самое главное, для автоматического управления коэффициентом заполнения (fill ratio|fill factor). Но не получилось. В результате, сейчас этот параметр ядром никак не используется (рудименты остались только при импорте/экспорте)
__________________
полезное на axForum, github, vk, coub.
Старый 18.10.2007, 11:38   #3  
exceptor is offline
exceptor
Участник
 
32 / 14 (1) ++
Регистрация: 15.03.2004
Цитата:
Сообщение от mazzy Посмотреть сообщение
В результате, сейчас этот параметр ядром никак не используется (рудименты остались только при импорте/экспорте)
Пожалуй добавлю, что помимо импорта/экспорта св-во TableGroup еще используется как минимум в след. местах:

1) Выдержка из DevGuide:
Цитата:
Delete and update prompts are defined for each group in the Confirmation tab page in the Options dialog.
- On the Tools menu, click Options... to open the Options dialog.
The confirm dialog is shown below.
2) При проверке Best Practices. Достаточно заглянуть в класс SysBPCheckTable, и поискать в нем по TableGroup.
3) В функционале очистки (класс DataBaseTransDelete).
__________________
Спокойствие, только спокойствие! (Астрид Линдгрен)
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Khue Trinh: CODE TO CHANGE FORM BACKGROUND COLOUR FOR EACH COMPANY Blog bot DAX Blogs 1 28.01.2008 10:39
Inside Dynamics AX 4.0: The Security Framework Blog bot DAX Blogs 0 31.10.2007 11:40
jerry-dynamics: How can you make sure that the end user can not delete a record in one table if there are related records in another table? Blog bot DAX Blogs 0 16.06.2007 11:20
PatrickChua: Temporary table Blog bot DAX Blogs 0 28.10.2006 18:14
Говорят вышел SP2 для Axapta 3. Кто нибуть что знает на эту тему? soin DAX: Прочие вопросы 10 13.10.2003 10:43
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 23:56.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.