CREATE TABLE adempiere.JP_ContractT
(
  JP_ContractT_ID numeric(10,0) NOT NULL,
  JP_ContractT_uu character varying(36) DEFAULT NULL::character varying,
  AD_Client_ID numeric(10,0) NOT NULL,
  AD_Org_ID numeric(10,0) NOT NULL,
  IsActive character(1) NOT NULL DEFAULT 'Y'::bpchar,
  Created timestamp without time zone NOT NULL DEFAULT now(),
  CreatedBy numeric(10,0) NOT NULL,
  Updated timestamp without time zone NOT NULL DEFAULT now(),
  UpdatedBy numeric(10,0) NOT NULL,

  Value character varying(40) NOT NULL,
  Name character varying(120) NOT NULL,
  Description character varying(255),
  
  AD_OrgTrx_ID numeric(10,0),
  Classname  character varying(255), 
  JP_ContractType character(3) NOT NULL,

  JP_ContractCategory_ID  numeric(10,0) NOT NULL,
  JP_ContractT_Parent_ID  numeric(10,0),
  C_DocType_ID  numeric(10,0) NOT NULL,
  IsAutomaticUpdateJP character(1) NOT NULL DEFAULT 'N'::bpchar,
  JP_ContractCancelTerm_ID numeric(10,0),
  JP_ContractExtendPeriod_ID numeric(10,0),
  JP_Classname1 character varying(255) DEFAULT NULL::character varying,

  CONSTRAINT JP_ContractT_pkey PRIMARY KEY (JP_ContractT_ID)
)