Showing posts with label Business Central. Show all posts
Showing posts with label Business Central. Show all posts

Friday, 13 March 2020

Socket Programming in Navision and Business Central On-Premises

Hello Everyone,

In this article, we would discuss about Socket Programming.

Socket programming is a way of connecting two nodes on a network to communicate with each other. 

A Socket is an End-Point of To and From (Bidirectional) communication link between two programs (Server Program and Client Program ) running on the same network.

A Server Socket Program running on a computer has a socket that bound to a Port Number on the same computer and listening to the client's incoming requests.

A Client Socket Program have to know the IP Address (Hostname) of the computer that the C# Server Socket Program resides and the Port Number assign for listening for client's request .

Communication protocol used for Socket Programming is TCP/IP ( Transmission Control Protocol/Internet protocol).

Code:

I have created a dll for the same which takes Input as IpAddress, PortNumber and Input Message and returns Response Message.

Variable Declaration:


Navision Code:


.Net dll Code:


Code Download Link: Socket Programming


That's it !!!

I hope this would help you a lot. Please also let me know your views.

Your valuable comments and feedback are appreciated.

Tuesday, 19 March 2019

Business Central - Record Size Limitation - C/AL & AL Comparison


 Hello Everyone,

As we all know that Tables - Maximum record size limitation is 8000 bytes for NAV Developer Environment in C/AL. With VS Code new Developer Environment – AL Language there is no Tables – Maximum record size limitation (*). Kindly find below Tables Maximum Record Size Limitation - C/AL & AL Comparison summary.




Kindly see below screenshots for reference. Let me know your thoughts on same.


1 – C/AL – Record Size Limitation











2 – AL – Table Extension – Sandbox Environment












3 – AL – Table Extension – Production Environment














4 – AL – Table Extension – On-Premises Environment














5 – AL – Custom Table – Sandbox Environment












6 – AL – Custom Table – Production Environment











7 – AL – Custom Table – On-Premises Environment