-- Table: public.vnd_aux_faturamento_parcial -- DROP TABLE public.vnd_aux_faturamento_parcial; CREATE TABLE public.vnd_aux_faturamento_parcial ( terminal_ip character varying(50) NOT NULL, sequencia integer NOT NULL, filial_orcamento integer NOT NULL, orcamento integer NOT NULL, orcamento_sequencia integer NOT NULL, preco_unitario numeric(18,6) NOT NULL, novo_preco_unitario numeric(18,6) NOT NULL, quantidade_disponivel numeric(18,6) NOT NULL, quantidade_venda numeric(18,6) NOT NULL, nova_quantidade numeric(18,6) NOT NULL, ordem_producao integer NOT NULL, produto integer NOT NULL, nr_ped_compra character varying(15) NOT NULL, nr_item_ped_compra numeric(10,0) NOT NULL, data_prev_entrega date NOT NULL, tipo_pagamento integer NOT NULL, CONSTRAINT pk_vnd_aux_faturamento_parcial PRIMARY KEY (terminal_ip, sequencia) ) TABLESPACE pg_default; ALTER TABLE public.vnd_aux_faturamento_parcial OWNER to postgres;