Inspection Planning Configuration and the Specification ID

From what I understand, Attributes are loaded within a Configuration according to the SpecificationID linked to the PartNum being inspected.

When you test the configuration, it even asks you which SpecificationID you want to load the configuration under:
image

So the SpecificationID is extremely important to the configuration. Trouble is, within the code, you cannot identify what SpecID has been loaded :face_with_raised_eyebrow:

I even made a button, that simply has:

MessageBox.Show(Context.SpecificationID.ToString());

When it’s clicked, I want it to simply show me the SpecID… This what I get:
image

The kicker is, if I put in Context.CompanyID, Context.UserID, Context.SiteID etc. they all display. For some reason, the most important value to querying for an Inspection Planning configuration isn’t available. Is there anyone else out there that can get the SpecificationID? I also tried OnLoad and OnLoaded… blank there too…

Good morning all!

Any Inspection Configurator devs out there find a way to get the SpecificationID? I want to do a lot of custom work on my configuration, but I need the SpecID to do it. Hoping for someone who’s been down this road.

I was wondering why you are trying to do this? The Specification ID is what allows you to create multiple versions for one inspection plan. I think the structure allows you to create all of the “customization” you want without actually customizing.

2 Likes

Sorry for the crazy late reply. :slight_smile:

You are correct about what the SpecID does for different Inspections. The trouble is, I need to know the SpecID chosen for my configuration so I can display some ReadOnly values to the user to help them in filling out the inspection. To-date: I have not figured out how to get the SpecID chosen. Which is quite surprising considering how important this value is to an Inspection Configuration. From my investigation, it looks like the SpecID simply isn’t available. Perhaps another upgrade will remedy this.

hi, could you help me with configurator ID?

Hello and welcome to the group! Lots of helpful humans in here, I shall do my best to lend a hand. Are you speaking of the Specification ID or the Configurator ID? If I knew a little more of what you are looking for, perhaps I could help out. Also, are you making an inspection planning config or a product config?

1 Like

thank you!thank you!

I didint saw that somebody answer, Epicare helped me

We only use Inspection plan, and it was about the checkbox failed formula event, now is working.
ill be around to learn.

1 Like

Did you ever find the SpecID field in the InspResults table?

I wish I could say for sure, but I think I never got it through the customization. My notes indicate I went with a BPM to get what I needed. :confused: