Xamai SBO

SAP Business One

Xamai SBO
Como hacer campos obligatorios
* E-mail:
* Password:
Registrarse Presentación Miembros Imágenes
¿Has olvidado tu Password?

Lista de mensajes
Autor Mensaje
Yail Ramírez
 
Mensajes: 1
Registrado: Agosto/2007
Estado: Off-line
Grupo: Nuevo usuario
 
 
  Como hacer campos obligatorios 16/Agosto/2007 - 23:21

This is an explanation for making the ‘Costing Code’ field mandatory

 

(Could be applied in a similar way on any other column)

 

 

1)       Define new mandatory user-defined field (on marketing documents - rows)



(the Title of the field should be meaningful, since this is the name that will appear on the error message in case the value is missing)

 

2)       Define the following query:
SELECE NULL



 

3)       Define the following query:
SELECT $[$38.30.0]

(this query retrieve the value from the system field ‘Costing Code’ in the row)

 

 

 

4)   Define formatted search in ‘Costing Code’ column as follows:


since a mandatory UDF has a default value – the meaning of this step is to remove it whenever a new line is added in order to force the user to put its value


 

5)   Define formatted search in the newly UDF column as follows:


implementing this step will male sure the newly mandatory UDF column will include always the same value of the ‘Costing Code’ column:
if a value will be inserted to ‘Costing Code’ it will be copied to the UDF
if no value was inserted to ‘Costing Code’ the UDF will remain empty  – the document will not be able to be added wince there is mandatory field that is empty
if the value will be deleted by the user from ‘Costing Code’ it will be deleted from the UDF as well  – the document will not be able to be added wince there is mandatory field that is empty


 

6)   To complete the solution – make the new column invisible (via From Settings)

 

 


Usuarios activos
1 usuarios activos: 0 miembros y 1 huespedes en el foro.
 Reglas de mensaje
puedes escribir nuevos temas
puedes responder a los temas
puedes adjuntar archivos
no puedes editar tus mensajes
Contactar con el Administrador del foro.

La utilización del servicio vendrá condicionada por la previa aceptación de las Condiciones Generales de Uso del Servicio.

Foro gratis creado en ForosWebGratis.com. Crea tu propio foro aquí.