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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 29.03.2011, 19:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,495 / 847 (79) +++++++
Регистрация: 28.10.2006
dynamics-ax: Dynamics AX - SysDatabaseTransDelete
Источник: http://dynamics-ax.blogspot.com/2011...ansdelete.html
==============

As the years have gone on, more and more professional now exist in the Microsft Dynamics AX Space. With this, some handy things that us old dogs know about sometimes are taking for granted.

So in the spirit of giving, and making sure to bubble up some handy tips and tricks, I thought I would highlight an old dog of a class, with that being of SysDatabaseTransDelete

This is a very handy class, but one you should use with care. The point of this class is to remove, from a given company, all transactional data that has been generated.

So many times, when doing implementations, you generate test data, and need the ability to remove that data and make sure to have a clean slate, while keeping the Master data elements you have setup in tack.

Enter SysDatabaseTransDelete, as this is the purpose of that class. It's been around for a while, since early AX days, and you can customize this if need be, but be careful in doing so and in it's use. A small "are you sure" is all you get and bang! Transactional data goes bye-bye!

That's all for now, I have my next series of MSDynamicsWorld.com article coming out soon, along with a few interviews, Dynamics Community Site, more on AX 2012, and getting ready for Convergence coverage.

Till next time!

"Visit the Dynamics AX Community Page today!"


Источник: http://dynamics-ax.blogspot.com/2011...ansdelete.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Старый 29.03.2011, 19:19   #2  
mazzy is offline
mazzy
Участник
Аватар для mazzy
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
29,472 / 4494 (208) ++++++++++
Регистрация: 29.11.2001
Адрес: Москва
Записей в блоге: 10
вот и еще один делает универсальное удаление
__________________
полезное на axForum, github, vk, coub.
Старый 29.03.2011, 23:27   #3  
greench is offline
greench
Участник
Oracle
 
425 / 74 (3) ++++
Регистрация: 12.07.2007
Адрес: Киев
Если бы только проводки улетали, а то ведь и журнал базы данных, уже бы или исключили его или группу на таблице поменяли.

З.Ы. Однажды видел гениальный класс, в котором были перечислены все таблицы системы и по каждой делался delete_from. Просто шедевральная вешь
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11
daxdilip: Whats New in Dynamics AX 2012 (A brief extract from the recently held Tech Conf.) Blog bot DAX Blogs 7 31.01.2011 12:35
dynamics-ax: Official Details about Dynamics AX '6' released, including comments from Microsofts Kees Hertogh Blog bot DAX Blogs 0 11.01.2011 05:22
emeadaxsupport: List of fixes that improve performance of certain features in Dynamics AX 2009 Blog bot DAX Blogs 0 13.10.2009 19:06
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05

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

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

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