Advertisement
tko_pb

oez_i_bpartner

Mar 6th, 2019
517
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CREATE TABLE public.oez_i_bpartner (
  2.     oez_i_bpartner_id varchar(32) NOT NULL,
  3.     ad_client_id varchar(32) NULL,
  4.     ad_org_id varchar(32) NULL,
  5.     isactive bpchar(1) NULL DEFAULT 'Y'::bpchar,
  6.     created timestamp NULL DEFAULT now(),
  7.     createdby varchar(32) NULL,
  8.     updated timestamp NULL DEFAULT now(),
  9.     updatedby varchar(32) NULL,
  10.     value varchar(40) NULL,
  11.     "name" varchar(60) NULL,
  12.     name2 varchar(60) NULL,
  13.     description varchar(255) NULL,
  14.     groupvalue varchar(40) NULL,
  15.     c_bp_group_id varchar(32) NULL,
  16.     c_bpartner_location_id varchar(32) NULL,
  17.     address1 varchar(60) NULL,
  18.     address2 varchar(60) NULL,
  19.     postal varchar(10) NULL,
  20.     postal_add varchar(10) NULL ,
  21.     city varchar(60) NULL,
  22.     c_region_id varchar(32) NULL,
  23.     regionname varchar(60) NULL,
  24.     c_country_id varchar(32) NULL,
  25.     countrycode varchar(2) NULL,
  26.     phone varchar(40) NULL,
  27.     phone2 varchar(40) NULL,
  28.     fax varchar(40) NULL,
  29.     email varchar(40) NULL,
  30.     processing bpchar(1) NULL,
  31.     processed bpchar(1) NULL DEFAULT 'N'::bpchar,
  32.     i_erorrmsg varchar(2000) NULL,
  33.     i_isimported bpchar(1) NULL DEFAULT 'N'::bpchar,
  34.     em_oez_iscustomer bpchar(1) NULL,
  35.     em_oez_isemployee bpchar(1) NULL,
  36.     em_oez_isvendor bpchar(1) NULL,
  37.     bank_name varchar(50) NULL,
  38.     accountno varchar(100) NULL,
  39.     em_a_name varchar(60) NULL,
  40.     c_bp_bankaccount_id varchar(32) NOT NULL,
  41.     CONSTRAINT oez_i_bp_isactive_check CHECK ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))),
  42.     CONSTRAINT oez_i_bp_key PRIMARY KEY (oez_i_bpartner_id),
  43.     CONSTRAINT oez_i_bp_processed_chk CHECK ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))),
  44.     CONSTRAINT oez_i_bp_ad_client FOREIGN KEY (ad_client_id) REFERENCES ad_client(ad_client_id),
  45.     CONSTRAINT oez_i_bp_ad_org FOREIGN KEY (ad_org_id) REFERENCES ad_org(ad_org_id),
  46.     CONSTRAINT oez_i_bp_c_bp_group FOREIGN KEY (c_bp_group_id) REFERENCES c_bp_group(c_bp_group_id),
  47.     CONSTRAINT oez_i_bp_c_bankAcount FOREIGN KEY (c_bp_bankaccount_id) REFERENCES c_bp_bankaccount(c_bp_bankaccount_id)
  48.     CONSTRAINT oez_i_bp_c_region FOREIGN KEY (c_region_id) REFERENCES c_region(c_region_id),
  49. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement