on 12-26-2017 9:53 AM
Hi All,
I want to block particular AR Invoice number by Stored Procedure. It is Possible??
Ex. My last invoice number is 100, now i need a stored procedure to block invoice number 105 (Upcoming Invoice number).
Hi All,
The below SP is working fine for my process,
IF (@transaction_type = 'A' or @transaction_type = 'U') AND @object_type = '13'
BEGIN
if exists (Select T0.Docnum from OINV T0 where (T0.Docnum = '105'))
begin
SET @error = 10
SET @error_message = 'This invoice number not allowed '
end
END
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 | |
6 | |
4 | |
4 | |
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.