Hosea
4Penny.net
Points: 7350

9/14/2012 8:01:53 AM

taSopGetMasterNumber

* This article, and all our great eConnect documentation, Is available on the eConnect menu

Today I have a client that wants me to provide an incremented SOP Master Number. In the past, I've just written my own code to increment the SOP40100.NXTMSTNO field.

That's always seemed heavy handed to me, and I knew that there must be a native function to do it... so I went looking.

This article is a code example for how to call the taSopGetMasterNumber stored procedure and get an incremented number.   

Note:

As soon as I got this all documented, I went to install it at the client. Who didn't have eConnect. So... I had to revert to the stored proc method. I've included the full text of that proc at the bottom of the article.

This article will be listed in the SQL - Scripts specific to Dynamics menu

4Penny.net
Version: GP 9,GP 10,GP 2010
Section: SQL Scripts
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3