Book Image

Dynamics 365 for Finance and Operations Development Cookbook - Fourth Edition

By : Abhimanyu Singh, Deepak Agarwal
Book Image

Dynamics 365 for Finance and Operations Development Cookbook - Fourth Edition

By: Abhimanyu Singh, Deepak Agarwal

Overview of this book

Microsoft Dynamics 365 for Finance and Operations has a lot to offer developers. It allows them to customize and tailor their implementations to meet their organization’s needs. This Development Cookbook will help you manage your company or customer ERP information and operations efficiently. We start off by exploring the concept of data manipulation in Dynamics 365 for Operations. This will also help you build scripts to assist data migration, and show you how to organize data in forms. You will learn how to create custom lookups using Application Object Tree forms and generate them dynamically. We will also show you how you can enhance your application by using advanced form controls, and integrate your system with other external systems. We will help you script and enhance your user interface using UI elements. This book will help you look at application development from a business process perspective, and develop enhanced ERP solutions by learning and implementing the best practices and techniques.
Table of Contents (18 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface

Enhancing insert, update, and delete operations


Dynamics 365 for Finance and Operations is a three-tier architecture and it takes a significant amount of time for a database call to insert, update, and delete. The system provides us with some constructs that allow us to insert/update/delete more than one record into the database in a single trip, which reduces communication between the application and the database and it increases performance.

In this recipe, we will use these constructs and see how to do so effectively.

How to do it...

  1. Create a custom table PacktCustomerInvoices where we will be inserting records with the following fields:

Field: InvoiceAccount

Property

Value

Name

InvoiceAccount

Label

Invoice account

EDT

AccountNum

 

Field: InvoiceId

Property

Value

Name

InvoiceId

Label

Invoice id

EDT

DocumentNum

 

Field: InvoiceAmount

Property

Value

Name

InvoiceAmount

Label

Invoice amount

EDT

Amount

 

Field: InvoiceQty

Property

Value

Name

InvoiceQty

Label

Invoice qty

EDT

Qty

 

Field: CurrencySymbol

Property

Value

Name

CurrencySymbol

Label...