extracted objects

This commit is contained in:
2025-12-17 13:02:12 +01:00
commit 7dd4ea08e1
195 changed files with 70591 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
# VW_EVENT_COLOR
## Colonne
| Colonna | Tipo |
|---------|------|
| ID | NUMBER |
| STATUS | VARCHAR2(28) |
| COLOR | CHAR(7) |
| COLOR_SLANG | VARCHAR2(7) |
## Definizione
```sql
CREATE OR REPLACE VIEW VW_EVENT_COLOR AS
select e.id ,
case when e.stato = 900
then 'Prev non Accettato/Superato'
when e.stato = 100
then 'Preventivo'
when e.stato = 200
then 'Scheda Evento (preparazione)'
when e.stato = 300
then 'Scheda Confermata'
when e.stato = 350
then 'Scheda Quasi Confermata'
when e.stato = 400
then 'Confermato'
end as status,
case when e.stato = 900
then '#913096'
when e.stato = 100
then '#ffffff'
when e.stato = 200
then '#CAE3FC'
when e.stato = 300
then '#FFFFB8'
when e.stato = 350
then '#FFCD59'
when e.stato = 400
then '#B8FFB8'
end as color,
case when e.stato = 900
then 'viola'
when e.stato = 100
then 'bianco'
when e.stato = 200
then 'celeste'
when e.stato = 300
then 'giallo'
when e.stato = 350
then 'arancio'
when e.stato = 400
then 'verde'
end as color_slang
from eventi e
```