CREATE TABLE prd_aux_ordem_producao_embalagem_faturamento ( 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 character varying(50) 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, ficha_tecnica character varying(25) NOT NULL, tipo_pagamento integer NOT NULL, CONSTRAINT pk_prd_aux_ordem_producao_embalagem_faturamento PRIMARY KEY (terminal_ip, sequencia) ) TABLESPACE pg_default; ALTER TABLE public.prd_aux_ordem_producao_embalagem_faturamento OWNER to postgres;