Archive

Posts Tagged ‘Dynamics Ax 2012’

Dev Tip: Activating document handling for inquiry(read only) forms – Dynamics Ax 2012

September 20, 2013 Leave a comment

This post will explain how document handling can be activated only for specific tables or for all tables.

Activate document handling for selective tables.

To activate document handling for selective tables.

Go to Organization administration -> Setup -> Document management -> Document management parameters

Check the flag “Use active document tables

selective_active_document

Once specified here then document handling is active only for selective list of tables. To specify the active list of tables  go to Organization administration -> Setup -> Document management -> Active document tables. Document handling is now only enabled for the selected tables in a controlled mode.

active_doc_table

Activate document handling for all tables.

Simply unchecking the  “Use active document tables” in Document management parameters makes it activate for all tables. There is a limitation here, in the case where document handling is enabled for all tables the system verifies if the table has edit/delete permission. Only if it is the case document handling is activated otherwise it is disabled. E.g This means tables like Salestable/Salesline will have permission to add/edit documents while forms that uses tables like custInvoiceJour, vendinvoice jour will have document handling disabled.

User’s may ask for document handling to be activated on these read only  forms. In these case there is a way out.

Go to Organization administration -> Setup -> Document management -> Active document tables and enter the table name, say “VendInvoiceJour” also make sure to check the “Always enabled” flag. This is very important since this means the document handling is enabled irrespective of the table permission. So this way you can activate document handling for read only tables

alwayenabled

\Forms\DocuView\Methods\doReSearch – Go to this method

on line Number: 130 – add the following line,

allowEditBasedOnActualForm = true

codeimage

Setting this will enable you to use the full document handling feature even for read only forms.

Advertisements

SSRS tip: No row message in Dynamics Ax SSRS 2012

September 9, 2013 13 comments

Some sections in your report may not have data but the header sections  might print. In these cases to make it informative for the user a “No data available” message might be helpful since the user is then assured that there is no data for that particular data section. This tip will guide you on how to setup “No data available”.

Select the Tablix/List/Matrix control where you want the message to be available and open the properties window, Find the property “NoRowsMessage”. This property can be filled in with text or for dynamic text using expressions. Type in something like “No data available”

2013-08-30_1553

When there is no data for that particular section SSRS automatically prints the text under “NoRowsMessage”

2013-08-30_1550
For more tips and learning about SSRS – AX 2012 order the book Dynamics AX 2012 Reporting Cookbook authored by me.

7720EN_MockupCover_Cookbook

Dynamics Ax 2012 reporting cookbook for SSRS – Dynamics Ax 2012

August 28, 2013 38 comments

Interested in learning Ax-SSRS report development ? Looking to improve your skills with Ax based SSRS report development ?

Here is a solution. Pre-order the Dynamics Ax 2012 Reporting cookbook I have authored.

7720EN_MockupCover_Cookbook

Dynamics Ax Reporting Cookbook

This book will

  • Take you in to the depths of SSRS  and build reports with confidence,

  • Make sure you utilize every feature possible with SSRS

  • Detailed examples on using controls like List, Chart, Gauges, Maps

  • Offer nice tips to enhance your development ability

  • Interesting methods to speed up report testing and development

  • Introduce you to tools that can help analyze report usage

  • Helps you stop hitting  google for every problem with SSRS 🙂

and much more.

Pre-order today for a discounted price.

The book is expected in September 2013.