Microsoft Dynamics NAV 2009 Programming Cookbook
Strings, Dates, and Other Data Types
Retrieving the system date and time
Determining the day, month, and year from a given date
Converting a value to a formatted string
Converting a string to another data type
Using date formulas to calculate dates
Checking for conditions using an IF statement
Using a CASE statement to test multiple conditions
Passing parameters by reference
Referencing dynamic tables and fields
Working with Tables and Records
Creating transactions to alter data
Retrieving a single record from the database
Marking records for future use
Clearing filters, keys, and values
Using temporary tables to store data
Retrieving data from another company
Writing your own rollback routine
Obtaining input without a form
Using the Form Generation Wizard
Preventing editable lookup forms
Adding an editable field to a non-editable form
Designing a form based on a temporary table
Updating a subform from a parent form
Updating a parent form from a subform
Using the Report Generation Wizard
Adding custom filters to the request form
Setting filters when a report is loaded
Creating a report to process data
Displaying a check mark on a report
Dynamically showing Sections on reports
Grouping data to display totals
Using virtual tables to loop through data
Using Client Monitor to diagnose problems
Implementing Try / Catch / Finally
Adding roles through the User Setup table
Creating and assigning a security role
Using FILTERGROUP to restrict data
Checking for user-assigned roles
Checking Active Directory groups
Assigning menu suites based on company
Automatically adding users to NAV
Sending data to Microsoft Word
Sending an e-mail from NAV through Outlook
Exporting data using the Excel buffer
Creating a data connection from Excel to NAV
Creating an InfoPath form with NAV data
Instant messaging using Office Communicator
Using HYPERLINK to open external files
Working with environment variables
Using SHELL to run external applications
Checking file and folder access permissions
Zipping folders and files within NAV
Flat file exchange using dataports
Sharing information through XMLports
Manually writing to and reading from files
Writing your own automation using C#
Using ADO to access outside data
Adding the xp_ stored procedures
Displaying data from a SQL view in NAV
Figuring out who is blocking whom
Scheduling NAV tasks from SQL Server
Creating a page using the Page Generation Wizard
Changing default filter columns
Interactive sorting for reports