Converting a Sales quote into a Sales Order using C/AL code

How can we convert a Sales Quote to Sales Order using Base Codeunit of NAV? and also please name the Codeunit . Thanks in advance.

There’s an action on the Quote page called “Make Order”, which calls the logic you are talking about. Open the Quote page in design mode, find that action, and investigate how that works.