Cannot update ProdStandard from Function Designer, JobEntry.Update

Hello all, I’m struggling to figure this out. I’m trying to update ProdStandard in JobOper based on a customization done in application studio. I’m having application studio call a function. Everything is being called, but when it calls the update BO method for JobEntry, I get “Cannot manually update the Production Burden Rate in JobOper.”

I saw something similar in Function Help - Update JobOper ProdStandard but as I am using a function, I don’t see the option for custom code to follow his instructions.





Is the job Engineered? You can’t change operation details if so. Your function would have to Un-Engineer the job, make the change, then re-engineer the job. A function acts like the manual process, so try changing the standard on that job manually and see if you get the same error.

1 Like

The job is engineered, but I can go into the job and adjust prod std with it engineered just fine.

1 Like

Yeah, me too. Hmm. Normally, that would have a scheduling effect. Maybe @JasonMcD can shed some light here. You may want to explain the business problem you’re trying to solve to help us out here.

I will certainly celebrate anyone that does not use code. But, you can use code in an EFx.

When you create the EFX, you have to choose the “New Function with code widgets” option in the dropdown of the “New” button.

And there’s a setting on the library for this, too.

And no, you cannot convert your existing EFx to one with code.

BUT you can Ctrl+C all of the widgets over.

1 Like

Ahhhhh, okay. I completely forgot about this. I’ll try for a bit more without resorting to that before making the change.

Thank you!

1 Like

As for that buffer copy thing in the post you mentioned, yeah that’s fun.

I never knew about this until a few months ago, but I think I ran into the same idea with Requisition Entry.

I have not gone back to try this, though… And I cannot envision how one could do that with widgets, I hate to say.

This may need to be a code block. Yep I said it.

If you make any REST calls, we need a code block. If I have a choice, I use the widget, but if I need a code block, I have no problem using it.

2 Likes