Hi,
I am trying to DMT Job Headers, Assemblies and Materials ready for our Go Live. I am struggling to bring in Subassemblies.
My DMT file brings in the first level Assembly (0) as the Job Header and then when I import the Assembly, it brings it in as the next level.
I now have some assemblies which need to link to these but the DMT just brings them in at the bottom. The fields I am bringing in are Company, JobNum, AssemblySeq, Part, PartNum, QtyPer. The DMT file does not fail but whatever I put into Parent gets overwritten and zero is populated in the table!!
What happens if you dmt the changes in? I think you could run the DMT as update only with the same file and see if will change the parent. It’s not grayed out in the job, so I think it’s changeable.
Although I am surprised that it won’t put it in initially. I haven’t run a DMT to put assemblies in personally (only delete), I’ve only put materials in.
Doesn’t seem to matter what I do, it doesn’t populate the Parent field. I can go through and manually type it in on each line once I’ve DMT it in but with 1000+ lines…! I have tried running it as an update but still doesn’t seem to populate.
Yes I’ve just spent the last hour using the ParentAssemblySeq field in DMT which does seem to make a difference but doesn’t give the structure that it does when manually entering. Just trashing my job now to start again.
Eeek weird. This would mean I would need to bring in each level individually and then at the same time as bringing in the subassembly, change the parent to have the child…
yeah, that seems like a pain. It’s supposed to be maintained by the program, but I’m thinking DMT doesn’t get the right treatment. There still should be a way to make this work…
From a previous sql database so I have lots of options with that. I already have one DMT file for the JobHead, One for the first level, one for the 2nd level, etc down to the 7th level and then one for all of the material!
mm might give that a go. Jobs seem to be one of the few DMT types which don’t have a combined option. Also not sure how I can get the system to auto generate the next job. JobHead only seems to work if you populate the job.
The second import had to be re-run multiple times to clear the reprocess errors. (This was just due to the parent assembly sequence not being right yet)
AnalysisCode can be left off just something we use.
I have been messing around with this many different ways.
Found that the sequence
Company,Plant, JobNum, AssemblySeq, ParentAssemblySeq, QtyPer, IUM, PartNum, Description, RevisionNum
worked like a charm.
Note - take one job and test it out several time. Also, delete the job once in awhile - there is something left in memory that was causing havoc on my data loads.