вторник, 20 июля 2010 г.

Dynamics AX : Document handling
The following solution is to use the document handling feature of AX and generate a word document by populating data into a word template. Following is the detail on how to do it .
When we create a new word document through document handling , we can transfer data from tables in Microsoft Dynamics AX to bookmarks in the new document. This is done by creating a template with some standard text and some bookmarks where the data from tables are to be inserted. For example we can transfer the address and contact information for a customer to the letter head in a Microsoft Word document when creating a new letter for that customer.
Prepare a Word template :We need to create a Word template with bookmarks where the data should be inserted. Then we set up the document type by linking the document type to the template and by adding the data fields to be transferred to the individual bookmarks.
Step A : Create a new Word template
1. From the Start menu, click All Programs > Microsoft Office > Microsoft Office Word.
2. In the new template, add the text and graphics we want to appear in all new documents that we base on the template.
3. Place the cursor where we want to insert data from Microsoft Dynamics AX and then click Insert > Bookmark.
4. Type a meaningful name for the bookmark and click Add.
5. Repeat step 3 through 4 for each bookmark that we want in the template.
6. On the File menu, click Save As.
7. In File name, type a name for the new template.
8. In Save as type, click Document Template, and then click Save.


Note : It is important to use a table where more than one row of data is needed. e.g. if we are expecting to insert more than one invoices for a vendor as shown in the above screen shot. This will help maintain the format when the data is populated by the system. Otherwise the data will be distorted.
Step B : Link the template to a document type
1. Click Basic > Setup > Document management > Document types.
2. Select the document type that we want to link to a template.
3. Click Options.
4. In the Table list, select the table to associate with the template.
5. In the Template file list, type the path to the template file or use the browse button to locate the file on the computer or network.
Class description: Create Word document via COM
Group: Document
Step C : Add bookmark information to table fields
1. Click the button “Option”.. In the Options form, On overview tab give the name of the table and path of the template file
select the table that is linked to the template that we want to use.
2. Select the Fields tab.
3. Press CTRL+N to add a field to be transferred.
4. In the Data table list, select a table to get data from.
5. In the Data field list, select the data field to get data from.
6. In Bookmark, type the name of the bookmark we have inserted in the document where the data will be inserted.
7. Select Hard return to insert a line break after the data inserted (optional).
8. Repeat step 3 through 7 to add more data fields to the list.
Note : The table we get the data from does not have to match the table selected on the Overview tab, but the two tables have to be related.
The Document handling feature can only create one letter per invoice.
On Field tab select the AX table and fields as shown below in the screen shot . For each field give the Bookmark from the template.

Step D : Test the report
Go to vendor master and select a vendor whose invoices have been pending / on hold.
Click document handling button. In document handling click the Button New and select the document type created in previous Step B.
A word document will be created with data for the vendor
Verify the data on the document. Note that the invoice number date and amount fields are nicely aligned . If the bookmarks had not been in a table in the template then the invoice details would have been distorted. ( try using a template with bookmarks without table and see yourself )

I hope the above will be of help to many AX consultants in avoiding a few report customisations.
Microsoft Dynamics AX Resources Quick Reference
(Note: * is Required PartnerSource Account * )
Partner Resource Kit for Microsoft Dynamics AX *
Marketing and Sales Tools for Microsoft Dynamics AX 4.0 *
http://blogs.msdn.com/axperf
Microsoft Dynamics AX 2009 Launch *
Microsoft Dynamics AX 2009 Launch - Asia Pacific *
Microsoft Dynamics AX Price Sheets *
Microsoft Dynamics AX Price Lists for Asia Pacific *
Quick Reference Guide for AX 4.0 *
Microsoft Dynamics AX 2009 System Requirements
Microsoft Dynamics AX 2009 White Paper:
What's New for Microsoft Dynamics AX 2009
ERP systems: Drive growth, increase profits
4 ways an integrated ERP system improves supply chain performance
Manufacturers: How ERP systems improve employee productivity
Microsoft in Manufacturing
What best Migration Path , msdynamicsworld.com
Paper : Microsoft Dynamics AX 2009 White Paper: One Single World-Wide Instance
What's new 2009 ? *
Microsoft Dynamics AX 4.0 Feature White Papers and Release Notes by Country/Region
How to Use VOICE
Impresys DemoMate
Deployment : Elements changed between versions of Microsoft Dynamics AX
Microsoft Dynamics AX 4.0 SP2 Fix List July 2007
SOD
Understanding New Features Included in Modules of SBE and PRO Editions when Upgrading to Microsoft Dynamics AX 2009 *
Microsoft Dynamics AX 2009 White Paper: Configuring Kerberos Authentication with Role Centers
Documentation
Microsoft Dynamics™ AX 2009 Installation Guide, Microsoft Corporation, Published: May 2008
Server and Database Administration Guide for Microsoft Dynamics® AX, Microsoft Corporation , Published: June 2008
Microsoft Dynamics AX 2009 Implementation Guide
Using Microsoft Dynamics AX 2009
BI : Dynamics AX 2009
Microsoft Dynamics AX 2009 White Paper: Configure the Default OLAP Cubes
Microsoft Dynamics AX 2009 White Paper: Extending Default Cubes for Virtual Companies
Microsoft Dynamics AX 2009 Business Intelligence Cube Reference Guide
Microsoft Dynamics AX 2009 White Paper: Configuring Enterprise Portal and Role Centers with SQL Reporting
Integration
Microsoft Dynamics AX 2009 AIF BizTalk Adapter Configuration White Paper
AIF BizTalk Adapter Configuration for Data Exchange *
Microsoft Dynamics AX and Dynamics CRM Integration
Microsoft Dynamics AX Architecture
Microsoft Dynamics AX 4
Articles and white papers for Microsoft Dynamics AX 4.0
Security architecture
Microsoft Dynamics AX infrastructure map (the stack)
Microsoft Dynamics AX 2009
Walkthrough: Getting Started with Customizations
Using AX
Microsoft Dynamics AX 2009 Release *
Upgrade Information for Microsoft Dynamics AX 2009 *
Service Pack 1 for Microsoft Dynamics AX 2009 *
Dynamics AX 2009 System Requirements article
Microsoft Dynamics AX 2009 Upgrade Guide
Microsoft Dynamics AX 2009 White Paper: One Single World-Wide Instance (Consolidated GLS layer)
AX architecture and infrastructure planning
AX implementation guide
System requirements to upgrade guide
Microsoft Dynamics AX 2009 Architecture under Development I of Microsoft Dynamics® AX 2009 training Guide
Benchmarking
Microsoft Dynamics AX 4.0 white paper: Benchmarking on Hewlett-Packard Proliant Servers : Get details on performance results in highly-tested scenarios
Microsoft Dynamics AX 2009 “Day in the Life” Benchmark Microsoft Dynamics AX 2009 “Day in the Life” Benchmarks hits 322,000 Lines Per Hour across 2250 Concurrent Users and 40 Batch Processing Threads
Please look at the section “Partners” and there’s a table below “ERP – Microsoft Dynamics AX”.
Microsoft Dynamics AX 2009 Application Integration Framework BenchmarkMicrosoft Dynamics AX Application Integration Framework Benchmark exercises Core Sales Order processing thru Invoicing and GL Creation thru posting with high degree of scale
Microsoft Dynamics AX 2009 Enterprise Portal BenchmarkMicrosoft Dynamics AX 2009 Order Entry Benchmark through Enterprise Portal showcases 58,000 Lines per Hour through 1100 Concurrent Users
Benchmarking for AX 2009
Microsoft Dynamics AX 2009 System Requirements : 322,000 Lines Per Hour across 2250 Concurrent Users and 40 Batch Processing Threads
Microsoft Dynamics AX 2009 “Day in the Life” Benchmark: Core Sales Order processing thru Invoicing and GL Creation
Microsoft Dynamics AX 2009 Enterprise Portal Benchmark: Order Entry Benchmark through Enterprise Portal showcases 58,000 Lines per Hour through 1100 Concurrent Users
Microsoft Dynamics AX 2009 Application Integration Framework Benchmark:
Application Benchmark Toolkit for Microsoft Dynamics AX 2009:
Planning system topology - Sample deployment scenarios (TechNet):
Microsoft Dynamics AX 4.0 Service Pack 1 Suggested Hardware for Deployments up to 100 and up to 250 Concurrent Users: Microsoft Dynamics™ AX 2009 Suggested Hardware for Deployments up to 100
Application Benchmark Toolkit for Microsoft Dynamics AX 2009:
Planning system topology - Sample deployment scenarios (TechNet):
Microsoft Dynamics AX 4.0 Service Pack 1 :Suggested Hardware for Deployments up to 100 and up to 250 Concurrent Users:
Dynamics AX Hardware Sizing & Tools
Product Information : Hardware requirements for Microsoft Dynamics AX ( 4.0 sp1 )Get suggested hardware information for deployments up to 100, and deployments up to 250 concurrent users
Rapid Configuration Tool for Microsoft Dynamics AX 2009 (10/17/2008 8:21:45 AM)This page contains download information for the Rapid Configuration Tool (RCT) for Microsoft Dynamics AX 2009.
Application Benchmark Toolkit for Microsoft Dynamics AX 2009 The Application Benchmarking Toolkit for Microsoft Dynamics AX allows users to easily simulate user activity on Dynamics AX and to use the Microsoft Visual Studio Load Test software to run stress and performance tests on their systems.
Partner Tools and Resources for Microsoft Dynamics AX
Event Trace Parser Tool for Microsoft Dynamics AX
Obfuscation tool for AX 2009
Microsoft Dynamics Snap for Dynamics AX 2009
Demonstration
Demo Data for Microsoft Dynamics AX 2009 (1/30/2009 1:00:07 PM)
Pre-Sales Demonstration Toolkit For Microsoft Dynamics AX 2009 - Refresh 1
Demonstration Toolkit for Microsoft Dynamics AX
Tuning the startup and memory usage on AX-SRV-01.
Building AX report with C#/VS.NET , Channel 9
Download
Regional GLS Layers for Microsoft Dynamics AX 2009
AX Migration Tools
Books
Inside Microsoft Dynamics AX 4.0 ( 10 MB , PDF )
Microsoft Dynamics Support
https://mbs.microsoft.com/customersource for self support, updates, and more.
Microsoft Dynamics support and service options
Service plans for Microsoft Dynamics AX
Support -> Product Releases ( Microsoft Dynamics AX, 2009 )
Microsoft Dynamics AX 2009 Release
Certification
Microsoft Dynamics AX Certification Exam Preparation Guides
Software Development
How to: Create an ERX ER Data Model
Dynamics AX Enterprise Portal Development Webinar, Channel9
AX Tuning
Tools
Workflow
Workflow Providers Overview
Walkthrough: Creating a Workflow Template
Walkthrough: Creating a Workflow with a Task and an Approval
Walkthrough: Adding Workflow to an Existing Form
Dynamics Mobile
Installation and Development in Microsoft Dynamics AX Mobile 2008
Mobile solutions for Microsoft Dynamics™ AX: Announcing the release
Setting up a Mobile Device Emulator for Microsoft Dynamics AX 2009
Technical Presentation Microsoft Dynamics Mobile Development Tools
Migration
Migration Tool for Microsoft Dynamics AX 2009
EP
Microsoft Dynamics AX 2009 Enterprise Portal Quick starts
“How Do I” Videos — Dynamics AX