Hello all,
If you would like to take your mind off, oh I don’t know, maybe a megathread, I have another challenge for you.
We have created Product Configurators, and they work well.
Let me describe the problem.
We have two main manufacturing locations, main one in Kentucky and a satellite in Utah. In KY, we can make anything. In Utah, we have limited equipment, but we have a subset of things that can be made there and shipped to anywhere on the Western US for much less (obviously).
On occasion, we will have a customer somewhere in-between, and we might schedule the job initially in KY. Later, balancing the workloads, in case Utah is running low on jobs, we may want to switch the job to Utah.
Generally, we create our configurators to allow Utah to be an Alternate Method of Manufacturing, and the operations and parts get adjusted, and everyone is happy. Yea!
[Example 1: Part ‘P1234’ has default Method as ‘’. But we can change it to ‘U’ and it will apply the configurator rules to change the operations and materials to something that our Utah plant can do.]
But… a long time ago, in a galaxy far, far away (actually, right here), someone created separate parts and separate configurators for the KY versus UT parts. So, when a job for that particular Part gets moved from KY to UT, we have to effectively, delete or close the job and start over, because it has to be a different part that uses a different configurator.
[Example 2 (the problem child): Part ‘P1235KY’ uses one configurator and Part ‘P1235UT’ uses a different configurator.]
So, I’ve been asked to “merge” the parts and configurators.
We are “On Prem”, running 2023.2 (don’t @ me). I have created the following query to get much of the relevant information.
select
pr.AltMethod
,rs.RuleSetID
,rs.KeepWhenLValue
,rs.PartNum
,re.LValue
,pm.MtlPartNum
,pm.MtlSeq
FROM erp.PcRuleSet rs
JOIN erp.PcRules r ON r.Company = rs.Company AND r.RuleSetID = rs.RuleSetID AND r.ConfigID = rs.ConfigID AND r.PartNum = rs.PartNum AND rs.AltMethod = r.AltMethod
JOIN erp.PcRulesExpr re ON re.Company = r.Company AND re.RuleSetID = r.RuleSetID AND re.RuleSeq = r.RuleSeq AND r.PartNum = re.PartNum AND r.ConfigID = re.ConfigID AND re.AltMethod = rs.AltMethod
JOIN erp.Part p ON p.Company = rs.Company AND p.PartNum = rs.PartNum
JOIN erp.PartRev pr ON pr.Company = p.Company AND pr.PartNum = p.PartNum AND pr.RevisionNum = rs.RevisionNum AND pr.AltMethod = re.AltMethod
JOIN erp.PartMtl pm ON pm.Company = rs.Company AND pm.PartNum = rs.PartNum AND pm.AltMethod = rs.AltMethod AND pm.MtlSeq = rs.MtlSeq
WHERE rs.PartNum like 'P1235%'
ORDER BY 2,1,4
My question: Is there any safe and legal way to copy configurator rules from TWO parts and TWO configurators to a “merged” configurator?
Our goal would be to have a single part [‘P1235’] and a single configurator with Alternate Method of Mfg for the second location.