Skip to main content

Posts

Get total number of records for all table and synchronization tips in Ax 2012

To Get total number of records from all table and Export data  into excel in Axapta 2012 you can apply below tips. Go to AOT(CTR+D)->Tool->Number of Records to bring in excel select all  records then press Control +T key You can get exact steps from below video clips. To Reindex and synchronize table from Microsoft Dynamics Axapta You can apply below tips System administration -Periodic-Database -SQL Administration To get exact step see below clips. You can subscribe to get more updates.

Important tips and tricks for Dynamics Ax 2012

How to Get version of Microsoft Dynamics ax 2012 how to arrange window as cascade and tile. how to compile,full and incremental CIL from AOT. How to get total number of records from all tables from menu items. How to refresh cache for dictionary,data,element and SSRS report.

How to find BOM Unit and Inventory Unit for item in Ax 2012

To find BOM Unit and Inventory Unit for item you can get idea from below code sample.This code you can try in your job code editor in axapta. InventTable inventTable; InventUnitId inventoryUnit,BOMUnit; BOM bom; ItemId curItem; ; while select BOM order by itemid where BOM.BOMQty { if(curItem != BOM.ItemId) { curItem = BOM.ItemId; inventTable = InventTable::find(bom.ItemId); inventoryUnit = inventTable.InventUnitId(); BOMUnit = bom.UnitId; if(!UnitOfMeasureConverter::canBeConverted(UnitOfMeasure::findBySymbol(inventoryUnit).RecId, UnitOfMeasure::findBySymbol(BOMUnit).RecId, inventTable.Product)) { if(inventoryUnit != BOMUnit) { info(strFmt("item %1 has bom unit %2, inventory unit %3",inventTable.itemId,BOMUnit,inventoryUnit)); } } }

Steps to Create cube through Axapta

->First step is you need to Create a perspective for a cube a)A perspective is a collection of tables and views that is used to identify the tables and views that contain measures and dimension attributes for a cube. After you create a perspective, you can use it to generate an Analysis Services cube through SQL Analysis Wizard. b) Specify measures and attributes in Perspective and Set required properties for Perspective. c) Generate and deploy the Analysis Services project using Perspective. d) View cube objects in the generated project and see dimension relationship is ok or not. If not then you need to rework with your perspective and deployment. e)Deploy you cube then you can see your cube in SQL analysis connect. e) Process cube.