By Steve Endow This morning I was working on a SQL query used to create to create new Dynamics GP customer IDs. The customer IDs are created by using the first 6 characters of the customer name, followed by 3 numbers. For example: ACMETO001 - Acme Tools ACMETO002 - Acme Tooling, Inc. To query these customer IDs, I was using this query: SELECT CUSTNMBR FROM RM00101 WHERE CUSTNMBR LIKE 'ACMETO%' In this example, the query would return two records, so I knew that the next customer ID needed...(read more)Image may be NSFW.
Clik here to view.
Clik here to view.
