Quantcast
Channel: Microsoft Dynamics GP
Viewing all articles
Browse latest Browse all 38722

Forum Post: RE: Is it Safe to update IV40100 SET NXADJDOC

$
0
0
How about using the stored procedure "taGetIvNumber" instead? It's the standard GP stored procedure (also eConnect) and does exactly what you require. Typical usage is as follows: BEGIN DECLARE @Error INT, @Number VARCHAR(21) SET @Number = '' SET @Error = 0 EXEC taGetIvNumber 1, -- Document Type (1 denotes Adjustment) 1, -- Increment/Decrement (1 denotes increment) @Number OUTPUT, -- Next IV Document Number @Error OUTPUT -- Error State Number SELECT @Number, @Error END Hope that helps.

Viewing all articles
Browse latest Browse all 38722

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>