on 07-17-2014 10:53 AM
Hola,
Estoy intentando que el campos CIF del IC cliente sea obligatorio. Estoy introduciendo la siguiente instrucción pero no me funciona:
IF @object_type = '12' and (@transaction_type in ('A' ,'U'))
BEGIN
if (SELECT (T0.LicTradNum) from OCRD T0 where T0.docentry = @list_of_cols_Val_tab_del) is null
BEGIN
set @error = 100
set @error_message = ' El CIF es un dato obligatorio'
END
END
¿Me podríais ayudar?
Muchas gracias.
Un saludo.
Hola
cambia el object type por 2, que es código de objeto de OCRD.
Un saludo
Agustín Marcos Cividanes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
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.