TENGO UNA BASE DE DATOS CON ESTAS COLUMNAS (ENTRE OTRAS).
EN AZUL SEÑALA UNA CATEGORIA DE PRODUCTOS QUE SE REFIERE AL TIPO DE MAQUINA
EN AMARILLO UNA SUBCATEGORÍA QUE SEÑALA LOS MODELOS A LOS QUE APLICA CADA REPUESTO. CON ESTE CAMPO ES QUE NECESITO AYUDA YA QUE TENGO REPUESTOS QUE APLICAN A UNO O MAS MODELOS DE MAQUINAS.
EN ROJO ES UNA SUBCATEGORIA QUE QUISIERA ELIMINAR YA QUE FUE CREADA PARA PODER LOGRAR LO QUE A CONTINUACIÓN SE MUESTRA EN LA SEGUNDA IMAGEN.
ABAJO SE PUEDE VER LA APLICACION EN FUNCIONAMIENTO DONDE ESTÁ CREADA COMO UN CATALOGO DE PRODUCTOS. EN ESTA VISTA ESTÁN AGRUPADOS LOS REPUESTOS POR “FAMILIA EQUIPO” (SEÑALADO EN AZUL EN IMAGEN 1).
ASÍ COMO SE MUESTRA EN LAS IMAGENES QUISIERA FUNCIONARA MI NUEVA APP SIN TENER QUE HACER USO DE LA SUBCATEGORÍA AUXILIAR CREADA PARA LOGRAR QUE ESTO FUNCIONE.
SI SE OBSERVA EN LA IMAGEN 1 EL PRIMER REPUESTO DE CODIGO “01003-08” AL TENER EN EL CAMPO “APLICA” 2 MODELOS A LOS QUE APLICA “FS55/FS85” ME OBLIGÓ A REPETIR ESTE CODIGO 2 VECES. UNA CON “MODELO”=“FS55” Y OTRO DUPLICADO CON “MODELO”=“FS85”.
EN LOS CASOS EN LOS QUE EL PRODUCTO TIENE 8 APLICACIONES ME OBLIGA A CREAR EL MISMO CÓDIGO 8 VECES LO CUAL ME GENERA UN TRABAJO INNECESARIO ENTRE OTRAS MUCHAS COSAS.
EN RESUMEN QUISIERA PODER HACER LO MISMO SÓLO CON LA COLUMNA SEÑALADA EN AMARILLO SIN CREAR DUPLICADO DE PRODUCTOS
Note: At the outset I may say that this appears to be a somewhat unusual data schema and the above suggestion is based on the information you gave in this post, just with an intention to offer some help. Request you to fully evaluate your data schema for long term sustenance and before implementing the suggestion. Community can offer only suggestion based on what is shared and in no way it can understand full complexity/design of the app you have.
Edit: Made some change in the suggested expression.
si [SPLIT_APLICA] lo creo con la formula SPLIT(PRODUCTOS[APLICA],“/”) y hago otros ajustes consigo tener un listado completo sin repeticiones de modelos, sin embargo me crea un solo valor con todo el listado y no consigo separarlo
creeria que para lograr a valores unicos que no se repitan en el campo [aplica] es necesario separar los valores de cada registro, poderlos comparar con todos los registros, dejar solo valores unicos y poder separarlos nuevamente.
It seems like you are trying to use what normally a Parent-Child relationship gives (which is a tree navigation) without having Parent-Child relationships.
My suggestion would be to use more tables so that you can use EnumList basetype Ref and you will be able to see the products inside an Inline View of the parent Modelo