Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Answered

Codeunit Function

Posted on by Microsoft Employee

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

 InsertIntoDocEntry(

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

Thanks in Advance.

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,638 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

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans