0%

Book Description

Learn development skills and improve productivity when programming in Microsoft Dynamics NAV 2018 - the popular Enterprise Resourse Planning management system used across a variety of industries for business process management

Key Features

  • Solve common business problems with the valuable features and flexibility of Dynamics NAV
  • Understand the structure of NAV database - how documents and business entities are mapped to DB tables
  • Design user interface and bind the presentation layer with the data storage

Book Description

Microsoft Dynamics NAV is an enterprise resource planning (ERP) software suite for organizations. The system offers specialized functionality for manufacturing, distribution, government, retail, and other industries. This book gets you started with its integrated development environment for solving problems by customizing business processes.

This book introduces the NAV development environment ? C/SIDE. It gives an overview of the internal system language and the most essential development tools. The book will enable the reader to customize and extend NAV functionality with C/AL code, design a user interface through pages, create role centers, and build advanced reports in Microsoft Visual Studio.

By the end of the book, you will have learned how to extend the NAV data model, how to write and debug custom code, and how to exchange data with external applications.

What you will learn

  • Manage NAV Server configuration with Microsoft Management Console
  • Manage NAV installation with the NAV Administration Shell
  • Create integration events and extend functionality via the NAV event model
  • Run XML Ports from C/AL code
  • Design reports and write client code in RDLC expressions

Who this book is for

This book is for experienced NAV users who have an understanding of basic programming concepts. Familiarity with NAV development environment or its internal development language-C/AL is not expected.

Table of Contents

  1. Title Page
  2. Copyright and Credits
    1. Microsoft Dynamics NAV Development Quick Start Guide
  3. About Packt
    1. Why subscribe?
    2. Packt.com
  4. Contributors
    1. About the author
    2. About the reviewer
    3. Packt is searching for authors like you
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the example code files
      2. Conventions used
    4. Get in touch
      1. Reviews
  6. Getting Started with the NAV Development Environment
    1. Installing the NAV development environment
      1. Setup configuration
      2. License information
    2. Managing NAV server configuration with Microsoft Management Console (MMC)
      1. Creating a NAV server instance with MMC
      2. Modifying server settings with MMC
      3. Connecting to the new server instance
    3. Managing NAV installation with NAV the Administration Shell
      1. Creating a NAV Server instance with Administration Shell
      2. Managing the NAV server with the Administration Shell
    4. Introducing the Object Designer
      1. C/SIDE and application objects
      2. Hello World example
      3. Running objects from the Object Designer
    5. Exporting and deploying NAV objects
      1. Managing objects with the Dynamics NAV Development Shell
    6. Summary
  7. Codeunits - Structuring C/AL Code
    1. Compiling a codeunit and error handling
      1. Handling compilation errors
    2. Declaring and calling functions
    3. Function parameters and return values
      1. How to add parameters to a function
      2. Function return value
    4. Declaring variables – variable scope
      1. Local variables
      2. Variable properties – declaring arrays
      3. Global variables
    5. Passing variables by value and by reference
    6. Record variables
      1. Iterating over a recordset
      2. Filtering records
      3. Inserting and modifying records
    7. Codeunit variables – calling functions from other codeunits
    8. Text constants
    9. Summary
  8. Tables - Creating Data Structure
    1. Designing the table structure
      1. Creating tables
      2. Synchronizing table metadata with SQL Server
    2. Defining the primary key and secondary indexes
      1. Defining primary keys
      2. Table indexes
    3. Configuring default pages for tables
      1. Creating a list page using a page wizard
      2. Configuring default lookup and drilldown pages
    4. Table relations
    5. Field class – Flowfields and Flowfilters
      1. Modifying FieldClass
      2. Configuring the field calculation formula
      3. Adding a field to a page
    6. Table triggers
    7. Rec and xRec global variables 
    8. Summary
  9. Designing User Interface
    1. Page creation wizard
      1. Card pages
      2. List pages
    2. ListPart and CardPart pages – subpages and FactBoxes
      1. ListPart subpage
      2. FactBox subpages
    3. Page triggers – C/AL code in pages
    4. Lookups and DrillDowns
    5. Page action designer
    6. Menu suite
    7. Summary
  10. Exchanging Data with XML Ports
    1. Importing data from CSV files
    2. Importing data from XML files
    3. XMLport triggers
    4. Exporting table data
    5. Designing the request page
    6. Running XMLports from C/AL code
      1. Exporting data from a C/AL function
      2. Importing XML from C/AL
    7. Summary
  11. NAV Event Model
    1. Integration events
    2. Database trigger events
    3. UI events
    4. Publishing custom events
      1. Event publisher function
      2. Raising events
    5. Manual event subscription
    6. Summary
  12. Presenting Data in Reports
    1. Preparing a report dataset
    2. Modeling a report layout
      1. Layout design
      2. Formatting data output
    3. Report triggers
    4. Designing a report request page
    5. RDLC expressions
    6. Interactive reports
    7. Data items based on temporary tables
    8. Summary
  13. Debugging Your Code
    1. Activating the debugger
    2. Breakpoints
      1. Activating breakpoints
      2. Break rules
    3. Conditional breakpoints
    4. Variables – Watches – Callstack
    5. Capturing code coverage
    6. Summary
  14. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think
18.219.14.63