Friday, July 27, 2012

Office 15 Customer Preview


Microsoft Office 15 Customer Preview is now available for trial to enable you to experience the revolutionary features of Office 15 applications.
It will provide a diverse range of services including Office ProPlus, Office 365 Small Business Premium and Office 365 Enterprise for diverse business requirements.
Tapping the Market Opportunities with Office 15
Business in Cloud-Office 15 will bring in considerable opportunities in cloud as more and more customers purchase software through the cloud.

Capture the Market Opportunity-Analysts predict that delivering software-as-a-service (SaaS) will continue to offer tremendous revenue-generating opportunities.

Differentiate your Business-By understanding the capabilities of Office 15, you can provide the best business productivity experience for your customers.

Sign up now to try Office 15.



Source : Microsoft

Friday, July 13, 2012

AX 2012 : Delete All Transactions

Hi,
    Today we will look at, How to delete all transactions from AX 2012. Previously we were using SysDatabaseTransDelete class to do the same but as of now we need to modify that class to work properly with AX 2012 due to DB changes :


We need to modify the SysDatabaseTransDelete.handletable method with the below code :

void handleTable(SysDictTable sysDictTable)
{
    TableGroup      tableGroup;

    if (tableSet.in(sysDictTable.id()))
        return;
    tableSet.add(sysDictTable.id());

    if (sysDictTable && !sysDictTable.isTmp() && !sysDictTable.isMap())
    {
        tableGroup = sysDictTable.tableGroup();

        // Handle company specific tables to be deleted
        if (sysDictTable.dataPrCompany())
        {
            switch(tableGroup)
            {
                case TableGroup::Transaction:
                case TableGroup::WorksheetHeader:
                case TableGroup::WorksheetLine:
                //FIX - Support new AX2012 transaction table types
                case TableGroup::TransactionHeader:
                case TableGroup::TransactionLine:
                    this.handleTransTable(sysDictTable);
                    break;
                default:
                    this.handleNonTransTable(sysDictTable);
                    break;
            }
        }
        else
        {
            // Handle global tables to be deleted
            switch(tableGroup)
            {
                case TableGroup::Transaction:
                case TableGroup::WorksheetHeader:
                case TableGroup::WorksheetLine:
                //FIX - Support new AX2012 transaction table types
                case TableGroup::TransactionHeader:
                case TableGroup::TransactionLine:
                    this.handleGlobalTransTable(sysDictTable);
                    break;
                default:
                    break;
            }
        }
    }
}


Enjoy DAX!!!