| uranux_desenv [uranux.xml] |
| Home | | | Tables | | | Schemas | | | Diagrams | | | Foreign Keys | | | Indexes |
| fin_billing | (Table) |
| Columns | ||||||||
| PK | Name | Data Type | NULLs | A/N | Default | Comment | FK | Unique |
| bil_issue_dt | TimeStampWithTimeZone |
| Data-Hora de Emissão | |||||
|
| bil_id | Integer |
| nextval('"URX_PUBLIC".fin_billing_id_seq'::regclass) | Identificador | |||
| bil_service_id | Integer | Serviço |
| |||||
| bil_file_id | Integer |
| Arquivo de Imagem |
| ||||
| bil_unit_id | Integer | Unidade |
|
|
||||
| bil_number | Integer | Documento Nº. |
|
|||||
| bil_is_canceled | SmallInt | 0 | Cancelado | |||||
| bil_year | SmallInt | Ano de Competência |
|
|||||
| bil_month | SmallInt | Mês de Competência | ||||||
| bil_total_value | Numeric(10, 2) | Valor Bruto | ||||||
| bil_net_value | Numeric(10, 2) | Valor Líquido | ||||||
| bil_description | Text | Descrição dos Serviços | ||||||
| bil_remarks | VarChar(255) |
| Observações | |||||
| Indexes | ||||
| Name | Table | Columns | Unique | Clustered |
| ix_fin_billing_ope_service | URX_PUBLIC.fin_billing | bil_service_id | ||
| ix_fin_billing_sys_file | URX_PUBLIC.fin_billing | bil_file_id | ||
| Foreign Keys | ||||
| Name | Parent Table | Child Table | Parent Columns | Child Columns |
| fk_fin_billing_ope_service | URX_PUBLIC.ope_service | URX_PUBLIC.fin_billing | ser_id | bil_service_id |
| fk_fin_billing_sys_file | URX_PUBLIC.sys_file | URX_PUBLIC.fin_billing | fil_id | bil_file_id |
| fk_fin_billing_unit | URX_PUBLIC.adm_unit | URX_PUBLIC.fin_billing | uni_person_id | bil_unit_id |
| Parent Relations (none) |
| Triggers | |||||||
| Name | Table | On Delete | On Insert | On Update | Execute | For Each | SQL |
| tg_fin_billing_create | URX_PUBLIC.fin_billing |
| AFTER | FOR EACH ROW | "URX_PUBLIC"."_u ... | ||
| tg_prevent_update_fin_billing_bill_number | URX_PUBLIC.fin_billing |
| BEFORE | FOR EACH ROW | "URX_PUBLIC"."_u ... | ||
| tg_prevent_update_fin_billing_ser_id | URX_PUBLIC.fin_billing |
| BEFORE | FOR EACH ROW | "URX_PUBLIC"."_u ... | ||
| Used in Diagrams |
| Diagram Name |
| diagramA |