|
Dame la lista de Productos
|
[SP: sp_BuscarPartesChatbot] (sin parámetros)
|
🔍 BÚSQUEDA DE PARTES (50 resultados)
======================================================================
Filtros aplicados:
NumeroParte | Descripción | Stock | Estado | Criticidad
----------------------------------------------------------------------
MX01LIC01HP2AZL | Licuadora HP2 Color Azul | 0.0000 | CRÍTICO |
EMP002FN30120 | Empaque Final 3x12 cm | 0.0000 | CRÍTICO |
CAJ007SE70703 | Caja Dim. 70x20x30 | 0.0000 | CRÍTICO |
CAR025KA12001 | Carton Peso 12 kgs | 0.0000 | CRÍTICO...
|
10/30/2025 6:49:45 PM
|
Ver
|
|
Dame la lista total de componentes?
|
[SP: octavio.sp_ConsultaMasterNumeroParte] @NumeroParte=NULL, @NumeroProducto=NULL, @DescripcionParte=NULL, @NivelBOM=NULL, @NivelBOMMin=NULL, @NivelBOMMax=NULL, @BOMComponente=NULL, @CantidadBOMMin=NULL, @CantidadBOMMax=NULL, @CostoUnitarioMin=NULL, @CostoUnitarioMax=NULL, @EsProductoRaiz=NULL, @Top=NULL
|
IdNParte | NumeroParte | NumeroProducto | DescripcionParte | NivelBOM | BOMComponente | CantidadBOM | UnidadMedida | CostoUnitario
-------------------------------------------------------------------------------------------------------------------------------------
1 | MX01LIC01HP2AZL | MX01LIC01HP2AZL | Licuadora HP2 Color Azul | 0.00 | Producto Final | 1.0000 | pieza | 240.7630
2 | EMP002FN30120 | MX01LIC01HP2AZL | Empaque Final 3x12 cm | 0.10 | Empaque Final | 1.0000 | pieza | 5.9390
3 | C...
|
10/24/2025 12:36:01 AM
|
Ver
|
|
Dame los numeros de Producto que hay?
|
[SP: octavio.sp_ConsultaMasterNumeroParte] @NumeroParte=NULL, @NumeroProducto=NULL, @DescripcionParte=NULL, @NivelBOM=NULL, @NivelBOMMin=NULL, @NivelBOMMax=NULL, @BOMComponente=NULL, @CantidadBOMMin=NULL, @CantidadBOMMax=NULL, @CostoUnitarioMin=NULL, @CostoUnitarioMax=NULL, @EsProductoRaiz=1, @Top=NULL
|
IdNParte | NumeroParte | NumeroProducto | DescripcionParte | NivelBOM | BOMComponente | CantidadBOM | UnidadMedida | CostoUnitario
-------------------------------------------------------------------------------------------------------------------------------------
1 | MX01LIC01HP2AZL | MX01LIC01HP2AZL | Licuadora HP2 Color Azul | 0.00 | Producto Final | 1.0000 | pieza | 240.7630
27 | MX01LIC01HP2ROJ | MX01LIC01HP2ROJ | Licuadora HP2 Color Rojo | 0.00 | Producto Final | 1.0000 | pieza | 237.77...
|
10/23/2025 9:54:54 PM
|
Ver
|
|
Dime ALA002KA89222
|
SELECT
mnp.NumeroParte,
mnp.DescripcionParte,
mnp.NivelBOM,
mnp.BOMComponente,
mnp.CantidadBOM,
mnp.CostoUnitario,
(mnp.CantidadBOM * mnp.CostoUnitario) AS CostoTotal
FROM
octavio.MasterNumeroParte AS mnp
WHERE
mnp.NumeroProducto = 'ALA002KA89222' AND mnp.NivelBOM > 0
ORDER BY
mnp.NivelBOM, mnp.NumeroParte;
|
NumeroParte | DescripcionParte | NivelBOM | BOMComponente | CantidadBOM | CostoUnitario | CostoTotal
-------------------------------------------------------------------------------------------------------
(Sin filas retornadas)
|
10/22/2025 10:45:05 PM
|
Ver
|
|
Cuantos numeros de producto hay Nivel 0.00 ?
|
[SP: sp_BuscarPartesChatbot] (sin parámetros)
|
🔍 BÚSQUEDA DE PARTES (50 resultados)
======================================================================
Filtros aplicados:
NumeroParte | Descripción | Stock | Estado | Criticidad
----------------------------------------------------------------------
MX01LIC01HP2AZL | Licuadora HP2 Color Azul | 0.0000 | CRÍTICO |
EMP002FN30120 | Empaque Final 3x12 cm | 0.0000 | CRÍTICO |
CAJ007SE70703 | Caja Dim. 70x20x30 | 0.0000 | CRÍTICO |
CAR025KA12001 | Carton Peso 12 kgs | 0.0000 | CRÍTICO...
|
10/22/2025 10:10:47 PM
|
Ver
|
|
Cuantos numeros de producto hay?
|
[SP: sp_BuscarPartesChatbot] (sin parámetros)
|
🔍 BÚSQUEDA DE PARTES (50 resultados)
======================================================================
Filtros aplicados:
NumeroParte | Descripción | Stock | Estado | Criticidad
----------------------------------------------------------------------
MX01LIC01HP2AZL | Licuadora HP2 Color Azul | 0.0000 | CRÍTICO |
EMP002FN30120 | Empaque Final 3x12 cm | 0.0000 | CRÍTICO |
CAJ007SE70703 | Caja Dim. 70x20x30 | 0.0000 | CRÍTICO |
CAR025KA12001 | Carton Peso 12 kgs | 0.0000 | CRÍTICO...
|
10/22/2025 10:09:01 PM
|
Ver
|
|
dame la lista de tablas del schema?
|
SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'octavio'
AND TABLE_NAME != 'ChatLogs'
ORDER BY TABLE_NAME;
|
TABLE_NAME
-------------
AlertasInsights
Cat_EstadosCalidad
Cat_MotivosRechazo
Cat_TiposContenedor
Cat_TiposEmpaqueProveedor
Cat_TiposUbicacion
CodigosAlerta_Calidad
ContenedoresInventario
GestionInventario
Inventario
LotesRecibidos
MaestroProductos
MasterNumeroParte
MovimientosInventario
Proveedores
ProveedorParte
Recepciones
Ubicaciones
vw_ArbolBOM
vw_BOM_PorProducto
vw_ComponentesCompartidos
vw_ConsumoParte30Dias
vw_CostoExplosionadoBOM
vw_DashboardInventario
vw_Esta...
|
10/22/2025 10:07:32 PM
|
Ver
|
|
muéstrame los componentes del producto MX01LIC01HP2AZL
|
SELECT
NumeroParte,
DescripcionParte,
NivelBOM,
BOMComponente,
CantidadBOM,
CostoUnitario,
(CantidadBOM * CostoUnitario) AS CostoTotal
FROM octavio.MasterNumeroParte mnp
WHERE mnp.NumeroProducto = 'MX01LIC01HP2AZL' AND mnp.NivelBOM > 0
ORDER BY mnp.NivelBOM, mnp.NumeroParte;
|
NumeroParte | DescripcionParte | NivelBOM | BOMComponente | CantidadBOM | CostoUnitario | CostoTotal
-------------------------------------------------------------------------------------------------------
EMP002FN30120 | Empaque Final 3x12 cm | 0.10 | Empaque Final | 1.0000 | 5.9390 | 5.93900000
CAJ007SE70703 | Caja Dim. 70x20x30 | 0.20 | Caja Carton | 1.0000 | 3.3470 | 3.34700000
CAR025KA12001 | Carton Peso 12 kgs | 0.30 | Carton | 0.6010 | 2.4260 | 1.45802600
CIT023KA13001 | Cinta Adhesiv...
|
10/22/2025 10:03:55 PM
|
Ver
|
|
Dame los NumeroProductos que hay?
|
[SP: sp_BuscarPartesChatbot] (sin parámetros)
|
🔍 BÚSQUEDA DE PARTES (50 resultados)
======================================================================
Filtros aplicados:
NumeroParte | Descripción | Stock | Estado | Criticidad
----------------------------------------------------------------------
MX01LIC01HP2AZL | Licuadora HP2 Color Azul | 0.0000 | CRÍTICO |
EMP002FN30120 | Empaque Final 3x12 cm | 0.0000 | CRÍTICO |
CAJ007SE70703 | Caja Dim. 70x20x30 | 0.0000 | CRÍTICO |
CAR025KA12001 | Carton Peso 12 kgs | 0.0000 | CRÍTICO...
|
10/22/2025 9:59:52 PM
|
Ver
|
|
Dame la lista de Productos que hay?
|
[SP: sp_BuscarPartesChatbot] (sin parámetros)
|
🔍 BÚSQUEDA DE PARTES (50 resultados)
======================================================================
Filtros aplicados:
NumeroParte | Descripción | Stock | Estado | Criticidad
----------------------------------------------------------------------
MX01LIC01HP2AZL | Licuadora HP2 Color Azul | 0.0000 | CRÍTICO |
EMP002FN30120 | Empaque Final 3x12 cm | 0.0000 | CRÍTICO |
CAJ007SE70703 | Caja Dim. 70x20x30 | 0.0000 | CRÍTICO |
CAR025KA12001 | Carton Peso 12 kgs | 0.0000 | CRÍTICO...
|
10/22/2025 9:58:08 PM
|
Ver
|
|
Dame los numeros de Productos finals que hay ?
|
[SP: sp_BuscarPartesChatbot]
|
🔍 BÚSQUEDA DE PARTES (50 resultados)
======================================================================
Filtros aplicados:
NumeroParte | Descripción | Stock | Estado | Criticidad
----------------------------------------------------------------------
MX01LIC01HP2AZL | Licuadora HP2 Color Azul | 0.0000 | CRÍTICO |
EMP002FN30120 | Empaque Final 3x12 cm | 0.0000 | CRÍTICO |
CAJ007SE70703 | Caja Dim. 70x20x30 | 0.0000 | CRÍTICO |
CAR025KA12001 | Carton Peso 12 kgs | 0.0000 | CRÍTICO...
|
10/22/2025 7:19:52 PM
|
Ver
|
|
Dame los numeros de Productos que hay ?
|
[SP: sp_BuscarPartesChatbot]
|
🔍 BÚSQUEDA DE PARTES (50 resultados)
======================================================================
Filtros aplicados:
NumeroParte | Descripción | Stock | Estado | Criticidad
----------------------------------------------------------------------
MX01LIC01HP2AZL | Licuadora HP2 Color Azul | 0.0000 | CRÍTICO |
EMP002FN30120 | Empaque Final 3x12 cm | 0.0000 | CRÍTICO |
CAJ007SE70703 | Caja Dim. 70x20x30 | 0.0000 | CRÍTICO |
CAR025KA12001 | Carton Peso 12 kgs | 0.0000 | CRÍTICO...
|
10/22/2025 7:19:27 PM
|
Ver
|
|
Busca la parte EMP002FN30120?
|
[SP: sp_ConsultaParteChatbot] @NumeroParte=EMP002FN30120
|
📦 INFORMACIÓN COMPLETA DE PARTE: EMP002FN30120
======================================================================
1️⃣ INFORMACIÓN MAESTRA
----------------------------------------------------------------------
• NumeroParte: EMP002FN30120
• NumeroProducto: MX01LIC01HP2AZL
• VersionParte: V.003
• DescripcionParte: Empaque Final 3x12 cm
• DescripcionExtendida:
• NivelBOM: 0.10
• ClaseComponente: Ensamble
• OrigenComponente: Montaje Linea Final
• Unidad...
|
10/22/2025 3:43:16 PM
|
Ver
|
|
Dame la informacion de la parte EMP002FN30120?
|
[SP: sp_ConsultaParteChatbot] @NumeroParte=EMP002FN30120
|
📦 INFORMACIÓN COMPLETA DE PARTE: EMP002FN30120
======================================================================
1️⃣ INFORMACIÓN MAESTRA
----------------------------------------------------------------------
• NumeroParte: EMP002FN30120
• NumeroProducto: MX01LIC01HP2AZL
• VersionParte: V.003
• DescripcionParte: Empaque Final 3x12 cm
• DescripcionExtendida:
• NivelBOM: 0.10
• ClaseComponente: Ensamble
• OrigenComponente: Montaje Linea Final
• Unidad...
|
10/22/2025 3:42:38 PM
|
Ver
|
|
Dame el stock minimo de esta parte EMP002FN30120?
|
[SP: sp_ConsultaParteChatbot] @NumeroParte=EMP002FN30120
|
📦 INFORMACIÓN COMPLETA DE PARTE: EMP002FN30120
======================================================================
1️⃣ INFORMACIÓN MAESTRA
----------------------------------------------------------------------
• NumeroParte: EMP002FN30120
• NumeroProducto: MX01LIC01HP2AZL
• VersionParte: V.003
• DescripcionParte: Empaque Final 3x12 cm
• DescripcionExtendida:
• NivelBOM: 0.10
• ClaseComponente: Ensamble
• OrigenComponente: Montaje Linea Final
• Unidad...
|
10/22/2025 3:38:59 PM
|
Ver
|
|
Cuantos numeros de parte existe?
|
[SP: sp_BuscarPartesChatbot]
|
🔍 BÚSQUEDA DE PARTES (50 resultados)
======================================================================
Filtros aplicados:
NumeroParte | Descripción | Stock | Estado | Criticidad
----------------------------------------------------------------------
MX01LIC01HP2AZL | Licuadora HP2 Color Azul | 0.0000 | CRÍTICO |
EMP002FN30120 | Empaque Final 3x12 cm | 0.0000 | CRÍTICO |
CAJ007SE70703 | Caja Dim. 70x20x30 | 0.0000 | CRÍTICO |
CAR025KA12001 | Carton Peso 12 kgs | 0.0000 | CRÍTICO...
|
10/22/2025 3:35:52 PM
|
Ver
|
|
CUantas tablas existen en octavio?
|
SELECT 1;
|
---
1
|
10/22/2025 3:34:50 PM
|
Ver
|
|
CUantas tablas existen?
|
SELECT 1;
|
---
1
|
10/22/2025 3:33:34 PM
|
Ver
|
|
Me puedes dar los numeros de Producto quehay?
|
SELECT DISTINCT mp.NumeroProducto
FROM octavio.MasterNumeroParte mnp
JOIN octavio.MaestroProductos mp ON mnp.NumeroParte = mp.NumeroParte
WHERE mnp.NivelBOM = 0.00;
|
NumeroProducto
-----------------
MX01LIC01HP2AZL
MX01LIC01HP2ROJ
|
10/22/2025 1:09:14 PM
|
Ver
|
|
Dame la lista de los Productos finales y su numero de parte?
|
SELECT
mp.NumeroProducto,
mnp.NumeroParte
FROM octavio.MaestroProductos AS mp
JOIN octavio.MasterNumeroParte AS mnp ON mp.NumeroProducto = mnp.NumeroProducto
WHERE mp.NivelBOM = 0.00
ORDER BY mp.NumeroProducto, mnp.NumeroParte;
|
NumeroProducto | NumeroParte
-------------------------------
MX01LIC01HP2AZL | ACE002KA78352
MX01LIC01HP2AZL | ALA002KA89120
MX01LIC01HP2AZL | ALA002KA89222
MX01LIC01HP2AZL | CAB002KA89456
MX01LIC01HP2AZL | CAC001SE91953
MX01LIC01HP2AZL | CAC002KA91754
MX01LIC01HP2AZL | CAJ007SE70703
MX01LIC01HP2AZL | CAR025KA12001
MX01LIC01HP2AZL | CIT023KA13001
MX01LIC01HP2AZL | EMP002FN30120
MX01LIC01HP2AZL | EST001SE71804
MX01LIC01HP2AZL | FLE001SE71706
MX01LIC01HP2AZL | FLE002SE89111
MX01LIC0...
|
10/20/2025 6:05:04 PM
|
Ver
|
|
DAme los nombres de todas las tablas?
|
SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'octavio'
AND TABLE_NAME != 'ChatLogs'
ORDER BY TABLE_NAME;
|
TABLE_NAME
-------------
AlertasInsights
Cat_EstadosCalidad
Cat_MotivosRechazo
Cat_TiposContenedor
Cat_TiposEmpaqueProveedor
Cat_TiposUbicacion
CodigosAlerta_Calidad
ContenedoresInventario
GestionInventario
Inventario
LotesRecibidos
MaestroProductos
MasterNumeroParte
MovimientosInventario
Proveedores
ProveedorParte
Recepciones
Ubicaciones
vw_ArbolBOM
vw_BOM_PorProducto
vw_ComponentesCompartidos
vw_CostoExplosionadoBOM
vw_EstadoContenedores
vw_FlujoMaterialEnProceso
vw_P...
|
10/20/2025 5:49:21 PM
|
Ver
|
|
DAme los nombres de todas las tablas?
|
SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'octavio'
AND TABLE_NAME != 'ChatLogs'
ORDER BY TABLE_NAME;
|
TABLE_NAME
-------------
AlertasInsights
Cat_EstadosCalidad
Cat_MotivosRechazo
Cat_TiposContenedor
Cat_TiposEmpaqueProveedor
Cat_TiposUbicacion
CodigosAlerta_Calidad
ContenedoresInventario
GestionInventario
Inventario
LotesRecibidos
MaestroProductos
MasterNumeroParte
MovimientosInventario
Proveedores
ProveedorParte
Recepciones
Ubicaciones
vw_ArbolBOM
vw_BOM_PorProducto
vw_ComponentesCompartidos
vw_CostoExplosionadoBOM
vw_EstadoContenedores
vw_FlujoMaterialEnProceso
vw_P...
|
10/20/2025 5:48:40 PM
|
Ver
|
|
Dame el total de Tablas del Schema?
|
SELECT COUNT(*) AS TotalTables FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'octavio';
|
TotalTables
--------------
27
|
10/20/2025 5:47:58 PM
|
Ver
|
|
Dame la lista de los componentes de MX01LIC01HP2AZL
|
SELECT
NumeroParte,
DescripcionParte,
NivelBOM,
BOMComponente,
CantidadBOM,
CostoUnitario,
(CantidadBOM * CostoUnitario) AS CostoTotal
FROM octavio.MasterNumeroParte
WHERE NumeroProducto = 'MX01LIC01HP2AZL' AND NivelBOM > 0
ORDER BY NivelBOM, NumeroParte;
|
NumeroParte | DescripcionParte | NivelBOM | BOMComponente | CantidadBOM | CostoUnitario | CostoTotal
-------------------------------------------------------------------------------------------------------
EMP002FN30120 | Empaque Final 3x12 cm | 0.10 | Empaque Final | 1.0000 | 5.9390 | 5.93900000
CAJ007SE70703 | Caja Dim. 70x20x30 | 0.20 | Caja Carton | 1.0000 | 3.3470 | 3.34700000
CAR025KA12001 | Carton Peso 12 kgs | 0.30 | Carton | 0.6010 | 2.4260 | 1.45802600
CIT023KA13001 | Cinta Adhesiv...
|
10/20/2025 5:39:46 PM
|
Ver
|
|
Dame los componentes de MX01LIC01HP2AZL?
|
SELECT mnp.NumeroParte,
mnp.DescripcionParte,
mnp.NivelBOM,
mnp.CantidadBOM
FROM octavio.MaestroProductos mp
JOIN octavio.MasterNumeroParte mnp ON mp.NumeroParte = mnp.BOMComponente
WHERE mp.NumeroProducto = 'MX01LIC01HP2AZL'
AND mnp.NivelBOM > 0;
|
NumeroParte | DescripcionParte | NivelBOM | CantidadBOM
----------------------------------------------------------
(No rows returned)
|
10/20/2025 4:12:19 PM
|
Ver
|
|
Dame los componentes del numero de producto = MX01LIC01HP2AZL
|
SELECT
i.DescripcionParte,
i.VersionParte,
ip.TipoContenedor,
ip.CodigoContenedor,
ip.UnidadMedida AS ContenedorUnidadMedida,
ip.PesoActualKg,
ip.UbicacionActual,
ip.NumeroLote AS NumeroLoteContenedor
FROM
octavio.Inventario i
JOIN
octavio.ContenedoresInventario ip ON i.CodigoUbicacion = ip.CodigoContenedor
WHERE
i.NumeroParte = 'MX01LIC01HP2AZL';
|
DescripcionParte | VersionParte | TipoContenedor | CodigoContenedor | ContenedorUnidadMedida | PesoActualKg | UbicacionActual | NumeroLoteContenedor
-------------------------------------------------------------------------------------------------------------------------------------------------------
|
10/19/2025 11:23:17 PM
|
Ver
|
|
Me puedes decir cuantos productos hay y su numero producto?
|
SELECT COUNT(DISTINCT NumeroProducto) AS TotalProductos, NumeroProducto
FROM octavio.MaestroProductos
GROUP BY NumeroProducto;
|
TotalProductos | NumeroProducto
----------------------------------
1 | MX01LIC01HP2AZL
1 | MX01LIC01HP2ROJ
|
10/19/2025 10:42:01 PM
|
Ver
|
|
Me puedes dar todos los numeros de parte existe, su descripcion de la partes y la version de la parte?
|
SELECT NumeroParte, DescripcionParte, VersionParte
FROM octavio.MasterNumeroParte;
|
NumeroParte | DescripcionParte | VersionParte
------------------------------------------------
MX01LIC01HP2AZL | Licuadora HP2 Color Azul | V.001
EMP002FN30120 | Empaque Final 3x12 cm | V.003
CAJ007SE70703 | Caja Dim. 70x20x30 | V.004
CAR025KA12001 | Carton Peso 12 kgs | V.007
CIT023KA13001 | Cinta Adhesiva 2x15.7 | V.002
LIC001SE71704 | Ensamble Licuadora | V.006
JAR001SE71913 | Ensamble Jarra | V.001
JAR002KA89111 | Jarra de Vidrio | V.005
TAP001SE71235 | Ensamble Tapa | V.007
T...
|
10/14/2025 11:28:22 PM
|
Ver
|
|
Me puedes decir cuantos numeros de parte existe, la descripcion de parte y la version?
|
SELECT
COUNT(DISTINCT mp.NumeroParte) AS TotalNumParts,
STRING_AGG(mp.DescripcionParte, '; ') AS Descriptions,
STRING_AGG(mp.VersionParte, '; ') AS Versions
FROM
octavio.MasterNumeroParte mp;
|
TotalNumParts | Descriptions | Versions
------------------------------------------
26 | Licuadora HP2 Color Azul ; Empaque Final 3x12 cm; Caja Dim. 70x20x30; Carton Peso 12 kgs ; Cinta Adhesiva 2x15.7; Ensamble Licuadora ; Ensamble Jarra ; Jarra de Vidrio; Ensamble Tapa; Tapa Plastica Negra; Sello Silicon Negro; Ensamble Motor; Tornillos M6; Cables UL 120 Volts; Ensamble Rotor ; Alambre Cobre 22 AWG; Ensamble Flecha; Flecha Cuerpo; Acero Barra L252; Rodamiento 3x5; Ensamble Estator; Alambre Co...
|
10/14/2025 11:25:33 PM
|
Ver
|
|
Me puedes decir cuantos numeros de parte existe y descripcion de parte?
|
SELECT NumeroParte, DescripcionParte, COUNT(*) AS Total
FROM octavio.MasterNumeroParte
GROUP BY NumeroParte, DescripcionParte;
|
NumeroParte | DescripcionParte | Total
-----------------------------------------
MX01LIC01HP2AZL | Licuadora HP2 Color Azul | 1
EMP002FN30120 | Empaque Final 3x12 cm | 1
CAJ007SE70703 | Caja Dim. 70x20x30 | 1
CAR025KA12001 | Carton Peso 12 kgs | 1
CIT023KA13001 | Cinta Adhesiva 2x15.7 | 1
LIC001SE71704 | Ensamble Licuadora | 1
JAR001SE71913 | Ensamble Jarra | 1
JAR002KA89111 | Jarra de Vidrio | 1
TAP001SE71235 | Ensamble Tapa | 1
TAP002KA89111 | Tapa Plastica Negra | 1
SEL002KA39...
|
10/14/2025 10:29:53 PM
|
Ver
|
|
Me puedes decir cuantos numeros de parte existe y descripcion?
|
SELECT
COUNT(DISTINCT NumeroParte) AS TotalUniqueNumeroParte,
COUNT(DescripcionParte) AS TotalDescripcionParte
FROM
octavio.MasterNumeroParte;
|
TotalUniqueNumeroParte | TotalDescripcionParte
-------------------------------------------------
26 | 26
|
10/14/2025 10:27:55 PM
|
Ver
|
|
Me puedes decir cuantos nmeros de parte existe?
|
SELECT COUNT(DISTINCT NumeroParte)
FROM octavio.MasterNumeroParte;
|
---
26
|
10/14/2025 10:25:37 PM
|
Ver
|
|
Dame las columnas de la tabla Alerta de Calidad?
|
SELECT
AlertaCalidad,
AlertaDescripcion,
Descripcion,
AlertaAccion,
AlertaColor,
OrdenProceso
FROM
octavio.CodigosAlerta_Calidad;
|
AlertaCalidad | AlertaDescripcion | Descripcion | AlertaAccion | AlertaColor | OrdenProceso
----------------------------------------------------------------------------------------------
APROBADO | Aprobado - Calidad OK | | False | Verde | 3
APROBADO_CONDICION | Aprobado con Condiciones | | True | Amarillo | 4
CUARENTENA | En Cuarentena | | True | Rojo | 6
DEVOLUCION_PROV | Devolución a Proveedor | | True | Rojo | 8
EN_INSPECCION | En Proceso de Inspección | | True | Naranja | 2
PEND...
|
10/14/2025 6:27:44 PM
|
Ver
|
|
Dame los colores de Alerta de Calidad y su descripcion?
|
SELECT ColorAlerta, Descripcion
FROM octavio.Cat_EstadosCalidad;
|
ColorAlerta | Descripcion
----------------------------
Verde |
Amarillo |
Rojo |
Rojo |
Naranja |
Amarillo |
Rojo |
Naranja |
|
10/14/2025 5:16:14 PM
|
Ver
|
|
Dame los colores de Alerta de estados de calidad y su descripcion?
|
SELECT ColorAlerta, Descripcion
FROM octavio.Cat_EstadosCalidad;
|
ColorAlerta | Descripcion
----------------------------
Verde |
Amarillo |
Rojo |
Rojo |
Naranja |
Amarillo |
Rojo |
Naranja |
|
10/14/2025 4:53:01 PM
|
Ver
|
|
Dame los colores de Alerta de estados de calidad ?
|
SELECT ColorAlerta FROM octavio.Cat_EstadosCalidad;
|
ColorAlerta
--------------
Verde
Amarillo
Rojo
Rojo
Naranja
Amarillo
Rojo
Naranja
|
10/14/2025 4:50:17 PM
|
Ver
|
|
Dame los colores de Alerta ?
|
SELECT DISTINCT TipoAlerta FROM octavio.AlertasInsights;
|
TipoAlerta
-------------
|
10/14/2025 4:47:37 PM
|
Ver
|
|
Me puedes dar elos tipos de Ubicacion y Estados de calidad?
|
SELECT
octavio.Cat_TiposUbicacion.CodigoTipo,
octavio.Cat_TiposUbicacion.NombreTipo,
octavio.Cat_EstadosCalidad.CodigoEstado,
octavio.Cat_EstadosCalidad.NombreEstado
FROM
octavio.Cat_TiposUbicacion
CROSS JOIN
octavio.Cat_EstadosCalidad;
|
CodigoTipo | NombreTipo | CodigoEstado | NombreEstado
--------------------------------------------------------
ALMACEN_INTERMEDIO | Almacén Intermedio | APROBADO | Aprobado - Calidad OK
ALMACEN_PRINCIPAL | Almacén Principal | APROBADO | Aprobado - Calidad OK
CUARENTENA | Zona de Cuarentena | APROBADO | Aprobado - Calidad OK
ENTRADA | Área de Entrada | APROBADO | Aprobado - Calidad OK
INSPECCION | Área de Inspección | APROBADO | Aprobado - Calidad OK
LINEA_PRODUCCION | En Línea de Producci...
|
10/14/2025 4:37:56 PM
|
Ver
|