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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Problem with PrintJobHeader table

(1) ShareShare
ReportReport
Posted on by 59
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. 
 
 
 
I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at
    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.
  • Patryk Mi Profile Picture
    59 on at
    Breakpoint in info.add() was exactly what I needed, I totally forgot about that. Thank you very much Martin!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans