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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.10.2006, 16:40   #1  
Blog bot is offline
Blog bot
Участник
 
25,497 / 847 (79) +++++++
Регистрация: 28.10.2006
Dynamics AX Geek: Deleting all objects from a custom layer
Источник: http://AxGeek.spaces.live.com/Blog/c...DB13!129.entry
==============
An entire layer can safely be deleted by removing these two files:
 
<span>ax.aod
aod stands for “application object data”. This file holds all objects for the layer it is named after. For example, axusr.aod for the usr-layer, axcus.aod for the cus-layer etc.
 
axapd.aoi
aoi stands for “application object index”. It tells Axapta where to find each individual object. The file will be rebuild the next time you log on to Axapta.
 
Note: Deleting these will not delete any labels. Labels are stored in files using this naming convention:
 
<span>ax.ald
Application label data
 
<span>ax.alc
application label comments
 
<span>ax.ali
application label index
 
If you delete entire layers frequently and are prefer to automate repetitive tasks, you can easily create a batch file to do the job for you.
 
move /Y "F:\Program Files\Axapta30_SP3\Application\Appl\Standard\axusr.aod" "F:\Program Files\Axapta30_SP3\Application\Appl\Standard\axusr.aod_bak"
move /Y "F:\Program Files\Axapta30_SP3\Application\Appl\Standard\axapd.aoi" "F:\Program Files\Axapta30_SP3\Application\Appl\Standard\axapd.aoi_bak"
 
This example has the added benefit of moving the file to *_bak instead of deleting it outright. If for some reason I need the old version back I can restore it by simply moving them back to their original names.
 
It goes without saying that no user should be logged into Axapta when you delete or move these files. 




==============
Источник: http://AxGeek.spaces.live.com/Blog/c...DB13!129.entry
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Dynamics AX: Microsoft's strategy and vision for Dynamics AX and SOA Blog bot DAX Blogs 0 05.03.2009 18:05
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Inside Dynamics AX 4.0: Usage Scenarios Blog bot DAX Blogs 0 04.10.2007 05:15
Dynamics AX: Why Dynamics AX beats SAP Blog bot DAX Blogs 0 10.01.2007 23:15
Dynamics AX Geek: Storing objects in a container Blog bot DAX Blogs 0 28.10.2006 16:40

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

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

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