I’m having trouble understanding how to make a configurator to use a Smart String Input.
I know how to make as smart string based on the user selections on the designed page. But I want to allow a user to enter the Smart String as the input.
For example, in the following configurator input, the user enters/selects values in the upper part, and the Part Number (lower middle) and Part Desc are dynamically generated (upon clicking the “Update P/N & Desc” button.
What I’m trying to do is have the user enter a Smart String instead of making the individual selections. I.E. the user would just enter “SPLF-A0500-AH010-010” during order entry.
I know I could make a textbox input, and parse it in code. But there is “Smart String Input” functionality that is supposed to allow me to do it. While it is mentioned in the Configurator Tech Ref Guide, there are no examples of it. Nearly all mentions of “Smart String” are as an output of the configurator.
P.S. to Epicor for calling both the input and output parameters the same (“Smart String”)
Agree that the word “Smart” is thrown around too much… Also, the incoming smart string is used for EDI to auto POPULATE fields… BUT one thing to be careful of is that this does not force any “on-field-changed” code in those fields to be run.
So… pretending that there is no such thing as a smart string input, here is how I have done what you described. I would suggest that you pass the smart string via the line item description on the sales order. ie, you would enter the configurator part number on the order, then enter the smartstring into the description. THEN you would configure it.
Inside the On-Page Loaded, you would add some code to examine the line description, and if found, split it out into all the other inputs (without the need for the button)
Thanks. I used to make an OnLeave event in every control, to automatically regen the Part Num and Part Desc. Maintaining that same code in 10 different functions got to be a pain.
I’ll play with your Idea of passing the input smart string via the part desc.
One other thing. I need to have the Configured part create an entry in the part master. Is there anything special I need to do/watch for when the PartNum generated by configurator is for an existing Part table entry?
Ex:
Part XYZ-123 is not in the Part table
Configurator is run in Order Entry, Part XYZ-123 is generated and saved in the Part table.
Later, the configurator is run (again in Order Entry). Part XYZ-123 already exists in part table, so no new entry is required.
Assume the second time the Configurator is run, the part created would be identical.
I’m sure @timshuwy will be all over this, practice the DRY principle: “Don’t Repeat Yourself”. Put that code in a UD Method and then call it from the 10 different locations. That way, you only have to update it if the signature changes (number/types of parameters).
@Mark_Wonsil I actually started typing out names of UDMethods to create, and decided my answer was getting too convoluted for the question…
I will be covering the creation of UDMethods at #Insights18… IN FACT, there is a 4-hour Extended Education class on Monday Morning on the Product Configurator where we will build some UDMethods. There are still openings in the class (extra fee). Also, on Thursday afternoon I have a 2 hour lab that will cover this in a shorter format.
I have seen a couple things to note - Let’s say you create a part named BLUE-LIGHT and create the description generation in the configurator as Blue Light. Now once the part is created let’s say someone does not like the description of the part and without knowing the impact changes it to Cool Blue Light using Part Maintenance. The next time this part is configured on a line it will change the description back to whatever the configurator is using. Just little things like that to watch for.
I have noticed this is happening to us recently, where an existing part number is overwritten with the description from the part record of the main part in part maintenance. Is there any way around this where instead of the part description being overwritten it is instead retained?
Hi Tim,
I was looking for more information regarding product configurator and i stumbled upon this article. Do you still have that configurator class running? i could make use of something like that. if yes i can talk to our management and would like to arrange a session.
Presently i have implemented configurator and is working well, but i would like to learn further on how to run the cfg’s efficiently and utilize most out of it.