taGetIvNumber - How to get the next IV number using the Stored Procedure

If you've been around here for any length of time, you'll know that we're not fond of long, overly wordy articles. Our job is to get you coding quickly.

This article contains a snippet of code that will use  to get the next IV Transfer number

DECLARE @O_vIvNumber varchar(21)
DECLARE @O_iErrorState int
 
--1 is a Transaction, 3 is a Transfer
exec taGetIvNumber 3, 1,@O_vIvNumber OUTPUT ,@O_iErrorState OUTPUT
 
print @O_vIvNumber
print @O_iErrorState
GO

RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences