Показать сообщение отдельно
Старый 13.12.2007, 19:50   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
C# and AX Development: How to delete AOT objects (AX/Axapta)
Источник: http://olondono.blogspot.com/2007/12...-axaxapta.html
==============

How to delete AOT objects (AX/Axapta)

Sometimes, bad objects can not be removed from the AOT because when you click them, Axapta crush !!

Look up this job:


X++:
static void DeleteDamnTables(Args _args)
{
    TreeNode edt, edt2;
    ;

    edt = TreeNode::findNode("Data Dictionary\Tables");
    if (edt != null)
    {
        edt2 = edt.AOTfindChild("tablename");
        if (edt2 != null)
            edt2.AOTdelete();
    }
}
Источник: http://olondono.blogspot.com/2007/12...-axaxapta.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.