on 10-11-2018 9:57 AM
Hi,
Create separate SP for all the transactions just changing the OPCH table to respective table.
Ganesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this.
If @object_type='46' and @transaction_type in (N'A',N'U')
Begin If exists (SELECT DISTINCT 'ERROR' FROM OVPM A INNER JOIN VPM2 B ON A.DocEntry = B.DocNum INNER JOIN OPCH C ON C.DocEntry = B.DocEntry WHERE A.PrjCode <> C.Project AND A.DocEntry = @list_of_cols_val_tab_del)
Begin set @error ='02'
Set @error_message=N'Testing!'
end
end
Ganesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
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.