CREATE TABLE adempiere.JP_BankData
(
  AD_Client_ID numeric(10,0) NOT NULL,
  AD_Org_ID numeric(10,0) NOT NULL,
  AD_OrgTrx_ID numeric(10,0),
  JP_BankData_ID numeric(10,0) NOT NULL,
  C_BankAccount_ID numeric(10,0) NOT NULL,
  SalesRep_ID numeric(10,0) ,
  JP_BankDataSchema_ID numeric(10,0) NOT NULL,
  C_BankStatement_ID numeric(10,0) ,
  Createdby numeric(10,0) NOT NULL,
  Updatedby numeric(10,0) NOT NULL,
  NumLines  numeric(10) NOT NULL DEFAULT 0,

  StmtAmt numeric NOT NULL DEFAULT 0,
  TrxAmt numeric NOT NULL DEFAULT 0,
  ChargeAmt numeric NOT NULL DEFAULT 0,
  InterestAmt numeric NOT NULL DEFAULT 0,
  TotalAmt  numeric NOT NULL DEFAULT 0,

  Created timestamp without time zone NOT NULL DEFAULT statement_timestamp(),
  Updated timestamp without time zone NOT NULL DEFAULT statement_timestamp(),
  StatementDate timestamp without time zone NOT NULL,
  DateAcct timestamp without time zone NOT NULL,
  JP_ProcessedTime1 timestamp without time zone,
  JP_ProcessedTime2 timestamp without time zone,
  JP_ProcessedTime3 timestamp without time zone,
  JP_ProcessedTime4 timestamp without time zone,
  JP_ProcessedTime5 timestamp without time zone,
  JP_ProcessedTime6 timestamp without time zone,
  JP_ProcessedTime7 timestamp without time zone,
  PayDate  timestamp without time zone,

  IsActive character(1) NOT NULL DEFAULT 'Y'::bpchar,
  IsReceipt character(1) NOT NULL DEFAULT 'N'::bpchar,
  JP_Processing1 character(1) DEFAULT 'N'::bpchar,
  JP_Processing2 character(1) DEFAULT 'N'::bpchar,
  JP_Processing3 character(1) DEFAULT 'N'::bpchar,
  JP_Processing4 character(1) DEFAULT 'N'::bpchar,
  JP_Processing5 character(1) DEFAULT 'N'::bpchar,
  JP_Processing6 character(1) DEFAULT 'N'::bpchar,
  JP_Processing7 character(1) DEFAULT 'N'::bpchar,
  Processed character(1) DEFAULT 'N'::bpchar,

  JP_BankData_UU character varying(36) DEFAULT NULL::character varying,

  Description character varying(255) DEFAULT NULL::character varying,
  Name character varying(120) NOT NULL,
  I_ErrorMsg character varying(2000) ,

  JP_BankDataType_Header character varying(1),
  JP_BankDataClassification character varying(2),
  JP_BankDataCodeType character varying(1),
  JP_RequesterCode  character varying(10),
  JP_RequesterName  character varying(40),
  RoutingNo  character varying(4),
  JP_BankName_Kana  character varying(15),
  JP_BranchCode  character varying(3),
  JP_BranchName_Kana  character varying(15),
  JP_BankAccountType character varying(1),
  AccountNo character varying(7),
  JP_BankDataType_Footer character varying(1),

  CONSTRAINT JP_BankData_pkey PRIMARY KEY (JP_BankData_ID)
)
