Skip to main content
Microsoft Dynamics NAV forum

Codeunit Function

editSubscribe (0) ShareShare
Posted on by UG Leader

Hi Experts,

                I am a fresher in NAV. I want to know about the DATABASE function used in C/AL coding. Example in Navigate page(344) this function is present


          DATABASE::"Sales Shipment Header",0,Text005,SalesShptHeader.COUNT);

Thanks in Advance.

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,636 on at
    RE: Codeunit Function

    The DATABASE function will return the table number, for ex: Instead of using 37 for table Sales Line you can use DATABASE::"Sales Line"

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans