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

Announcements

News and Announcements icon
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
    240,492 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
SajeedMullaji Profile Picture

SajeedMullaji 760

#2
Martin Dráb Profile Picture

Martin Dráb 330 Most Valuable Professional

#3
CU10121822-0 Profile Picture

CU10121822-0 310

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans