Context Menu Add --> Job Status - Direct Link to Job # of Job Status Maintenance

Hi All,

I added the Job Status Maintenance Base Form Process Type to the JobHead.JobNum Context Menu on the Job Status Screen. This allows me to right-click on a Job in the Job Column and be directed to the Job Status Maintenance Screen. - No problem there…

Choosing the new right-click menu opens up Job Status Maintenance; however,

THE REAL QUESTION HERE:
What Epicor Wizardy do I need to code/perform to make it actually open up that particular Job (that was right-clicked) in the resulting Job Status Maintenance Screen?

As it stands, I right-click in Job-Status on a Job Number; then, it opens up Job Status Maintenance in the slide out mode - expecting me to enter the job #. The expected (wanted) behavior would be that it opens that right-clicked job directly within the Job Status Maintenance Screen without having the plant manager(s) have to copy paste or enter the job that they right-clicked on to get there…

Has anyone slayed this dragon? TIA.

Joe

Removing the indents from your post will keep your message from displaying incorrectly.

3 Likes

1+ year on here, and I’m still a noob… :slight_smile: hahahaha.

1 Like

Did you get this working?

Bookmarked for a future work date… I got side tracked with all of the office and plant issues with the grids… Maybe this coming week, I’ll have a good looksie at this again.

Sounds good… I missed this post the first time around but stumbled on it while looking for something else.

But then wanted to refresh my memory, so I tested it out anyway :rofl:

Basically you need to add a “receiving” event on Job Status Maintenance to accept the value coming from the context menu.

So, you’ll have to create a custom layer on Job Status Maintenance (if you don’t already have one) and then turn it on in Menu Maintenance.

In that layer, you need to create an event… I put mine after “AfterInitialize”. Just add a row update with the below:
image

image

JSON: "%session.context.initialValueIn.ValueIn%"

Save > Publish… test

Context Menu (on Job Tracker):

Job Status Maint. will still open with the search menu first…

But if you just close the search window, the row-update will set the valueIn to the KeyFields.JobNum binding and the grid loads with that job ready to go:

There’s probably a way to bypass the search… but…

homer simpson episode 13 GIF

3 Likes