Skip to main content



No record found.

Microsoft Dynamics AX forum

Problem with PrintJobHeader table

Posted on by 55
Hi All, 
I have problem with my report, this error displays during run it:
Cannot edit a record in Print job information (job-level) (PrintJobHeader).
The record has never been selected.
I would like to add breakpoint in update method of this table, but I can't find PrintJobHeader table. 
Please advice how to do it. 
  • Patryk Mi Profile Picture
    Patryk Mi 55 on at
    Problem with PrintJobHeader table
    Breakpoint in info.add() was exactly what I needed, I totally forgot about that. Thank you very much Martin!
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    Problem with PrintJobHeader table
    You can use the debugger to find where the error comes from. Either look at StackTrace property of the exception, or put a breakpoint to Info.add() (which is called when a message gets added to infolog) and look at the stack trace from there.
    In general, this happens if a piece of code tries to find and update a record, but no record is found and the code tries to update the empty record anyway.

    PrintJobHeader is a system table, therefore you can't see its code (and put breakpoints there). In F&O, you can easily find PrintJobHeader by putting its name to the filter box on top of Application Explorer. I suspect the picture is from F&O, although you're asking in an AX forum.

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 . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans