Product Configurator Help

This is my recommendation:

1. Open configurator in editing mode.
2. Go to Actions/Test Inputs
2a. Make sure "cTextBox" input is visible.
3. Start configuring - keep an eye on "cTextBox" to see exactly when it changes from blank to "6".
4.  As soon as it changes, you will know which input on leave statement is filling it in.

The 2 caveats to this are:
A. If you run through a whole "test inputs" scenario, and the text box stays blank, then you should check page on leave codes, as the code will probably be sitting in there.
B. It may be possible that more than one input has code which sets the value for "cTextBox".  After I make any big code update to a configurator, I always test mutiple configurations to make sure the MOM is still coming out correctly.  I set up lots of lines in quote entry and use a testing script which tests many/all of the possible permutations.  This is the most accurate way of quality-checking your code.



I am working on a Product configurator that I did not build. Currently when the config is run a part qty is being set based on a qty in a calculated text box. What I cannot determine is where the number in the text box is coming from.

There are no rules Input rules or On Leave rules for that text box.

At this point I can only imagine that I would have to walk through every other field in the configurator to determine the source. I was hoping for an easier way to find it.


Illustrated example:

Method Rules
Part A - Set Field rule. Set Field JobMtl.QtyPer = cTextBox


cTextBox has no Input rules or On Leave rules.


When the job is run the qty is set to 6.


Any thoughts?

The configurator can change values in any number of places so finding where it is isn't simple.

The Configurator code is stored in the PCXXXX tables where you can run a query on what code is associated with each control.  Even there though code can be in several places.

I usually find that if you click on the on-leave tab of the first control in the tree to start with so that as you click down through the controls in the tree you can examine the on-leave statements of the controls fairly quickly.

You also need to check the page on-leave code to see if it does calculations there.

Jim Kinneman
Encompass Solutions, Inc
Thanks Jim for the tip. I was hoping for a quicker way to search through it. I will start plugging away.


What version are you on? Depending on the version you might be able to export the configurator to a file then open that file in notepad and search through it by textbox name.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Fri, Jan 22, 2016 at 11:30 AM, clive.gillett@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>Thanks Jim for the tip. I was hoping for a quicker way to search through it. I will start plugging away.</p><div><br></div><div><br></div><p></p>

</div>
 


<div style="color:#fff;min-height:0;"></div>

Do you have any user-defined methods firing on-load or on-loaded? You could have something hiding in there.

Joe

On Fri, Jan 22, 2016 at 9:32 AM, clive.gillett@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p></p><p><span>I am working on a Product configurator that I did not build. Currently when the config is run a part qty is being set based on a qty in a calculated text box. What I cannot determine is where the number in the text box is coming from.</span></p><p><span>There are no rules Input rules or On Leave rules for that text box.</span></p><p><span>At this point I can only imagine that I would have to walk through every other field in the configurator to determine the source. I was hoping for an easier way to find it.</span></p><p><span><br></span></p><p><span>Illustrated example:<br><br>Method Rules<br>Part A - Set Field rule. Set Field JobMtl.QtyPer = cTextBox</span></p><p><span><br></span></p><p><span>cTextBox has no Input rules or On Leave rules.</span></p><p><span><br></span></p><p><span>When the job is run the qty is set to 6.</span></p><p><span><br></span></p><p><span>Any thoughts?</span></p><p></p>

</div>
 


<div style="color:#fff;min-height:0;"></div>

9.04.507A
9.04... hmm I can't remember if 9.04 has an export functionality that produces a readable file, but give it a shot.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Fri, Jan 22, 2016 at 12:28 PM, clive.gillett@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>9.04.507A</p>

</div><span class="ygrps-yiv-2141572210">
 


<div style="color:#fff;min-height:0;"></div>