I am trying to access the client data in order to do something based on the results. How can I call the data up while I am in epicor performing the action?
For example, I am in a configurator session and as far as I know, I cannot create a customization for each page in the configurator. So… I think I can do something with UD methods in order to access the client trace data, but my question is how…
When I click on buttons I see that data is being created, I need that data in order to perform actions on the next page, but that data is not available to me via native Epicor functionality. How else can I access it?
I may not be explaining myself clearly due to my lack of knowledge about Epicor’s architecture, but if you have any questions please let me know.
here here… I’m utterly confused friend. Can you try again? If I understand you correctly you want to customize the configurator… but the configurator by its nature is completely custom to begin with, so why not change the configurator to do what you want instead of layering more customization on top of it.
Because the value I seek is not available in the configurator designer. I can call Context Properties (“PcContextProperties” as it is labeled in the trace log) using epicors built-in function "Context.[PropertyName] " and it will return that value from the data set. However, I want to access properties from the “PcConfigurationParams” as it is called in the trace log and Epicor does not provide me a way to call that out in the configurator.
I am not sure that is any clearer… Did I explain it any better? Thanks for sticking with me.
I need to know what the parent configurator was for my subconfigurator. I cannot find a way so I thought I would try and do a trace to see if there was data that identified the parent configurator and after looking at the trace log I believe there is. Now I just need to access that data during the configurator session. Do you think there is a better way to find out what configurator called my subconfigurator?
I’m not that well versed in configurator, but from reading the other thread, I think you misunderstood what @Mark_Wonsil was trying to say. The Global Variable is a container to house some information. You can change the value of it while in the parent configurator value when you have the parent one open. Then when you open the child one, it would read that global variable. It sounds like that should work.
Jose, we have Part A. Part A has 3 subassemblies B,C, and D. Inside B, C, and D we have the same subconfigurator, “Config-Finish”. When we configure A, the first page (page 1) will be Config-Finish for Part B. The second page (page 2) will be Config Finish for Part C and the next page (Page 3) is Config Finish for Part D.
When we get to the last page, we realize we made a mistake on the first page, the finish configurator for Part B. How would I know I am in the correct page when going backwards? The same applies when going forward. How would you use global variables to solve this case?
When we ask ourselves this same question we found that global variables would not work. Maybe we are thinking about it wrong. If so, please let us know.
We moved on to the trace log dataset. In that dataset there are values that specify the parent. That is how this thread came to be.
I am trying to figure out how to get this dataset in the middle of the configuration. I think I can do it using a Configurator User Defined method and using the business object, I just don’t know what parameters to pass it.
var ds = new Erp.Tablesets.PcValueTableset();
var test = Ice.Assemblies.ServiceRenderer.GetService<Erp.Contracts.ConfigurationRuntimeSvcContract>(Db);
But how can I get the current PcValueTableset(); ? Is the only way to do and call all of the business objects and methods that the trace log shows? I don’t know how to dynamically pass the parameters that it wants and where I would source those from.