cancel
Showing results for 
Search instead for 
Did you mean: 

Crear campos definidos por usuario - Proveedores sap

Former Member
0 Kudos

Buena tarde gente, espero puedan orientarme acerca de lo siguiente, necesito crear dos campos en campos definidos por el usuario, todo esto en Factura de proveedores, los campos los quiero llamar "cdi" y "uuid". Pueden indicarme los paso para crearlos? Gracias.

Accepted Solutions (1)

Accepted Solutions (1)

armandomuozsule
Active Participant
0 Kudos

Buena tarde Reynaldo te voy a dar los pasos para que puedas hacer tu requerimiento:

1) Herramientas / Herramientas de Personalizacion / Campos Definidos por el usuario

2) Documentos de Marketing / Titulo

3) Boton Crear

4) Pones el nombre que requieres y la descripcion , poniendo atencion  al tipo de dato que requieras , ya sea numerico, alfanumerico etc.

ya explorando en otras opciones puedes agregar otras funciones como valores definidos por default etc. Boton Crear. Listo.

Espero que mi respuesta sea de utilidad. y si es lo que buscabas la marques como respuesta correcta.

saludos cordiales

Former Member
0 Kudos

Gracias por contestar

javier_facessantos
Contributor
0 Kudos

Hola Reynaldo

El error que te está siendo mostrado no tiene que ver con una limitación de SAP Business One, sino de la base de datos. Viene explicado en la siguiente nota:

https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F6465...

La solución propuesta es eliminar los UDF que no utilices en la tabla afectada.

Un saludo

Former Member
0 Kudos

Buen día Javier, no puedo acceder al link, la siguiente imagen muestra lo siguiente:

Sabes cual es el porqué no me pide el usuario y pass?

javier_facessantos
Contributor
0 Kudos

Hola Reynaldo

Al indicar en esa pantalla tu usuario y clave del SCN te debería permitir acceder a ver el contenido de la nota. No obstante si no puedes verlo te lo pego aquí:

Symptom

The total length (sum of all fields) of a record in an MS-SQL and Sybase
table cannot be longer than 8060 bytes. This restricts the number of
user fields that may be added to a table.


When updating user defined fields an error might appear regarding maximal length of record, That is due to the fact that the SQL creates a temporary column in the table in order to make an update and this temporary column can not be created if the length of the table is close to 8060 bytes.


In this situation it will be possible to ADD fields to the table but not possible to update them.

In order to confirm whether the above issues affects your DB, please look at the following notes:

  • For 8060 error during upgrade to version 2004 A - note number 798432.
  • For 8060 error during upgrade to version 2005 A - note number 923288.
  • For 8060 error regarding length of user defined tables note number 923301.

For problems in updating UDFs please read further the solution in this note.

Cause           Limitation

Solution      Attached query "UDF_LengthTest_Select_SQL2000.txt" & "UDF_LengthTest_Select_SQL2005 or Above.txt" will help you

to detect Tables that are about to exceed the size or their UDFs cannot be updated.For SQL 2000, use "UDF_LengthTest_Select_SQL2000.txt"For SQL 2005 or SQL 2008, use "UDF_LengthTest_Select_SQL2005 or Above.txt"

In case you got any result - You cannot add UDF to these tables and in some cases won't be able to update UDFs for these tables.

How to analyze the query result:

    • The column 'TableName' displays the tables that is about to  exceed the size limit.
    • The column 'TableLength' displays the current length of the table (including the UDF length (in bytes).
    • The column 'Delta' displays the number of bytes left to reach the limit of 8060 bytes.

For each table which was detected by the query, UDFs in the table must be truncated
or unused UDFs have to be removed. Use the following for removing unused UDF's:

1. Go to the SAP Business One menu 'Tools > User-Defined Fields > Manage User Fields' and delete UDF from here
2. Or use the API DI - go to the SDK helpfile (sdk_en.chm) for information on how to do this. You can look up the 'UserFieldsMD' object. For further information or questions on this, go to the SDN forums http://scn.sap.com/welcome


General information:
/* User Fields Length
AlphanumericLen*2
Address   508
Phone   40
Text  16
Numeric (9-12)4
Numeric (8) 20
Numeric (>12) 20
Numeric (<8)Len*2
Date  8
Hour  2
Units\Totals9
Link  16
Image   400
*/

Other terms

Field Length, MSSQL, Sybase, User Fields,8060,Update UDF, UDF, upgrade,
SAP Business One

Te adjunto también el txt con las queries que sirven para detectar qué tablas están apunto de excederse.

Un saludo

Former Member
0 Kudos

Muchas gracias Javier, voy a checar. Saludos.

Answers (0)