-- Table: adempiere.I_OrderJP

-- DROP TABLE adempiere.I_OrderJP;

CREATE TABLE adempiere.I_OrderJP
(
  I_OrderJP_ID numeric(10,0) NOT NULL,
  ad_client_id numeric(10,0),
  ad_org_id numeric(10,0),
  ad_orgtrx_id numeric(10,0),
  isactive character(1) DEFAULT 'Y'::bpchar,
  created timestamp without time zone NOT NULL DEFAULT statement_timestamp(),
  createdby numeric(10,0),
  updated timestamp without time zone NOT NULL DEFAULT statement_timestamp(),
  updatedby numeric(10,0),
  i_isimported character(1) NOT NULL DEFAULT 'N'::bpchar,
  i_errormsg character varying(2000),
  processing character(1),
  processed character(1) DEFAULT 'N'::bpchar,
  salesrep_id numeric(10,0),
  m_warehouse_id numeric(10,0),
  m_pricelist_id numeric(10,0),
  c_currency_id numeric(10,0),
  m_shipper_id numeric(10,0),
  issotrx character(1) DEFAULT 'Y'::bpchar,
  c_bpartner_id numeric(10,0),
  bpartnervalue character varying(40),
  name character varying(60),
  c_bpartner_location_id numeric(10,0),
  billto_id numeric(10,0),
  c_location_id numeric(10,0),
  address1 character varying(60),
  address2 character varying(60),
  postal character varying(10),
  city character varying(60),
  c_region_id numeric(10,0),
  regionname character varying(60),
  c_country_id numeric(10,0),
  countrycode character(2),
  ad_user_id numeric(10,0),
  contactname character varying(60),
  email character varying(60),
  phone character varying(40),
  c_project_id numeric(10,0),
  c_activity_id numeric(10,0),
  c_doctype_id numeric(10,0),
  doctypename character varying(60),
  c_paymentterm_id numeric(10,0),
  paymenttermvalue character varying(40),
  c_order_id numeric(10,0),
  documentno character varying(30),
  dateordered timestamp without time zone,
  dateacct timestamp without time zone,
  description character varying(255),
  m_product_id numeric(10,0),
  productvalue character varying(40),
  upc character varying(30),
  sku character varying(30),
  c_tax_id numeric(10,0),
  taxindicator character varying(10),
  taxamt numeric DEFAULT 0,
  c_orderline_id numeric(10,0),
  linedescription character varying(255),
  c_uom_id numeric(10,0),
  qtyordered numeric DEFAULT 0,
  priceactual numeric DEFAULT 0,
  freightamt numeric DEFAULT 0,
  c_campaign_id numeric(10,0),
  c_charge_id numeric(10,0),
  chargename character varying(60),
  c_ordersource_id numeric(10,0) DEFAULT NULL::numeric,
  c_ordersourcevalue character varying(40) DEFAULT NULL::character varying,
  deliveryrule character(1) DEFAULT NULL::bpchar,
  I_OrderJP_UU character varying(36) DEFAULT NULL::character varying,
  CONSTRAINT I_OrderJP_pkey PRIMARY KEY (I_OrderJP_ID)
);

ALTER TABLE adempiere.I_OrderJP
  OWNER TO adempiere;
