ope_service - Table
Home|Tables|Schemas|Diagrams|Foreign Keys|Indexes

ope_service(Table)

PKNameData TypeNULLsA/NDefaultCommentFKUnique

ser_idInteger

nextval('"URX_PUBLIC".ope_service_id_seq'::regclass)Identificador
ser_contract_idInteger

Contrato

ser_attendantInteger Atendente

ser_customerInteger Cliente

ser_operatorInteger Atendente

ser_unit_idInteger Unidade

ser_numberInteger Serviço Nº.

ser_former_customerInteger

Cliente Original
ser_planned_dateDate Data de execução planejada
ser_group_idSmallInt Grupo de Serviços

ser_status_idSmallInt Última Situação

ser_require_certificateSmallInt 0Requer Certificado
ser_way_idSmallInt Via de Entrada

ser_payment_waySmallInt

Forma de pagamento

ser_is_imediateSmallInt 0Fechado na Hora
ser_payment_qtySmallInt 1Número de parcelas
ser_payment_firstSmallInt 30Nº de dias da primeira parcela
ser_planned_durationSmallInt

Duração Estimada
ser_is_canceledSmallInt 0Cancelado
ser_control_typeSmallInt

Forma de Controle Obrigatório quando ser_group_id in ('Combate a Pragas', 'Jardinagem Profissional')
ser_descriptionText

Descrição
ser_remarksText

Observações
ser_desc_legacyText

Descrição do legado
ser_payment_modeSmallInt 2Modo de Pagamento
ser_payment_startSmallInt 1Início do Pagamento
ser_payment_concSmallInt 0Liquidar na Conclusão do Serviço
ser_itemsVarChar(255)

Itens do Serviço
ser_payment_legacyVarChar(80)

Forma de pagamento importada
ser_control_non_chemicalVarChar(50)

Tipo de ação não química desenvolvida
ser_start_timeVarChar(5)

Hora de início
ser_finish_timeVarChar(5)

Hora de término
ser_valueNumeric(10, 2) 0Valor
ser_discount_valueNumeric(10, 2) 0Valor do desconto
ser_total_valueNumeric(10, 2) 0Valor total
ser_first_valueNumeric(10, 2) 0Valor da entrada
ser_parcel_valueNumeric(10, 2) 0Valor das parcelas

NameTableColumnsUniqueClustered
ix_ope_service_attendantURX_PUBLIC.ope_serviceser_attendant
ix_ope_service_customerURX_PUBLIC.ope_serviceser_customer
ix_ope_service_numberURX_PUBLIC.ope_serviceser_number
ix_ope_service_payment_optionURX_PUBLIC.ope_serviceser_payment_way
ix_ope_service_planned_dateURX_PUBLIC.ope_serviceser_planned_date
ix_ope_service_total_valueURX_PUBLIC.ope_serviceser_total_value
ix_ope_service_way_inURX_PUBLIC.ope_serviceser_way_id

NameParent TableChild TableParent ColumnsChild Columns
fk_ope_service_attendantURX_PUBLIC.abi_employeeURX_PUBLIC.ope_serviceemp_idser_attendant
fk_ope_service_customerURX_PUBLIC.sel_customerURX_PUBLIC.ope_servicecus_idser_customer
fk_ope_service_fin_contractURX_PUBLIC.fin_contractURX_PUBLIC.ope_servicecon_idser_contract_id
fk_ope_service_groupURX_PUBLIC.ope_service_type_groupURX_PUBLIC.ope_serviceser_type_group_idser_group_id
fk_ope_service_operatorURX_PUBLIC.abi_employeeURX_PUBLIC.ope_serviceemp_idser_operator
fk_ope_service_payment_wayURX_PUBLIC.fin_transaction_typeURX_PUBLIC.ope_servicetra_type_idser_payment_way
fk_ope_service_status_listURX_PUBLIC.ope_service_status_listURX_PUBLIC.ope_serviceser_status_idser_status_id
fk_ope_service_unitURX_PUBLIC.adm_unitURX_PUBLIC.ope_serviceuni_person_idser_unit_id
fk_ope_service_way_inURX_PUBLIC.sel_way_inURX_PUBLIC.ope_serviceway_idser_way_id

NameParent TableChild TableParent ColumnsChild Columns
fk_fin_billing_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.fin_billingser_idbil_service_id
fk_fin_invoice_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.fin_invoiceser_idinv_service_id
fk_kno_notice_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.kno_noticeser_idnot_service_id
fk_ope_analysis_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.ope_analysisser_idana_service_id
fk_ope_document_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.ope_documentser_iddoc_service_id
fk_ope_service_item_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.ope_service_itemser_idser_item_service_id
fk_ope_service_recall_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.ope_service_recallser_idser_recall_service_id
fk_ope_service_seller_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.ope_service_sellerser_idser_seller_service_id
fk_ope_service_status_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.ope_service_statusser_idser_status_service_id
fk_ope_service_vector_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.ope_service_vectorser_idser_vector_service_id
fk_ope_work_order_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.ope_work_orderser_idwor_order_service_id
fk_pro_activity_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.pro_activityser_idact_service_id
fk_pro_project_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.pro_projectser_idpro_service_id
fk_sel_commission_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.sel_commissionser_idcom_service_id
fk_sel_quotation_ope_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.sel_quotationser_idquo_service_id
fk_sto_request_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.sto_requestser_idreq_service_id
fk_sto_request_grain_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.sto_request_grainser_idreq_grain_service_id
fk_tel_followup_serviceURX_PUBLIC.ope_serviceURX_PUBLIC.tel_followupser_idfol_service_id

NameTableOn DeleteOn InsertOn UpdateExecuteFor EachSQL
tg_ope_service_createURX_PUBLIC.ope_service

AFTERFOR EACH ROW"URX_PUBLIC"."_u ...
tg_ope_service_numberURX_PUBLIC.ope_service

BEFOREFOR EACH ROW"URX_PUBLIC"."_u ...
tg_ope_service_payment_quantityURX_PUBLIC.ope_service

BEFOREFOR EACH ROW"URX_PUBLIC"."_u ...
tg_prevent_update_ope_serviceURX_PUBLIC.ope_service

BEFOREFOR EACH ROW"URX_PUBLIC"."_u ...

Diagram Name
diagramA