O'Reilly logo

Microsoft Dynamics AX 2009 Development Cookbook by Mindaugas Pocius

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Processing project journals

The Project module in Dynamics AX is tightly integrated with the General ledger. It also contains four journals— Hour, Expense, Item, and Fee, which are used in a similar way to other journals. For example, the Expense journal is actually based on the same data sources as the General journal.

In this recipe, we will create a journal from X++ code in the Project module. We will create the Hour journal, which is very specific to the Project module.

How to do it...

  1. In AOT, create a new class called ProjJournalCreate with the following code:
    class ProjJournalCreate
    
    {
    }
    void create()
     { ProjJournalTable jourTable; ProjJournalTrans jourTrans; ProjJournalTableData jourTableData; ProjJournalTransData jourTransData; ProjJournalStatic ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required