on 12-10-2010 10:19 PM
Hola a todos
Tengo el siguiente escenario
ORIGINALMENTE SE TENIA A UN SOCIO DE NEGOCIOS CON # 14069 ACCIDENTALMENTE UN COMPAÑERO CREYO HABERLO BORRADO Y PIDIO QUE SE DIERA DE ALTA DE NUEVO EL # 14069 POSTERIORMENTE SE GENERA UN NUEVO SOCIO DE NEGOCIOS CON EL NUMERO ORIGINAL # 14069, TIEMPO DESPUES SE DA CUENTA QUE EL REGISTRO NO SE BORRO SOLO CAMBIO DE # AL 1416. ESTE # NUEVO 14069 SE BORRA Y SE INTENTA MODIFICAR EL # 1416 POR 3L # 14069 PERO NO LO DEJA
Aparece el error "Esta entrada ya existe en las sigueintes tablas ACRD"
Esta tabla es el Historial de Socios de Negocio, bajo esto sera la unica solucion crear un nuevo código de Socio de Negocio con un identificador adicional por ejemplo 14969.(punto al final)
Ojala puedan ayudarme
Reciban un Saludo
Yen
Buenas tardes
Tengo 2 dudas, no se puede borrar si ya tenia movimientos, lo que puedes hacer es renombrar al codigo, ahora, que pasa si eliminas los 2, haces un select a OCRD y validas que ningun codigo exista, una vez hecho eso, crea tu unico ID.
saludos.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No te compliques, pon tu log de modificaciones en 0, actualiza un socio de negocios y con eso se depurara la ACRD, permitiendote crear de nuevo el codigo que quieres.
OJO: Solo modifica el dato maestro de ese socio de negocios, no otro docto de marketing ni nada y menos en hrs pico, porque puede afectar el performance.
User | Count |
---|---|
108 | |
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.