on 09-10-2008 8:20 AM
Hi all.
I need some help creating a Stored Procedure. My client would like to make it impossible to choose a certain payment term when adding vendors. Can someone please help me with the syntax of such a SP?
Thanks and regards, Runar.
should be just a simple IF clause in the "Add Code Here" Part
IF(@object_type='2' AND (@transaction_type='A'))
BEGIN
--do validation here so you need another If clause that set's error to a non 0 value when error condition is met
END
hope it helps,
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.