It's been said that laziness is a good trait to have in IT staff -Laziness in the sense that you don't like repetitive tasks...so you automate them -Laziness in that you don't want to keep reinventing the wheel when that 'once every two years' problem shows up...so you blog it. That's what this site is for me, to store those 'holy crap, that was hard to figure out' things so that I can find them again.
Friday, November 19, 2010
GP: Retrieve List of Company Names & IDs
Here’s a script to return you a quick list of the company ids (which are also the database name) and the company names for the companies defined in the DYNAMICS database
SELECT INTERID,CMPNYNAM FROM SY01500 ORDER BY CMPNYNAM
No comments:
Post a Comment