web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Payroll Journal Line dataport import does not populate the Payroll Journal Header

(0) ShareShare
ReportReport
Posted on by 35

We use a dataport import object to import Payroll Journal Lines (employee no., hours, tips and other Payroll Journal Line items). The dataport makes the proper entries into the Payroll Journal and everything looks fine. However, the dataport does not properly populate the Payroll Journal header (the "Bank Payment Type" field is missing). This dataport object worked fine in Navision 5.0 and was converted for use with NAV 2009. But it does not work in NAV 2009 because the Payroll Journal Header is not properly populated. The Bank Payment Type is properly populated in the Payroll Journal but no in the Payroll Journal Header. The dataport incldues a VALIDATE statement for the "Employee No." field. How do I get the Payroll Journal Header to populate correctly?

*This post is locked for comments

I have the same question (0)
  • Rashed Profile Picture
    3,765 on at

    There is a function on Payroll journal called insertHeader.

    You need to call it after you insert the the journalline.

    journalline.insertheader;

  • Jeff Knight Profile Picture
    35 on at

    Rashed, thank you!

    The Payroll Journal Header appears to properly populate for each record if I add the follwoing code to the "OnAfterImportRecord" trigger:

    "Payroll Journal Line".InsertHeader

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans