Authorize Navision Sales Order Line for Nav with C#

abhishekpareek
Member Posts: 150
This article demonstrates that how a business process which is running outside Navision ERP can be easily integrate with any of the business processes in Navision. To understand this better, I had used a real time scenario.
Consider a system developed in C# which is having functionality to authorize the Sales Orders Qty. Once the Sales Order is being created in Navision, than from C#, one can do various operations from this article:
View the Sales Order from C#
Authorize the Sales Order qty from C#. This not only authorizes the sales line qty from c# but also runs the business logic residing in Navision while authorizing the Sales order.
After authorizing, one can post the Sales Order from C# for Sales Shipment.
After Sales Shipment, one can also post the Sales order to Sales Invoice.
One can also post the Sales order to Sales Shipment and Sales Invoice simultaneously.
This article not only allows to authorize the Sales order but also update for how much qty it is authorized for. This means that user cannot make shipments and invoices more than authorize qty.
User cannot post the Sales Order till it is authorize by C#
After posting authorized Navision SO line Items one can see the posted shipments and invoice from this “Navision Document Authorization” Add-on.
Now the intelligent people will definitely ask why we are doing sales authorization from C#, rather than doing this, why we cannot customize in Navision only?
To understand this, consider one Scenario i.e.
Client or ISV is having an authorizing application which is having all business logics to authorize the Sales order qty and now client or ISV asked to integrate this functionality with Navision so that we can leverage the functionalities of Authorization application to Navision and vice versa.
We will get the following benefits by using this kind of integration:
If the functionality is already there in one add-on so no need to develop from scratch in Navision and just integrate it with Navision within 8 hrs time.
As the add-on functionality can be developed in .net platform and easily be integrated with Navision 2009 Sp1 thus it will save lot ISV’s time to release the add-on product in the market for Navision.
Rather than investing time on developing functionality which is present in add-on, ISV’s can used that time to add some more features to their Add-on as this will give more added values to their add-on and giving more competitive edge to their rivals.
Consider that client had given us API which is returning the Sales Order numbers, Line numbers, authorize information and authorize qty. Now by using these 5 fields I had developed a connector or adapter which updates the Navision Sales Order through C# and also performed all operations which are defined from step a to h.
This article is developed to help ISV’s, clients and developers to integrate their legacy applications with MS Dynamics Navision.
Find the complete development with source code at the following link :
http://www.codeproject.com/KB/cs/AuthorizeNavSOWithCsharp.aspx
Regards,
Abhishek Pareek
Consider a system developed in C# which is having functionality to authorize the Sales Orders Qty. Once the Sales Order is being created in Navision, than from C#, one can do various operations from this article:
View the Sales Order from C#
Authorize the Sales Order qty from C#. This not only authorizes the sales line qty from c# but also runs the business logic residing in Navision while authorizing the Sales order.
After authorizing, one can post the Sales Order from C# for Sales Shipment.
After Sales Shipment, one can also post the Sales order to Sales Invoice.
One can also post the Sales order to Sales Shipment and Sales Invoice simultaneously.
This article not only allows to authorize the Sales order but also update for how much qty it is authorized for. This means that user cannot make shipments and invoices more than authorize qty.
User cannot post the Sales Order till it is authorize by C#
After posting authorized Navision SO line Items one can see the posted shipments and invoice from this “Navision Document Authorization” Add-on.
Now the intelligent people will definitely ask why we are doing sales authorization from C#, rather than doing this, why we cannot customize in Navision only?
To understand this, consider one Scenario i.e.
Client or ISV is having an authorizing application which is having all business logics to authorize the Sales order qty and now client or ISV asked to integrate this functionality with Navision so that we can leverage the functionalities of Authorization application to Navision and vice versa.
We will get the following benefits by using this kind of integration:
If the functionality is already there in one add-on so no need to develop from scratch in Navision and just integrate it with Navision within 8 hrs time.
As the add-on functionality can be developed in .net platform and easily be integrated with Navision 2009 Sp1 thus it will save lot ISV’s time to release the add-on product in the market for Navision.
Rather than investing time on developing functionality which is present in add-on, ISV’s can used that time to add some more features to their Add-on as this will give more added values to their add-on and giving more competitive edge to their rivals.
Consider that client had given us API which is returning the Sales Order numbers, Line numbers, authorize information and authorize qty. Now by using these 5 fields I had developed a connector or adapter which updates the Navision Sales Order through C# and also performed all operations which are defined from step a to h.
This article is developed to help ISV’s, clients and developers to integrate their legacy applications with MS Dynamics Navision.
Find the complete development with source code at the following link :
http://www.codeproject.com/KB/cs/AuthorizeNavSOWithCsharp.aspx
Regards,
Abhishek Pareek
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions