Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Dynamics NAV 2009 Application Design

You're reading from   Microsoft Dynamics NAV 2009 Application Design Design and extend complete applications using Microsoft Dynamics NAV 2009

Arrow left icon
Product type Paperback
Published in Jun 2010
Publisher Packt
ISBN-13 9781849680967
Length 496 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Mark Brummel Mark Brummel
Author Profile Icon Mark Brummel
Mark Brummel
Marije Brummel Marije Brummel
Author Profile Icon Marije Brummel
Marije Brummel
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface
1. Chapter 1: Introduction to Microsoft Dynamics NAV 2. Chapter 2: A Sample Application FREE CHAPTER 3. Chapter 3: Financial Management 4. Chapter 4: Relationship Management 5. Chapter 5: Production 6. Chapter 6: Trade 7. Chapter 7: Storage and Logistics 8. Chapter 8: Consulting 9. Chapter 9: Interfacing 10. Chapter 10: Application Design 11. Thank you for buying Microsoft Dynamics NAV 2009 Application Design
Appendix: Installation Guide

Navigate

We have now covered everything that is necessary for our Squash Court application to run but there is one special function of Microsoft Dynamics NAV that needs changing when we add new documents and ledger entries—the Navigate function.

The functionality was already discussed in Chapter 1. The object is a single page (344) in the application that requires two changes.

FindRecords

The first function we change is FindRecords. This browses though the database finding all possible combinations of document no. and posting date.

FindRecords()
...
// Squash Ledger Entries
IF SquashLedgEntry.READPERMISSION THEN BEGIN
  SquashLedgEntry.RESET;
  SquashLedgEntry.SETCURRENTKEY("Document No.",
    "Posting Date");
  SquashLedgEntry.SETFILTER("Document No.",DocNoFilter);
  SquashLedgEntry.SETFILTER("Posting Date",PostingDateFilter);
  InsertIntoDocEntry(
    DATABASE::"Squash Ledger Entry",0,
    SquashLedgEntry.TABLECAPTION...
You have been reading a chapter from
Microsoft Dynamics NAV 2009 Application Design
Published in: Jun 2010
Publisher: Packt
ISBN-13: 9781849680967
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image