If you name your DMT files the same as the template, DMT will pull the correct template for you, no more fishing for files. It will also ignore anything after an underscore, for example Sales Order Header_ABC123.csv
Well happy Friday to me. Thank you for this information.
Youâre welcome, I donât know where I picked this nugget up but itâs been this way since I started using DMT in 2016. I wish it were in the documentation because itâs a real time saver and improves accuracy a great deal!
Thanks, just tried it today. Love this tip! Now to send emails to all my DMT requestors - âPlease prefix your files with âXXXX XXXXX XXXX_â. Thank you!â
Itâd be sweet if I could combine it with a file drop folder and have Powershell run it automatically with an âadd & updateâ option. Thatâll make some of them hands-off.
Very good to know for those of us who donât want this so we can be aware! I keep all of my DMT sets and wouldnât want to accidentally collision-select the wrong one.
We have done some creative things like run DMT from VBA called command line in a spreadsheet, we give the user the spreadsheet and they just fill in the columns and click a button. We only give a couple users in engineering access to the full DMT program. But for purchasing lead time updates and things the spreadsheet works a treat.
Mark - Thatâs a nice solution! Would you be able to share it? Thatâd be useful for some of our recurring updates - Price Lists, AR and AP Combined Invoices (from third-party software).
This is one of those mind-blowing things that make you wonder what else is out there.
So Iâm not knocking this at all, but I just have a different personal preference with DMT.
Like @kananga I archive all the DMTs I have ever done over the last 8 years, so I need the titles to have some kind of meaning. Hence I name them quite verbosely (often with some sarcasm thrown in).
Still, this drag and drop trick will help a lot of people. Keep the hacks coming!
Specific to DMT, and verbosity - did you know that DMT ignores any line beginning with â#â?
Pro: This means we can have comments! Some of my DMT sets contain paragraphs of detailed instructions and BAQ names, which is nice.
Con: If the first field in your DMT set is a string that isnât static, it may contain a value that begins with â#â, which would cause that row to be ignored by DMT. Itâs an easy one to miss and you wonât get an error.
Wow. To all of that. The trick and the âIt didnât work but there was no errorâ fun.
Here is a simple one. See the readme for how to modify and use.
Part Plant DMT Macro.7z (24.7 KB)
I put the commentary after the underscore, and same as you, sort chronologically to get into the âballparkâ. Best of all worlds!
Thanks sir!