Tiempo aproximado de lectura: 00:05:00 min
Duda
¿Las leyendas de las requisiciones se guardan en algún campo?
Ambiente
Cross Segmentos - TOTVS Backoffice (Línea Protheus) - MI - Stock y Costos (SIGAEST) - Todas las versiones 12
Solución
Las leyendas no se almacenan en algún campo en específico de alguna tabla, sino que valida datos de la tabla SCP para definir la leyenda.
Entre los campos que válida:
Rojo -----------> (SCP->CP_STATUS) .And. SCP->CP_PREREQU == "S" .And. QtdComp(SCP->CP_QUJE) == QtdComp(0)
Verde -------> (SCP->CP_STATUS) .And. SCP->CP_PREREQU == "S" .And. (QtdComp(SCP->CP_QUANT) == QtdComp(SCP->CP_QUJE))
Amarillo -------> (SCP->CP_STATUS) .And. Empty(SCP->CP_PREREQU)
Azul -----------> (SCP->CP_STATUS) .And. SCP->CP_PREREQU == "S" .And. (QtdComp(SCP->CP_QUANT) > QtdComp(SCP->CP_QUJE))
Naranja ---------> (SCP->CP_STATUS) .And. SCP->CP_PREREQU == "S" .And. QtdComp(SCP->CP_QUJE) > QtdComp(0)
Conozca más.
0 Comentarios