fiogf49gjkf0d Oh, boy, this is a fun one. 
 I have logic (that I didn't write) that looks at the seccodeid to determine how to assign an opportunity to a region. It's hard coded with a "Select Case" statement, with each seccodeid being a "case". Of course, now I need to do development on our instance and not the customers. The problem will arise that when I create the teams in production, the seccodeid may be different than what I generated in development for the new teams, breaking any new "case" statements I have. 
 Is there any way to bundle the creation of a team on the server an apply it to dev? I know I can have it insert a record and I can grab the seccode table records I need and NOT generate a new ID on install, but if I do that, what other records will I need to get besides the seccode table? Looking in JOINDATA I see a join to USERSECURITY. Is there any other table I would need to include? 
 Another idea I had was to create the teams in prod and then restore a backup to dev so the IDs would match. 
 A third idea: not hard code the case statement. 
 Anyone have any ideas on this? 
 Thanks in advance, 
 Jeff 
    |