CREATE TABLE ACCOMMODATION_CLASS (
  ACCOMMODATION_CLASS_ID VARCHAR2(20)  NOT NULL,
  PARENT_CLASS_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ACCOMMODATION_MAP (
  ACCOMMODATION_MAP_ID VARCHAR2(20)  NOT NULL,
  ACCOMMODATION_CLASS_ID VARCHAR2(20)  ,
  FIXED_ASSET_ID VARCHAR2(20)  ,
  ACCOMMODATION_MAP_TYPE_ID VARCHAR2(20)  ,
  NUMBER_OF_SPACES NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ACCOMMODATION_MAP_TYPE (
  ACCOMMODATION_MAP_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ACCOMMODATION_SPOT (
  ACCOMMODATION_SPOT_ID VARCHAR2(20)  NOT NULL,
  ACCOMMODATION_CLASS_ID VARCHAR2(20)  ,
  FIXED_ASSET_ID VARCHAR2(20)  ,
  NUMBER_OF_SPACES NUMBER NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ACCTG_TRANS (
  ACCTG_TRANS_ID VARCHAR2(20)  NOT NULL,
  ACCTG_TRANS_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  TRANSACTION_DATE VARCHAR2(255) ,
  IS_POSTED VARCHAR2(1) NULL,
  POSTED_DATE VARCHAR2(255) ,
  SCHEDULED_POSTING_DATE VARCHAR2(255) ,
  GL_JOURNAL_ID VARCHAR2(20)  ,
  GL_FISCAL_TYPE_ID VARCHAR2(20)  ,
  VOUCHER_REF VARCHAR2(60)  ,
  VOUCHER_DATE VARCHAR2(255) ,
  GROUP_STATUS_ID VARCHAR2(20)  ,
  FIXED_ASSET_ID VARCHAR2(20)  ,
  INVENTORY_ITEM_ID VARCHAR2(20)  ,
  PHYSICAL_INVENTORY_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  INVOICE_ID VARCHAR2(20)  ,
  PAYMENT_ID VARCHAR2(20)  ,
  FIN_ACCOUNT_TRANS_ID VARCHAR2(20)  ,
  SHIPMENT_ID VARCHAR2(20)  ,
  RECEIPT_ID VARCHAR2(20)  ,
  WORK_EFFORT_ID VARCHAR2(20)  ,
  THEIR_ACCTG_TRANS_ID VARCHAR2(60)  ,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ACCTG_TRANS_ATTRIBUTE (
  ACCTG_TRANS_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ACCTG_TRANS_ENTRY (
  ACCTG_TRANS_ID VARCHAR2(20)  NOT NULL,
  ACCTG_TRANS_ENTRY_SEQ_ID VARCHAR2(20)  NOT NULL,
  ACCTG_TRANS_ENTRY_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  VOUCHER_REF VARCHAR2(60)  ,
  PARTY_ID VARCHAR2(20)  ,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  THEIR_PARTY_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  THEIR_PRODUCT_ID VARCHAR2(20)  ,
  INVENTORY_ITEM_ID VARCHAR2(20)  ,
  GL_ACCOUNT_TYPE_ID VARCHAR2(20)  ,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  ,
  AMOUNT NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  ORIG_AMOUNT NUMBER NULL,
  ORIG_CURRENCY_UOM_ID VARCHAR2(20)  ,
  DEBIT_CREDIT_FLAG VARCHAR2(1) NULL,
  DUE_DATE VARCHAR2(255) ,
  GROUP_ID VARCHAR2(20)  ,
  TAX_ID VARCHAR2(20)  ,
  RECONCILE_STATUS_ID VARCHAR2(20)  ,
  SETTLEMENT_TERM_ID VARCHAR2(20)  ,
  IS_SUMMARY VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ACCTG_TRANS_ENTRY_TYPE (
  ACCTG_TRANS_ENTRY_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ACCTG_TRANS_TYPE (
  ACCTG_TRANS_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ACCTG_TRANS_TYPE_ATTR (
  ACCTG_TRANS_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ADDENDUM (
  ADDENDUM_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ID VARCHAR2(20)  ,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  ,
  ADDENDUM_CREATION_DATE VARCHAR2(255) ,
  ADDENDUM_EFFECTIVE_DATE VARCHAR2(255) ,
  ADDENDUM_TEXT VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ADDRESS_MATCH_MAP (
  MAP_KEY VARCHAR2(250)  NOT NULL,
  MAP_VALUE VARCHAR2(250)  NOT NULL,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AFFILIATE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  AFFILIATE_NAME VARCHAR2(100)  ,
  AFFILIATE_DESCRIPTION VARCHAR2(255)  ,
  YEAR_ESTABLISHED VARCHAR2(10)  ,
  SITE_TYPE VARCHAR2(255)  ,
  SITE_PAGE_VIEWS VARCHAR2(255)  ,
  SITE_VISITORS VARCHAR2(255)  ,
  DATE_TIME_CREATED VARCHAR2(255) ,
  DATE_TIME_APPROVED VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  PARTY_ID_FROM VARCHAR2(20)  ,
  PARTY_ID_TO VARCHAR2(20)  ,
  ROLE_TYPE_ID_FROM VARCHAR2(20)  ,
  ROLE_TYPE_ID_TO VARCHAR2(20)  ,
  AGREEMENT_TYPE_ID VARCHAR2(20)  ,
  AGREEMENT_DATE VARCHAR2(255) ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  DESCRIPTION VARCHAR2(255)  ,
  TEXT_DATA VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_ATTRIBUTE (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_EMPLOYMENT_APPL (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID_FROM VARCHAR2(20)  NOT NULL,
  PARTY_ID_TO VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID_FROM VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID_TO VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  AGREEMENT_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_FACILITY_APPL (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_GEOGRAPHICAL_APPLIC (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  GEO_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_ITEM (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ITEM_TYPE_ID VARCHAR2(20)  ,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  AGREEMENT_TEXT VARCHAR2(255) ,
  AGREEMENT_IMAGE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_ITEM_ATTRIBUTE (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_ITEM_TYPE (
  AGREEMENT_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_ITEM_TYPE_ATTR (
  AGREEMENT_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_PARTY_APPLIC (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_PRODUCT_APPL (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PRICE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_PROMO_APPL (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_ROLE (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_TERM (
  AGREEMENT_TERM_ID VARCHAR2(20)  NOT NULL,
  TERM_TYPE_ID VARCHAR2(20)  ,
  AGREEMENT_ID VARCHAR2(20)  ,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  ,
  INVOICE_ITEM_TYPE_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  TERM_VALUE NUMBER NULL,
  TERM_DAYS NUMBER NULL,
  TEXT_VALUE VARCHAR2(255)  ,
  MIN_QUANTITY NUMBER ,
  MAX_QUANTITY NUMBER ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_TERM_ATTRIBUTE (
  AGREEMENT_TERM_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_TYPE (
  AGREEMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_TYPE_ATTR (
  AGREEMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_WORKEFFORT_APPL (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AGREEMENT_WORK_EFFORT_APPLIC (
  AGREEMENT_ID VARCHAR2(20)  NOT NULL,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE APPLICATION_SANDBOX (
  APPLICATION_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  RUNTIME_DATA_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE AUDIO_DATA_RESOURCE (
  DATA_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  AUDIO_DATA VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BENEFIT_TYPE (
  BENEFIT_TYPE_ID VARCHAR2(20)  NOT NULL,
  BENEFIT_NAME VARCHAR2(100)  ,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  EMPLOYER_PAID_PERCENTAGE NUMBER ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BILLING_ACCOUNT (
  BILLING_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  ACCOUNT_LIMIT NUMBER NULL,
  ACCOUNT_CURRENCY_UOM_ID VARCHAR2(20)  ,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  DESCRIPTION VARCHAR2(255)  ,
  EXTERNAL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BILLING_ACCOUNT_ROLE (
  BILLING_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BILLING_ACCOUNT_TERM (
  BILLING_ACCOUNT_TERM_ID VARCHAR2(20)  NOT NULL,
  BILLING_ACCOUNT_ID VARCHAR2(20)  ,
  TERM_TYPE_ID VARCHAR2(20)  ,
  TERM_VALUE NUMBER NULL,
  TERM_DAYS NUMBER NULL,
  UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BILLING_ACCOUNT_TERM_ATTR (
  BILLING_ACCOUNT_TERM_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BROWSER_TYPE (
  BROWSER_TYPE_ID VARCHAR2(20)  NOT NULL,
  BROWSER_NAME VARCHAR2(100)  ,
  BROWSER_VERSION VARCHAR2(10)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET (
  BUDGET_ID VARCHAR2(20)  NOT NULL,
  BUDGET_TYPE_ID VARCHAR2(20)  ,
  CUSTOM_TIME_PERIOD_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_ATTRIBUTE (
  BUDGET_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_ITEM (
  BUDGET_ID VARCHAR2(20)  NOT NULL,
  BUDGET_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  BUDGET_ITEM_TYPE_ID VARCHAR2(20)  ,
  AMOUNT NUMBER NULL,
  PURPOSE VARCHAR2(255)  ,
  JUSTIFICATION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_ITEM_ATTRIBUTE (
  BUDGET_ID VARCHAR2(20)  NOT NULL,
  BUDGET_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_ITEM_TYPE (
  BUDGET_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_ITEM_TYPE_ATTR (
  BUDGET_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_REVIEW (
  BUDGET_ID VARCHAR2(20)  NOT NULL,
  BUDGET_REVIEW_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  BUDGET_REVIEW_RESULT_TYPE_ID VARCHAR2(20)  NOT NULL,
  REVIEW_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_REVIEW_RESULT_TYPE (
  BUDGET_REVIEW_RESULT_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_REVISION (
  BUDGET_ID VARCHAR2(20)  NOT NULL,
  REVISION_SEQ_ID VARCHAR2(20)  NOT NULL,
  DATE_REVISED VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_REVISION_IMPACT (
  BUDGET_ID VARCHAR2(20)  NOT NULL,
  BUDGET_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  REVISION_SEQ_ID VARCHAR2(20)  NOT NULL,
  REVISED_AMOUNT NUMBER NULL,
  ADD_DELETE_FLAG VARCHAR2(1) NULL,
  REVISION_REASON VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_ROLE (
  BUDGET_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_SCENARIO (
  BUDGET_SCENARIO_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_SCENARIO_APPLICATION (
  BUDGET_SCENARIO_APPLIC_ID VARCHAR2(20)  NOT NULL,
  BUDGET_SCENARIO_ID VARCHAR2(20)  NOT NULL,
  BUDGET_ID VARCHAR2(20)  ,
  BUDGET_ITEM_SEQ_ID VARCHAR2(20)  ,
  AMOUNT_CHANGE NUMBER NULL,
  PERCENTAGE_CHANGE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_SCENARIO_RULE (
  BUDGET_SCENARIO_ID VARCHAR2(20)  NOT NULL,
  BUDGET_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  AMOUNT_CHANGE NUMBER NULL,
  PERCENTAGE_CHANGE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_STATUS (
  BUDGET_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  NOT NULL,
  STATUS_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_TYPE (
  BUDGET_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE BUDGET_TYPE_ATTR (
  BUDGET_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CARRIER_SHIPMENT_BOX_TYPE (
  SHIPMENT_BOX_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  PACKAGING_TYPE_CODE VARCHAR2(20)  ,
  OVERSIZE_CODE VARCHAR2(10)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CARRIER_SHIPMENT_METHOD (
  SHIPMENT_METHOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  SEQUENCE_NUMBER NUMBER NULL,
  CARRIER_SERVICE_CODE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CART_ABANDONED_LINE (
  VISIT_ID VARCHAR2(20)  NOT NULL,
  CART_ABANDONED_LINE_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  PROD_CATALOG_ID VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  RESERV_START VARCHAR2(255) ,
  RESERV_LENGTH NUMBER NULL,
  RESERV_PERSONS NUMBER NULL,
  UNIT_PRICE NUMBER NULL,
  RESERV2ND_P_P_PERC NUMBER NULL,
  RESERV_NTH_P_P_PERC NUMBER NULL,
  CONFIG_ID VARCHAR2(20)  ,
  TOTAL_WITH_ADJUSTMENTS NUMBER NULL,
  WAS_RESERVED VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CATALINA_SESSION (
  SESSION_ID VARCHAR2(60)  NOT NULL,
  SESSION_SIZE NUMBER NULL,
  SESSION_INFO VARCHAR2(255) ,
  IS_VALID VARCHAR2(1) NULL,
  MAX_IDLE NUMBER NULL,
  LAST_ACCESSED NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE tablename (
  colname VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COMMUNICATION_EVENT (
  COMMUNICATION_EVENT_ID VARCHAR2(20)  NOT NULL,
  COMMUNICATION_EVENT_TYPE_ID VARCHAR2(20)  ,
  ORIG_COMM_EVENT_ID VARCHAR2(20)  ,
  PARENT_COMM_EVENT_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  CONTACT_MECH_TYPE_ID VARCHAR2(20)  ,
  CONTACT_MECH_ID_FROM VARCHAR2(20)  ,
  CONTACT_MECH_ID_TO VARCHAR2(20)  ,
  ROLE_TYPE_ID_FROM VARCHAR2(20)  ,
  ROLE_TYPE_ID_TO VARCHAR2(20)  ,
  PARTY_ID_FROM VARCHAR2(20)  ,
  PARTY_ID_TO VARCHAR2(20)  ,
  ENTRY_DATE VARCHAR2(255) ,
  DATETIME_STARTED VARCHAR2(255) ,
  DATETIME_ENDED VARCHAR2(255) ,
  SUBJECT VARCHAR2(255)  ,
  CONTENT_MIME_TYPE_ID VARCHAR2(250)  ,
  CONTENT VARCHAR2(255) ,
  NOTE VARCHAR2(255)  ,
  REASON_ENUM_ID VARCHAR2(20)  ,
  CONTACT_LIST_ID VARCHAR2(20)  ,
  HEADER_STRING VARCHAR2(255) ,
  FROM_STRING VARCHAR2(255) ,
  TO_STRING VARCHAR2(255) ,
  CC_STRING VARCHAR2(255) ,
  BCC_STRING VARCHAR2(255) ,
  MESSAGE_ID VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COMMUNICATION_EVENT_ORDER (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  COMMUNICATION_EVENT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COMMUNICATION_EVENT_PRODUCT (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  COMMUNICATION_EVENT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COMMUNICATION_EVENT_PRP_TYP (
  COMMUNICATION_EVENT_PRP_TYP_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COMMUNICATION_EVENT_PURPOSE (
  COMMUNICATION_EVENT_PRP_TYP_ID VARCHAR2(20)  NOT NULL,
  COMMUNICATION_EVENT_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COMMUNICATION_EVENT_ROLE (
  COMMUNICATION_EVENT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COMMUNICATION_EVENT_TYPE (
  COMMUNICATION_EVENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  CONTACT_MECH_TYPE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COMMUNICATION_EVENT_WORK_EFF (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  COMMUNICATION_EVENT_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COMM_CONTENT_ASSOC_TYPE (
  COMM_CONTENT_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COMM_EVENT_CONTENT_ASSOC (
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  COMMUNICATION_EVENT_ID VARCHAR2(20)  NOT NULL,
  COMM_CONTENT_ASSOC_TYPE_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONFIG_OPTION_PRODUCT_OPTION (
  CONFIG_ID VARCHAR2(20)  NOT NULL,
  CONFIG_ITEM_ID VARCHAR2(20)  NOT NULL,
  SEQUENCE_NUM NUMBER NULL,
  CONFIG_OPTION_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_OPTION_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_LIST (
  CONTACT_LIST_ID VARCHAR2(20)  NOT NULL,
  CONTACT_LIST_TYPE_ID VARCHAR2(20)  ,
  CONTACT_MECH_TYPE_ID VARCHAR2(20)  ,
  MARKETING_CAMPAIGN_ID VARCHAR2(20)  ,
  CONTACT_LIST_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  COMMENTS VARCHAR2(255)  ,
  IS_PUBLIC VARCHAR2(1) NULL,
  SINGLE_USE VARCHAR2(1) NULL,
  OWNER_PARTY_ID VARCHAR2(20)  ,
  VERIFY_EMAIL_FROM VARCHAR2(255)  ,
  VERIFY_EMAIL_SCREEN VARCHAR2(255)  ,
  VERIFY_EMAIL_SUBJECT VARCHAR2(255)  ,
  VERIFY_EMAIL_WEB_SITE_ID VARCHAR2(20)  ,
  OPT_OUT_SCREEN VARCHAR2(255)  ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_LIST_COMM_STATUS (
  CONTACT_LIST_ID VARCHAR2(20)  NOT NULL,
  COMMUNICATION_EVENT_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  ,
  MESSAGE_ID VARCHAR2(255)  ,
  STATUS_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_LIST_PARTY (
  CONTACT_LIST_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  STATUS_ID VARCHAR2(20)  ,
  PREFERRED_CONTACT_MECH_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_LIST_PARTY_STATUS (
  CONTACT_LIST_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  STATUS_DATE VARCHAR2(255) NOT NULL,
  STATUS_ID VARCHAR2(20)  ,
  SET_BY_USER_LOGIN_ID VARCHAR2(250)  ,
  OPT_IN_VERIFY_CODE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_LIST_TYPE (
  CONTACT_LIST_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_MECH (
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_TYPE_ID VARCHAR2(20)  ,
  INFO_STRING VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_MECH_ATTRIBUTE (
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_MECH_LINK (
  CONTACT_MECH_ID_FROM VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID_TO VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_MECH_PURPOSE_TYPE (
  CONTACT_MECH_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_MECH_TYPE (
  CONTACT_MECH_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_MECH_TYPE_ATTR (
  CONTACT_MECH_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTACT_MECH_TYPE_PURPOSE (
  CONTACT_MECH_TYPE_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTAINER (
  CONTAINER_ID VARCHAR2(20)  NOT NULL,
  CONTAINER_TYPE_ID VARCHAR2(20)  ,
  FACILITY_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTAINER_GEO_POINT (
  CONTAINER_ID VARCHAR2(20)  NOT NULL,
  GEO_POINT_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTAINER_TYPE (
  CONTAINER_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT (
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  CONTENT_TYPE_ID VARCHAR2(20)  ,
  OWNER_CONTENT_ID VARCHAR2(20)  ,
  DECORATOR_CONTENT_ID VARCHAR2(20)  ,
  INSTANCE_OF_CONTENT_ID VARCHAR2(20)  ,
  DATA_RESOURCE_ID VARCHAR2(20)  ,
  TEMPLATE_DATA_RESOURCE_ID VARCHAR2(20)  ,
  DATA_SOURCE_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  PRIVILEGE_ENUM_ID VARCHAR2(20)  ,
  SERVICE_NAME VARCHAR2(255)  ,
  CUSTOM_METHOD_ID VARCHAR2(20)  ,
  CONTENT_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LOCALE_STRING VARCHAR2(10)  ,
  MIME_TYPE_ID VARCHAR2(250)  ,
  COLNAME VARCHAR2(1) NULL,
  CHILD_LEAF_COUNT NUMBER NULL,
  CHILD_BRANCH_COUNT NUMBER NULL,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_APPROVAL (
  CONTENT_APPROVAL_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  ,
  CONTENT_REVISION_SEQ_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  APPROVAL_STATUS_ID VARCHAR2(20)  ,
  APPROVAL_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_ASSOC (
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID_TO VARCHAR2(20)  NOT NULL,
  CONTENT_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  CONTENT_ASSOC_PREDICATE_ID VARCHAR2(20)  ,
  DATA_SOURCE_ID VARCHAR2(20)  ,
  SEQUENCE_NUM NUMBER NULL,
  MAP_KEY VARCHAR2(100)  ,
  UPPER_COORDINATE NUMBER NULL,
  LEFT_COORDINATE NUMBER NULL,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_ASSOC_PREDICATE (
  CONTENT_ASSOC_PREDICATE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_ASSOC_TYPE (
  CONTENT_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_ATTRIBUTE (
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_KEYWORD (
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  KEYWORD VARCHAR2(60)  NOT NULL,
  RELEVANCY_WEIGHT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_META_DATA (
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  META_DATA_PREDICATE_ID VARCHAR2(20)  NOT NULL,
  META_DATA_VALUE VARCHAR2(255)  ,
  DATA_SOURCE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_OPERATION (
  CONTENT_OPERATION_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_PURPOSE (
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  CONTENT_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_PURPOSE_OPERATION (
  CONTENT_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  CONTENT_OPERATION_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  NOT NULL,
  PRIVILEGE_ENUM_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_PURPOSE_TYPE (
  CONTENT_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_REVISION (
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  CONTENT_REVISION_SEQ_ID VARCHAR2(20)  NOT NULL,
  COMMITTED_BY_PARTY_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_REVISION_ITEM (
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  CONTENT_REVISION_SEQ_ID VARCHAR2(20)  NOT NULL,
  ITEM_CONTENT_ID VARCHAR2(20)  NOT NULL,
  OLD_DATA_RESOURCE_ID VARCHAR2(20)  ,
  NEW_DATA_RESOURCE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_ROLE (
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_SEARCH_CONSTRAINT (
  CONTENT_SEARCH_RESULT_ID VARCHAR2(20)  NOT NULL,
  CONSTRAINT_SEQ_ID VARCHAR2(20)  NOT NULL,
  CONSTRAINT_NAME VARCHAR2(255)  ,
  INFO_STRING VARCHAR2(255)  ,
  INCLUDE_SUB_CATEGORIES VARCHAR2(1) NULL,
  IS_AND VARCHAR2(1) NULL,
  ANY_PREFIX VARCHAR2(1) NULL,
  ANY_SUFFIX VARCHAR2(1) NULL,
  REMOVE_STEMS VARCHAR2(1) NULL,
  LOW_VALUE VARCHAR2(60)  ,
  HIGH_VALUE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_SEARCH_RESULT (
  CONTENT_SEARCH_RESULT_ID VARCHAR2(20)  NOT NULL,
  VISIT_ID VARCHAR2(20)  ,
  ORDER_BY_NAME VARCHAR2(255)  ,
  IS_ASCENDING VARCHAR2(1) NULL,
  NUM_RESULTS NUMBER NULL,
  SECONDS_TOTAL NUMBER ,
  SEARCH_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_TYPE (
  CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CONTENT_TYPE_ATTR (
  CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COST_COMPONENT (
  COST_COMPONENT_ID VARCHAR2(20)  NOT NULL,
  COST_COMPONENT_TYPE_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  PRODUCT_FEATURE_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  GEO_ID VARCHAR2(20)  ,
  WORK_EFFORT_ID VARCHAR2(20)  ,
  FIXED_ASSET_ID VARCHAR2(20)  ,
  COST_COMPONENT_CALC_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  COST NUMBER NULL,
  COST_UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COST_COMPONENT_ATTRIBUTE (
  COST_COMPONENT_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COST_COMPONENT_CALC (
  COST_COMPONENT_CALC_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  COST_GL_ACCOUNT_TYPE_ID VARCHAR2(20)  ,
  OFFSETTING_GL_ACCOUNT_TYPE_ID VARCHAR2(20)  ,
  FIXED_COST NUMBER NULL,
  VARIABLE_COST NUMBER NULL,
  PER_MILLI_SECOND NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  COST_CUSTOM_METHOD_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COST_COMPONENT_TYPE (
  COST_COMPONENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COST_COMPONENT_TYPE_ATTR (
  COST_COMPONENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COUNTRY_ADDRESS_FORMAT (
  GEO_ID VARCHAR2(20)  NOT NULL,
  GEO_ASSOC_TYPE_ID VARCHAR2(20)  ,
  REQUIRE_STATE_PROVINCE_ID VARCHAR2(20)  ,
  REQUIRE_POSTAL_CODE VARCHAR2(1) NULL,
  POSTAL_CODE_REGEX VARCHAR2(255)  ,
  HAS_POSTAL_CODE_EXT VARCHAR2(1) NULL,
  REQUIRE_POSTAL_CODE_EXT VARCHAR2(1) NULL,
  ADDRESS_FORMAT VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COUNTRY_CAPITAL (
  COUNTRY_CODE VARCHAR2(20)  NOT NULL,
  COUNTRY_CAPITAL VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COUNTRY_CODE (
  COUNTRY_CODE VARCHAR2(20)  NOT NULL,
  COUNTRY_ABBR VARCHAR2(60)  ,
  COUNTRY_NUMBER VARCHAR2(60)  ,
  COUNTRY_NAME VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE COUNTRY_TELE_CODE (
  COUNTRY_CODE VARCHAR2(20)  NOT NULL,
  TELE_CODE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CREDIT_CARD (
  PAYMENT_METHOD_ID VARCHAR2(20)  NOT NULL,
  CARD_TYPE VARCHAR2(60)  ,
  CARD_NUMBER VARCHAR2(255)  ,
  VALID_FROM_DATE VARCHAR2(20)  ,
  EXPIRE_DATE VARCHAR2(20)  ,
  ISSUE_NUMBER VARCHAR2(20)  ,
  COMPANY_NAME_ON_CARD VARCHAR2(100)  ,
  TITLE_ON_CARD VARCHAR2(100)  ,
  FIRST_NAME_ON_CARD VARCHAR2(100)  ,
  MIDDLE_NAME_ON_CARD VARCHAR2(100)  ,
  LAST_NAME_ON_CARD VARCHAR2(100)  ,
  SUFFIX_ON_CARD VARCHAR2(100)  ,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  CONSECUTIVE_FAILED_AUTHS NUMBER NULL,
  LAST_FAILED_AUTH_DATE VARCHAR2(255) ,
  CONSECUTIVE_FAILED_NSF NUMBER NULL,
  LAST_FAILED_NSF_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CREDIT_CARD_TYPE_GL_ACCOUNT (
  CARD_TYPE VARCHAR2(60)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUSTOM_METHOD (
  CUSTOM_METHOD_ID VARCHAR2(20)  NOT NULL,
  CUSTOM_METHOD_TYPE_ID VARCHAR2(20)  ,
  CUSTOM_METHOD_NAME VARCHAR2(255)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUSTOM_METHOD_TYPE (
  CUSTOM_METHOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUSTOM_TIME_PERIOD (
  CUSTOM_TIME_PERIOD_ID VARCHAR2(20)  NOT NULL,
  PARENT_PERIOD_ID VARCHAR2(20)  ,
  PERIOD_TYPE_ID VARCHAR2(20)  ,
  PERIOD_NUM NUMBER NULL,
  PERIOD_NAME VARCHAR2(100)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  IS_CLOSED VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  ) ;
CREATE TABLE CUST_REQUEST (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  CUST_REQUEST_TYPE_ID VARCHAR2(20)  ,
  CUST_REQUEST_CATEGORY_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  FROM_PARTY_ID VARCHAR2(20)  ,
  PRIORITY NUMBER NULL,
  CUST_REQUEST_DATE VARCHAR2(255) ,
  RESPONSE_REQUIRED_DATE VARCHAR2(255) ,
  CUST_REQUEST_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  MAXIMUM_AMOUNT_UOM_ID VARCHAR2(20)  ,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  SALES_CHANNEL_ENUM_ID VARCHAR2(20)  ,
  FULFILL_CONTACT_MECH_ID VARCHAR2(20)  ,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  OPEN_DATE_TIME VARCHAR2(255) ,
  CLOSED_DATE_TIME VARCHAR2(255) ,
  INTERNAL_COMMENT VARCHAR2(255)  ,
  REASON VARCHAR2(255)  ,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_ATTRIBUTE (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_CATEGORY (
  CUST_REQUEST_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  CUST_REQUEST_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_COMM_EVENT (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  COMMUNICATION_EVENT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_CONTENT (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_ITEM (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  CUST_REQUEST_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  CUST_REQUEST_RESOLUTION_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  PRIORITY NUMBER NULL,
  SEQUENCE_NUM NUMBER NULL,
  REQUIRED_BY_DATE VARCHAR2(255) ,
  PRODUCT_ID VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  SELECTED_AMOUNT NUMBER NULL,
  MAXIMUM_AMOUNT NUMBER NULL,
  RESERV_START VARCHAR2(255) ,
  RESERV_LENGTH NUMBER NULL,
  RESERV_PERSONS NUMBER NULL,
  CONFIG_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  STORY VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_ITEM_NOTE (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  CUST_REQUEST_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  NOTE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_ITEM_WORK_EFFORT (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  CUST_REQUEST_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_NOTE (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  NOTE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_PARTY (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_RESOLUTION (
  CUST_REQUEST_RESOLUTION_ID VARCHAR2(20)  NOT NULL,
  CUST_REQUEST_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_ROLE (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_STATUS (
  CUST_REQUEST_STATUS_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  ,
  CUST_REQUEST_ID VARCHAR2(20)  ,
  CUST_REQUEST_ITEM_SEQ_ID VARCHAR2(20)  ,
  STATUS_DATETIME VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_TYPE (
  CUST_REQUEST_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  PARTY_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_TYPE_ATTR (
  CUST_REQUEST_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE CUST_REQUEST_WORK_EFFORT (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DATA_CATEGORY (
  DATA_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  PARENT_CATEGORY_ID VARCHAR2(20)  ,
  CATEGORY_NAME VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DATA_RESOURCE (
  DATA_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  DATA_RESOURCE_TYPE_ID VARCHAR2(20)  ,
  DATA_TEMPLATE_TYPE_ID VARCHAR2(20)  ,
  DATA_CATEGORY_ID VARCHAR2(20)  ,
  DATA_SOURCE_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  DATA_RESOURCE_NAME VARCHAR2(100)  ,
  LOCALE_STRING VARCHAR2(10)  ,
  MIME_TYPE_ID VARCHAR2(250)  ,
  COLNAME VARCHAR2(1) NULL,
  OBJECT_INFO VARCHAR2(255)  ,
  SURVEY_ID VARCHAR2(20)  ,
  SURVEY_RESPONSE_ID VARCHAR2(20)  ,
  RELATED_DETAIL_ID VARCHAR2(20)  ,
  IS_PUBLIC VARCHAR2(1) NULL,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DATA_RESOURCE_ATTRIBUTE (
  DATA_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DATA_RESOURCE_META_DATA (
  DATA_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  META_DATA_PREDICATE_ID VARCHAR2(20)  NOT NULL,
  META_DATA_VALUE VARCHAR2(255)  ,
  DATA_SOURCE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DATA_RESOURCE_PURPOSE (
  DATA_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  CONTENT_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DATA_RESOURCE_ROLE (
  DATA_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DATA_RESOURCE_TYPE (
  DATA_RESOURCE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DATA_RESOURCE_TYPE_ATTR (
  DATA_RESOURCE_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DATA_SOURCE (
  DATA_SOURCE_ID VARCHAR2(20)  NOT NULL,
  DATA_SOURCE_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DATA_SOURCE_TYPE (
  DATA_SOURCE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DATA_TEMPLATE_TYPE (
  DATA_TEMPLATE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  EXTENSION VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DEDUCTION (
  DEDUCTION_ID VARCHAR2(20)  NOT NULL,
  DEDUCTION_TYPE_ID VARCHAR2(20)  ,
  PAYMENT_ID VARCHAR2(20)  ,
  AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DEDUCTION_TYPE (
  DEDUCTION_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DELIVERABLE (
  DELIVERABLE_ID VARCHAR2(20)  NOT NULL,
  DELIVERABLE_TYPE_ID VARCHAR2(20)  ,
  DELIVERABLE_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DELIVERABLE_TYPE (
  DELIVERABLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DELIVERY (
  DELIVERY_ID VARCHAR2(20)  NOT NULL,
  ORIGIN_FACILITY_ID VARCHAR2(20)  ,
  DEST_FACILITY_ID VARCHAR2(20)  ,
  ACTUAL_START_DATE VARCHAR2(255) ,
  ACTUAL_ARRIVAL_DATE VARCHAR2(255) ,
  ESTIMATED_START_DATE VARCHAR2(255) ,
  ESTIMATED_ARRIVAL_DATE VARCHAR2(255) ,
  FIXED_ASSET_ID VARCHAR2(20)  ,
  START_MILEAGE NUMBER NULL,
  END_MILEAGE NUMBER NULL,
  FUEL_USED NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DESIRED_FEATURE (
  DESIRED_FEATURE_ID VARCHAR2(20)  NOT NULL,
  REQUIREMENT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_ID VARCHAR2(20)  ,
  OPTIONAL_IND VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DOCUMENT (
  DOCUMENT_ID VARCHAR2(20)  NOT NULL,
  DOCUMENT_TYPE_ID VARCHAR2(20)  ,
  DATE_CREATED VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  DOCUMENT_LOCATION VARCHAR2(255)  ,
  DOCUMENT_TEXT VARCHAR2(255)  ,
  IMAGE_DATA VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DOCUMENT_ATTRIBUTE (
  DOCUMENT_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DOCUMENT_TYPE (
  DOCUMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE DOCUMENT_TYPE_ATTR (
  DOCUMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EFT_ACCOUNT (
  PAYMENT_METHOD_ID VARCHAR2(20)  NOT NULL,
  BANK_NAME VARCHAR2(100)  ,
  ROUTING_NUMBER VARCHAR2(60)  ,
  ACCOUNT_TYPE VARCHAR2(60)  ,
  ACCOUNT_NUMBER VARCHAR2(255)  ,
  NAME_ON_ACCOUNT VARCHAR2(100)  ,
  COMPANY_NAME_ON_ACCOUNT VARCHAR2(100)  ,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  YEARS_AT_BANK NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ELECTRONIC_TEXT (
  DATA_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  TEXT_DATA VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMAIL_ADDRESS_VERIFICATION (
  EMAIL_ADDRESS VARCHAR2(250)  NOT NULL,
  VERIFY_HASH VARCHAR2(255)  ,
  EXPIRE_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMAIL_TEMPLATE_SETTING (
  EMAIL_TEMPLATE_SETTING_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  BODY_SCREEN_LOCATION VARCHAR2(255)  ,
  XSLFO_ATTACH_SCREEN_LOCATION VARCHAR2(255)  ,
  FROM_ADDRESS VARCHAR2(255)  ,
  CC_ADDRESS VARCHAR2(255)  ,
  BCC_ADDRESS VARCHAR2(255)  ,
  SUBJECT VARCHAR2(255)  ,
  CONTENT_TYPE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPLOYMENT (
  ROLE_TYPE_ID_FROM VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID_TO VARCHAR2(20)  NOT NULL,
  PARTY_ID_FROM VARCHAR2(20)  NOT NULL,
  PARTY_ID_TO VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  TERMINATION_REASON_ID VARCHAR2(20)  ,
  TERMINATION_TYPE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPLOYMENT_APP (
  APPLICATION_ID VARCHAR2(20)  NOT NULL,
  EMPL_POSITION_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  EMPLOYMENT_APP_SOURCE_TYPE_ID VARCHAR2(20)  ,
  APPLYING_PARTY_ID VARCHAR2(20)  ,
  REFERRED_BY_PARTY_ID VARCHAR2(20)  ,
  APPLICATION_DATE VARCHAR2(255) ,
  APPROVER_PARTY_ID VARCHAR2(20)  ,
  JOB_REQUISITION_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPLOYMENT_APP_SOURCE_TYPE (
  EMPLOYMENT_APP_SOURCE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_LEAVE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  LEAVE_TYPE_ID VARCHAR2(20)  NOT NULL,
  EMPL_LEAVE_REASON_TYPE_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  APPROVER_PARTY_ID VARCHAR2(20)  ,
  LEAVE_STATUS VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_LEAVE_REASON_TYPE (
  EMPL_LEAVE_REASON_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_LEAVE_TYPE (
  LEAVE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_POSITION (
  EMPL_POSITION_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  BUDGET_ID VARCHAR2(20)  ,
  BUDGET_ITEM_SEQ_ID VARCHAR2(20)  ,
  EMPL_POSITION_TYPE_ID VARCHAR2(20)  ,
  ESTIMATED_FROM_DATE VARCHAR2(255) ,
  ESTIMATED_THRU_DATE VARCHAR2(255) ,
  SALARY_FLAG VARCHAR2(1) NULL,
  EXEMPT_FLAG VARCHAR2(1) NULL,
  FULLTIME_FLAG VARCHAR2(1) NULL,
  TEMPORARY_FLAG VARCHAR2(1) NULL,
  ACTUAL_FROM_DATE VARCHAR2(255) ,
  ACTUAL_THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_POSITION_CLASS_TYPE (
  EMPL_POSITION_CLASS_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_POSITION_FULFILLMENT (
  EMPL_POSITION_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_POSITION_REPORTING_STRUCT (
  EMPL_POSITION_ID_REPORTING_TO VARCHAR2(20)  NOT NULL,
  EMPL_POSITION_ID_MANAGED_BY VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  PRIMARY_FLAG VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_POSITION_RESPONSIBILITY (
  EMPL_POSITION_ID VARCHAR2(20)  NOT NULL,
  RESPONSIBILITY_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_POSITION_TYPE (
  EMPL_POSITION_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_POSITION_TYPE_CLASS (
  EMPL_POSITION_TYPE_ID VARCHAR2(20)  NOT NULL,
  EMPL_POSITION_CLASS_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  STANDARD_HOURS_PER_WEEK NUMBER ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_POSITION_TYPE_RATE (
  EMPL_POSITION_TYPE_ID VARCHAR2(20)  NOT NULL,
  PERIOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  PAY_GRADE_ID VARCHAR2(20)  ,
  SALARY_STEP_SEQ_ID VARCHAR2(20)  ,
  RATE_TYPE_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  RATE VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE EMPL_POSITION_TYPE_RATE_NEW (
  EMPL_POSITION_TYPE_ID VARCHAR2(20)  NOT NULL,
  RATE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PAY_GRADE_ID VARCHAR2(20)  ,
  SALARY_STEP_SEQ_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ENTITY_AUDIT_LOG (
  AUDIT_HISTORY_SEQ_ID VARCHAR2(20)  NOT NULL,
  CHANGED_ENTITY_NAME VARCHAR2(255)  ,
  CHANGED_FIELD_NAME VARCHAR2(255)  ,
  PK_COMBINED_VALUE_TEXT VARCHAR2(255)  ,
  OLD_VALUE_TEXT VARCHAR2(255)  ,
  NEW_VALUE_TEXT VARCHAR2(255)  ,
  CHANGED_DATE VARCHAR2(255) ,
  CHANGED_BY_INFO VARCHAR2(255)  ,
  CHANGED_SESSION_INFO VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ENTITY_GROUP (
  ENTITY_GROUP_ID VARCHAR2(20)  NOT NULL,
  ENTITY_GROUP_NAME VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ENTITY_GROUP_ENTRY (
  ENTITY_GROUP_ID VARCHAR2(20)  NOT NULL,
  ENTITY_OR_PACKAGE VARCHAR2(255)  NOT NULL,
  APPL_ENUM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ENTITY_KEY_STORE (
  KEY_NAME VARCHAR2(250)  NOT NULL,
  KEY_TEXT VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ENTITY_SYNC (
  ENTITY_SYNC_ID VARCHAR2(20)  NOT NULL,
  RUN_STATUS_ID VARCHAR2(20)  ,
  LAST_SUCCESSFUL_SYNCH_TIME VARCHAR2(255) ,
  LAST_HISTORY_START_DATE VARCHAR2(255) ,
  PRE_OFFLINE_SYNCH_TIME VARCHAR2(255) ,
  OFFLINE_SYNC_SPLIT_MILLIS NUMBER NULL,
  SYNC_SPLIT_MILLIS NUMBER NULL,
  SYNC_END_BUFFER_MILLIS NUMBER NULL,
  MAX_RUNNING_NO_UPDATE_MILLIS NUMBER NULL,
  TARGET_SERVICE_NAME VARCHAR2(255)  ,
  TARGET_DELEGATOR_NAME VARCHAR2(255)  ,
  KEEP_REMOVE_INFO_HOURS NUMBER ,
  FOR_PULL_ONLY VARCHAR2(1) NULL,
  FOR_PUSH_ONLY VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ENTITY_SYNC_HISTORY (
  ENTITY_SYNC_ID VARCHAR2(20)  NOT NULL,
  START_DATE VARCHAR2(255) NOT NULL,
  RUN_STATUS_ID VARCHAR2(20)  ,
  BEGINNING_SYNCH_TIME VARCHAR2(255) ,
  LAST_SUCCESSFUL_SYNCH_TIME VARCHAR2(255) ,
  LAST_CANDIDATE_END_TIME VARCHAR2(255) ,
  LAST_SPLIT_START_TIME NUMBER NULL,
  TO_CREATE_INSERTED NUMBER NULL,
  TO_CREATE_UPDATED NUMBER NULL,
  TO_CREATE_NOT_UPDATED NUMBER NULL,
  TO_STORE_INSERTED NUMBER NULL,
  TO_STORE_UPDATED NUMBER NULL,
  TO_STORE_NOT_UPDATED NUMBER NULL,
  TO_REMOVE_DELETED NUMBER NULL,
  TO_REMOVE_ALREADY_DELETED NUMBER NULL,
  TOTAL_ROWS_EXPORTED NUMBER NULL,
  TOTAL_ROWS_TO_CREATE NUMBER NULL,
  TOTAL_ROWS_TO_STORE NUMBER NULL,
  TOTAL_ROWS_TO_REMOVE NUMBER NULL,
  TOTAL_SPLITS NUMBER NULL,
  TOTAL_STORE_CALLS NUMBER NULL,
  RUNNING_TIME_MILLIS NUMBER NULL,
  PER_SPLIT_MIN_MILLIS NUMBER NULL,
  PER_SPLIT_MAX_MILLIS NUMBER NULL,
  PER_SPLIT_MIN_ITEMS NUMBER NULL,
  PER_SPLIT_MAX_ITEMS NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ENTITY_SYNC_INCLUDE (
  ENTITY_SYNC_ID VARCHAR2(20)  NOT NULL,
  ENTITY_OR_PACKAGE VARCHAR2(255)  NOT NULL,
  APPL_ENUM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ENTITY_SYNC_INCLUDE_GROUP (
  ENTITY_SYNC_ID VARCHAR2(20)  NOT NULL,
  ENTITY_GROUP_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ENTITY_SYNC_REMOVE (
  ENTITY_SYNC_REMOVE_ID VARCHAR2(20)  NOT NULL,
  PRIMARY_KEY_REMOVED VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ENUMERATION (
  ENUM_ID VARCHAR2(20)  NOT NULL,
  ENUM_TYPE_ID VARCHAR2(20)  ,
  ENUM_CODE VARCHAR2(60)  ,
  SEQUENCE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ENUMERATION_TYPE (
  ENUM_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY (
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  FACILITY_TYPE_ID VARCHAR2(20)  ,
  PARENT_FACILITY_ID VARCHAR2(20)  ,
  OWNER_PARTY_ID VARCHAR2(20)  ,
  DEFAULT_INVENTORY_ITEM_TYPE_ID VARCHAR2(20)  ,
  FACILITY_NAME VARCHAR2(100)  ,
  PRIMARY_FACILITY_GROUP_ID VARCHAR2(20)  ,
  SQUARE_FOOTAGE NUMBER NULL,
  FACILITY_SIZE NUMBER NULL,
  FACILITY_SIZE_UOM_ID VARCHAR2(20)  ,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  DEFAULT_DAYS_TO_SHIP NUMBER NULL,
  OPENED_DATE VARCHAR2(255) ,
  CLOSED_DATE VARCHAR2(255) ,
  DESCRIPTION VARCHAR2(255)  ,
  DEFAULT_DIMENSION_UOM_ID VARCHAR2(20)  ,
  DEFAULT_WEIGHT_UOM_ID VARCHAR2(20)  ,
  GEO_POINT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_ATTRIBUTE (
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_CARRIER_SHIPMENT (
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_METHOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_CONTACT_MECH (
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  EXTENSION VARCHAR2(10)  ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_CONTACT_MECH_PURPOSE (
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_CONTENT (
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_GROUP (
  FACILITY_GROUP_ID VARCHAR2(20)  NOT NULL,
  FACILITY_GROUP_TYPE_ID VARCHAR2(20)  ,
  PRIMARY_PARENT_GROUP_ID VARCHAR2(20)  ,
  FACILITY_GROUP_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_GROUP_MEMBER (
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  FACILITY_GROUP_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_GROUP_ROLE (
  FACILITY_GROUP_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_GROUP_ROLLUP (
  FACILITY_GROUP_ID VARCHAR2(20)  NOT NULL,
  PARENT_FACILITY_GROUP_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_GROUP_TYPE (
  FACILITY_GROUP_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_LOCATION (
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  LOCATION_SEQ_ID VARCHAR2(20)  NOT NULL,
  LOCATION_TYPE_ENUM_ID VARCHAR2(20)  ,
  AREA_ID VARCHAR2(20)  ,
  AISLE_ID VARCHAR2(20)  ,
  SECTION_ID VARCHAR2(20)  ,
  LEVEL_ID VARCHAR2(20)  ,
  POSITION_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_LOCATION_GEO_POINT (
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  LOCATION_SEQ_ID VARCHAR2(20)  NOT NULL,
  GEO_POINT_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_PARTY (
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_ROLE (
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_TYPE (
  FACILITY_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FACILITY_TYPE_ATTR (
  FACILITY_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FILE_EXTENSION (
  FILE_EXTENSION_ID VARCHAR2(60)  NOT NULL,
  MIME_TYPE_ID VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT (
  FIN_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  FIN_ACCOUNT_TYPE_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  FIN_ACCOUNT_NAME VARCHAR2(100)  ,
  FIN_ACCOUNT_CODE VARCHAR2(255)  ,
  FIN_ACCOUNT_PIN VARCHAR2(255)  ,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  ,
  OWNER_PARTY_ID VARCHAR2(20)  ,
  POST_TO_GL_ACCOUNT_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  IS_REFUNDABLE VARCHAR2(1) NULL,
  REPLENISH_PAYMENT_ID VARCHAR2(20)  ,
  REPLENISH_LEVEL NUMBER NULL,
  ACTUAL_BALANCE NUMBER NULL,
  AVAILABLE_BALANCE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT_ATTRIBUTE (
  FIN_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT_AUTH (
  FIN_ACCOUNT_AUTH_ID VARCHAR2(20)  NOT NULL,
  FIN_ACCOUNT_ID VARCHAR2(20)  ,
  AMOUNT NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  AUTHORIZATION_DATE VARCHAR2(255) ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT_ROLE (
  FIN_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT_STATUS (
  FIN_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  NOT NULL,
  STATUS_DATE VARCHAR2(255) NOT NULL,
  STATUS_END_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT_TRANS (
  FIN_ACCOUNT_TRANS_ID VARCHAR2(20)  NOT NULL,
  FIN_ACCOUNT_TRANS_TYPE_ID VARCHAR2(20)  ,
  FIN_ACCOUNT_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  GL_RECONCILIATION_ID VARCHAR2(20)  ,
  TRANSACTION_DATE VARCHAR2(255) ,
  ENTRY_DATE VARCHAR2(255) ,
  AMOUNT NUMBER NULL,
  PAYMENT_ID VARCHAR2(20)  ,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  PERFORMED_BY_PARTY_ID VARCHAR2(20)  ,
  REASON_ENUM_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  STATUS_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT_TRANS_ATTRIBUTE (
  FIN_ACCOUNT_TRANS_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT_TRANS_TYPE (
  FIN_ACCOUNT_TRANS_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT_TRANS_TYPE_ATTR (
  FIN_ACCOUNT_TRANS_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT_TYPE (
  FIN_ACCOUNT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  REPLENISH_ENUM_ID VARCHAR2(20)  ,
  IS_REFUNDABLE VARCHAR2(1) NULL,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT_TYPE_ATTR (
  FIN_ACCOUNT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIN_ACCOUNT_TYPE_GL_ACCOUNT (
  FIN_ACCOUNT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET (
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  FIXED_ASSET_TYPE_ID VARCHAR2(20)  ,
  PARENT_FIXED_ASSET_ID VARCHAR2(20)  ,
  INSTANCE_OF_PRODUCT_ID VARCHAR2(20)  ,
  CLASS_ENUM_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  FIXED_ASSET_NAME VARCHAR2(100)  ,
  ACQUIRE_ORDER_ID VARCHAR2(20)  ,
  ACQUIRE_ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  DATE_ACQUIRED VARCHAR2(255) ,
  DATE_LAST_SERVICED VARCHAR2(255) ,
  DATE_NEXT_SERVICE VARCHAR2(255) ,
  EXPECTED_END_OF_LIFE VARCHAR2(255) ,
  ACTUAL_END_OF_LIFE VARCHAR2(255) ,
  PRODUCTION_CAPACITY NUMBER NULL,
  UOM_ID VARCHAR2(20)  ,
  CALENDAR_ID VARCHAR2(20)  ,
  SERIAL_NUMBER VARCHAR2(255)  ,
  LOCATED_AT_FACILITY_ID VARCHAR2(20)  ,
  LOCATED_AT_LOCATION_SEQ_ID VARCHAR2(20)  ,
  SALVAGE_VALUE NUMBER NULL,
  DEPRECIATION NUMBER NULL,
  PURCHASE_COST NUMBER NULL,
  PURCHASE_COST_UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_ATTRIBUTE (
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_DEP_METHOD (
  DEPRECIATION_CUSTOM_METHOD_ID VARCHAR2(20)  NOT NULL,
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_GEO_POINT (
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  GEO_POINT_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_IDENT (
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  FIXED_ASSET_IDENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ID_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_IDENT_TYPE (
  FIXED_ASSET_IDENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_MAINT (
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  MAINT_HIST_SEQ_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  ,
  PRODUCT_MAINT_TYPE_ID VARCHAR2(20)  ,
  PRODUCT_MAINT_SEQ_ID VARCHAR2(20)  ,
  SCHEDULE_WORK_EFFORT_ID VARCHAR2(20)  ,
  INTERVAL_QUANTITY NUMBER NULL,
  INTERVAL_UOM_ID VARCHAR2(20)  ,
  INTERVAL_METER_TYPE_ID VARCHAR2(20)  ,
  PURCHASE_ORDER_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_MAINT_METER (
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  MAINT_HIST_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_METER_TYPE_ID VARCHAR2(20)  NOT NULL,
  METER_VALUE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_MAINT_ORDER (
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  MAINT_HIST_SEQ_ID VARCHAR2(20)  NOT NULL,
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_METER (
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_METER_TYPE_ID VARCHAR2(20)  NOT NULL,
  READING_DATE VARCHAR2(255) NOT NULL,
  METER_VALUE NUMBER NULL,
  READING_REASON_ENUM_ID VARCHAR2(20)  ,
  MAINT_HIST_SEQ_ID VARCHAR2(20)  ,
  WORK_EFFORT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_PRODUCT (
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  FIXED_ASSET_PRODUCT_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  SEQUENCE_NUM NUMBER NULL,
  QUANTITY NUMBER NULL,
  QUANTITY_UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_PRODUCT_TYPE (
  FIXED_ASSET_PRODUCT_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_REGISTRATION (
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  REGISTRATION_DATE VARCHAR2(255) ,
  GOV_AGENCY_PARTY_ID VARCHAR2(20)  ,
  REGISTRATION_NUMBER VARCHAR2(255)  ,
  LICENSE_NUMBER VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_STD_COST (
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  FIXED_ASSET_STD_COST_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  AMOUNT_UOM_ID VARCHAR2(20)  ,
  AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_STD_COST_TYPE (
  FIXED_ASSET_STD_COST_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_TYPE (
  FIXED_ASSET_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_TYPE_ATTR (
  FIXED_ASSET_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE FIXED_ASSET_TYPE_GL_ACCOUNT (
  FIXED_ASSET_TYPE_ID VARCHAR2(20)  NOT NULL,
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  ASSET_GL_ACCOUNT_ID VARCHAR2(20)  ,
  ACC_DEP_GL_ACCOUNT_ID VARCHAR2(20)  ,
  DEP_GL_ACCOUNT_ID VARCHAR2(20)  ,
  PROFIT_GL_ACCOUNT_ID VARCHAR2(20)  ,
  LOSS_GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GEO (
  GEO_ID VARCHAR2(20)  NOT NULL,
  GEO_TYPE_ID VARCHAR2(20)  ,
  GEO_NAME VARCHAR2(100)  ,
  GEO_CODE VARCHAR2(60)  ,
  GEO_SEC_CODE VARCHAR2(60)  ,
  ABBREVIATION VARCHAR2(60)  ,
  WELL_KNOWN_TEXT VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GEO_ASSOC (
  GEO_ID VARCHAR2(20)  NOT NULL,
  GEO_ID_TO VARCHAR2(20)  NOT NULL,
  GEO_ASSOC_TYPE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GEO_ASSOC_TYPE (
  GEO_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GEO_POINT (
  GEO_POINT_ID VARCHAR2(20)  NOT NULL,
  DATA_SOURCE_ID VARCHAR2(20)  ,
  LATITUDE VARCHAR2(60)  NOT NULL,
  LONGITUDE VARCHAR2(60)  NOT NULL,
  ELEVATION NUMBER NULL,
  ELEVATION_UOM_ID VARCHAR2(20)  ,
  INFORMATION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GEO_TYPE (
  GEO_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GIFT_CARD (
  PAYMENT_METHOD_ID VARCHAR2(20)  NOT NULL,
  CARD_NUMBER VARCHAR2(255)  ,
  PIN_NUMBER VARCHAR2(255)  ,
  EXPIRE_DATE VARCHAR2(20)  ,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GIFT_CARD_FULFILLMENT (
  FULFILLMENT_ID VARCHAR2(20)  NOT NULL,
  TYPE_ENUM_ID VARCHAR2(20)  ,
  MERCHANT_ID VARCHAR2(250)  ,
  PARTY_ID VARCHAR2(20)  ,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  SURVEY_RESPONSE_ID VARCHAR2(20)  ,
  CARD_NUMBER VARCHAR2(255)  ,
  PIN_NUMBER VARCHAR2(255)  ,
  AMOUNT NUMBER NULL,
  RESPONSE_CODE VARCHAR2(60)  ,
  REFERENCE_NUM VARCHAR2(60)  ,
  AUTH_CODE VARCHAR2(60)  ,
  FULFILLMENT_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT (
  GL_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_TYPE_ID VARCHAR2(20)  ,
  GL_ACCOUNT_CLASS_ID VARCHAR2(20)  ,
  GL_RESOURCE_TYPE_ID VARCHAR2(20)  ,
  GL_XBRL_CLASS_ID VARCHAR2(20)  ,
  PARENT_GL_ACCOUNT_ID VARCHAR2(20)  ,
  ACCOUNT_CODE VARCHAR2(100)  ,
  ACCOUNT_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  EXTERNAL_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_CATEGORY (
  GL_ACCOUNT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_CATEGORY_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_CATEGORY_MEMBER (
  GL_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  AMOUNT_PERCENTAGE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_CATEGORY_TYPE (
  GL_ACCOUNT_CATEGORY_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_CLASS (
  GL_ACCOUNT_CLASS_ID VARCHAR2(20)  NOT NULL,
  PARENT_CLASS_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  IS_ASSET_CLASS VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_GROUP (
  GL_ACCOUNT_GROUP_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_GROUP_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_GROUP_MEMBER (
  GL_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_GROUP_TYPE_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_GROUP_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_GROUP_TYPE (
  GL_ACCOUNT_GROUP_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_HISTORY (
  GL_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  CUSTOM_TIME_PERIOD_ID VARCHAR2(20)  NOT NULL,
  OPENING_BALANCE NUMBER NULL,
  POSTED_DEBITS NUMBER NULL,
  POSTED_CREDITS NUMBER NULL,
  ENDING_BALANCE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_ORGANIZATION (
  GL_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_ROLE (
  GL_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_TYPE (
  GL_ACCOUNT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_ACCOUNT_TYPE_DEFAULT (
  GL_ACCOUNT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_BUDGET_XREF (
  GL_ACCOUNT_ID VARCHAR2(20)  NOT NULL,
  BUDGET_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  ALLOCATION_PERCENTAGE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_FISCAL_TYPE (
  GL_FISCAL_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_JOURNAL (
  GL_JOURNAL_ID VARCHAR2(20)  NOT NULL,
  GL_JOURNAL_NAME VARCHAR2(100)  ,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  ,
  IS_POSTED VARCHAR2(1) NULL,
  POSTED_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_RECONCILIATION (
  GL_RECONCILIATION_ID VARCHAR2(20)  NOT NULL,
  GL_RECONCILIATION_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  ,
  RECONCILED_BALANCE NUMBER NULL,
  OPENING_BALANCE NUMBER NULL,
  RECONCILED_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_RECONCILIATION_ENTRY (
  GL_RECONCILIATION_ID VARCHAR2(20)  NOT NULL,
  ACCTG_TRANS_ID VARCHAR2(20)  NOT NULL,
  ACCTG_TRANS_ENTRY_SEQ_ID VARCHAR2(20)  NOT NULL,
  RECONCILED_AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_RESOURCE_TYPE (
  GL_RESOURCE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GL_XBRL_CLASS (
  GL_XBRL_CLASS_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GOOD_IDENTIFICATION (
  GOOD_IDENTIFICATION_TYPE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  ID_VALUE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE GOOD_IDENTIFICATION_TYPE (
  GOOD_IDENTIFICATION_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE IMAGE_DATA_RESOURCE (
  DATA_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  IMAGE_DATA VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVENTORY_ITEM (
  INVENTORY_ITEM_ID VARCHAR2(20)  NOT NULL,
  INVENTORY_ITEM_TYPE_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  OWNER_PARTY_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  DATETIME_RECEIVED VARCHAR2(255) ,
  DATETIME_MANUFACTURED VARCHAR2(255) ,
  EXPIRE_DATE VARCHAR2(255) ,
  FACILITY_ID VARCHAR2(20)  ,
  CONTAINER_ID VARCHAR2(20)  ,
  LOT_ID VARCHAR2(20)  ,
  UOM_ID VARCHAR2(20)  ,
  BIN_NUMBER VARCHAR2(20)  ,
  LOCATION_SEQ_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  QUANTITY_ON_HAND_TOTAL NUMBER NULL,
  AVAILABLE_TO_PROMISE_TOTAL NUMBER NULL,
  ACCOUNTING_QUANTITY_TOTAL NUMBER NULL,
  QUANTITY_ON_HAND NUMBER NULL,
  AVAILABLE_TO_PROMISE NUMBER NULL,
  SERIAL_NUMBER VARCHAR2(255)  ,
  SOFT_IDENTIFIER VARCHAR2(255)  ,
  ACTIVATION_NUMBER VARCHAR2(255)  ,
  ACTIVATION_VALID_THRU VARCHAR2(255) ,
  UNIT_COST NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  FIXED_ASSET_ID VARCHAR2(20)  ) ;
CREATE TABLE INVENTORY_ITEM_ATTRIBUTE (
  INVENTORY_ITEM_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVENTORY_ITEM_DETAIL (
  INVENTORY_ITEM_ID VARCHAR2(20)  NOT NULL,
  INVENTORY_ITEM_DETAIL_SEQ_ID VARCHAR2(20)  NOT NULL,
  EFFECTIVE_DATE VARCHAR2(255) ,
  QUANTITY_ON_HAND_DIFF NUMBER NULL,
  AVAILABLE_TO_PROMISE_DIFF NUMBER NULL,
  ACCOUNTING_QUANTITY_DIFF NUMBER NULL,
  UNIT_COST NUMBER NULL,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  ,
  SHIPMENT_ID VARCHAR2(20)  ,
  SHIPMENT_ITEM_SEQ_ID VARCHAR2(20)  ,
  RETURN_ID VARCHAR2(20)  ,
  RETURN_ITEM_SEQ_ID VARCHAR2(20)  ,
  WORK_EFFORT_ID VARCHAR2(20)  ,
  FIXED_ASSET_ID VARCHAR2(20)  ,
  MAINT_HIST_SEQ_ID VARCHAR2(20)  ,
  ITEM_ISSUANCE_ID VARCHAR2(20)  ,
  RECEIPT_ID VARCHAR2(20)  ,
  PHYSICAL_INVENTORY_ID VARCHAR2(20)  ,
  REASON_ENUM_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVENTORY_ITEM_LABEL (
  INVENTORY_ITEM_LABEL_ID VARCHAR2(20)  NOT NULL,
  INVENTORY_ITEM_LABEL_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVENTORY_ITEM_LABEL_APPL (
  INVENTORY_ITEM_ID VARCHAR2(20)  NOT NULL,
  INVENTORY_ITEM_LABEL_TYPE_ID VARCHAR2(20)  NOT NULL,
  INVENTORY_ITEM_LABEL_ID VARCHAR2(20)  ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVENTORY_ITEM_LABEL_TYPE (
  INVENTORY_ITEM_LABEL_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVENTORY_ITEM_STATUS (
  INVENTORY_ITEM_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  NOT NULL,
  STATUS_DATETIME VARCHAR2(255) NOT NULL,
  STATUS_END_DATETIME VARCHAR2(255) ,
  OWNER_PARTY_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVENTORY_ITEM_TEMP_RES (
  VISIT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  QUANTITY NUMBER NULL,
  RESERVED_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVENTORY_ITEM_TYPE (
  INVENTORY_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVENTORY_ITEM_TYPE_ATTR (
  INVENTORY_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVENTORY_ITEM_VARIANCE (
  INVENTORY_ITEM_ID VARCHAR2(20)  NOT NULL,
  PHYSICAL_INVENTORY_ID VARCHAR2(20)  NOT NULL,
  VARIANCE_REASON_ID VARCHAR2(20)  ,
  AVAILABLE_TO_PROMISE_VAR NUMBER NULL,
  QUANTITY_ON_HAND_VAR NUMBER NULL,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVENTORY_TRANSFER (
  INVENTORY_TRANSFER_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  ,
  INVENTORY_ITEM_ID VARCHAR2(20)  ,
  FACILITY_ID VARCHAR2(20)  ,
  LOCATION_SEQ_ID VARCHAR2(20)  ,
  CONTAINER_ID VARCHAR2(20)  ,
  FACILITY_ID_TO VARCHAR2(20)  ,
  LOCATION_SEQ_ID_TO VARCHAR2(20)  ,
  CONTAINER_ID_TO VARCHAR2(20)  ,
  ITEM_ISSUANCE_ID VARCHAR2(20)  ,
  SEND_DATE VARCHAR2(255) ,
  RECEIVE_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE (
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  INVOICE_TYPE_ID VARCHAR2(20)  ,
  PARTY_ID_FROM VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  BILLING_ACCOUNT_ID VARCHAR2(20)  ,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  INVOICE_DATE VARCHAR2(255) ,
  DUE_DATE VARCHAR2(255) ,
  PAID_DATE VARCHAR2(255) ,
  INVOICE_MESSAGE VARCHAR2(255)  ,
  REFERENCE_NUMBER VARCHAR2(60)  ,
  DESCRIPTION VARCHAR2(255)  ,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  RECURRENCE_INFO_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_ATTRIBUTE (
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_CONTACT_MECH (
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_CONTENT (
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  INVOICE_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_CONTENT_TYPE (
  INVOICE_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_ITEM (
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_TYPE_ID VARCHAR2(20)  ,
  OVERRIDE_GL_ACCOUNT_ID VARCHAR2(20)  ,
  OVERRIDE_ORG_PARTY_ID VARCHAR2(20)  ,
  INVENTORY_ITEM_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  PRODUCT_FEATURE_ID VARCHAR2(20)  ,
  PARENT_INVOICE_ID VARCHAR2(20)  ,
  PARENT_INVOICE_ITEM_SEQ_ID VARCHAR2(20)  ,
  UOM_ID VARCHAR2(20)  ,
  TAXABLE_FLAG VARCHAR2(1) NULL,
  QUANTITY NUMBER NULL,
  AMOUNT NUMBER NULL,
  DESCRIPTION VARCHAR2(255)  ,
  TAX_AUTH_PARTY_ID VARCHAR2(20)  ,
  TAX_AUTH_GEO_ID VARCHAR2(20)  ,
  TAX_AUTHORITY_RATE_SEQ_ID VARCHAR2(20)  ,
  SALES_OPPORTUNITY_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_ITEM_ASSOC (
  INVOICE_ID_FROM VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_SEQ_ID_FROM VARCHAR2(20)  NOT NULL,
  INVOICE_ID_TO VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_SEQ_ID_TO VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  PARTY_ID_FROM VARCHAR2(20)  ,
  PARTY_ID_TO VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_ITEM_ASSOC_TYPE (
  INVOICE_ITEM_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_ITEM_ATTRIBUTE (
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_ITEM_TYPE (
  INVOICE_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  DEFAULT_GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_ITEM_TYPE_ATTR (
  INVOICE_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_ITEM_TYPE_GL_ACCOUNT (
  INVOICE_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_ITEM_TYPE_MAP (
  INVOICE_ITEM_MAP_KEY VARCHAR2(20)  NOT NULL,
  INVOICE_TYPE_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_TYPE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_NOTE (
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  NOTE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_ROLE (
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DATETIME_PERFORMED VARCHAR2(255) ,
  PERCENTAGE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_STATUS (
  STATUS_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  STATUS_DATE VARCHAR2(255) NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_TERM (
  INVOICE_TERM_ID VARCHAR2(20)  NOT NULL,
  TERM_TYPE_ID VARCHAR2(20)  ,
  INVOICE_ID VARCHAR2(20)  ,
  INVOICE_ITEM_SEQ_ID VARCHAR2(20)  ,
  TERM_VALUE NUMBER NULL,
  TERM_DAYS NUMBER NULL,
  TEXT_VALUE VARCHAR2(255)  ,
  DESCRIPTION VARCHAR2(255)  ,
  UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_TERM_ATTRIBUTE (
  INVOICE_TERM_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_TYPE (
  INVOICE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE INVOICE_TYPE_ATTR (
  INVOICE_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ITEM_ISSUANCE (
  ITEM_ISSUANCE_ID VARCHAR2(20)  NOT NULL,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  ,
  INVENTORY_ITEM_ID VARCHAR2(20)  ,
  SHIPMENT_ID VARCHAR2(20)  ,
  SHIPMENT_ITEM_SEQ_ID VARCHAR2(20)  ,
  FIXED_ASSET_ID VARCHAR2(20)  ,
  MAINT_HIST_SEQ_ID VARCHAR2(20)  ,
  ISSUED_DATE_TIME VARCHAR2(255) ,
  ISSUED_BY_USER_LOGIN_ID VARCHAR2(250)  ,
  QUANTITY NUMBER NULL,
  CANCEL_QUANTITY NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ITEM_ISSUANCE_ROLE (
  ITEM_ISSUANCE_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE JOB_INTERVIEW (
  JOB_INTERVIEW_ID VARCHAR2(20)  NOT NULL,
  JOB_INTERVIEWEE_PARTY_ID VARCHAR2(20)  ,
  JOB_REQUISITION_ID VARCHAR2(20)  ,
  JOB_INTERVIEWER_PARTY_ID VARCHAR2(20)  ,
  JOB_INTERVIEW_TYPE_ID VARCHAR2(20)  ,
  GRADE_SECURED_ENUM_ID VARCHAR2(20)  ,
  JOB_INTERVIEW_RESULT VARCHAR2(20)  ,
  JOB_INTERVIEW_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE JOB_INTERVIEW_TYPE (
  JOB_INTERVIEW_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE JOB_REQUISITION (
  JOB_REQUISITION_ID VARCHAR2(20)  NOT NULL,
  DURATION_MONTHS NUMBER NULL,
  AGE NUMBER NULL,
  GENDER VARCHAR2(1) NULL,
  EXPERIENCE_MONTHS NUMBER NULL,
  EXPERIENCE_YEARS NUMBER NULL,
  QUALIFICATION VARCHAR2(60)  ,
  JOB_LOCATION VARCHAR2(20)  ,
  SKILL_TYPE_ID VARCHAR2(20)  ,
  NO_OF_RESOURCES NUMBER NULL,
  JOB_POSTING_TYPE_ENUM_ID VARCHAR2(20)  ,
  JOB_REQUISITION_DATE VARCHAR2(255) ,
  EXAM_TYPE_ENUM_ID VARCHAR2(20)  ,
  REQUIRED_ON_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE JOB_SANDBOX (
  JOB_ID VARCHAR2(20)  NOT NULL,
  JOB_NAME VARCHAR2(100)  ,
  RUN_TIME VARCHAR2(255) ,
  POOL_ID VARCHAR2(100)  ,
  STATUS_ID VARCHAR2(20)  ,
  PARENT_JOB_ID VARCHAR2(20)  ,
  PREVIOUS_JOB_ID VARCHAR2(20)  ,
  SERVICE_NAME VARCHAR2(100)  ,
  LOADER_NAME VARCHAR2(100)  ,
  MAX_RETRY NUMBER NULL,
  CURRENT_RETRY_COUNT NUMBER NULL,
  AUTH_USER_LOGIN_ID VARCHAR2(250)  ,
  RUN_AS_USER VARCHAR2(250)  ,
  RUNTIME_DATA_ID VARCHAR2(20)  ,
  RECURRENCE_INFO_ID VARCHAR2(20)  ,
  TEMP_EXPR_ID VARCHAR2(20)  ,
  CURRENT_RECURRENCE_COUNT NUMBER NULL,
  MAX_RECURRENCE_COUNT NUMBER NULL,
  RUN_BY_INSTANCE_ID VARCHAR2(20)  ,
  START_DATE_TIME VARCHAR2(255) ,
  FINISH_DATE_TIME VARCHAR2(255) ,
  CANCEL_DATE_TIME VARCHAR2(255) ,
  JOB_RESULT VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE KEYWORD_THESAURUS (
  ENTERED_KEYWORD VARCHAR2(255)  NOT NULL,
  ALTERNATE_KEYWORD VARCHAR2(255)  NOT NULL,
  RELATIONSHIP_ENUM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE LOT (
  LOT_ID VARCHAR2(20)  NOT NULL,
  CREATION_DATE VARCHAR2(255) ,
  QUANTITY NUMBER NULL,
  EXPIRATION_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE MARKETING_CAMPAIGN (
  MARKETING_CAMPAIGN_ID VARCHAR2(20)  NOT NULL,
  PARENT_CAMPAIGN_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  CAMPAIGN_NAME VARCHAR2(100)  ,
  CAMPAIGN_SUMMARY VARCHAR2(255) ,
  BUDGETED_COST NUMBER NULL,
  ACTUAL_COST NUMBER NULL,
  ESTIMATED_COST NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  IS_ACTIVE VARCHAR2(1) NULL,
  CONVERTED_LEADS VARCHAR2(20)  ,
  EXPECTED_RESPONSE_PERCENT NUMBER ,
  EXPECTED_REVENUE NUMBER NULL,
  NUM_SENT NUMBER NULL,
  START_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE MARKETING_CAMPAIGN_NOTE (
  MARKETING_CAMPAIGN_ID VARCHAR2(20)  NOT NULL,
  NOTE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE MARKETING_CAMPAIGN_PRICE (
  MARKETING_CAMPAIGN_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PRICE_RULE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE MARKETING_CAMPAIGN_PROMO (
  MARKETING_CAMPAIGN_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE MARKETING_CAMPAIGN_ROLE (
  MARKETING_CAMPAIGN_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE MARKET_INTEREST (
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  PARTY_CLASSIFICATION_GROUP_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE META_DATA_PREDICATE (
  META_DATA_PREDICATE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE MIME_TYPE (
  MIME_TYPE_ID VARCHAR2(250)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE MIME_TYPE_HTML_TEMPLATE (
  MIME_TYPE_ID VARCHAR2(250)  NOT NULL,
  TEMPLATE_LOCATION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE MRP_EVENT (
  MRP_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  EVENT_DATE VARCHAR2(255) NOT NULL,
  MRP_EVENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  FACILITY_ID VARCHAR2(20)  ,
  QUANTITY NUMBER ,
  EVENT_NAME VARCHAR2(255) ,
  IS_LATE VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE MRP_EVENT_TYPE (
  MRP_EVENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE NEED_TYPE (
  NEED_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE NOTE_DATA (
  NOTE_ID VARCHAR2(20)  NOT NULL,
  NOTE_NAME VARCHAR2(100)  ,
  NOTE_INFO VARCHAR2(255) ,
  NOTE_DATE_TIME VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  NOTE_PARTY VARCHAR2(20)  ,
  MORE_INFO_URL VARCHAR2(255)  ,
  MORE_INFO_ITEM_ID VARCHAR2(255)  ,
  MORE_INFO_ITEM_NAME VARCHAR2(255)  ) ;
CREATE TABLE ORDER_ADJUSTMENT (
  ORDER_ADJUSTMENT_ID VARCHAR2(20)  NOT NULL,
  ORDER_ADJUSTMENT_TYPE_ID VARCHAR2(20)  ,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  DESCRIPTION VARCHAR2(255)  ,
  AMOUNT NUMBER NULL,
  RECURRING_AMOUNT NUMBER NULL,
  AMOUNT_ALREADY_INCLUDED NUMBER NULL,
  PRODUCT_PROMO_ID VARCHAR2(20)  ,
  PRODUCT_PROMO_RULE_ID VARCHAR2(20)  ,
  PRODUCT_PROMO_ACTION_SEQ_ID VARCHAR2(20)  ,
  PRODUCT_FEATURE_ID VARCHAR2(20)  ,
  CORRESPONDING_PRODUCT_ID VARCHAR2(20)  ,
  TAX_AUTHORITY_RATE_SEQ_ID VARCHAR2(20)  ,
  SOURCE_REFERENCE_ID VARCHAR2(60)  ,
  SOURCE_PERCENTAGE NUMBER NULL,
  CUSTOMER_REFERENCE_ID VARCHAR2(60)  ,
  PRIMARY_GEO_ID VARCHAR2(20)  ,
  SECONDARY_GEO_ID VARCHAR2(20)  ,
  EXEMPT_AMOUNT NUMBER NULL,
  TAX_AUTH_GEO_ID VARCHAR2(20)  ,
  TAX_AUTH_PARTY_ID VARCHAR2(20)  ,
  OVERRIDE_GL_ACCOUNT_ID VARCHAR2(20)  ,
  INCLUDE_IN_TAX VARCHAR2(1) NULL,
  INCLUDE_IN_SHIPPING VARCHAR2(1) NULL,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  ORIGINAL_ADJUSTMENT_ID VARCHAR2(20)  ,
  AMOUNT_PER_QUANTITY NUMBER NULL,
  PERCENTAGE NUMBER ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ADJUSTMENT_ATTRIBUTE (
  ORDER_ADJUSTMENT_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ADJUSTMENT_BILLING (
  ORDER_ADJUSTMENT_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ADJUSTMENT_TYPE (
  ORDER_ADJUSTMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ADJUSTMENT_TYPE_ATTR (
  ORDER_ADJUSTMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ATTRIBUTE (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_BLACKLIST (
  BLACKLIST_STRING VARCHAR2(255)  NOT NULL,
  ORDER_BLACKLIST_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_BLACKLIST_TYPE (
  ORDER_BLACKLIST_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_CONTACT_MECH (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_CONTENT (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  ORDER_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_CONTENT_TYPE (
  ORDER_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_DELIVERY_SCHEDULE (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  ESTIMATED_READY_DATE VARCHAR2(255) ,
  CARTONS NUMBER NULL,
  SKIDS_PALLETS NUMBER NULL,
  UNITS_PIECES NUMBER NULL,
  TOTAL_CUBIC_SIZE NUMBER NULL,
  TOTAL_CUBIC_UOM_ID VARCHAR2(20)  ,
  TOTAL_WEIGHT NUMBER NULL,
  TOTAL_WEIGHT_UOM_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_HEADER (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_TYPE_ID VARCHAR2(20)  ,
  ORDER_NAME VARCHAR2(100)  ,
  EXTERNAL_ID VARCHAR2(20)  ,
  SALES_CHANNEL_ENUM_ID VARCHAR2(20)  ,
  ORDER_DATE VARCHAR2(255) ,
  PRIORITY VARCHAR2(1) NULL,
  ENTRY_DATE VARCHAR2(255) ,
  PICK_SHEET_PRINTED_DATE VARCHAR2(255) ,
  VISIT_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  CREATED_BY VARCHAR2(250)  ,
  FIRST_ATTEMPT_ORDER_ID VARCHAR2(20)  ,
  CURRENCY_UOM VARCHAR2(20)  ,
  SYNC_STATUS_ID VARCHAR2(20)  ,
  BILLING_ACCOUNT_ID VARCHAR2(20)  ,
  ORIGIN_FACILITY_ID VARCHAR2(20)  ,
  WEB_SITE_ID VARCHAR2(20)  ,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  TERMINAL_ID VARCHAR2(60)  ,
  TRANSACTION_ID VARCHAR2(60)  ,
  AUTO_ORDER_SHOPPING_LIST_ID VARCHAR2(20)  ,
  NEEDS_INVENTORY_ISSUANCE VARCHAR2(1) NULL,
  IS_RUSH_ORDER VARCHAR2(1) NULL,
  INTERNAL_CODE VARCHAR2(60)  ,
  REMAINING_SUB_TOTAL NUMBER NULL,
  GRAND_TOTAL NUMBER NULL,
  IS_VIEWED VARCHAR2(1) NULL,
  INVOICE_PER_SHIPMENT VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_HEADER_NOTE (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  NOTE_ID VARCHAR2(20)  NOT NULL,
  INTERNAL_NOTE VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_HEADER_WORK_EFFORT (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  EXTERNAL_ID VARCHAR2(20)  ,
  ORDER_ITEM_TYPE_ID VARCHAR2(20)  ,
  ORDER_ITEM_GROUP_SEQ_ID VARCHAR2(20)  ,
  IS_ITEM_GROUP_PRIMARY VARCHAR2(1) NULL,
  FROM_INVENTORY_ITEM_ID VARCHAR2(20)  ,
  BUDGET_ID VARCHAR2(20)  ,
  BUDGET_ITEM_SEQ_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  SUPPLIER_PRODUCT_ID VARCHAR2(60)  ,
  PRODUCT_FEATURE_ID VARCHAR2(20)  ,
  PROD_CATALOG_ID VARCHAR2(20)  ,
  PRODUCT_CATEGORY_ID VARCHAR2(20)  ,
  IS_PROMO VARCHAR2(1) NULL,
  QUOTE_ID VARCHAR2(20)  ,
  QUOTE_ITEM_SEQ_ID VARCHAR2(20)  ,
  SHOPPING_LIST_ID VARCHAR2(20)  ,
  SHOPPING_LIST_ITEM_SEQ_ID VARCHAR2(20)  ,
  SUBSCRIPTION_ID VARCHAR2(20)  ,
  DEPLOYMENT_ID VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  CANCEL_QUANTITY NUMBER NULL,
  SELECTED_AMOUNT NUMBER NULL,
  UNIT_PRICE NUMBER NULL,
  UNIT_LIST_PRICE NUMBER NULL,
  UNIT_AVERAGE_COST NUMBER NULL,
  UNIT_RECURRING_PRICE NUMBER NULL,
  IS_MODIFIED_PRICE VARCHAR2(1) NULL,
  RECURRING_FREQ_UOM_ID VARCHAR2(20)  ,
  ITEM_DESCRIPTION VARCHAR2(255)  ,
  COMMENTS VARCHAR2(255)  ,
  CORRESPONDING_PO_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  SYNC_STATUS_ID VARCHAR2(20)  ,
  ESTIMATED_SHIP_DATE VARCHAR2(255) ,
  ESTIMATED_DELIVERY_DATE VARCHAR2(255) ,
  AUTO_CANCEL_DATE VARCHAR2(255) ,
  DONT_CANCEL_SET_DATE VARCHAR2(255) ,
  DONT_CANCEL_SET_USER_LOGIN VARCHAR2(250)  ,
  SHIP_BEFORE_DATE VARCHAR2(255) ,
  SHIP_AFTER_DATE VARCHAR2(255) ,
  CANCEL_BACK_ORDER_DATE VARCHAR2(255) ,
  OVERRIDE_GL_ACCOUNT_ID VARCHAR2(20)  ,
  SALES_OPPORTUNITY_ID VARCHAR2(20)  ,
  CHANGE_BY_USER_LOGIN_ID VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_ASSOC (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  NOT NULL,
  TO_ORDER_ID VARCHAR2(20)  NOT NULL,
  TO_ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  TO_SHIP_GROUP_SEQ_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  QUANTITY NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_ASSOCIATION (
  SALES_ORDER_ID VARCHAR2(20)  NOT NULL,
  SO_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PURCHASE_ORDER_ID VARCHAR2(20)  NOT NULL,
  PO_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_ASSOC_TYPE (
  ORDER_ITEM_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_ATTRIBUTE (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_BILLING (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  ITEM_ISSUANCE_ID VARCHAR2(20)  ,
  SHIPMENT_RECEIPT_ID VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_CHANGE (
  ORDER_ITEM_CHANGE_ID VARCHAR2(20)  NOT NULL,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  CHANGE_TYPE_ENUM_ID VARCHAR2(20)  ,
  CHANGE_DATETIME VARCHAR2(255) ,
  CHANGE_USER_LOGIN VARCHAR2(250)  ,
  QUANTITY NUMBER NULL,
  CANCEL_QUANTITY NUMBER NULL,
  UNIT_PRICE NUMBER NULL,
  ITEM_DESCRIPTION VARCHAR2(255)  ,
  REASON_ENUM_ID VARCHAR2(20)  ,
  CHANGE_COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_CONTACT_MECH (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_GROUP (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_GROUP_SEQ_ID VARCHAR2(20)  NOT NULL,
  PARENT_GROUP_SEQ_ID VARCHAR2(20)  ,
  GROUP_NAME VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_GROUP_ORDER (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  GROUP_ORDER_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_INVENTORY_RES (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  INVENTORY_ITEM_ID VARCHAR2(20)  NOT NULL,
  RESERVE_ORDER_ENUM_ID VARCHAR2(20)  ,
  QUANTITY NUMBER ,
  QUANTITY_NOT_AVAILABLE NUMBER ,
  RESERVED_DATETIME VARCHAR2(255) ,
  CREATED_DATETIME VARCHAR2(255) ,
  PROMISED_DATETIME VARCHAR2(255) ,
  CURRENT_PROMISED_DATE VARCHAR2(255) ,
  PICK_START_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_PRICE_INFO (
  ORDER_ITEM_PRICE_INFO_ID VARCHAR2(20)  NOT NULL,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  PRODUCT_PRICE_RULE_ID VARCHAR2(20)  ,
  PRODUCT_PRICE_ACTION_SEQ_ID VARCHAR2(20)  ,
  MODIFY_AMOUNT NUMBER NULL,
  DESCRIPTION VARCHAR2(255)  ,
  RATE_CODE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_ROLE (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_SHIP_GROUP (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  SUPPLIER_PARTY_ID VARCHAR2(20)  ,
  VENDOR_PARTY_ID VARCHAR2(20)  ,
  CARRIER_PARTY_ID VARCHAR2(20)  ,
  CARRIER_ROLE_TYPE_ID VARCHAR2(20)  ,
  FACILITY_ID VARCHAR2(20)  ,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  TELECOM_CONTACT_MECH_ID VARCHAR2(20)  ,
  TRACKING_NUMBER VARCHAR2(60)  ,
  SHIPPING_INSTRUCTIONS VARCHAR2(255)  ,
  MAY_SPLIT VARCHAR2(1) NULL,
  GIFT_MESSAGE VARCHAR2(255)  ,
  IS_GIFT VARCHAR2(1) NULL,
  SHIP_AFTER_DATE VARCHAR2(255) ,
  SHIP_BY_DATE VARCHAR2(255) ,
  ESTIMATED_SHIP_DATE VARCHAR2(255) ,
  ESTIMATED_DELIVERY_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_SHIP_GROUP_ASSOC (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  NOT NULL,
  QUANTITY NUMBER NULL,
  CANCEL_QUANTITY NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_SHIP_GRP_INV_RES (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  INVENTORY_ITEM_ID VARCHAR2(20)  NOT NULL,
  RESERVE_ORDER_ENUM_ID VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  QUANTITY_NOT_AVAILABLE NUMBER NULL,
  RESERVED_DATETIME VARCHAR2(255) ,
  CREATED_DATETIME VARCHAR2(255) ,
  PROMISED_DATETIME VARCHAR2(255) ,
  CURRENT_PROMISED_DATE VARCHAR2(255) ,
  PRIORITY VARCHAR2(1) NULL,
  SEQUENCE_ID NUMBER NULL,
  PICK_START_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_TYPE (
  ORDER_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ITEM_TYPE_ATTR (
  ORDER_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_NOTIFICATION (
  ORDER_NOTIFICATION_ID VARCHAR2(20)  NOT NULL,
  ORDER_ID VARCHAR2(20)  ,
  EMAIL_TYPE VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  NOTIFICATION_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_PAYMENT_PREFERENCE (
  ORDER_PAYMENT_PREFERENCE_ID VARCHAR2(20)  NOT NULL,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  ,
  PRODUCT_PRICE_PURPOSE_ID VARCHAR2(20)  ,
  PAYMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  PAYMENT_METHOD_ID VARCHAR2(20)  ,
  FIN_ACCOUNT_ID VARCHAR2(20)  ,
  SECURITY_CODE VARCHAR2(255)  ,
  TRACK2 VARCHAR2(255)  ,
  PRESENT_FLAG VARCHAR2(1) NULL,
  SWIPED_FLAG VARCHAR2(1) NULL,
  OVERFLOW_FLAG VARCHAR2(1) NULL,
  MAX_AMOUNT NUMBER NULL,
  PROCESS_ATTEMPT NUMBER NULL,
  BILLING_POSTAL_CODE VARCHAR2(60)  ,
  MANUAL_AUTH_CODE VARCHAR2(60)  ,
  MANUAL_REF_NUM VARCHAR2(60)  ,
  STATUS_ID VARCHAR2(20)  ,
  NEEDS_NSF_RETRY VARCHAR2(1) NULL,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_PRODUCT_PROMO_CODE (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_CODE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_REQUIREMENT_COMMITMENT (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  REQUIREMENT_ID VARCHAR2(20)  NOT NULL,
  QUANTITY NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_ROLE (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_SHIPMENT (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  QUANTITY NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_SHIPMENT_PREFERENCE (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  CARRIER_PARTY_ID VARCHAR2(20)  ,
  CARRIER_ROLE_TYPE_ID VARCHAR2(20)  ,
  TRACKING_NUMBER VARCHAR2(60)  ,
  SHIPPING_INSTRUCTIONS VARCHAR2(255)  ,
  MAY_SPLIT VARCHAR2(1) NULL,
  GIFT_MESSAGE VARCHAR2(255)  ,
  IS_GIFT VARCHAR2(1) NULL,
  SHIP_AFTER_DATE VARCHAR2(255) ,
  SHIP_BEFORE_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_STATUS (
  ORDER_STATUS_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  ,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  ORDER_PAYMENT_PREFERENCE_ID VARCHAR2(20)  ,
  STATUS_DATETIME VARCHAR2(255) ,
  STATUS_USER_LOGIN VARCHAR2(250)  ,
  CHANGE_REASON VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_SUMMARY_ENTRY (
  ENTRY_DATE VARCHAR2(255) NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  TOTAL_QUANTITY NUMBER NULL,
  GROSS_SALES NUMBER NULL,
  PRODUCT_COST NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_TERM (
  TERM_TYPE_ID VARCHAR2(20)  NOT NULL,
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  TERM_VALUE NUMBER NULL,
  TERM_DAYS NUMBER NULL,
  TEXT_VALUE VARCHAR2(255)  ,
  DESCRIPTION VARCHAR2(255)  ,
  UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_TERM_ATTRIBUTE (
  TERM_TYPE_ID VARCHAR2(20)  NOT NULL,
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_TYPE (
  ORDER_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ORDER_TYPE_ATTR (
  ORDER_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE OTHER_DATA_RESOURCE (
  DATA_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  DATA_RESOURCE_CONTENT VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  PARTY_TYPE_ID VARCHAR2(20)  ,
  EXTERNAL_ID VARCHAR2(20)  ,
  PREFERRED_CURRENCY_UOM_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255) ,
  STATUS_ID VARCHAR2(20)  ,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  DATA_SOURCE_ID VARCHAR2(20)  ,
  IS_UNREAD VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_ACCTG_PREFERENCE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  FISCAL_YEAR_START_MONTH NUMBER NULL,
  FISCAL_YEAR_START_DAY NUMBER NULL,
  TAX_FORM_ID VARCHAR2(20)  ,
  COGS_METHOD_ID VARCHAR2(20)  ,
  BASE_CURRENCY_UOM_ID VARCHAR2(20)  ,
  INVOICE_SEQ_CUST_METH_ID VARCHAR2(20)  ,
  INVOICE_ID_PREFIX VARCHAR2(10)  ,
  LAST_INVOICE_NUMBER NUMBER NULL,
  LAST_INVOICE_RESTART_DATE VARCHAR2(255) ,
  USE_INVOICE_ID_FOR_RETURNS VARCHAR2(1) NULL,
  QUOTE_SEQ_CUST_METH_ID VARCHAR2(20)  ,
  QUOTE_ID_PREFIX VARCHAR2(10)  ,
  LAST_QUOTE_NUMBER NUMBER NULL,
  ORDER_SEQ_CUST_METH_ID VARCHAR2(20)  ,
  ORDER_ID_PREFIX VARCHAR2(10)  ,
  LAST_ORDER_NUMBER NUMBER NULL,
  REFUND_PAYMENT_METHOD_ID VARCHAR2(20)  ,
  ERROR_GL_JOURNAL_ID VARCHAR2(20)  ,
  INVOICE_SEQUENCE_ENUM_ID VARCHAR2(20)  ,
  ORDER_SEQUENCE_ENUM_ID VARCHAR2(20)  ,
  QUOTE_SEQUENCE_ENUM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_ATTRIBUTE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_BENEFIT (
  ROLE_TYPE_ID_FROM VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID_TO VARCHAR2(20)  NOT NULL,
  PARTY_ID_FROM VARCHAR2(20)  NOT NULL,
  PARTY_ID_TO VARCHAR2(20)  NOT NULL,
  BENEFIT_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  PERIOD_TYPE_ID VARCHAR2(20)  ,
  COST NUMBER NULL,
  ACTUAL_EMPLOYER_PAID_PERCENT NUMBER ,
  AVAILABLE_TIME NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_CARRIER_ACCOUNT (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  CARRIER_PARTY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  ACCOUNT_NUMBER VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_CLASSIFICATION (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  PARTY_CLASSIFICATION_GROUP_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_CLASSIFICATION_GROUP (
  PARTY_CLASSIFICATION_GROUP_ID VARCHAR2(20)  NOT NULL,
  PARTY_CLASSIFICATION_TYPE_ID VARCHAR2(20)  ,
  PARENT_GROUP_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_CLASSIFICATION_TYPE (
  PARTY_CLASSIFICATION_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_CONTACT_MECH (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  ALLOW_SOLICITATION VARCHAR2(1) NULL,
  EXTENSION VARCHAR2(255)  ,
  VERIFIED VARCHAR2(1) NULL,
  COMMENTS VARCHAR2(255)  ,
  YEARS_WITH_CONTACT_MECH NUMBER NULL,
  MONTHS_WITH_CONTACT_MECH NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_CONTACT_MECH_PURPOSE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_CONTENT (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  PARTY_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_CONTENT_TYPE (
  PARTY_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_DATA_SOURCE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  DATA_SOURCE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  VISIT_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  IS_CREATE VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_FIXED_ASSET_ASSIGNMENT (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  ALLOCATED_DATE VARCHAR2(255) ,
  STATUS_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_GEO_POINT (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  GEO_POINT_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_GL_ACCOUNT (
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_TYPE_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_GROUP (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  GROUP_NAME VARCHAR2(100)  ,
  GROUP_NAME_LOCAL VARCHAR2(100)  ,
  OFFICE_SITE_NAME VARCHAR2(100)  ,
  ANNUAL_REVENUE NUMBER NULL,
  NUM_EMPLOYEES NUMBER NULL,
  TICKER_SYMBOL VARCHAR2(10)  ,
  COMMENTS VARCHAR2(255)  ,
  LOGO_IMAGE_URL VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_ICS_AVS_OVERRIDE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  AVS_DECLINE_STRING VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_IDENTIFICATION (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  PARTY_IDENTIFICATION_TYPE_ID VARCHAR2(20)  NOT NULL,
  ID_VALUE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_IDENTIFICATION_TYPE (
  PARTY_IDENTIFICATION_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_INVITATION (
  PARTY_INVITATION_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID_FROM VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  TO_NAME VARCHAR2(100)  ,
  EMAIL_ADDRESS VARCHAR2(255)  ,
  STATUS_ID VARCHAR2(20)  ,
  LAST_INVITE_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_INVITATION_GROUP_ASSOC (
  PARTY_INVITATION_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID_TO VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_INVITATION_ROLE_ASSOC (
  PARTY_INVITATION_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_NAME_HISTORY (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  CHANGE_DATE VARCHAR2(255) NOT NULL,
  GROUP_NAME VARCHAR2(100)  ,
  FIRST_NAME VARCHAR2(100)  ,
  MIDDLE_NAME VARCHAR2(100)  ,
  LAST_NAME VARCHAR2(100)  ,
  PERSONAL_TITLE VARCHAR2(100)  ,
  SUFFIX VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_NEED (
  PARTY_NEED_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARTY_TYPE_ID VARCHAR2(20)  ,
  NEED_TYPE_ID VARCHAR2(20)  ,
  COMMUNICATION_EVENT_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  PRODUCT_CATEGORY_ID VARCHAR2(20)  ,
  VISIT_ID VARCHAR2(20)  ,
  DATETIME_RECORDED VARCHAR2(255) ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_NOTE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  NOTE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_PROFILE_DEFAULT (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  DEFAULT_SHIP_ADDR VARCHAR2(20)  ,
  DEFAULT_BILL_ADDR VARCHAR2(20)  ,
  DEFAULT_PAY_METH VARCHAR2(20)  ,
  DEFAULT_SHIP_METH VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_QUAL (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  PARTY_QUAL_TYPE_ID VARCHAR2(20)  NOT NULL,
  QUALIFICATION_DESC VARCHAR2(60)  ,
  TITLE VARCHAR2(60)  ,
  STATUS_ID VARCHAR2(20)  ,
  VERIF_STATUS_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_QUAL_TYPE (
  PARTY_QUAL_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_RATE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  RATE_TYPE_ID VARCHAR2(20)  NOT NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  NOT NULL,
  DEFAULT_RATE VARCHAR2(1) NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  RATE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_RATE_NEW (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  RATE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DEFAULT_RATE VARCHAR2(1) NULL,
  PERCENTAGE_USED NUMBER ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_RELATIONSHIP (
  PARTY_ID_FROM VARCHAR2(20)  NOT NULL,
  PARTY_ID_TO VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID_FROM VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID_TO VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  STATUS_ID VARCHAR2(20)  ,
  RELATIONSHIP_NAME VARCHAR2(100)  ,
  SECURITY_GROUP_ID VARCHAR2(20)  ,
  PRIORITY_TYPE_ID VARCHAR2(20)  ,
  PARTY_RELATIONSHIP_TYPE_ID VARCHAR2(20)  ,
  PERMISSIONS_ENUM_ID VARCHAR2(20)  ,
  POSITION_TITLE VARCHAR2(100)  ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_RELATIONSHIP_TYPE (
  PARTY_RELATIONSHIP_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  PARTY_RELATIONSHIP_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  ROLE_TYPE_ID_VALID_FROM VARCHAR2(20)  ,
  ROLE_TYPE_ID_VALID_TO VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_RESUME (
  RESUME_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  ,
  CONTENT_ID VARCHAR2(20)  ,
  RESUME_DATE VARCHAR2(255) ,
  RESUME_TEXT VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_ROLE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_SKILL (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  SKILL_TYPE_ID VARCHAR2(20)  NOT NULL,
  YEARS_EXPERIENCE NUMBER NULL,
  RATING NUMBER NULL,
  SKILL_LEVEL NUMBER NULL,
  STARTED_USING_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_STATUS (
  STATUS_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  STATUS_DATE VARCHAR2(255) NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_TAX_AUTH_INFO (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  TAX_AUTH_GEO_ID VARCHAR2(20)  NOT NULL,
  TAX_AUTH_PARTY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  PARTY_TAX_ID VARCHAR2(60)  ,
  IS_EXEMPT VARCHAR2(1) NULL,
  IS_NEXUS VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_TAX_INFO (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  GEO_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  PARTY_TAX_ID VARCHAR2(60)  ,
  IS_EXEMPT VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_TYPE (
  PARTY_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PARTY_TYPE_ATTR (
  PARTY_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT (
  PAYMENT_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_TYPE_ID VARCHAR2(20)  ,
  PAYMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  PAYMENT_METHOD_ID VARCHAR2(20)  ,
  PAYMENT_GATEWAY_RESPONSE_ID VARCHAR2(20)  ,
  PAYMENT_PREFERENCE_ID VARCHAR2(20)  ,
  PARTY_ID_FROM VARCHAR2(20)  ,
  PARTY_ID_TO VARCHAR2(20)  ,
  ROLE_TYPE_ID_TO VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  EFFECTIVE_DATE VARCHAR2(255) ,
  PAYMENT_REF_NUM VARCHAR2(60)  ,
  AMOUNT NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  FIN_ACCOUNT_TRANS_ID VARCHAR2(20)  ,
  OVERRIDE_GL_ACCOUNT_ID VARCHAR2(20)  ,
  ACTUAL_CURRENCY_AMOUNT NUMBER NULL,
  ACTUAL_CURRENCY_UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_APPLICATION (
  PAYMENT_APPLICATION_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_ID VARCHAR2(20)  ,
  INVOICE_ID VARCHAR2(20)  ,
  INVOICE_ITEM_SEQ_ID VARCHAR2(20)  ,
  BILLING_ACCOUNT_ID VARCHAR2(20)  ,
  OVERRIDE_GL_ACCOUNT_ID VARCHAR2(20)  ,
  TO_PAYMENT_ID VARCHAR2(20)  ,
  TAX_AUTH_GEO_ID VARCHAR2(20)  ,
  AMOUNT_APPLIED NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_ATTRIBUTE (
  PAYMENT_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_BUDGET_ALLOCATION (
  BUDGET_ID VARCHAR2(20)  NOT NULL,
  BUDGET_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_ID VARCHAR2(20)  NOT NULL,
  AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAYI_D_E_A_L (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  MERCHANT_ID VARCHAR2(255)  ,
  MERCHANT_SUB_ID VARCHAR2(255)  ,
  MERCHANT_RETURN_U_R_L VARCHAR2(255)  ,
  ACQUIRER_U_R_L VARCHAR2(255)  ,
  ACQUIRER_TIMEOUT VARCHAR2(255)  ,
  PRIVATE_CERT VARCHAR2(255)  ,
  ACQUIRER_KEY_STORE_FILENAME VARCHAR2(255)  ,
  ACQUIRER_KEY_STORE_PASSWORD VARCHAR2(255)  ,
  MERCHANT_KEY_STORE_FILENAME VARCHAR2(255)  ,
  MERCHANT_KEY_STORE_PASSWORD VARCHAR2(255)  ,
  EXPIRATION_PERIOD VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_AUTHORIZE_NET (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  TRANSACTION_URL VARCHAR2(255)  ,
  CERTIFICATE_ALIAS VARCHAR2(255)  ,
  API_VERSION VARCHAR2(60)  ,
  DELIMITED_DATA VARCHAR2(60)  ,
  DELIMITER_CHAR VARCHAR2(60)  ,
  CP_VERSION VARCHAR2(60)  ,
  CP_MARKET_TYPE VARCHAR2(60)  ,
  CP_DEVICE_TYPE VARCHAR2(60)  ,
  METHOD VARCHAR2(60)  ,
  EMAIL_CUSTOMER VARCHAR2(60)  ,
  EMAIL_MERCHANT VARCHAR2(60)  ,
  TEST_MODE VARCHAR2(60)  ,
  RELAY_RESPONSE VARCHAR2(60)  ,
  TRAN_KEY VARCHAR2(255)  ,
  USER_ID VARCHAR2(255)  ,
  PWD VARCHAR2(255)  ,
  TRANS_DESCRIPTION VARCHAR2(255)  ,
  DUPLICATE_WINDOW NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_CLEAR_COMMERCE (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  SOURCE_ID VARCHAR2(60)  ,
  GROUP_ID VARCHAR2(60)  ,
  CLIENT_ID VARCHAR2(60)  ,
  USERNAME VARCHAR2(60)  ,
  PWD VARCHAR2(255)  ,
  USER_ALIAS VARCHAR2(60)  ,
  EFFECTIVE_ALIAS VARCHAR2(60)  ,
  PROCESS_MODE VARCHAR2(1) NULL,
  SERVER_U_R_L VARCHAR2(255)  ,
  ENABLE_C_V_M VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_CONFIG (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_GATEWAY_CONFIG_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_CONFIG_TYPE (
  PAYMENT_GATEWAY_CONFIG_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_CYBER_SOURCE (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  MERCHANT_ID VARCHAR2(255)  ,
  API_VERSION VARCHAR2(60)  ,
  PRODUCTION VARCHAR2(60)  ,
  KEYS_DIR VARCHAR2(255)  ,
  KEYS_FILE VARCHAR2(255)  ,
  LOG_ENABLED VARCHAR2(60)  ,
  LOG_DIR VARCHAR2(255)  ,
  LOG_FILE VARCHAR2(255)  ,
  LOG_SIZE NUMBER NULL,
  MERCHANT_DESCR VARCHAR2(255)  ,
  MERCHANT_CONTACT VARCHAR2(255)  ,
  AUTO_BILL VARCHAR2(60)  ,
  ENABLE_DAV VARCHAR2(1) NULL,
  FRAUD_SCORE VARCHAR2(1) NULL,
  IGNORE_AVS VARCHAR2(60)  ,
  DISABLE_BILL_AVS VARCHAR2(1) NULL,
  AVS_DECLINE_CODES VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_EWAY (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  CUSTOMER_ID VARCHAR2(255)  ,
  REFUND_PWD VARCHAR2(255)  ,
  TEST_MODE VARCHAR2(60)  ,
  ENABLE_CVN VARCHAR2(60)  ,
  ENABLE_BEAGLE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_ORBITAL (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  USERNAME VARCHAR2(60)  ,
  CONNECTION_PASSWORD VARCHAR2(255)  ,
  MERCHANT_ID VARCHAR2(255)  ,
  ENGINE_CLASS VARCHAR2(255)  ,
  HOST_NAME VARCHAR2(255)  ,
  PORT NUMBER NULL,
  HOST_NAME_FAILOVER VARCHAR2(255)  ,
  PORT_FAILOVER NUMBER NULL,
  CONNECTION_TIMEOUT_SECONDS NUMBER NULL,
  READ_TIMEOUT_SECONDS NUMBER NULL,
  AUTHORIZATION_U_R_I VARCHAR2(255)  ,
  SDK_VERSION VARCHAR2(60)  ,
  SSL_SOCKET_FACTORY VARCHAR2(60)  ,
  RESPONSE_TYPE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_PAYFLOW_PRO (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  CERTS_PATH VARCHAR2(255)  ,
  HOST_ADDRESS VARCHAR2(255)  ,
  HOST_PORT NUMBER NULL,
  TIMEOUT NUMBER NULL,
  PROXY_ADDRESS VARCHAR2(255)  ,
  PROXY_PORT NUMBER NULL,
  PROXY_LOGON VARCHAR2(255)  ,
  PROXY_PASSWORD VARCHAR2(255)  ,
  VENDOR VARCHAR2(60)  ,
  USER_ID VARCHAR2(60)  ,
  PWD VARCHAR2(255)  ,
  PARTNER VARCHAR2(60)  ,
  CHECK_AVS VARCHAR2(1) NULL,
  CHECK_CVV2 VARCHAR2(1) NULL,
  PRE_AUTH VARCHAR2(1) NULL,
  ENABLE_TRANSMIT VARCHAR2(255)  ,
  LOG_FILE_NAME VARCHAR2(255)  ,
  LOGGING_LEVEL NUMBER NULL,
  MAX_LOG_FILE_SIZE NUMBER NULL,
  STACK_TRACE_ON VARCHAR2(1) NULL,
  REDIRECT_URL VARCHAR2(255)  ,
  RETURN_URL VARCHAR2(255)  ,
  CANCEL_RETURN_URL VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_PAY_PAL (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  BUSINESS_EMAIL VARCHAR2(255)  ,
  API_USER_NAME VARCHAR2(60)  ,
  API_PASSWORD VARCHAR2(60)  ,
  API_SIGNATURE VARCHAR2(60)  ,
  API_ENVIRONMENT VARCHAR2(60)  ,
  NOTIFY_URL VARCHAR2(255)  ,
  RETURN_URL VARCHAR2(255)  ,
  CANCEL_RETURN_URL VARCHAR2(255)  ,
  IMAGE_URL VARCHAR2(255)  ,
  CONFIRM_TEMPLATE VARCHAR2(255)  ,
  REDIRECT_URL VARCHAR2(255)  ,
  CONFIRM_URL VARCHAR2(255)  ,
  SHIPPING_CALLBACK_URL VARCHAR2(255)  ,
  REQUIRE_CONFIRMED_SHIPPING VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_RESPONSE (
  PAYMENT_GATEWAY_RESPONSE_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_SERVICE_TYPE_ENUM_ID VARCHAR2(20)  ,
  ORDER_PAYMENT_PREFERENCE_ID VARCHAR2(20)  ,
  PAYMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  PAYMENT_METHOD_ID VARCHAR2(20)  ,
  TRANS_CODE_ENUM_ID VARCHAR2(20)  ,
  AMOUNT NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  REFERENCE_NUM VARCHAR2(60)  ,
  ALT_REFERENCE VARCHAR2(60)  ,
  SUB_REFERENCE VARCHAR2(60)  ,
  GATEWAY_CODE VARCHAR2(60)  ,
  GATEWAY_FLAG VARCHAR2(60)  ,
  GATEWAY_AVS_RESULT VARCHAR2(60)  ,
  GATEWAY_CV_RESULT VARCHAR2(60)  ,
  GATEWAY_SCORE_RESULT VARCHAR2(60)  ,
  GATEWAY_MESSAGE VARCHAR2(255)  ,
  TRANSACTION_DATE VARCHAR2(255) ,
  RESULT_DECLINED VARCHAR2(1) NULL,
  RESULT_NSF VARCHAR2(1) NULL,
  RESULT_BAD_EXPIRE VARCHAR2(1) NULL,
  RESULT_BAD_CARD_NUMBER VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_RESP_MSG (
  PAYMENT_GATEWAY_RESP_MSG_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_GATEWAY_RESPONSE_ID VARCHAR2(20)  ,
  PGR_MESSAGE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_SAGE_PAY (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  VENDOR VARCHAR2(60)  ,
  PRODUCTION_HOST VARCHAR2(60)  ,
  TESTING_HOST VARCHAR2(60)  ,
  SAGE_PAY_MODE VARCHAR2(60)  ,
  PROTOCOL_VERSION VARCHAR2(10)  ,
  AUTHENTICATION_TRANS_TYPE VARCHAR2(60)  ,
  AUTHENTICATION_URL VARCHAR2(255)  ,
  AUTHORISE_TRANS_TYPE VARCHAR2(60)  ,
  AUTHORISE_URL VARCHAR2(255)  ,
  RELEASE_TRANS_TYPE VARCHAR2(60)  ,
  RELEASE_URL VARCHAR2(255)  ,
  VOID_URL VARCHAR2(255)  ,
  REFUND_URL VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_SECURE_PAY (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  MERCHANT_ID VARCHAR2(255)  ,
  PWD VARCHAR2(255)  ,
  SERVER_U_R_L VARCHAR2(255)  ,
  PROCESS_TIMEOUT NUMBER NULL,
  ENABLE_AMOUNT_ROUND VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GATEWAY_WORLD_PAY (
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  REDIRECT_URL VARCHAR2(255)  ,
  INST_ID VARCHAR2(255)  ,
  AUTH_MODE VARCHAR2(1) NULL,
  FIX_CONTACT VARCHAR2(1) NULL,
  HIDE_CONTACT VARCHAR2(1) NULL,
  HIDE_CURRENCY VARCHAR2(1) NULL,
  LANG_ID VARCHAR2(60)  ,
  NO_LANGUAGE_MENU VARCHAR2(1) NULL,
  WITH_DELIVERY VARCHAR2(1) NULL,
  TEST_MODE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GL_ACCOUNT_TYPE_MAP (
  PAYMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_TYPE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GROUP (
  PAYMENT_GROUP_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_GROUP_TYPE_ID VARCHAR2(20)  ,
  PAYMENT_GROUP_NAME VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GROUP_MEMBER (
  PAYMENT_GROUP_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_GROUP_TYPE (
  PAYMENT_GROUP_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_METHOD (
  PAYMENT_METHOD_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  FIN_ACCOUNT_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_METHOD_TYPE (
  PAYMENT_METHOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  DEFAULT_GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_METHOD_TYPE_GL_ACCOUNT (
  PAYMENT_METHOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_TYPE (
  PAYMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYMENT_TYPE_ATTR (
  PAYMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAYROLL_PREFERENCE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PAYROLL_PREFERENCE_SEQ_ID VARCHAR2(20)  NOT NULL,
  DEDUCTION_TYPE_ID VARCHAR2(20)  ,
  PAYMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  PERIOD_TYPE_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  PERCENTAGE NUMBER ,
  FLAT_AMOUNT NUMBER NULL,
  ROUTING_NUMBER VARCHAR2(60)  ,
  ACCOUNT_NUMBER VARCHAR2(60)  ,
  BANK_NAME VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAY_GRADE (
  PAY_GRADE_ID VARCHAR2(20)  NOT NULL,
  PAY_GRADE_NAME VARCHAR2(100)  ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAY_HISTORY (
  ROLE_TYPE_ID_FROM VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID_TO VARCHAR2(20)  NOT NULL,
  PARTY_ID_FROM VARCHAR2(20)  NOT NULL,
  PARTY_ID_TO VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SALARY_STEP_SEQ_ID VARCHAR2(20)  ,
  PAY_GRADE_ID VARCHAR2(20)  ,
  PERIOD_TYPE_ID VARCHAR2(20)  ,
  AMOUNT NUMBER NULL,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PAY_PAL_PAYMENT_METHOD (
  PAYMENT_METHOD_ID VARCHAR2(20)  NOT NULL,
  PAYER_ID VARCHAR2(20)  ,
  EXPRESS_CHECKOUT_TOKEN VARCHAR2(60)  ,
  PAYER_STATUS VARCHAR2(60)  ,
  AVS_ADDR VARCHAR2(1) NULL,
  AVS_ZIP VARCHAR2(1) NULL,
  CORRELATION_ID VARCHAR2(20)  ,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  TRANSACTION_ID VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PERFORMANCE_NOTE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  COMMUNICATION_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PERF_RATING_TYPE (
  PERF_RATING_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PERF_REVIEW (
  EMPLOYEE_PARTY_ID VARCHAR2(20)  NOT NULL,
  EMPLOYEE_ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PERF_REVIEW_ID VARCHAR2(20)  NOT NULL,
  MANAGER_PARTY_ID VARCHAR2(20)  ,
  MANAGER_ROLE_TYPE_ID VARCHAR2(20)  ,
  PAYMENT_ID VARCHAR2(20)  ,
  EMPL_POSITION_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PERF_REVIEW_ITEM (
  EMPLOYEE_PARTY_ID VARCHAR2(20)  NOT NULL,
  EMPLOYEE_ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PERF_REVIEW_ID VARCHAR2(20)  NOT NULL,
  PERF_REVIEW_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PERF_REVIEW_ITEM_TYPE_ID VARCHAR2(20)  ,
  PERF_RATING_TYPE_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PERF_REVIEW_ITEM_TYPE (
  PERF_REVIEW_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PERIOD_TYPE (
  PERIOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  PERIOD_LENGTH NUMBER NULL,
  UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PERSON (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  SALUTATION VARCHAR2(100)  ,
  FIRST_NAME VARCHAR2(100)  ,
  MIDDLE_NAME VARCHAR2(100)  ,
  LAST_NAME VARCHAR2(100)  ,
  PERSONAL_TITLE VARCHAR2(100)  ,
  SUFFIX VARCHAR2(100)  ,
  NICKNAME VARCHAR2(100)  ,
  FIRST_NAME_LOCAL VARCHAR2(100)  ,
  MIDDLE_NAME_LOCAL VARCHAR2(100)  ,
  LAST_NAME_LOCAL VARCHAR2(100)  ,
  OTHER_LOCAL VARCHAR2(100)  ,
  MEMBER_ID VARCHAR2(20)  ,
  GENDER VARCHAR2(1) NULL,
  BIRTH_DATE VARCHAR2(255) ,
  DECEASED_DATE VARCHAR2(255) ,
  HEIGHT NUMBER ,
  WEIGHT NUMBER ,
  MOTHERS_MAIDEN_NAME VARCHAR2(255)  ,
  MARITAL_STATUS VARCHAR2(1) NULL,
  SOCIAL_SECURITY_NUMBER VARCHAR2(255)  ,
  PASSPORT_NUMBER VARCHAR2(255)  ,
  PASSPORT_EXPIRE_DATE VARCHAR2(255) ,
  TOTAL_YEARS_WORK_EXPERIENCE NUMBER ,
  COMMENTS VARCHAR2(255)  ,
  EMPLOYMENT_STATUS_ENUM_ID VARCHAR2(20)  ,
  RESIDENCE_STATUS_ENUM_ID VARCHAR2(20)  ,
  OCCUPATION VARCHAR2(100)  ,
  YEARS_WITH_EMPLOYER NUMBER NULL,
  MONTHS_WITH_EMPLOYER NUMBER NULL,
  EXISTING_CUSTOMER VARCHAR2(1) NULL,
  CARD_ID VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PERSON_TRAINING (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  TRAINING_REQUEST_ID VARCHAR2(20)  ,
  TRAINING_CLASS_TYPE_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  APPROVER_ID VARCHAR2(20)  ,
  APPROVAL_STATUS VARCHAR2(60)  ,
  REASON VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PHYSICAL_INVENTORY (
  PHYSICAL_INVENTORY_ID VARCHAR2(20)  NOT NULL,
  PHYSICAL_INVENTORY_DATE VARCHAR2(255) ,
  PARTY_ID VARCHAR2(20)  ,
  GENERAL_COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PICKLIST (
  PICKLIST_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  FACILITY_ID VARCHAR2(20)  ,
  SHIPMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  PICKLIST_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PICKLIST_BIN (
  PICKLIST_BIN_ID VARCHAR2(20)  NOT NULL,
  PICKLIST_ID VARCHAR2(20)  ,
  BIN_LOCATION_NUMBER NUMBER NULL,
  PRIMARY_ORDER_ID VARCHAR2(20)  ,
  PRIMARY_SHIP_GROUP_SEQ_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PICKLIST_ITEM (
  PICKLIST_BIN_ID VARCHAR2(20)  NOT NULL,
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  NOT NULL,
  INVENTORY_ITEM_ID VARCHAR2(20)  NOT NULL,
  ITEM_STATUS_ID VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PICKLIST_ROLE (
  PICKLIST_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PICKLIST_STATUS_HISTORY (
  PICKLIST_ID VARCHAR2(20)  NOT NULL,
  CHANGE_DATE VARCHAR2(255) NOT NULL,
  CHANGE_USER_LOGIN_ID VARCHAR2(250)  ,
  STATUS_ID VARCHAR2(20)  ,
  STATUS_ID_TO VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PLATFORM_TYPE (
  PLATFORM_TYPE_ID VARCHAR2(20)  NOT NULL,
  PLATFORM_NAME VARCHAR2(100)  ,
  PLATFORM_VERSION VARCHAR2(10)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PORTAL_PAGE (
  PORTAL_PAGE_ID VARCHAR2(20)  NOT NULL,
  PORTAL_PAGE_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  OWNER_USER_LOGIN_ID VARCHAR2(250)  ,
  ORIGINAL_PORTAL_PAGE_ID VARCHAR2(20)  ,
  PARENT_PORTAL_PAGE_ID VARCHAR2(20)  ,
  SEQUENCE_NUM NUMBER NULL,
  SECURITY_GROUP_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  HELP_CONTENT_ID VARCHAR2(20)  ) ;
CREATE TABLE PORTAL_PAGE_COLUMN (
  PORTAL_PAGE_ID VARCHAR2(20)  NOT NULL,
  COLUMN_SEQ_ID VARCHAR2(20)  NOT NULL,
  COLUMN_WIDTH_PIXELS NUMBER NULL,
  COLUMN_WIDTH_PERCENTAGE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PORTAL_PAGE_PORTLET (
  PORTAL_PAGE_ID VARCHAR2(20)  NOT NULL,
  PORTAL_PORTLET_ID VARCHAR2(20)  NOT NULL,
  PORTLET_SEQ_ID VARCHAR2(20)  NOT NULL,
  COLUMN_SEQ_ID VARCHAR2(20)  ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PORTAL_PORTLET (
  PORTAL_PORTLET_ID VARCHAR2(20)  NOT NULL,
  PORTLET_NAME VARCHAR2(100)  ,
  SCREEN_NAME VARCHAR2(255)  ,
  SCREEN_LOCATION VARCHAR2(255)  ,
  EDIT_FORM_NAME VARCHAR2(255)  ,
  EDIT_FORM_LOCATION VARCHAR2(255)  ,
  DESCRIPTION VARCHAR2(255)  ,
  SCREENSHOT VARCHAR2(255)  ,
  SECURITY_SERVICE_NAME VARCHAR2(255)  ,
  SECURITY_MAIN_ACTION VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PORTLET_ATTRIBUTE (
  PORTAL_PAGE_ID VARCHAR2(20)  NOT NULL,
  PORTAL_PORTLET_ID VARCHAR2(20)  NOT NULL,
  PORTLET_SEQ_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  ATTR_TYPE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PORTLET_CATEGORY (
  PORTLET_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PORTLET_PORTLET_CATEGORY (
  PORTAL_PORTLET_ID VARCHAR2(20)  NOT NULL,
  PORTLET_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE POSTAL_ADDRESS (
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  TO_NAME VARCHAR2(100)  ,
  ATTN_NAME VARCHAR2(100)  ,
  ADDRESS1 VARCHAR2(255)  ,
  ADDRESS2 VARCHAR2(255)  ,
  DIRECTIONS VARCHAR2(255)  ,
  CITY VARCHAR2(100)  ,
  POSTAL_CODE VARCHAR2(60)  ,
  POSTAL_CODE_EXT VARCHAR2(60)  ,
  COUNTRY_GEO_ID VARCHAR2(20)  ,
  STATE_PROVINCE_GEO_ID VARCHAR2(20)  ,
  COUNTY_GEO_ID VARCHAR2(20)  ,
  POSTAL_CODE_GEO_ID VARCHAR2(20)  ,
  GEO_POINT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE POSTAL_ADDRESS_BOUNDARY (
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  GEO_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRIORITY_TYPE (
  PRIORITY_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_TYPE_ID VARCHAR2(20)  ,
  PRIMARY_PRODUCT_CATEGORY_ID VARCHAR2(20)  ,
  MANUFACTURER_PARTY_ID VARCHAR2(20)  ,
  FACILITY_ID VARCHAR2(20)  ,
  INTRODUCTION_DATE VARCHAR2(255) ,
  RELEASE_DATE VARCHAR2(255) ,
  SUPPORT_DISCONTINUATION_DATE VARCHAR2(255) ,
  SALES_DISCONTINUATION_DATE VARCHAR2(255) ,
  SALES_DISC_WHEN_NOT_AVAIL VARCHAR2(1) NULL,
  INTERNAL_NAME VARCHAR2(255)  ,
  BRAND_NAME VARCHAR2(100)  ,
  COMMENTS VARCHAR2(255)  ,
  PRODUCT_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LONG_DESCRIPTION VARCHAR2(255) ,
  PRICE_DETAIL_TEXT VARCHAR2(255)  ,
  SMALL_IMAGE_URL VARCHAR2(255)  ,
  MEDIUM_IMAGE_URL VARCHAR2(255)  ,
  LARGE_IMAGE_URL VARCHAR2(255)  ,
  DETAIL_IMAGE_URL VARCHAR2(255)  ,
  ORIGINAL_IMAGE_URL VARCHAR2(255)  ,
  DETAIL_SCREEN VARCHAR2(255)  ,
  INVENTORY_MESSAGE VARCHAR2(255)  ,
  REQUIRE_INVENTORY VARCHAR2(1) NULL,
  QUANTITY_UOM_ID VARCHAR2(20)  ,
  QUANTITY_INCLUDED NUMBER NULL,
  PIECES_INCLUDED NUMBER NULL,
  REQUIRE_AMOUNT VARCHAR2(1) NULL,
  FIXED_AMOUNT NUMBER NULL,
  AMOUNT_UOM_TYPE_ID VARCHAR2(20)  ,
  WEIGHT_UOM_ID VARCHAR2(20)  ,
  WEIGHT NUMBER NULL,
  PRODUCT_WEIGHT NUMBER NULL,
  HEIGHT_UOM_ID VARCHAR2(20)  ,
  PRODUCT_HEIGHT NUMBER NULL,
  SHIPPING_HEIGHT NUMBER NULL,
  WIDTH_UOM_ID VARCHAR2(20)  ,
  PRODUCT_WIDTH NUMBER NULL,
  SHIPPING_WIDTH NUMBER NULL,
  DEPTH_UOM_ID VARCHAR2(20)  ,
  PRODUCT_DEPTH NUMBER NULL,
  SHIPPING_DEPTH NUMBER NULL,
  DIAMETER_UOM_ID VARCHAR2(20)  ,
  PRODUCT_DIAMETER NUMBER NULL,
  PRODUCT_RATING NUMBER NULL,
  RATING_TYPE_ENUM VARCHAR2(20)  ,
  RETURNABLE VARCHAR2(1) NULL,
  TAXABLE VARCHAR2(1) NULL,
  COLNAME VARCHAR2(1) NULL,
  AUTO_CREATE_KEYWORDS VARCHAR2(1) NULL,
  INCLUDE_IN_PROMOTIONS VARCHAR2(1) NULL,
  IS_VIRTUAL VARCHAR2(1) NULL,
  IS_VARIANT VARCHAR2(1) NULL,
  VIRTUAL_VARIANT_METHOD_ENUM VARCHAR2(20)  ,
  ORIGIN_GEO_ID VARCHAR2(20)  ,
  REQUIREMENT_METHOD_ENUM_ID VARCHAR2(20)  ,
  BILL_OF_MATERIAL_LEVEL NUMBER NULL,
  RESERV_MAX_PERSONS NUMBER NULL,
  RESERV2ND_P_P_PERC NUMBER NULL,
  RESERV_NTH_P_P_PERC NUMBER NULL,
  CONFIG_ID VARCHAR2(20)  ,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  IN_SHIPPING_BOX VARCHAR2(1) NULL,
  DEFAULT_SHIPMENT_BOX_TYPE_ID VARCHAR2(20)  ,
  LOT_ID_FILLED_IN VARCHAR2(255)  ,
  ORDER_DECIMAL_QUANTITY VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_ASSOC (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID_TO VARCHAR2(20)  NOT NULL,
  PRODUCT_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  REASON VARCHAR2(255)  ,
  QUANTITY NUMBER NULL,
  SCRAP_FACTOR NUMBER NULL,
  INSTRUCTION VARCHAR2(255)  ,
  ROUTING_WORK_EFFORT_ID VARCHAR2(20)  ,
  ESTIMATE_CALC_METHOD VARCHAR2(20)  ,
  RECURRENCE_INFO_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_ASSOC_TYPE (
  PRODUCT_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_ATTRIBUTE (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  ATTR_TYPE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_AVERAGE_COST (
  PRODUCT_AVERAGE_COST_TYPE_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  AVERAGE_COST NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_AVERAGE_COST_TYPE (
  PRODUCT_AVERAGE_COST_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CALCULATED_INFO (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  TOTAL_QUANTITY_ORDERED NUMBER NULL,
  TOTAL_TIMES_VIEWED NUMBER NULL,
  AVERAGE_CUSTOMER_RATING NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CATEGORY (
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_CATEGORY_TYPE_ID VARCHAR2(20)  ,
  PRIMARY_PARENT_CATEGORY_ID VARCHAR2(20)  ,
  CATEGORY_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LONG_DESCRIPTION VARCHAR2(255) ,
  CATEGORY_IMAGE_URL VARCHAR2(255)  ,
  LINK_ONE_IMAGE_URL VARCHAR2(255)  ,
  LINK_TWO_IMAGE_URL VARCHAR2(255)  ,
  DETAIL_SCREEN VARCHAR2(255)  ,
  SHOW_IN_SELECT VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CATEGORY_ATTRIBUTE (
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CATEGORY_CONTENT (
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  PROD_CAT_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  PURCHASE_FROM_DATE VARCHAR2(255) ,
  PURCHASE_THRU_DATE VARCHAR2(255) ,
  USE_COUNT_LIMIT NUMBER NULL,
  USE_DAYS_LIMIT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CATEGORY_CONTENT_TYPE (
  PROD_CAT_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CATEGORY_GL_ACCOUNT (
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_TYPE_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CATEGORY_LINK (
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  LINK_SEQ_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  SEQUENCE_NUM NUMBER NULL,
  TITLE_TEXT VARCHAR2(255)  ,
  DETAIL_TEXT VARCHAR2(255) ,
  IMAGE_URL VARCHAR2(255)  ,
  IMAGE_TWO_URL VARCHAR2(255)  ,
  LINK_TYPE_ENUM_ID VARCHAR2(20)  ,
  LINK_INFO VARCHAR2(255)  ,
  DETAIL_SUB_SCREEN VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CATEGORY_MEMBER (
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  SEQUENCE_NUM NUMBER NULL,
  QUANTITY NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CATEGORY_ROLE (
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CATEGORY_ROLLUP (
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  PARENT_PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CATEGORY_TYPE (
  PRODUCT_CATEGORY_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CATEGORY_TYPE_ATTR (
  PRODUCT_CATEGORY_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CONFIG (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  CONFIG_ITEM_ID VARCHAR2(20)  NOT NULL,
  SEQUENCE_NUM NUMBER NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LONG_DESCRIPTION VARCHAR2(255) ,
  CONFIG_TYPE_ID VARCHAR2(20)  ,
  DEFAULT_CONFIG_OPTION_ID VARCHAR2(20)  ,
  THRU_DATE VARCHAR2(255) ,
  IS_MANDATORY VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CONFIG_CONFIG (
  CONFIG_ID VARCHAR2(20)  NOT NULL,
  CONFIG_ITEM_ID VARCHAR2(20)  NOT NULL,
  SEQUENCE_NUM NUMBER NULL,
  CONFIG_OPTION_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CONFIG_ITEM (
  CONFIG_ITEM_ID VARCHAR2(20)  NOT NULL,
  CONFIG_ITEM_TYPE_ID VARCHAR2(20)  ,
  CONFIG_ITEM_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LONG_DESCRIPTION VARCHAR2(255) ,
  IMAGE_URL VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CONFIG_OPTION (
  CONFIG_ITEM_ID VARCHAR2(20)  NOT NULL,
  CONFIG_OPTION_ID VARCHAR2(20)  NOT NULL,
  CONFIG_OPTION_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CONFIG_OPTION_IACTN (
  CONFIG_ITEM_ID VARCHAR2(20)  NOT NULL,
  CONFIG_OPTION_ID VARCHAR2(20)  NOT NULL,
  CONFIG_ITEM_ID_TO VARCHAR2(20)  NOT NULL,
  CONFIG_OPTION_ID_TO VARCHAR2(20)  NOT NULL,
  SEQUENCE_NUM NUMBER NULL,
  CONFIG_IACTN_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CONFIG_PRODUCT (
  CONFIG_ITEM_ID VARCHAR2(20)  NOT NULL,
  CONFIG_OPTION_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  QUANTITY NUMBER NULL,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CONFIG_STATS (
  CONFIG_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  NUM_OF_CONFS NUMBER NULL,
  CONFIG_TYPE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CONTENT (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  PURCHASE_FROM_DATE VARCHAR2(255) ,
  PURCHASE_THRU_DATE VARCHAR2(255) ,
  USE_COUNT_LIMIT NUMBER NULL,
  USE_TIME NUMBER NULL,
  USE_TIME_UOM_ID VARCHAR2(20)  ,
  USE_ROLE_TYPE_ID VARCHAR2(20)  ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_CONTENT_TYPE (
  PRODUCT_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_COST_COMPONENT_CALC (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  COST_COMPONENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  COST_COMPONENT_CALC_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  SEQUENCE_NUM NUMBER NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FACILITY (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  MINIMUM_STOCK NUMBER NULL,
  REORDER_QUANTITY NUMBER NULL,
  DAYS_TO_SHIP NUMBER NULL,
  LAST_INVENTORY_COUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FACILITY_LOCATION (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  LOCATION_SEQ_ID VARCHAR2(20)  NOT NULL,
  MINIMUM_STOCK NUMBER NULL,
  MOVE_QUANTITY NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE (
  PRODUCT_FEATURE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_TYPE_ID VARCHAR2(20)  ,
  PRODUCT_FEATURE_CATEGORY_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  UOM_ID VARCHAR2(20)  ,
  NUMBER_SPECIFIED NUMBER NULL,
  DEFAULT_AMOUNT NUMBER NULL,
  DEFAULT_SEQUENCE_NUM NUMBER NULL,
  ABBREV VARCHAR2(20)  ,
  ID_CODE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_APPL (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_APPL_TYPE_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  AMOUNT NUMBER NULL,
  RECURRING_AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_APPL_ATTR (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_APPL_TYPE (
  PRODUCT_FEATURE_APPL_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_CATEGORY (
  PRODUCT_FEATURE_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  PARENT_CATEGORY_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_CATEGORY_APPL (
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_CAT_GRP_APPL (
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_GROUP_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_DATA_RESOURCE (
  DATA_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_GROUP (
  PRODUCT_FEATURE_GROUP_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_GROUP_APPL (
  PRODUCT_FEATURE_GROUP_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_IACTN (
  PRODUCT_FEATURE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_ID_TO VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_IACTN_TYPE_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_IACTN_TYPE (
  PRODUCT_FEATURE_IACTN_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_PRICE (
  PRODUCT_FEATURE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PRICE_TYPE_ID VARCHAR2(20)  NOT NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  PRICE NUMBER NULL,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_FEATURE_TYPE (
  PRODUCT_FEATURE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_GEO (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  GEO_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_GEO_ENUM_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_GL_ACCOUNT (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_TYPE_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_GROUP_ORDER (
  GROUP_ORDER_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  STATUS_ID VARCHAR2(20)  ,
  REQ_ORDER_QTY NUMBER NULL,
  SOLD_ORDER_QTY NUMBER NULL,
  JOB_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_KEYWORD (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  KEYWORD VARCHAR2(60)  NOT NULL,
  RELEVANCY_WEIGHT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_KEYWORD_NEW (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  KEYWORD VARCHAR2(60)  NOT NULL,
  KEYWORD_TYPE_ID VARCHAR2(20)  NOT NULL,
  RELEVANCY_WEIGHT NUMBER NULL,
  STATUS_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_KEYWORD_RESULT (
  PRODUCT_KEYWORD_RESULT_ID VARCHAR2(20)  NOT NULL,
  VISIT_ID VARCHAR2(20)  ,
  PRODUCT_CATEGORY_ID VARCHAR2(20)  ,
  SEARCH_STRING VARCHAR2(60)  ,
  INTRA_KEYWORD_OPERATOR VARCHAR2(10)  ,
  ANY_PREFIX VARCHAR2(1) NULL,
  ANY_SUFFIX VARCHAR2(1) NULL,
  REMOVE_STEMS VARCHAR2(1) NULL,
  NUM_RESULTS NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_MAINT (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_MAINT_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_MAINT_TYPE_ID VARCHAR2(20)  ,
  MAINT_NAME VARCHAR2(100)  ,
  MAINT_TEMPLATE_WORK_EFFORT_ID VARCHAR2(20)  ,
  INTERVAL_QUANTITY NUMBER NULL,
  INTERVAL_UOM_ID VARCHAR2(20)  ,
  INTERVAL_METER_TYPE_ID VARCHAR2(20)  ,
  REPEAT_COUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_MAINT_TYPE (
  PRODUCT_MAINT_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_MANUFACTURING_RULE (
  RULE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  PRODUCT_ID_FOR VARCHAR2(20)  ,
  PRODUCT_ID_IN VARCHAR2(20)  ,
  RULE_SEQ_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  PRODUCT_ID_IN_SUBST VARCHAR2(20)  ,
  PRODUCT_FEATURE VARCHAR2(20)  ,
  RULE_OPERATOR VARCHAR2(20)  ,
  QUANTITY NUMBER ,
  DESCRIPTION VARCHAR2(255)  ,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_METER (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_METER_TYPE_ID VARCHAR2(20)  NOT NULL,
  METER_UOM_ID VARCHAR2(20)  ,
  METER_NAME VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_METER_TYPE (
  PRODUCT_METER_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  DEFAULT_UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_ORDER_ITEM (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  ENGAGEMENT_ID VARCHAR2(20)  NOT NULL,
  ENGAGEMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PAYMENT_METHOD_TYPE (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_METHOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PRICE_PURPOSE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PRICE (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PRICE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PRICE_PURPOSE_ID VARCHAR2(20)  NOT NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_STORE_GROUP_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  PRICE NUMBER NULL,
  TERM_UOM_ID VARCHAR2(20)  ,
  CUSTOM_PRICE_CALC_SERVICE VARCHAR2(20)  ,
  PRICE_WITHOUT_TAX NUMBER NULL,
  PRICE_WITH_TAX NUMBER NULL,
  TAX_AMOUNT NUMBER NULL,
  TAX_PERCENTAGE NUMBER NULL,
  TAX_AUTH_PARTY_ID VARCHAR2(20)  ,
  TAX_AUTH_GEO_ID VARCHAR2(20)  ,
  TAX_IN_PRICE VARCHAR2(1) NULL,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PRICE_ACTION (
  PRODUCT_PRICE_RULE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PRICE_ACTION_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PRICE_ACTION_TYPE_ID VARCHAR2(20)  ,
  AMOUNT NUMBER NULL,
  RATE_CODE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PRICE_ACTION_TYPE (
  PRODUCT_PRICE_ACTION_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PRICE_AUTO_NOTICE (
  PRODUCT_PRICE_NOTICE_ID VARCHAR2(20)  NOT NULL,
  FACILITY_ID VARCHAR2(20)  ,
  RUN_DATE VARCHAR2(255) ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PRICE_CHANGE (
  PRODUCT_PRICE_CHANGE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  PRODUCT_PRICE_TYPE_ID VARCHAR2(20)  ,
  PRODUCT_PRICE_PURPOSE_ID VARCHAR2(20)  ,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  PRODUCT_STORE_GROUP_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  PRICE NUMBER NULL,
  OLD_PRICE NUMBER NULL,
  CHANGED_DATE VARCHAR2(255) ,
  CHANGED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PRICE_COND (
  PRODUCT_PRICE_RULE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PRICE_COND_SEQ_ID VARCHAR2(20)  NOT NULL,
  INPUT_PARAM_ENUM_ID VARCHAR2(20)  ,
  OPERATOR_ENUM_ID VARCHAR2(20)  ,
  COND_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PRICE_PURPOSE (
  PRODUCT_PRICE_PURPOSE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PRICE_RULE (
  PRODUCT_PRICE_RULE_ID VARCHAR2(20)  NOT NULL,
  RULE_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  IS_SALE VARCHAR2(1) NULL,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PRICE_TYPE (
  PRODUCT_PRICE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PROMO (
  PRODUCT_PROMO_ID VARCHAR2(20)  NOT NULL,
  PROMO_NAME VARCHAR2(100)  ,
  PROMO_TEXT VARCHAR2(255)  ,
  USER_ENTERED VARCHAR2(1) NULL,
  SHOW_TO_CUSTOMER VARCHAR2(1) NULL,
  REQUIRE_CODE VARCHAR2(1) NULL,
  USE_LIMIT_PER_ORDER NUMBER NULL,
  USE_LIMIT_PER_CUSTOMER NUMBER NULL,
  USE_LIMIT_PER_PROMOTION NUMBER NULL,
  BILLBACK_FACTOR NUMBER NULL,
  OVERRIDE_ORG_PARTY_ID VARCHAR2(20)  ,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PROMO_ACTION (
  PRODUCT_PROMO_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_RULE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_ACTION_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_ACTION_ENUM_ID VARCHAR2(20)  ,
  ORDER_ADJUSTMENT_TYPE_ID VARCHAR2(20)  ,
  SERVICE_NAME VARCHAR2(255)  ,
  QUANTITY NUMBER NULL,
  AMOUNT NUMBER NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  USE_CART_QUANTITY VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PROMO_CATEGORY (
  PRODUCT_PROMO_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_RULE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_ACTION_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_COND_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  AND_GROUP_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_APPL_ENUM_ID VARCHAR2(20)  ,
  INCLUDE_SUB_CATEGORIES VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PROMO_CODE (
  PRODUCT_PROMO_CODE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_ID VARCHAR2(20)  ,
  USER_ENTERED VARCHAR2(1) NULL,
  REQUIRE_EMAIL_OR_PARTY VARCHAR2(1) NULL,
  USE_LIMIT_PER_CODE NUMBER NULL,
  USE_LIMIT_PER_CUSTOMER NUMBER NULL,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PROMO_CODE_EMAIL (
  PRODUCT_PROMO_CODE_ID VARCHAR2(20)  NOT NULL,
  EMAIL_ADDRESS VARCHAR2(255)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PROMO_CODE_PARTY (
  PRODUCT_PROMO_CODE_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PROMO_COND (
  PRODUCT_PROMO_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_RULE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_COND_SEQ_ID VARCHAR2(20)  NOT NULL,
  INPUT_PARAM_ENUM_ID VARCHAR2(20)  ,
  OPERATOR_ENUM_ID VARCHAR2(20)  ,
  COND_VALUE VARCHAR2(255)  ,
  OTHER_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PROMO_CONTENT (
  PRODUCT_PROMO_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PROMO_PRODUCT (
  PRODUCT_PROMO_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_RULE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_ACTION_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_COND_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_APPL_ENUM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PROMO_RULE (
  PRODUCT_PROMO_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_RULE_ID VARCHAR2(20)  NOT NULL,
  RULE_NAME VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_PROMO_USE (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  PROMO_SEQUENCE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_ID VARCHAR2(20)  ,
  PRODUCT_PROMO_CODE_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  TOTAL_DISCOUNT_AMOUNT NUMBER NULL,
  QUANTITY_LEFT_IN_ACTIONS NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_REVIEW (
  PRODUCT_REVIEW_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  USER_LOGIN_ID VARCHAR2(250)  ,
  STATUS_ID VARCHAR2(20)  ,
  POSTED_ANONYMOUS VARCHAR2(1) NULL,
  POSTED_DATE_TIME VARCHAR2(255) ,
  PRODUCT_RATING NUMBER NULL,
  PRODUCT_REVIEW VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_ROLE (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_SEARCH_CONSTRAINT (
  PRODUCT_SEARCH_RESULT_ID VARCHAR2(20)  NOT NULL,
  CONSTRAINT_SEQ_ID VARCHAR2(20)  NOT NULL,
  CONSTRAINT_NAME VARCHAR2(255)  ,
  INFO_STRING VARCHAR2(255)  ,
  INCLUDE_SUB_CATEGORIES VARCHAR2(1) NULL,
  IS_AND VARCHAR2(1) NULL,
  ANY_PREFIX VARCHAR2(1) NULL,
  ANY_SUFFIX VARCHAR2(1) NULL,
  REMOVE_STEMS VARCHAR2(1) NULL,
  LOW_VALUE VARCHAR2(60)  ,
  HIGH_VALUE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_SEARCH_RESULT (
  PRODUCT_SEARCH_RESULT_ID VARCHAR2(20)  NOT NULL,
  VISIT_ID VARCHAR2(20)  ,
  ORDER_BY_NAME VARCHAR2(255)  ,
  IS_ASCENDING VARCHAR2(1) NULL,
  NUM_RESULTS NUMBER NULL,
  SECONDS_TOTAL NUMBER ,
  SEARCH_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE (
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  PRIMARY_STORE_GROUP_ID VARCHAR2(20)  ,
  STORE_NAME VARCHAR2(100)  ,
  COMPANY_NAME VARCHAR2(100)  ,
  TITLE VARCHAR2(100)  ,
  SUBTITLE VARCHAR2(255)  ,
  PAY_TO_PARTY_ID VARCHAR2(20)  ,
  DAYS_TO_CANCEL_NON_PAY NUMBER NULL,
  MANUAL_AUTH_IS_CAPTURE VARCHAR2(1) NULL,
  PRORATE_SHIPPING VARCHAR2(1) NULL,
  PRORATE_TAXES VARCHAR2(1) NULL,
  VIEW_CART_ON_ADD VARCHAR2(1) NULL,
  AUTO_SAVE_CART VARCHAR2(1) NULL,
  AUTO_APPROVE_REVIEWS VARCHAR2(1) NULL,
  IS_DEMO_STORE VARCHAR2(1) NULL,
  IS_IMMEDIATELY_FULFILLED VARCHAR2(1) NULL,
  INVENTORY_FACILITY_ID VARCHAR2(20)  ,
  ONE_INVENTORY_FACILITY VARCHAR2(1) NULL,
  CHECK_INVENTORY VARCHAR2(1) NULL,
  RESERVE_INVENTORY VARCHAR2(1) NULL,
  RESERVE_ORDER_ENUM_ID VARCHAR2(20)  ,
  REQUIRE_INVENTORY VARCHAR2(1) NULL,
  BALANCE_RES_ON_ORDER_CREATION VARCHAR2(1) NULL,
  REQUIREMENT_METHOD_ENUM_ID VARCHAR2(20)  ,
  ORDER_NUMBER_PREFIX VARCHAR2(60)  ,
  DEFAULT_LOCALE_STRING VARCHAR2(10)  ,
  DEFAULT_CURRENCY_UOM_ID VARCHAR2(20)  ,
  DEFAULT_SALES_CHANNEL_ENUM_ID VARCHAR2(20)  ,
  ALLOW_PASSWORD VARCHAR2(1) NULL,
  DEFAULT_PASSWORD VARCHAR2(255)  ,
  EXPLODE_ORDER_ITEMS VARCHAR2(1) NULL,
  CHECK_GC_BALANCE VARCHAR2(1) NULL,
  RETRY_FAILED_AUTHS VARCHAR2(1) NULL,
  HEADER_APPROVED_STATUS VARCHAR2(20)  ,
  ITEM_APPROVED_STATUS VARCHAR2(20)  ,
  DIGITAL_ITEM_APPROVED_STATUS VARCHAR2(20)  ,
  HEADER_DECLINED_STATUS VARCHAR2(20)  ,
  ITEM_DECLINED_STATUS VARCHAR2(20)  ,
  HEADER_CANCEL_STATUS VARCHAR2(20)  ,
  ITEM_CANCEL_STATUS VARCHAR2(20)  ,
  AUTH_DECLINED_MESSAGE VARCHAR2(255)  ,
  AUTH_FRAUD_MESSAGE VARCHAR2(255)  ,
  AUTH_ERROR_MESSAGE VARCHAR2(255)  ,
  VISUAL_THEME_ID VARCHAR2(20)  ,
  STORE_CREDIT_ACCOUNT_ENUM_ID VARCHAR2(20)  ,
  USE_PRIMARY_EMAIL_USERNAME VARCHAR2(1) NULL,
  REQUIRE_CUSTOMER_ROLE VARCHAR2(1) NULL,
  AUTO_INVOICE_DIGITAL_ITEMS VARCHAR2(1) NULL,
  REQ_SHIP_ADDR_FOR_DIG_ITEMS VARCHAR2(1) NULL,
  SHOW_CHECKOUT_GIFT_OPTIONS VARCHAR2(1) NULL,
  SELECT_PAYMENT_TYPE_PER_ITEM VARCHAR2(1) NULL,
  SHOW_PRICES_WITH_VAT_TAX VARCHAR2(1) NULL,
  SHOW_TAX_IS_EXEMPT VARCHAR2(1) NULL,
  VAT_TAX_AUTH_GEO_ID VARCHAR2(20)  ,
  VAT_TAX_AUTH_PARTY_ID VARCHAR2(20)  ,
  ENABLE_AUTO_SUGGESTION_LIST VARCHAR2(1) NULL,
  ENABLE_DIG_PROD_UPLOAD VARCHAR2(1) NULL,
  PROD_SEARCH_EXCLUDE_VARIANTS VARCHAR2(1) NULL,
  DIG_PROD_UPLOAD_CATEGORY_ID VARCHAR2(20)  ,
  AUTO_ORDER_CC_TRY_EXP VARCHAR2(1) NULL,
  AUTO_ORDER_CC_TRY_OTHER_CARDS VARCHAR2(1) NULL,
  AUTO_ORDER_CC_TRY_LATER_NSF VARCHAR2(1) NULL,
  AUTO_ORDER_CC_TRY_LATER_MAX NUMBER NULL,
  STORE_CREDIT_VALID_DAYS NUMBER NULL,
  AUTO_APPROVE_INVOICE VARCHAR2(1) NULL,
  AUTO_APPROVE_ORDER VARCHAR2(1) NULL,
  SHIP_IF_CAPTURE_FAILS VARCHAR2(1) NULL,
  SET_OWNER_UPON_ISSUANCE VARCHAR2(1) NULL,
  REQ_RETURN_INVENTORY_RECEIVE VARCHAR2(1) NULL,
  ADD_TO_CART_REMOVE_INCOMPAT VARCHAR2(1) NULL,
  ADD_TO_CART_REPLACE_UPSELL VARCHAR2(1) NULL,
  SPLIT_PAY_PREF_PER_SHP_GRP VARCHAR2(1) NULL,
  MANAGED_BY_LOT VARCHAR2(1) NULL,
  SHOW_OUT_OF_STOCK_PRODUCTS VARCHAR2(1) NULL,
  ORDER_DECIMAL_QUANTITY VARCHAR2(1) NULL,
  STYLE_SHEET VARCHAR2(255)  ,
  HEADER_LOGO VARCHAR2(255)  ,
  HEADER_MIDDLE_BACKGROUND VARCHAR2(255)  ,
  HEADER_RIGHT_BACKGROUND VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_CATALOG (
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  PROD_CATALOG_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_EMAIL_SETTING (
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  EMAIL_TYPE VARCHAR2(20)  NOT NULL,
  BODY_SCREEN_LOCATION VARCHAR2(255)  ,
  XSLFO_ATTACH_SCREEN_LOCATION VARCHAR2(255)  ,
  FROM_ADDRESS VARCHAR2(255)  ,
  CC_ADDRESS VARCHAR2(255)  ,
  BCC_ADDRESS VARCHAR2(255)  ,
  SUBJECT VARCHAR2(255)  ,
  CONTENT_TYPE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_FACILITY (
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_FIN_ACT_SETTING (
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  FIN_ACCOUNT_TYPE_ID VARCHAR2(20)  NOT NULL,
  REQUIRE_PIN_CODE VARCHAR2(1) NULL,
  VALIDATE_G_C_FIN_ACCT VARCHAR2(1) NULL,
  ACCOUNT_CODE_LENGTH NUMBER NULL,
  PIN_CODE_LENGTH NUMBER NULL,
  ACCOUNT_VALID_DAYS NUMBER NULL,
  AUTH_VALID_DAYS NUMBER NULL,
  PURCHASE_SURVEY_ID VARCHAR2(20)  ,
  PURCH_SURVEY_SEND_TO VARCHAR2(20)  ,
  PURCH_SURVEY_COPY_ME VARCHAR2(20)  ,
  ALLOW_AUTH_TO_NEGATIVE VARCHAR2(1) NULL,
  MIN_BALANCE NUMBER NULL,
  REPLENISH_THRESHOLD NUMBER NULL,
  REPLENISH_METHOD_ENUM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_GROUP (
  PRODUCT_STORE_GROUP_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_STORE_GROUP_TYPE_ID VARCHAR2(20)  ,
  PRIMARY_PARENT_GROUP_ID VARCHAR2(20)  ,
  PRODUCT_STORE_GROUP_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_GROUP_MEMBER (
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_STORE_GROUP_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_GROUP_ROLE (
  PRODUCT_STORE_GROUP_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_GROUP_ROLLUP (
  PRODUCT_STORE_GROUP_ID VARCHAR2(20)  NOT NULL,
  PARENT_GROUP_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_GROUP_TYPE (
  PRODUCT_STORE_GROUP_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_KEYWORD_OVRD (
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  KEYWORD VARCHAR2(60)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  TARGET VARCHAR2(255)  ,
  TARGET_TYPE_ENUM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_PAYMENT_SETTING (
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_METHOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_SERVICE_TYPE_ENUM_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_SERVICE VARCHAR2(255)  ,
  PAYMENT_CUSTOM_METHOD_ID VARCHAR2(20)  ,
  PAYMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  ,
  PAYMENT_PROPERTIES_PATH VARCHAR2(255)  ,
  APPLY_TO_ALL_PRODUCTS VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_PROMO_APPL (
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_PROMO_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  MANUAL_ONLY VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_ROLE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_SHIPMENT_METH (
  PRODUCT_STORE_SHIP_METH_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  SHIPMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  COMPANY_PARTY_ID VARCHAR2(20)  ,
  MIN_WEIGHT NUMBER NULL,
  MAX_WEIGHT NUMBER NULL,
  MIN_SIZE NUMBER NULL,
  MAX_SIZE NUMBER NULL,
  MIN_TOTAL NUMBER NULL,
  MAX_TOTAL NUMBER NULL,
  ALLOW_USPS_ADDR VARCHAR2(1) NULL,
  REQUIRE_USPS_ADDR VARCHAR2(1) NULL,
  ALLOW_COMPANY_ADDR VARCHAR2(1) NULL,
  REQUIRE_COMPANY_ADDR VARCHAR2(1) NULL,
  INCLUDE_NO_CHARGE_ITEMS VARCHAR2(1) NULL,
  INCLUDE_FEATURE_GROUP VARCHAR2(20)  ,
  EXCLUDE_FEATURE_GROUP VARCHAR2(20)  ,
  INCLUDE_GEO_ID VARCHAR2(20)  ,
  EXCLUDE_GEO_ID VARCHAR2(20)  ,
  SERVICE_NAME VARCHAR2(255)  ,
  CONFIG_PROPS VARCHAR2(255)  ,
  SHIPMENT_CUSTOM_METHOD_ID VARCHAR2(20)  ,
  SHIPMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  ,
  SEQUENCE_NUMBER NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_SURVEY_APPL (
  PRODUCT_STORE_SURVEY_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  SURVEY_APPL_TYPE_ID VARCHAR2(20)  ,
  GROUP_NAME VARCHAR2(100)  ,
  SURVEY_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  PRODUCT_CATEGORY_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  SURVEY_TEMPLATE VARCHAR2(255)  ,
  RESULT_TEMPLATE VARCHAR2(255)  ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_VENDOR_PAYMENT (
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  VENDOR_PARTY_ID VARCHAR2(20)  NOT NULL,
  PAYMENT_METHOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  CREDIT_CARD_ENUM_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_STORE_VENDOR_SHIPMENT (
  PRODUCT_STORE_ID VARCHAR2(20)  NOT NULL,
  VENDOR_PARTY_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_METHOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  CARRIER_PARTY_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_SUBSCRIPTION_RESOURCE (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  SUBSCRIPTION_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  PURCHASE_FROM_DATE VARCHAR2(255) ,
  PURCHASE_THRU_DATE VARCHAR2(255) ,
  MAX_LIFE_TIME NUMBER NULL,
  MAX_LIFE_TIME_UOM_ID VARCHAR2(20)  ,
  AVAILABLE_TIME NUMBER NULL,
  AVAILABLE_TIME_UOM_ID VARCHAR2(20)  ,
  USE_COUNT_LIMIT NUMBER NULL,
  USE_TIME NUMBER NULL,
  USE_TIME_UOM_ID VARCHAR2(20)  ,
  USE_ROLE_TYPE_ID VARCHAR2(20)  ,
  AUTOMATIC_EXTEND VARCHAR2(1) NULL,
  CANCL_AUTM_EXT_TIME NUMBER NULL,
  CANCL_AUTM_EXT_TIME_UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_TYPE (
  PRODUCT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  IS_PHYSICAL VARCHAR2(1) NULL,
  IS_DIGITAL VARCHAR2(1) NULL,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PRODUCT_TYPE_ATTR (
  PRODUCT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PROD_CATALOG (
  PROD_CATALOG_ID VARCHAR2(20)  NOT NULL,
  CATALOG_NAME VARCHAR2(100)  ,
  USE_QUICK_ADD VARCHAR2(1) NULL,
  STYLE_SHEET VARCHAR2(255)  ,
  HEADER_LOGO VARCHAR2(255)  ,
  CONTENT_PATH_PREFIX VARCHAR2(255)  ,
  TEMPLATE_PATH_PREFIX VARCHAR2(255)  ,
  VIEW_ALLOW_PERM_REQD VARCHAR2(1) NULL,
  PURCHASE_ALLOW_PERM_REQD VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PROD_CATALOG_CATEGORY (
  PROD_CATALOG_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  PROD_CATALOG_CATEGORY_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PROD_CATALOG_CATEGORY_TYPE (
  PROD_CATALOG_CATEGORY_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PROD_CATALOG_INV_FACILITY (
  PROD_CATALOG_ID VARCHAR2(20)  NOT NULL,
  FACILITY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PROD_CATALOG_ROLE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PROD_CATALOG_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PROD_CONF_ITEM_CONTENT (
  CONFIG_ITEM_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  CONF_ITEM_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PROD_CONF_ITEM_CONTENT_TYPE (
  CONF_ITEM_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PROTECTED_VIEW (
  GROUP_ID VARCHAR2(20)  NOT NULL,
  VIEW_NAME_ID VARCHAR2(60)  NOT NULL,
  MAX_HITS NUMBER NULL,
  MAX_HITS_DURATION NUMBER NULL,
  TARPIT_DURATION NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE PROTOCOL_TYPE (
  PROTOCOL_TYPE_ID VARCHAR2(20)  NOT NULL,
  PROTOCOL_NAME VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUANTITY_BREAK (
  QUANTITY_BREAK_ID VARCHAR2(20)  NOT NULL,
  QUANTITY_BREAK_TYPE_ID VARCHAR2(20)  ,
  FROM_QUANTITY NUMBER NULL,
  THRU_QUANTITY NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUANTITY_BREAK_TYPE (
  QUANTITY_BREAK_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE (
  QUOTE_ID VARCHAR2(20)  NOT NULL,
  QUOTE_TYPE_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ISSUE_DATE VARCHAR2(255) ,
  STATUS_ID VARCHAR2(20)  ,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  SALES_CHANNEL_ENUM_ID VARCHAR2(20)  ,
  VALID_FROM_DATE VARCHAR2(255) ,
  VALID_THRU_DATE VARCHAR2(255) ,
  QUOTE_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE_ADJUSTMENT (
  QUOTE_ADJUSTMENT_ID VARCHAR2(20)  NOT NULL,
  QUOTE_ADJUSTMENT_TYPE_ID VARCHAR2(20)  ,
  QUOTE_ID VARCHAR2(20)  ,
  QUOTE_ITEM_SEQ_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  DESCRIPTION VARCHAR2(255)  ,
  AMOUNT NUMBER NULL,
  PRODUCT_PROMO_ID VARCHAR2(20)  ,
  PRODUCT_PROMO_RULE_ID VARCHAR2(20)  ,
  PRODUCT_PROMO_ACTION_SEQ_ID VARCHAR2(20)  ,
  PRODUCT_FEATURE_ID VARCHAR2(20)  ,
  CORRESPONDING_PRODUCT_ID VARCHAR2(20)  ,
  SOURCE_REFERENCE_ID VARCHAR2(60)  ,
  SOURCE_PERCENTAGE NUMBER NULL,
  CUSTOMER_REFERENCE_ID VARCHAR2(60)  ,
  PRIMARY_GEO_ID VARCHAR2(20)  ,
  SECONDARY_GEO_ID VARCHAR2(20)  ,
  EXEMPT_AMOUNT NUMBER NULL,
  TAX_AUTH_GEO_ID VARCHAR2(20)  ,
  TAX_AUTH_PARTY_ID VARCHAR2(20)  ,
  OVERRIDE_GL_ACCOUNT_ID VARCHAR2(20)  ,
  INCLUDE_IN_TAX VARCHAR2(1) NULL,
  INCLUDE_IN_SHIPPING VARCHAR2(1) NULL,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE_ATTRIBUTE (
  QUOTE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE_COEFFICIENT (
  QUOTE_ID VARCHAR2(20)  NOT NULL,
  COEFF_NAME VARCHAR2(60)  NOT NULL,
  COEFF_VALUE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE_ITEM (
  QUOTE_ID VARCHAR2(20)  NOT NULL,
  QUOTE_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  PRODUCT_FEATURE_ID VARCHAR2(20)  ,
  DELIVERABLE_TYPE_ID VARCHAR2(20)  ,
  SKILL_TYPE_ID VARCHAR2(20)  ,
  UOM_ID VARCHAR2(20)  ,
  WORK_EFFORT_ID VARCHAR2(20)  ,
  CUST_REQUEST_ID VARCHAR2(20)  ,
  CUST_REQUEST_ITEM_SEQ_ID VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  SELECTED_AMOUNT NUMBER NULL,
  QUOTE_UNIT_PRICE NUMBER NULL,
  RESERV_START VARCHAR2(255) ,
  RESERV_LENGTH NUMBER NULL,
  RESERV_PERSONS NUMBER NULL,
  CONFIG_ID VARCHAR2(20)  ,
  ESTIMATED_DELIVERY_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  IS_PROMO VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE_NOTE (
  QUOTE_ID VARCHAR2(20)  NOT NULL,
  NOTE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE_ROLE (
  QUOTE_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE_TERM (
  TERM_TYPE_ID VARCHAR2(20)  NOT NULL,
  QUOTE_ID VARCHAR2(20)  NOT NULL,
  QUOTE_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  TERM_VALUE NUMBER NULL,
  UOM_ID VARCHAR2(20)  ,
  TERM_DAYS NUMBER NULL,
  TEXT_VALUE VARCHAR2(255)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE_TERM_ATTRIBUTE (
  TERM_TYPE_ID VARCHAR2(20)  NOT NULL,
  QUOTE_ID VARCHAR2(20)  NOT NULL,
  QUOTE_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE_TYPE (
  QUOTE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE_TYPE_ATTR (
  QUOTE_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE QUOTE_WORK_EFFORT (
  QUOTE_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RATE_AMOUNT (
  RATE_TYPE_ID VARCHAR2(20)  NOT NULL,
  RATE_CURRENCY_UOM_ID VARCHAR2(20)  NOT NULL,
  PERIOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  EMPL_POSITION_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  RATE_AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RATE_TYPE (
  RATE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RECURRENCE_INFO (
  RECURRENCE_INFO_ID VARCHAR2(20)  NOT NULL,
  START_DATE_TIME VARCHAR2(255) ,
  EXCEPTION_DATE_TIMES VARCHAR2(255) ,
  RECURRENCE_DATE_TIMES VARCHAR2(255) ,
  EXCEPTION_RULE_ID VARCHAR2(20)  ,
  RECURRENCE_RULE_ID VARCHAR2(20)  ,
  RECURRENCE_COUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RECURRENCE_RULE (
  RECURRENCE_RULE_ID VARCHAR2(20)  NOT NULL,
  FREQUENCY VARCHAR2(60)  ,
  UNTIL_DATE_TIME VARCHAR2(255) ,
  COUNT_NUMBER NUMBER NULL,
  INTERVAL_NUMBER NUMBER NULL,
  BY_SECOND_LIST VARCHAR2(255) ,
  BY_MINUTE_LIST VARCHAR2(255) ,
  BY_HOUR_LIST VARCHAR2(255) ,
  BY_DAY_LIST VARCHAR2(255) ,
  BY_MONTH_DAY_LIST VARCHAR2(255) ,
  BY_YEAR_DAY_LIST VARCHAR2(255) ,
  BY_WEEK_NO_LIST VARCHAR2(255) ,
  BY_MONTH_LIST VARCHAR2(255) ,
  BY_SET_POS_LIST VARCHAR2(255) ,
  WEEK_START VARCHAR2(60)  ,
  X_NAME VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE REJECTION_REASON (
  REJECTION_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE REORDER_GUIDELINE (
  REORDER_GUIDELINE_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  FACILITY_ID VARCHAR2(20)  ,
  GEO_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  REORDER_QUANTITY NUMBER NULL,
  REORDER_LEVEL NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE REQUIREMENT (
  REQUIREMENT_ID VARCHAR2(20)  NOT NULL,
  REQUIREMENT_TYPE_ID VARCHAR2(20)  ,
  FACILITY_ID VARCHAR2(20)  ,
  DELIVERABLE_ID VARCHAR2(20)  ,
  FIXED_ASSET_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  REQUIREMENT_START_DATE VARCHAR2(255) ,
  REQUIRED_BY_DATE VARCHAR2(255) ,
  ESTIMATED_BUDGET NUMBER NULL,
  QUANTITY NUMBER NULL,
  USE_CASE VARCHAR2(255) ,
  REASON VARCHAR2(255)  ,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE REQUIREMENT_ATTRIBUTE (
  REQUIREMENT_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE REQUIREMENT_BUDGET_ALLOCATION (
  BUDGET_ID VARCHAR2(20)  NOT NULL,
  BUDGET_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  REQUIREMENT_ID VARCHAR2(20)  NOT NULL,
  AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE REQUIREMENT_CUST_REQUEST (
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  CUST_REQUEST_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  REQUIREMENT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE REQUIREMENT_ROLE (
  REQUIREMENT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE REQUIREMENT_STATUS (
  REQUIREMENT_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  NOT NULL,
  STATUS_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE REQUIREMENT_TYPE (
  REQUIREMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE REQUIREMENT_TYPE_ATTR (
  REQUIREMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RESPONDING_PARTY (
  RESPONDING_PARTY_SEQ_ID VARCHAR2(20)  NOT NULL,
  CUST_REQUEST_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  DATE_SENT VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RESPONSIBILITY_TYPE (
  RESPONSIBILITY_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_ADJUSTMENT (
  RETURN_ADJUSTMENT_ID VARCHAR2(20)  NOT NULL,
  RETURN_ADJUSTMENT_TYPE_ID VARCHAR2(20)  ,
  RETURN_ID VARCHAR2(20)  ,
  RETURN_ITEM_SEQ_ID VARCHAR2(20)  ,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  DESCRIPTION VARCHAR2(255)  ,
  RETURN_TYPE_ID VARCHAR2(20)  ,
  ORDER_ADJUSTMENT_ID VARCHAR2(20)  ,
  AMOUNT NUMBER NULL,
  PRODUCT_PROMO_ID VARCHAR2(20)  ,
  PRODUCT_PROMO_RULE_ID VARCHAR2(20)  ,
  PRODUCT_PROMO_ACTION_SEQ_ID VARCHAR2(20)  ,
  PRODUCT_FEATURE_ID VARCHAR2(20)  ,
  CORRESPONDING_PRODUCT_ID VARCHAR2(20)  ,
  TAX_AUTHORITY_RATE_SEQ_ID VARCHAR2(20)  ,
  SOURCE_REFERENCE_ID VARCHAR2(60)  ,
  SOURCE_PERCENTAGE NUMBER NULL,
  CUSTOMER_REFERENCE_ID VARCHAR2(60)  ,
  PRIMARY_GEO_ID VARCHAR2(20)  ,
  SECONDARY_GEO_ID VARCHAR2(20)  ,
  EXEMPT_AMOUNT NUMBER NULL,
  TAX_AUTH_GEO_ID VARCHAR2(20)  ,
  TAX_AUTH_PARTY_ID VARCHAR2(20)  ,
  OVERRIDE_GL_ACCOUNT_ID VARCHAR2(20)  ,
  INCLUDE_IN_TAX VARCHAR2(1) NULL,
  INCLUDE_IN_SHIPPING VARCHAR2(1) NULL,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_ADJUSTMENT_TYPE (
  RETURN_ADJUSTMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_CONTACT_MECH (
  RETURN_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_HEADER (
  RETURN_ID VARCHAR2(20)  NOT NULL,
  RETURN_HEADER_TYPE_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  CREATED_BY VARCHAR2(250)  ,
  FROM_PARTY_ID VARCHAR2(20)  ,
  TO_PARTY_ID VARCHAR2(20)  ,
  PAYMENT_METHOD_ID VARCHAR2(20)  ,
  FIN_ACCOUNT_ID VARCHAR2(20)  ,
  BILLING_ACCOUNT_ID VARCHAR2(20)  ,
  ENTRY_DATE VARCHAR2(255) ,
  ORIGIN_CONTACT_MECH_ID VARCHAR2(20)  ,
  DESTINATION_FACILITY_ID VARCHAR2(20)  ,
  NEEDS_INVENTORY_RECEIVE VARCHAR2(1) NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  SUPPLIER_RMA_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_HEADER_TYPE (
  RETURN_HEADER_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_ITEM (
  RETURN_ID VARCHAR2(20)  NOT NULL,
  RETURN_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  RETURN_REASON_ID VARCHAR2(20)  ,
  RETURN_TYPE_ID VARCHAR2(20)  ,
  RETURN_ITEM_TYPE_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  EXPECTED_ITEM_STATUS VARCHAR2(20)  ,
  RETURN_QUANTITY NUMBER NULL,
  RECEIVED_QUANTITY NUMBER NULL,
  RETURN_PRICE NUMBER NULL,
  RETURN_ITEM_RESPONSE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_ITEM_BILLING (
  RETURN_ID VARCHAR2(20)  NOT NULL,
  RETURN_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_RECEIPT_ID VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_ITEM_RESPONSE (
  RETURN_ITEM_RESPONSE_ID VARCHAR2(20)  NOT NULL,
  ORDER_PAYMENT_PREFERENCE_ID VARCHAR2(20)  ,
  REPLACEMENT_ORDER_ID VARCHAR2(20)  ,
  PAYMENT_ID VARCHAR2(20)  ,
  BILLING_ACCOUNT_ID VARCHAR2(20)  ,
  FIN_ACCOUNT_TRANS_ID VARCHAR2(20)  ,
  RESPONSE_AMOUNT NUMBER NULL,
  RESPONSE_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_ITEM_SHIPMENT (
  RETURN_ID VARCHAR2(20)  NOT NULL,
  RETURN_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  QUANTITY NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_ITEM_TYPE (
  RETURN_ITEM_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_ITEM_TYPE_MAP (
  RETURN_ITEM_MAP_KEY VARCHAR2(20)  NOT NULL,
  RETURN_HEADER_TYPE_ID VARCHAR2(20)  NOT NULL,
  RETURN_ITEM_TYPE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_REASON (
  RETURN_REASON_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  SEQUENCE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_STATUS (
  RETURN_STATUS_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  ,
  RETURN_ID VARCHAR2(20)  ,
  RETURN_ITEM_SEQ_ID VARCHAR2(20)  ,
  CHANGE_BY_USER_LOGIN_ID VARCHAR2(250)  ,
  STATUS_DATETIME VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RETURN_TYPE (
  RETURN_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  SEQUENCE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ROLE_TYPE (
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ROLE_TYPE_ATTR (
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE RUNTIME_DATA (
  RUNTIME_DATA_ID VARCHAR2(20)  NOT NULL,
  RUNTIME_INFO VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALARY_STEP (
  SALARY_STEP_SEQ_ID VARCHAR2(20)  NOT NULL,
  PAY_GRADE_ID VARCHAR2(20)  NOT NULL,
  DATE_MODIFIED VARCHAR2(255) ,
  AMOUNT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALES_FORECAST (
  SALES_FORECAST_ID VARCHAR2(20)  NOT NULL,
  PARENT_SALES_FORECAST_ID VARCHAR2(20)  ,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  ,
  INTERNAL_PARTY_ID VARCHAR2(20)  ,
  CUSTOM_TIME_PERIOD_ID VARCHAR2(20)  ,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  QUOTA_AMOUNT NUMBER NULL,
  FORECAST_AMOUNT NUMBER NULL,
  BEST_CASE_AMOUNT NUMBER NULL,
  CLOSED_AMOUNT NUMBER NULL,
  PERCENT_OF_QUOTA_FORECAST NUMBER NULL,
  PERCENT_OF_QUOTA_CLOSED NUMBER NULL,
  PIPELINE_AMOUNT NUMBER NULL,
  CREATED_BY_USER_LOGIN_ID VARCHAR2(250)  ,
  MODIFIED_BY_USER_LOGIN_ID VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALES_FORECAST_DETAIL (
  SALES_FORECAST_ID VARCHAR2(20)  NOT NULL,
  SALES_FORECAST_DETAIL_ID VARCHAR2(20)  NOT NULL,
  AMOUNT NUMBER NULL,
  QUANTITY_UOM_ID VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  PRODUCT_CATEGORY_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALES_FORECAST_HISTORY (
  SALES_FORECAST_HISTORY_ID VARCHAR2(20)  NOT NULL,
  SALES_FORECAST_ID VARCHAR2(20)  ,
  PARENT_SALES_FORECAST_ID VARCHAR2(20)  ,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  ,
  INTERNAL_PARTY_ID VARCHAR2(20)  ,
  CUSTOM_TIME_PERIOD_ID VARCHAR2(20)  ,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  QUOTA_AMOUNT NUMBER NULL,
  FORECAST_AMOUNT NUMBER NULL,
  BEST_CASE_AMOUNT NUMBER NULL,
  CLOSED_AMOUNT NUMBER NULL,
  PERCENT_OF_QUOTA_FORECAST NUMBER NULL,
  PERCENT_OF_QUOTA_CLOSED NUMBER NULL,
  CHANGE_NOTE VARCHAR2(255) ,
  MODIFIED_BY_USER_LOGIN_ID VARCHAR2(250)  ,
  MODIFIED_TIMESTAMP VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALES_OPPORTUNITY (
  SALES_OPPORTUNITY_ID VARCHAR2(20)  NOT NULL,
  OPPORTUNITY_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255) ,
  NEXT_STEP VARCHAR2(255) ,
  NEXT_STEP_DATE VARCHAR2(255) ,
  ESTIMATED_AMOUNT NUMBER NULL,
  ESTIMATED_PROBABILITY NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  MARKETING_CAMPAIGN_ID VARCHAR2(20)  ,
  DATA_SOURCE_ID VARCHAR2(20)  ,
  ESTIMATED_CLOSE_DATE VARCHAR2(255) ,
  OPPORTUNITY_STAGE_ID VARCHAR2(20)  ,
  TYPE_ENUM_ID VARCHAR2(20)  ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALES_OPPORTUNITY_COMPETITOR (
  SALES_OPPORTUNITY_ID VARCHAR2(20)  NOT NULL,
  COMPETITOR_PARTY_ID VARCHAR2(20)  NOT NULL,
  POSITION_ENUM_ID VARCHAR2(20)  ,
  STRENGTHS VARCHAR2(255) ,
  WEAKNESSES VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALES_OPPORTUNITY_HISTORY (
  SALES_OPPORTUNITY_HISTORY_ID VARCHAR2(20)  NOT NULL,
  SALES_OPPORTUNITY_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255) ,
  NEXT_STEP VARCHAR2(255) ,
  ESTIMATED_AMOUNT NUMBER NULL,
  ESTIMATED_PROBABILITY NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  ESTIMATED_CLOSE_DATE VARCHAR2(255) ,
  OPPORTUNITY_STAGE_ID VARCHAR2(20)  ,
  CHANGE_NOTE VARCHAR2(255) ,
  MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  MODIFIED_TIMESTAMP VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALES_OPPORTUNITY_QUOTE (
  SALES_OPPORTUNITY_ID VARCHAR2(20)  NOT NULL,
  QUOTE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALES_OPPORTUNITY_ROLE (
  SALES_OPPORTUNITY_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALES_OPPORTUNITY_STAGE (
  OPPORTUNITY_STAGE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  DEFAULT_PROBABILITY NUMBER NULL,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALES_OPPORTUNITY_TRCK_CODE (
  SALES_OPPORTUNITY_ID VARCHAR2(20)  NOT NULL,
  TRACKING_CODE_ID VARCHAR2(20)  NOT NULL,
  RECEIVED_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALES_OPPORTUNITY_WORK_EFFORT (
  SALES_OPPORTUNITY_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SALE_TYPE (
  SALE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SECURITY_GROUP (
  GROUP_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SECURITY_GROUP_PERMISSION (
  GROUP_ID VARCHAR2(20)  NOT NULL,
  PERMISSION_ID VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SECURITY_PERMISSION (
  PERMISSION_ID VARCHAR2(60)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SEGMENT_GROUP (
  SEGMENT_GROUP_ID VARCHAR2(20)  NOT NULL,
  SEGMENT_GROUP_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SEGMENT_GROUP_CLASSIFICATION (
  SEGMENT_GROUP_ID VARCHAR2(20)  NOT NULL,
  PARTY_CLASSIFICATION_GROUP_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SEGMENT_GROUP_GEO (
  SEGMENT_GROUP_ID VARCHAR2(20)  NOT NULL,
  GEO_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SEGMENT_GROUP_ROLE (
  SEGMENT_GROUP_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SEGMENT_GROUP_TYPE (
  SEGMENT_GROUP_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SEQUENCE_VALUE_ITEM (
  SEQ_NAME VARCHAR2(60)  NOT NULL,
  SEQ_ID NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SERVER_HIT (
  VISIT_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(250)  NOT NULL,
  HIT_START_DATE_TIME VARCHAR2(255) NOT NULL,
  HIT_TYPE_ID VARCHAR2(20)  NOT NULL,
  NUM_OF_BYTES NUMBER NULL,
  RUNNING_TIME_MILLIS NUMBER NULL,
  USER_LOGIN_ID VARCHAR2(250)  ,
  STATUS_ID VARCHAR2(20)  ,
  REQUEST_URL VARCHAR2(255)  ,
  REFERRER_URL VARCHAR2(255)  ,
  SERVER_IP_ADDRESS VARCHAR2(20)  ,
  SERVER_HOST_NAME VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  INTERNAL_CONTENT_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ID_BY_IP_CONTACT_MECH_ID VARCHAR2(20)  ,
  REF_BY_WEB_CONTACT_MECH_ID VARCHAR2(20)  ) ;
CREATE TABLE SERVER_HIT_BIN (
  SERVER_HIT_BIN_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(250)  ,
  HIT_TYPE_ID VARCHAR2(20)  ,
  SERVER_IP_ADDRESS VARCHAR2(20)  ,
  SERVER_HOST_NAME VARCHAR2(255)  ,
  BIN_START_DATE_TIME VARCHAR2(255) ,
  BIN_END_DATE_TIME VARCHAR2(255) ,
  NUMBER_HITS NUMBER NULL,
  TOTAL_TIME_MILLIS NUMBER NULL,
  MIN_TIME_MILLIS NUMBER NULL,
  MAX_TIME_MILLIS NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  INTERNAL_CONTENT_ID VARCHAR2(20)  ) ;
CREATE TABLE SERVER_HIT_TYPE (
  HIT_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SERVICE_SEMAPHORE (
  SERVICE_NAME VARCHAR2(100)  NOT NULL,
  LOCKED_BY_INSTANCE_ID VARCHAR2(20)  ,
  LOCK_THREAD VARCHAR2(100)  ,
  LOCK_TIME VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SETTLEMENT_TERM (
  SETTLEMENT_TERM_ID VARCHAR2(20)  NOT NULL,
  TERM_NAME VARCHAR2(100)  ,
  TERM_VALUE NUMBER NULL,
  UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT (
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_TYPE_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  PRIMARY_ORDER_ID VARCHAR2(20)  ,
  PRIMARY_RETURN_ID VARCHAR2(20)  ,
  PRIMARY_SHIP_GROUP_SEQ_ID VARCHAR2(20)  ,
  PICKLIST_BIN_ID VARCHAR2(20)  ,
  ESTIMATED_READY_DATE VARCHAR2(255) ,
  ESTIMATED_SHIP_DATE VARCHAR2(255) ,
  ESTIMATED_SHIP_WORK_EFF_ID VARCHAR2(20)  ,
  ESTIMATED_ARRIVAL_DATE VARCHAR2(255) ,
  ESTIMATED_ARRIVAL_WORK_EFF_ID VARCHAR2(20)  ,
  LATEST_CANCEL_DATE VARCHAR2(255) ,
  ESTIMATED_SHIP_COST NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  HANDLING_INSTRUCTIONS VARCHAR2(255)  ,
  ORIGIN_FACILITY_ID VARCHAR2(20)  ,
  DESTINATION_FACILITY_ID VARCHAR2(20)  ,
  ORIGIN_CONTACT_MECH_ID VARCHAR2(20)  ,
  ORIGIN_TELECOM_NUMBER_ID VARCHAR2(20)  ,
  DESTINATION_CONTACT_MECH_ID VARCHAR2(20)  ,
  DESTINATION_TELECOM_NUMBER_ID VARCHAR2(20)  ,
  PARTY_ID_TO VARCHAR2(20)  ,
  PARTY_ID_FROM VARCHAR2(20)  ,
  ADDITIONAL_SHIPPING_CHARGE NUMBER NULL,
  ADDTL_SHIPPING_CHARGE_DESC VARCHAR2(255)  ,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_ATTRIBUTE (
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_BOX_TYPE (
  SHIPMENT_BOX_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  DIMENSION_UOM_ID VARCHAR2(20)  ,
  BOX_LENGTH NUMBER NULL,
  BOX_WIDTH NUMBER NULL,
  BOX_HEIGHT NUMBER NULL,
  WEIGHT_UOM_ID VARCHAR2(20)  ,
  BOX_WEIGHT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_CONTACT_MECH (
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_CONTACT_MECH_TYPE_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_CONTACT_MECH_TYPE (
  SHIPMENT_CONTACT_MECH_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_COST_ESTIMATE (
  SHIPMENT_COST_ESTIMATE_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  CARRIER_PARTY_ID VARCHAR2(20)  ,
  CARRIER_ROLE_TYPE_ID VARCHAR2(20)  ,
  PRODUCT_STORE_SHIP_METH_ID VARCHAR2(20)  ,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  GEO_ID_TO VARCHAR2(20)  ,
  GEO_ID_FROM VARCHAR2(20)  ,
  WEIGHT_BREAK_ID VARCHAR2(20)  ,
  WEIGHT_UOM_ID VARCHAR2(20)  ,
  WEIGHT_UNIT_PRICE NUMBER NULL,
  QUANTITY_BREAK_ID VARCHAR2(20)  ,
  QUANTITY_UOM_ID VARCHAR2(20)  ,
  QUANTITY_UNIT_PRICE NUMBER NULL,
  PRICE_BREAK_ID VARCHAR2(20)  ,
  PRICE_UOM_ID VARCHAR2(20)  ,
  PRICE_UNIT_PRICE NUMBER NULL,
  ORDER_FLAT_PRICE NUMBER NULL,
  ORDER_PRICE_PERCENT NUMBER NULL,
  ORDER_ITEM_FLAT_PRICE NUMBER NULL,
  SHIPPING_PRICE_PERCENT NUMBER NULL,
  PRODUCT_FEATURE_GROUP_ID VARCHAR2(20)  ,
  OVERSIZE_UNIT NUMBER NULL,
  OVERSIZE_PRICE NUMBER NULL,
  FEATURE_PERCENT NUMBER NULL,
  FEATURE_PRICE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_GATEWAY_CONFIG (
  SHIPMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_GATEWAY_CONF_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_GATEWAY_CONFIG_TYPE (
  SHIPMENT_GATEWAY_CONF_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_GATEWAY_DHL (
  SHIPMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  CONNECT_URL VARCHAR2(255)  ,
  CONNECT_TIMEOUT NUMBER NULL,
  HEAD_VERSION VARCHAR2(60)  ,
  HEAD_ACTION VARCHAR2(255)  ,
  ACCESS_USER_ID VARCHAR2(255)  ,
  ACCESS_PASSWORD VARCHAR2(255)  ,
  ACCESS_ACCOUNT_NBR VARCHAR2(255)  ,
  ACCESS_SHIPPING_KEY VARCHAR2(255)  ,
  LABEL_IMAGE_FORMAT VARCHAR2(60)  ,
  RATE_ESTIMATE_TEMPLATE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_GATEWAY_FEDEX (
  SHIPMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  CONNECT_URL VARCHAR2(255)  ,
  CONNECT_SOAP_URL VARCHAR2(255)  ,
  CONNECT_TIMEOUT NUMBER NULL,
  ACCESS_ACCOUNT_NBR VARCHAR2(255)  ,
  ACCESS_METER_NUMBER VARCHAR2(255)  ,
  ACCESS_USER_KEY VARCHAR2(255)  ,
  ACCESS_USER_PWD VARCHAR2(255)  ,
  LABEL_IMAGE_TYPE VARCHAR2(60)  ,
  DEFAULT_DEFAULT_PACKAGING_TYPE VARCHAR2(255)  ,
  TEMPLATE_SHIPMENT VARCHAR2(255)  ,
  TEMPLATE_SUBSCRIPTION VARCHAR2(255)  ,
  RATE_ESTIMATE_TEMPLATE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_GATEWAY_UPS (
  SHIPMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  CONNECT_URL VARCHAR2(255)  ,
  CONNECT_TIMEOUT NUMBER NULL,
  SHIPPER_NUMBER VARCHAR2(255)  ,
  BILL_SHIPPER_ACCOUNT_NUMBER VARCHAR2(255)  ,
  ACCESS_LICENSE_NUMBER VARCHAR2(255)  ,
  ACCESS_USER_ID VARCHAR2(255)  ,
  ACCESS_PASSWORD VARCHAR2(255)  ,
  SAVE_CERT_INFO VARCHAR2(60)  ,
  SAVE_CERT_PATH VARCHAR2(255)  ,
  SHIPPER_PICKUP_TYPE VARCHAR2(60)  ,
  CUSTOMER_CLASSIFICATION VARCHAR2(60)  ,
  MAX_ESTIMATE_WEIGHT NUMBER NULL,
  MIN_ESTIMATE_WEIGHT NUMBER NULL,
  COD_ALLOW_COD VARCHAR2(255)  ,
  COD_SURCHARGE_AMOUNT NUMBER NULL,
  COD_SURCHARGE_CURRENCY_UOM_ID VARCHAR2(60)  ,
  COD_SURCHARGE_APPLY_TO_PACKAGE VARCHAR2(60)  ,
  COD_FUNDS_CODE VARCHAR2(60)  ,
  DEFAULT_RETURN_LABEL_MEMO VARCHAR2(255)  ,
  DEFAULT_RETURN_LABEL_SUBJECT VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_GATEWAY_USPS (
  SHIPMENT_GATEWAY_CONFIG_ID VARCHAR2(20)  NOT NULL,
  CONNECT_URL VARCHAR2(255)  ,
  CONNECT_URL_LABELS VARCHAR2(255)  ,
  CONNECT_TIMEOUT NUMBER NULL,
  ACCESS_USER_ID VARCHAR2(255)  ,
  ACCESS_PASSWORD VARCHAR2(255)  ,
  MAX_ESTIMATE_WEIGHT NUMBER NULL,
  TEST VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_ITEM (
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  SHIPMENT_CONTENT_DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_ITEM_BILLING (
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_ITEM_FEATURE (
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_METHOD_TYPE (
  SHIPMENT_METHOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_PACKAGE (
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_PACKAGE_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_BOX_TYPE_ID VARCHAR2(20)  ,
  DATE_CREATED VARCHAR2(255) ,
  BOX_LENGTH NUMBER NULL,
  BOX_HEIGHT NUMBER NULL,
  BOX_WIDTH NUMBER NULL,
  DIMENSION_UOM_ID VARCHAR2(20)  ,
  WEIGHT NUMBER NULL,
  WEIGHT_UOM_ID VARCHAR2(20)  ,
  INSURED_VALUE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_PACKAGE_CONTENT (
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_PACKAGE_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  QUANTITY NUMBER NULL,
  SUB_PRODUCT_ID VARCHAR2(20)  ,
  SUB_PRODUCT_QUANTITY NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_PACKAGE_ROUTE_SEG (
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_PACKAGE_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ROUTE_SEGMENT_ID VARCHAR2(20)  NOT NULL,
  TRACKING_CODE VARCHAR2(60)  ,
  BOX_NUMBER VARCHAR2(60)  ,
  LABEL_IMAGE VARCHAR2(255) ,
  LABEL_INTL_SIGN_IMAGE VARCHAR2(255) ,
  LABEL_HTML VARCHAR2(255) ,
  LABEL_PRINTED VARCHAR2(1) NULL,
  INTERNATIONAL_INVOICE VARCHAR2(255) ,
  PACKAGE_TRANSPORT_COST NUMBER NULL,
  PACKAGE_SERVICE_COST NUMBER NULL,
  PACKAGE_OTHER_COST NUMBER NULL,
  COD_AMOUNT NUMBER NULL,
  INSURED_AMOUNT NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_RECEIPT (
  RECEIPT_ID VARCHAR2(20)  NOT NULL,
  INVENTORY_ITEM_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  SHIPMENT_ID VARCHAR2(20)  ,
  SHIPMENT_ITEM_SEQ_ID VARCHAR2(20)  ,
  SHIPMENT_PACKAGE_SEQ_ID VARCHAR2(20)  ,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  RETURN_ID VARCHAR2(20)  ,
  RETURN_ITEM_SEQ_ID VARCHAR2(20)  ,
  REJECTION_ID VARCHAR2(20)  ,
  RECEIVED_BY_USER_LOGIN_ID VARCHAR2(250)  ,
  DATETIME_RECEIVED VARCHAR2(255) ,
  ITEM_DESCRIPTION VARCHAR2(255)  ,
  QUANTITY_ACCEPTED NUMBER NULL,
  QUANTITY_REJECTED NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_RECEIPT_ROLE (
  RECEIPT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_ROUTE_SEGMENT (
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ROUTE_SEGMENT_ID VARCHAR2(20)  NOT NULL,
  DELIVERY_ID VARCHAR2(20)  ,
  ORIGIN_FACILITY_ID VARCHAR2(20)  ,
  DEST_FACILITY_ID VARCHAR2(20)  ,
  ORIGIN_CONTACT_MECH_ID VARCHAR2(20)  ,
  ORIGIN_TELECOM_NUMBER_ID VARCHAR2(20)  ,
  DEST_CONTACT_MECH_ID VARCHAR2(20)  ,
  DEST_TELECOM_NUMBER_ID VARCHAR2(20)  ,
  CARRIER_PARTY_ID VARCHAR2(20)  ,
  SHIPMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  CARRIER_SERVICE_STATUS_ID VARCHAR2(20)  ,
  CARRIER_DELIVERY_ZONE VARCHAR2(60)  ,
  CARRIER_RESTRICTION_CODES VARCHAR2(60)  ,
  CARRIER_RESTRICTION_DESC VARCHAR2(255) ,
  BILLING_WEIGHT NUMBER NULL,
  BILLING_WEIGHT_UOM_ID VARCHAR2(20)  ,
  ACTUAL_TRANSPORT_COST NUMBER NULL,
  ACTUAL_SERVICE_COST NUMBER NULL,
  ACTUAL_OTHER_COST NUMBER NULL,
  ACTUAL_COST NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  ,
  ACTUAL_START_DATE VARCHAR2(255) ,
  ACTUAL_ARRIVAL_DATE VARCHAR2(255) ,
  ESTIMATED_START_DATE VARCHAR2(255) ,
  ESTIMATED_ARRIVAL_DATE VARCHAR2(255) ,
  TRACKING_ID_NUMBER VARCHAR2(60)  ,
  TRACKING_DIGEST VARCHAR2(255) ,
  UPDATED_BY_USER_LOGIN_ID VARCHAR2(250)  ,
  LAST_UPDATED_DATE VARCHAR2(255) ,
  HOME_DELIVERY_TYPE VARCHAR2(20)  ,
  HOME_DELIVERY_DATE VARCHAR2(255) ,
  THIRD_PARTY_ACCOUNT_NUMBER VARCHAR2(20)  ,
  THIRD_PARTY_POSTAL_CODE VARCHAR2(20)  ,
  THIRD_PARTY_COUNTRY_GEO_CODE VARCHAR2(20)  ,
  UPS_HIGH_VALUE_REPORT VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_STATUS (
  STATUS_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ID VARCHAR2(20)  NOT NULL,
  STATUS_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_TYPE (
  SHIPMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPMENT_TYPE_ATTR (
  SHIPMENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHIPPING_DOCUMENT (
  DOCUMENT_ID VARCHAR2(20)  NOT NULL,
  SHIPMENT_ID VARCHAR2(20)  ,
  SHIPMENT_ITEM_SEQ_ID VARCHAR2(20)  ,
  SHIPMENT_PACKAGE_SEQ_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHOPPING_LIST (
  SHOPPING_LIST_ID VARCHAR2(20)  NOT NULL,
  SHOPPING_LIST_TYPE_ID VARCHAR2(20)  ,
  PARENT_SHOPPING_LIST_ID VARCHAR2(20)  ,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  VISITOR_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  LIST_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  IS_PUBLIC VARCHAR2(1) NULL,
  IS_ACTIVE VARCHAR2(1) NULL,
  CURRENCY_UOM VARCHAR2(20)  ,
  SHIPMENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  CARRIER_PARTY_ID VARCHAR2(20)  ,
  CARRIER_ROLE_TYPE_ID VARCHAR2(20)  ,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  PAYMENT_METHOD_ID VARCHAR2(20)  ,
  RECURRENCE_INFO_ID VARCHAR2(20)  ,
  LAST_ORDERED_DATE VARCHAR2(255) ,
  LAST_ADMIN_MODIFIED VARCHAR2(255) ,
  PRODUCT_PROMO_CODE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHOPPING_LIST_ITEM (
  SHOPPING_LIST_ID VARCHAR2(20)  NOT NULL,
  SHOPPING_LIST_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  ,
  QUANTITY NUMBER NULL,
  MODIFIED_PRICE NUMBER NULL,
  RESERV_START VARCHAR2(255) ,
  RESERV_LENGTH NUMBER NULL,
  RESERV_PERSONS NUMBER NULL,
  QUANTITY_PURCHASED NUMBER NULL,
  CONFIG_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHOPPING_LIST_ITEM_SURVEY (
  SHOPPING_LIST_ID VARCHAR2(20)  NOT NULL,
  SHOPPING_LIST_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  SURVEY_RESPONSE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHOPPING_LIST_TYPE (
  SHOPPING_LIST_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SHOPPING_LIST_WORK_EFFORT (
  SHOPPING_LIST_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SKILL_TYPE (
  SKILL_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE STANDARD_LANGUAGE (
  STANDARD_LANGUAGE_ID VARCHAR2(20)  NOT NULL,
  LANG_CODE3T VARCHAR2(10)  ,
  LANG_CODE3B VARCHAR2(10)  ,
  LANG_CODE2 VARCHAR2(10)  ,
  LANG_NAME VARCHAR2(60)  ,
  LANG_FAMILY VARCHAR2(60)  ,
  LANG_CHARSET VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE STANDARD_TIME_PERIOD (
  STANDARD_TIME_PERIOD_ID VARCHAR2(20)  NOT NULL,
  PERIOD_TYPE_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE STATUS_ITEM (
  STATUS_ID VARCHAR2(20)  NOT NULL,
  STATUS_TYPE_ID VARCHAR2(20)  ,
  STATUS_CODE VARCHAR2(60)  ,
  SEQUENCE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE STATUS_TYPE (
  STATUS_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE STATUS_VALID_CHANGE (
  STATUS_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID_TO VARCHAR2(20)  NOT NULL,
  CONDITION_EXPRESSION VARCHAR2(255)  ,
  TRANSITION_NAME VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUBSCRIPTION (
  SUBSCRIPTION_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  SUBSCRIPTION_RESOURCE_ID VARCHAR2(20)  ,
  COMMUNICATION_EVENT_ID VARCHAR2(20)  ,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  ORIGINATED_FROM_PARTY_ID VARCHAR2(20)  ,
  ORIGINATED_FROM_ROLE_TYPE_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ROLE_TYPE_ID VARCHAR2(20)  ,
  PARTY_NEED_ID VARCHAR2(20)  ,
  NEED_TYPE_ID VARCHAR2(20)  ,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  PRODUCT_ID VARCHAR2(20)  ,
  PRODUCT_CATEGORY_ID VARCHAR2(20)  ,
  INVENTORY_ITEM_ID VARCHAR2(20)  ,
  SUBSCRIPTION_TYPE_ID VARCHAR2(20)  ,
  EXTERNAL_SUBSCRIPTION_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  PURCHASE_FROM_DATE VARCHAR2(255) ,
  PURCHASE_THRU_DATE VARCHAR2(255) ,
  MAX_LIFE_TIME NUMBER NULL,
  MAX_LIFE_TIME_UOM_ID VARCHAR2(20)  ,
  AVAILABLE_TIME NUMBER NULL,
  AVAILABLE_TIME_UOM_ID VARCHAR2(20)  ,
  USE_COUNT_LIMIT NUMBER NULL,
  USE_TIME NUMBER NULL,
  USE_TIME_UOM_ID VARCHAR2(20)  ,
  AUTOMATIC_EXTEND VARCHAR2(1) NULL,
  CANCL_AUTM_EXT_TIME NUMBER NULL,
  CANCL_AUTM_EXT_TIME_UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUBSCRIPTION_ACTIVITY (
  SUBSCRIPTION_ACTIVITY_ID VARCHAR2(20)  NOT NULL,
  COMMENTS VARCHAR2(255)  ,
  DATE_SENT VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUBSCRIPTION_ATTRIBUTE (
  SUBSCRIPTION_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUBSCRIPTION_COMM_EVENT (
  SUBSCRIPTION_ID VARCHAR2(20)  NOT NULL,
  COMMUNICATION_EVENT_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUBSCRIPTION_FULFILLMENT_PIECE (
  SUBSCRIPTION_ACTIVITY_ID VARCHAR2(20)  NOT NULL,
  SUBSCRIPTION_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUBSCRIPTION_RESOURCE (
  SUBSCRIPTION_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  PARENT_RESOURCE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  CONTENT_ID VARCHAR2(20)  ,
  WEB_SITE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUBSCRIPTION_TYPE (
  SUBSCRIPTION_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUBSCRIPTION_TYPE_ATTR (
  SUBSCRIPTION_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUPPLIER_PREF_ORDER (
  SUPPLIER_PREF_ORDER_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUPPLIER_PRODUCT (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  AVAILABLE_FROM_DATE VARCHAR2(255) NOT NULL,
  AVAILABLE_THRU_DATE VARCHAR2(255) ,
  SUPPLIER_PREF_ORDER_ID VARCHAR2(20)  ,
  SUPPLIER_RATING_TYPE_ID VARCHAR2(20)  ,
  STANDARD_LEAD_TIME_DAYS NUMBER NULL,
  MINIMUM_ORDER_QUANTITY NUMBER NULL,
  ORDER_QTY_INCREMENTS NUMBER NULL,
  UNITS_INCLUDED NUMBER NULL,
  QUANTITY_UOM_ID VARCHAR2(20)  ,
  AGREEMENT_ID VARCHAR2(20)  ,
  AGREEMENT_ITEM_SEQ_ID VARCHAR2(20)  ,
  LAST_PRICE NUMBER NULL,
  SHIPPING_PRICE NUMBER NULL,
  CURRENCY_UOM_ID VARCHAR2(20)  NOT NULL,
  SUPPLIER_PRODUCT_NAME VARCHAR2(100)  ,
  SUPPLIER_PRODUCT_ID VARCHAR2(20)  ,
  CAN_COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUPPLIER_PRODUCT_FEATURE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_FEATURE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(100)  ,
  UOM_ID VARCHAR2(20)  ,
  ID_CODE VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SUPPLIER_RATING_TYPE (
  SUPPLIER_RATING_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY (
  SURVEY_ID VARCHAR2(20)  NOT NULL,
  SURVEY_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  COMMENTS VARCHAR2(255)  ,
  SUBMIT_CAPTION VARCHAR2(60)  ,
  RESPONSE_SERVICE VARCHAR2(255)  ,
  IS_ANONYMOUS VARCHAR2(1) NULL,
  ALLOW_MULTIPLE VARCHAR2(1) NULL,
  ALLOW_UPDATE VARCHAR2(1) NULL,
  ACRO_FORM_CONTENT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_APPL_TYPE (
  SURVEY_APPL_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_MULTI_RESP (
  SURVEY_ID VARCHAR2(20)  NOT NULL,
  SURVEY_MULTI_RESP_ID VARCHAR2(20)  NOT NULL,
  MULTI_RESP_TITLE VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_MULTI_RESP_COLUMN (
  SURVEY_ID VARCHAR2(20)  NOT NULL,
  SURVEY_MULTI_RESP_ID VARCHAR2(20)  NOT NULL,
  SURVEY_MULTI_RESP_COL_ID VARCHAR2(20)  NOT NULL,
  COLUMN_TITLE VARCHAR2(100)  ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_PAGE (
  SURVEY_ID VARCHAR2(20)  NOT NULL,
  SURVEY_PAGE_SEQ_ID VARCHAR2(20)  NOT NULL,
  PAGE_NAME VARCHAR2(100)  ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_QUESTION (
  SURVEY_QUESTION_ID VARCHAR2(20)  NOT NULL,
  SURVEY_QUESTION_CATEGORY_ID VARCHAR2(20)  ,
  SURVEY_QUESTION_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  QUESTION VARCHAR2(255) ,
  HINT VARCHAR2(255) ,
  ENUM_TYPE_ID VARCHAR2(20)  ,
  GEO_ID VARCHAR2(20)  ,
  FORMAT_STRING VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_QUESTION_APPL (
  SURVEY_ID VARCHAR2(20)  NOT NULL,
  SURVEY_QUESTION_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SURVEY_PAGE_SEQ_ID VARCHAR2(20)  ,
  SURVEY_MULTI_RESP_ID VARCHAR2(20)  ,
  SURVEY_MULTI_RESP_COL_ID VARCHAR2(20)  ,
  REQUIRED_FIELD VARCHAR2(1) NULL,
  SEQUENCE_NUM NUMBER NULL,
  EXTERNAL_FIELD_REF VARCHAR2(255)  ,
  WITH_SURVEY_QUESTION_ID VARCHAR2(20)  ,
  WITH_SURVEY_OPTION_SEQ_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_QUESTION_CATEGORY (
  SURVEY_QUESTION_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  PARENT_CATEGORY_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_QUESTION_OPTION (
  SURVEY_QUESTION_ID VARCHAR2(20)  NOT NULL,
  SURVEY_OPTION_SEQ_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  SEQUENCE_NUM NUMBER NULL,
  AMOUNT_BASE NUMBER NULL,
  AMOUNT_BASE_UOM_ID VARCHAR2(20)  ,
  WEIGHT_FACTOR NUMBER ,
  DURATION NUMBER NULL,
  DURATION_UOM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_QUESTION_TYPE (
  SURVEY_QUESTION_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_RESPONSE (
  SURVEY_RESPONSE_ID VARCHAR2(20)  NOT NULL,
  SURVEY_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  RESPONSE_DATE VARCHAR2(255) ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  REFERENCE_ID VARCHAR2(250)  ,
  GENERAL_FEEDBACK VARCHAR2(255) ,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  STATUS_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_RESPONSE_ANSWER (
  SURVEY_RESPONSE_ID VARCHAR2(20)  NOT NULL,
  SURVEY_QUESTION_ID VARCHAR2(20)  NOT NULL,
  SURVEY_MULTI_RESP_COL_ID VARCHAR2(20)  NOT NULL,
  SURVEY_MULTI_RESP_ID VARCHAR2(20)  ,
  BOOLEAN_RESPONSE VARCHAR2(1) NULL,
  CURRENCY_RESPONSE NUMBER NULL,
  FLOAT_RESPONSE NUMBER ,
  NUMERIC_RESPONSE NUMBER NULL,
  TEXT_RESPONSE VARCHAR2(255) ,
  SURVEY_OPTION_SEQ_ID VARCHAR2(20)  ,
  CONTENT_ID VARCHAR2(20)  ,
  ANSWERED_DATE VARCHAR2(255) ,
  AMOUNT_BASE NUMBER NULL,
  AMOUNT_BASE_UOM_ID VARCHAR2(20)  ,
  WEIGHT_FACTOR NUMBER ,
  DURATION NUMBER NULL,
  DURATION_UOM_ID VARCHAR2(20)  ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SURVEY_TRIGGER (
  SURVEY_ID VARCHAR2(20)  NOT NULL,
  SURVEY_APPL_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE SYSTEM_PROPERTY (
  SYSTEM_RESOURCE_ID VARCHAR2(60)  NOT NULL,
  SYSTEM_PROPERTY_ID VARCHAR2(60)  NOT NULL,
  SYSTEM_PROPERTY_VALUE VARCHAR2(255)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TARPITTED_LOGIN_VIEW (
  VIEW_NAME_ID VARCHAR2(60)  NOT NULL,
  USER_LOGIN_ID VARCHAR2(250)  NOT NULL,
  TARPIT_RELEASE_DATE_TIME NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TAX_AUTHORITY (
  TAX_AUTH_GEO_ID VARCHAR2(20)  NOT NULL,
  TAX_AUTH_PARTY_ID VARCHAR2(20)  NOT NULL,
  REQUIRE_TAX_ID_FOR_EXEMPTION VARCHAR2(1) NULL,
  TAX_ID_FORMAT_PATTERN VARCHAR2(255)  ,
  INCLUDE_TAX_IN_PRICE VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TAX_AUTHORITY_ASSOC (
  TAX_AUTH_GEO_ID VARCHAR2(20)  NOT NULL,
  TAX_AUTH_PARTY_ID VARCHAR2(20)  NOT NULL,
  TO_TAX_AUTH_GEO_ID VARCHAR2(20)  NOT NULL,
  TO_TAX_AUTH_PARTY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  TAX_AUTHORITY_ASSOC_TYPE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TAX_AUTHORITY_ASSOC_TYPE (
  TAX_AUTHORITY_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TAX_AUTHORITY_CATEGORY (
  TAX_AUTH_GEO_ID VARCHAR2(20)  NOT NULL,
  TAX_AUTH_PARTY_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_CATEGORY_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TAX_AUTHORITY_GL_ACCOUNT (
  TAX_AUTH_GEO_ID VARCHAR2(20)  NOT NULL,
  TAX_AUTH_PARTY_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TAX_AUTHORITY_RATE_PRODUCT (
  TAX_AUTHORITY_RATE_SEQ_ID VARCHAR2(20)  NOT NULL,
  TAX_AUTH_GEO_ID VARCHAR2(20)  ,
  TAX_AUTH_PARTY_ID VARCHAR2(20)  ,
  TAX_AUTHORITY_RATE_TYPE_ID VARCHAR2(20)  ,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  PRODUCT_CATEGORY_ID VARCHAR2(20)  ,
  TITLE_TRANSFER_ENUM_ID VARCHAR2(20)  ,
  MIN_ITEM_PRICE NUMBER NULL,
  MIN_PURCHASE NUMBER NULL,
  TAX_SHIPPING VARCHAR2(1) NULL,
  TAX_PERCENTAGE NUMBER NULL,
  TAX_PROMOTIONS VARCHAR2(1) NULL,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TAX_AUTHORITY_RATE_TYPE (
  TAX_AUTHORITY_RATE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TECH_DATA_CALENDAR (
  CALENDAR_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  CALENDAR_WEEK_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TECH_DATA_CALENDAR_EXC_DAY (
  CALENDAR_ID VARCHAR2(20)  NOT NULL,
  EXCEPTION_DATE_START_TIME VARCHAR2(255) NOT NULL,
  EXCEPTION_CAPACITY NUMBER NULL,
  USED_CAPACITY NUMBER NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TECH_DATA_CALENDAR_EXC_WEEK (
  CALENDAR_ID VARCHAR2(20)  NOT NULL,
  EXCEPTION_DATE_START VARCHAR2(255) NOT NULL,
  CALENDAR_WEEK_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TECH_DATA_CALENDAR_WEEK (
  CALENDAR_WEEK_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  MONDAY_START_TIME VARCHAR2(255) ,
  MONDAY_CAPACITY NUMBER ,
  TUESDAY_START_TIME VARCHAR2(255) ,
  TUESDAY_CAPACITY NUMBER ,
  WEDNESDAY_START_TIME VARCHAR2(255) ,
  WEDNESDAY_CAPACITY NUMBER ,
  THURSDAY_START_TIME VARCHAR2(255) ,
  THURSDAY_CAPACITY NUMBER ,
  FRIDAY_START_TIME VARCHAR2(255) ,
  FRIDAY_CAPACITY NUMBER ,
  SATURDAY_START_TIME VARCHAR2(255) ,
  SATURDAY_CAPACITY NUMBER ,
  SUNDAY_START_TIME VARCHAR2(255) ,
  SUNDAY_CAPACITY NUMBER ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TELECOM_NUMBER (
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  COUNTRY_CODE VARCHAR2(10)  ,
  AREA_CODE VARCHAR2(10)  ,
  CONTACT_NUMBER VARCHAR2(60)  ,
  ASK_FOR_NAME VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TEMPORAL_EXPRESSION (
  TEMP_EXPR_ID VARCHAR2(20)  NOT NULL,
  TEMP_EXPR_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  DATE1 VARCHAR2(255) ,
  DATE2 VARCHAR2(255) ,
  INTEGER1 NUMBER NULL,
  INTEGER2 NUMBER NULL,
  STRING1 VARCHAR2(20)  ,
  STRING2 VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TEMPORAL_EXPRESSION_ASSOC (
  FROM_TEMP_EXPR_ID VARCHAR2(20)  NOT NULL,
  TO_TEMP_EXPR_ID VARCHAR2(20)  NOT NULL,
  EXPR_ASSOC_TYPE VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TENANT_KEY_ENCRYPTING_KEY (
  TENANT_ID VARCHAR2(20)  NOT NULL,
  KEK_TEXT VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TERMINATION_REASON (
  TERMINATION_REASON_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TERMINATION_TYPE (
  TERMINATION_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TERM_TYPE (
  TERM_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TERM_TYPE_ATTR (
  TERM_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TESTING (
  TESTING_ID VARCHAR2(20)  NOT NULL,
  TESTING_TYPE_ID VARCHAR2(20)  ,
  TESTING_NAME VARCHAR2(100)  ,
  DESCRIPTION VARCHAR2(255)  ,
  COMMENTS VARCHAR2(255)  ,
  TESTING_SIZE NUMBER NULL,
  TESTING_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TESTING_NODE (
  TESTING_NODE_ID VARCHAR2(20)  NOT NULL,
  PRIMARY_PARENT_NODE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TESTING_NODE_MEMBER (
  TESTING_NODE_ID VARCHAR2(20)  NOT NULL,
  TESTING_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TESTING_REMOVE_ALL (
  TESTING_REMOVE_ALL_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TESTING_SUBTYPE (
  TESTING_TYPE_ID VARCHAR2(20)  NOT NULL,
  SUBTYPE_DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TESTING_TYPE (
  TESTING_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TEST_BLOB (
  TEST_BLOB_ID VARCHAR2(20)  NOT NULL,
  TEST_BLOB_FIELD VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TEST_FIELD_TYPE (
  TEST_FIELD_TYPE_ID VARCHAR2(20)  NOT NULL,
  BLOB_FIELD VARCHAR2(255) ,
  BYTE_ARRAY_FIELD VARCHAR2(255) ,
  OBJECT_FIELD VARCHAR2(255) ,
  DATE_FIELD VARCHAR2(255) ,
  TIME_FIELD VARCHAR2(255) ,
  DATE_TIME_FIELD VARCHAR2(255) ,
  FIXED_POINT_FIELD NUMBER NULL,
  FLOATING_POINT_FIELD NUMBER ,
  NUMERIC_FIELD NUMBER NULL,
  CLOB_FIELD VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TIMESHEET (
  TIMESHEET_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  ,
  CLIENT_PARTY_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  STATUS_ID VARCHAR2(20)  ,
  APPROVED_BY_USER_LOGIN_ID VARCHAR2(250)  ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TIMESHEET_ROLE (
  TIMESHEET_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TIME_ENTRY (
  TIME_ENTRY_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  RATE_TYPE_ID VARCHAR2(20)  ,
  WORK_EFFORT_ID VARCHAR2(20)  ,
  TIMESHEET_ID VARCHAR2(20)  ,
  INVOICE_ID VARCHAR2(20)  ,
  INVOICE_ITEM_SEQ_ID VARCHAR2(20)  ,
  HOURS NUMBER ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TRACKING_CODE (
  TRACKING_CODE_ID VARCHAR2(20)  NOT NULL,
  TRACKING_CODE_TYPE_ID VARCHAR2(20)  ,
  MARKETING_CAMPAIGN_ID VARCHAR2(20)  ,
  REDIRECT_URL VARCHAR2(255)  ,
  OVERRIDE_LOGO VARCHAR2(255)  ,
  OVERRIDE_CSS VARCHAR2(255)  ,
  PROD_CATALOG_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  DESCRIPTION VARCHAR2(255)  ,
  TRACKABLE_LIFETIME NUMBER NULL,
  BILLABLE_LIFETIME NUMBER NULL,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  GROUP_ID VARCHAR2(20)  ,
  SUBGROUP_ID VARCHAR2(20)  ,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TRACKING_CODE_ORDER (
  ORDER_ID VARCHAR2(20)  NOT NULL,
  TRACKING_CODE_TYPE_ID VARCHAR2(20)  NOT NULL,
  TRACKING_CODE_ID VARCHAR2(20)  ,
  IS_BILLABLE VARCHAR2(1) NULL,
  SITE_ID VARCHAR2(255)  ,
  HAS_EXPORTED VARCHAR2(1) NULL,
  AFFILIATE_REFERRED_TIME_STAMP VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TRACKING_CODE_ORDER_RETURN (
  RETURN_ID VARCHAR2(20)  NOT NULL,
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  TRACKING_CODE_TYPE_ID VARCHAR2(20)  NOT NULL,
  TRACKING_CODE_ID VARCHAR2(20)  ,
  IS_BILLABLE VARCHAR2(1) NULL,
  SITE_ID VARCHAR2(255)  ,
  HAS_EXPORTED VARCHAR2(1) NULL,
  AFFILIATE_REFERRED_TIME_STAMP VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TRACKING_CODE_TYPE (
  TRACKING_CODE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TRACKING_CODE_VISIT (
  TRACKING_CODE_ID VARCHAR2(20)  NOT NULL,
  VISIT_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  SOURCE_ENUM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TRAINING_CLASS_TYPE (
  TRAINING_CLASS_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE TRAINING_REQUEST (
  TRAINING_REQUEST_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE UNEMPLOYMENT_CLAIM (
  UNEMPLOYMENT_CLAIM_ID VARCHAR2(20)  NOT NULL,
  UNEMPLOYMENT_CLAIM_DATE VARCHAR2(255) ,
  DESCRIPTION VARCHAR2(255)  ,
  STATUS_ID VARCHAR2(20)  ,
  PARTY_ID_FROM VARCHAR2(20)  ,
  PARTY_ID_TO VARCHAR2(20)  ,
  ROLE_TYPE_ID_FROM VARCHAR2(20)  ,
  ROLE_TYPE_ID_TO VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE UOM (
  UOM_ID VARCHAR2(20)  NOT NULL,
  UOM_TYPE_ID VARCHAR2(20)  ,
  ABBREVIATION VARCHAR2(60)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE UOM_CONVERSION (
  UOM_ID VARCHAR2(20)  NOT NULL,
  UOM_ID_TO VARCHAR2(20)  NOT NULL,
  CONVERSION_FACTOR NUMBER ,
  CUSTOM_METHOD_ID VARCHAR2(20)  ,
  COLNAME NUMBER NULL,
  ROUNDING_MODE VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE UOM_CONVERSION_DATED (
  UOM_ID VARCHAR2(20)  NOT NULL,
  UOM_ID_TO VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  CONVERSION_FACTOR NUMBER ,
  CUSTOM_METHOD_ID VARCHAR2(20)  ,
  COLNAME NUMBER NULL,
  ROUNDING_MODE VARCHAR2(20)  ,
  PURPOSE_ENUM_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE UOM_GROUP (
  UOM_GROUP_ID VARCHAR2(20)  NOT NULL,
  UOM_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE UOM_TYPE (
  UOM_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE USER_AGENT (
  USER_AGENT_ID VARCHAR2(20)  NOT NULL,
  BROWSER_TYPE_ID VARCHAR2(20)  ,
  PLATFORM_TYPE_ID VARCHAR2(20)  ,
  PROTOCOL_TYPE_ID VARCHAR2(20)  ,
  USER_AGENT_TYPE_ID VARCHAR2(20)  ,
  USER_AGENT_METHOD_TYPE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE USER_AGENT_METHOD_TYPE (
  USER_AGENT_METHOD_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE USER_AGENT_TYPE (
  USER_AGENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE USER_LOGIN (
  USER_LOGIN_ID VARCHAR2(250)  NOT NULL,
  CURRENT_PASSWORD VARCHAR2(60)  ,
  PASSWORD_HINT VARCHAR2(255)  ,
  IS_SYSTEM VARCHAR2(1) NULL,
  ENABLED VARCHAR2(1) NULL,
  HAS_LOGGED_OUT VARCHAR2(1) NULL,
  REQUIRE_PASSWORD_CHANGE VARCHAR2(1) NULL,
  LAST_CURRENCY_UOM VARCHAR2(20)  ,
  LAST_LOCALE VARCHAR2(10)  ,
  LAST_TIME_ZONE VARCHAR2(60)  ,
  DISABLED_DATE_TIME VARCHAR2(255) ,
  SUCCESSIVE_FAILED_LOGINS NUMBER NULL,
  EXTERNAL_AUTH_ID VARCHAR2(250)  ,
  USER_LDAP_DN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  PARTY_ID VARCHAR2(20)  ) ;
CREATE TABLE USER_LOGIN_HISTORY (
  USER_LOGIN_ID VARCHAR2(250)  NOT NULL,
  VISIT_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  PASSWORD_USED VARCHAR2(255)  ,
  SUCCESSFUL_LOGIN VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  PARTY_ID VARCHAR2(20)  ) ;
CREATE TABLE USER_LOGIN_PASSWORD_HISTORY (
  USER_LOGIN_ID VARCHAR2(250)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  CURRENT_PASSWORD VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE USER_LOGIN_SECURITY_GROUP (
  USER_LOGIN_ID VARCHAR2(250)  NOT NULL,
  GROUP_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE USER_LOGIN_SESSION (
  USER_LOGIN_ID VARCHAR2(250)  NOT NULL,
  SAVED_DATE VARCHAR2(255) ,
  SESSION_DATA VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE USER_PREFERENCE (
  USER_LOGIN_ID VARCHAR2(250)  NOT NULL,
  USER_PREF_TYPE_ID VARCHAR2(60)  NOT NULL,
  USER_PREF_GROUP_TYPE_ID VARCHAR2(60)  ,
  USER_PREF_VALUE VARCHAR2(255)  ,
  USER_PREF_DATA_TYPE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE USER_PREF_GROUP_TYPE (
  USER_PREF_GROUP_TYPE_ID VARCHAR2(60)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VALID_CONTACT_MECH_ROLE (
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_TYPE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VALID_RESPONSIBILITY (
  EMPL_POSITION_TYPE_ID VARCHAR2(20)  NOT NULL,
  RESPONSIBILITY_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VALUE_LINK_FULFILLMENT (
  FULFILLMENT_ID VARCHAR2(20)  NOT NULL,
  TYPE_ENUM_ID VARCHAR2(20)  ,
  MERCHANT_ID VARCHAR2(250)  ,
  PARTY_ID VARCHAR2(20)  ,
  ORDER_ID VARCHAR2(20)  ,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  ,
  SURVEY_RESPONSE_ID VARCHAR2(20)  ,
  CARD_NUMBER VARCHAR2(60)  ,
  PIN_NUMBER VARCHAR2(60)  ,
  AMOUNT NUMBER NULL,
  RESPONSE_CODE VARCHAR2(60)  ,
  REFERENCE_NUM VARCHAR2(60)  ,
  AUTH_CODE VARCHAR2(60)  ,
  FULFILLMENT_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VALUE_LINK_KEY (
  MERCHANT_ID VARCHAR2(250)  NOT NULL,
  PUBLIC_KEY VARCHAR2(255) ,
  PRIVATE_KEY VARCHAR2(255) ,
  EXCHANGE_KEY VARCHAR2(255) ,
  WORKING_KEY VARCHAR2(255) ,
  WORKING_KEY_INDEX NUMBER NULL,
  LAST_WORKING_KEY VARCHAR2(255) ,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_TERMINAL VARCHAR2(60)  ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_TERMINAL VARCHAR2(60)  ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VARIANCE_REASON (
  VARIANCE_REASON_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VARIANCE_REASON_GL_ACCOUNT (
  VARIANCE_REASON_ID VARCHAR2(20)  NOT NULL,
  ORGANIZATION_PARTY_ID VARCHAR2(20)  NOT NULL,
  GL_ACCOUNT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VENDOR (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  MANIFEST_COMPANY_NAME VARCHAR2(100)  ,
  MANIFEST_COMPANY_TITLE VARCHAR2(100)  ,
  MANIFEST_LOGO_URL VARCHAR2(255)  ,
  MANIFEST_POLICIES VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VENDOR_PRODUCT (
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  VENDOR_PARTY_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_STORE_GROUP_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VIDEO_DATA_RESOURCE (
  DATA_RESOURCE_ID VARCHAR2(20)  NOT NULL,
  VIDEO_DATA VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VISIT (
  VISIT_ID VARCHAR2(20)  NOT NULL,
  VISITOR_ID VARCHAR2(20)  ,
  USER_LOGIN_ID VARCHAR2(250)  ,
  USER_CREATED VARCHAR2(1) NULL,
  SESSION_ID VARCHAR2(250)  ,
  SERVER_IP_ADDRESS VARCHAR2(20)  ,
  SERVER_HOST_NAME VARCHAR2(255)  ,
  WEBAPP_NAME VARCHAR2(60)  ,
  INITIAL_LOCALE VARCHAR2(60)  ,
  INITIAL_REQUEST VARCHAR2(255)  ,
  INITIAL_REFERRER VARCHAR2(255)  ,
  INITIAL_USER_AGENT VARCHAR2(255)  ,
  USER_AGENT_ID VARCHAR2(20)  ,
  CLIENT_IP_ADDRESS VARCHAR2(60)  ,
  CLIENT_HOST_NAME VARCHAR2(255)  ,
  CLIENT_USER VARCHAR2(60)  ,
  CLIENT_IP_ISP_NAME VARCHAR2(60)  ,
  CLIENT_IP_POSTAL_CODE VARCHAR2(60)  ,
  CLIENT_IP_STATE_PROV_GEO_ID VARCHAR2(20)  ,
  CLIENT_IP_COUNTRY_GEO_ID VARCHAR2(20)  ,
  COOKIE VARCHAR2(60)  ,
  FROM_DATE VARCHAR2(255) ,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  ROLE_TYPE_ID VARCHAR2(20)  ) ;
CREATE TABLE VISITOR (
  VISITOR_ID VARCHAR2(20)  NOT NULL,
  USER_LOGIN_ID VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  PARTY_ID VARCHAR2(20)  ) ;
CREATE TABLE VISUAL_THEME (
  VISUAL_THEME_ID VARCHAR2(20)  NOT NULL,
  VISUAL_THEME_SET_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VISUAL_THEME_RESOURCE (
  VISUAL_THEME_ID VARCHAR2(20)  NOT NULL,
  RESOURCE_TYPE_ENUM_ID VARCHAR2(20)  NOT NULL,
  SEQUENCE_ID VARCHAR2(20)  NOT NULL,
  RESOURCE_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE VISUAL_THEME_SET (
  VISUAL_THEME_SET_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WEB_ANALYTICS_CONFIG (
  WEB_SITE_ID VARCHAR2(20)  NOT NULL,
  WEB_ANALYTICS_TYPE_ID VARCHAR2(20)  NOT NULL,
  WEB_ANALYTICS_CODE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WEB_ANALYTICS_TYPE (
  WEB_ANALYTICS_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WEB_PAGE (
  WEB_PAGE_ID VARCHAR2(20)  NOT NULL,
  PAGE_NAME VARCHAR2(100)  ,
  WEB_SITE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  CONTENT_ID VARCHAR2(20)  ) ;
CREATE TABLE WEB_PREFERENCE_TYPE (
  WEB_PREFERENCE_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WEB_SITE (
  WEB_SITE_ID VARCHAR2(20)  NOT NULL,
  SITE_NAME VARCHAR2(100)  ,
  HTTP_HOST VARCHAR2(255)  ,
  HTTP_PORT VARCHAR2(10)  ,
  HTTPS_HOST VARCHAR2(255)  ,
  HTTPS_PORT VARCHAR2(10)  ,
  ENABLE_HTTPS VARCHAR2(1) NULL,
  STANDARD_CONTENT_PREFIX VARCHAR2(255)  ,
  SECURE_CONTENT_PREFIX VARCHAR2(255)  ,
  COOKIE_DOMAIN VARCHAR2(255)  ,
  VISUAL_THEME_SET_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ,
  PRODUCT_STORE_ID VARCHAR2(20)  ,
  ALLOW_PRODUCT_STORE_CHANGE VARCHAR2(1)) ;
CREATE TABLE WEB_SITE_CONTACT_LIST (
  WEB_SITE_ID VARCHAR2(20)  NOT NULL,
  CONTACT_LIST_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WEB_SITE_CONTENT (
  WEB_SITE_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  WEB_SITE_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WEB_SITE_CONTENT_TYPE (
  WEB_SITE_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WEB_SITE_PATH_ALIAS (
  WEB_SITE_ID VARCHAR2(20)  NOT NULL,
  PATH_ALIAS VARCHAR2(250)  NOT NULL,
  ALIAS_TO VARCHAR2(255)  ,
  CONTENT_ID VARCHAR2(20)  ,
  MAP_KEY VARCHAR2(100)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WEB_SITE_PUBLISH_POINT (
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  TEMPLATE_TITLE VARCHAR2(255)  ,
  STYLE_SHEET_FILE VARCHAR2(255)  ,
  LOGO VARCHAR2(255)  ,
  MEDALLION_LOGO VARCHAR2(255)  ,
  LINE_LOGO VARCHAR2(255)  ,
  LEFT_BAR_ID VARCHAR2(20)  ,
  RIGHT_BAR_ID VARCHAR2(20)  ,
  CONTENT_DEPT VARCHAR2(20)  ,
  ABOUT_CONTENT_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WEB_SITE_ROLE (
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  WEB_SITE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  SEQUENCE_NUM NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WEB_USER_PREFERENCE (
  USER_LOGIN_ID VARCHAR2(250)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  VISIT_ID VARCHAR2(20)  NOT NULL,
  WEB_PREFERENCE_TYPE_ID VARCHAR2(20)  NOT NULL,
  WEB_PREFERENCE_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_TYPE_ID VARCHAR2(20)  ,
  CURRENT_STATUS_ID VARCHAR2(20)  ,
  LAST_STATUS_UPDATE VARCHAR2(255) ,
  WORK_EFFORT_PURPOSE_TYPE_ID VARCHAR2(20)  ,
  WORK_EFFORT_PARENT_ID VARCHAR2(20)  ,
  SCOPE_ENUM_ID VARCHAR2(20)  ,
  PRIORITY NUMBER NULL,
  PERCENT_COMPLETE NUMBER NULL,
  WORK_EFFORT_NAME VARCHAR2(100)  ,
  SHOW_AS_ENUM_ID VARCHAR2(20)  ,
  SEND_NOTIFICATION_EMAIL VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LOCATION_DESC VARCHAR2(255)  ,
  ESTIMATED_START_DATE VARCHAR2(255) ,
  ESTIMATED_COMPLETION_DATE VARCHAR2(255) ,
  ACTUAL_START_DATE VARCHAR2(255) ,
  ACTUAL_COMPLETION_DATE VARCHAR2(255) ,
  ESTIMATED_MILLI_SECONDS NUMBER ,
  ESTIMATED_SETUP_MILLIS NUMBER ,
  ESTIMATE_CALC_METHOD VARCHAR2(20)  ,
  ACTUAL_MILLI_SECONDS NUMBER ,
  ACTUAL_SETUP_MILLIS NUMBER ,
  TOTAL_MILLI_SECONDS_ALLOWED NUMBER ,
  TOTAL_MONEY_ALLOWED NUMBER NULL,
  MONEY_UOM_ID VARCHAR2(20)  ,
  SPECIAL_TERMS VARCHAR2(255)  ,
  TIME_TRANSPARENCY NUMBER NULL,
  UNIVERSAL_ID VARCHAR2(60)  ,
  SOURCE_REFERENCE_ID VARCHAR2(60)  ,
  FIXED_ASSET_ID VARCHAR2(20)  ,
  FACILITY_ID VARCHAR2(20)  ,
  INFO_URL VARCHAR2(255)  ,
  RECURRENCE_INFO_ID VARCHAR2(20)  ,
  TEMP_EXPR_ID VARCHAR2(20)  ,
  RUNTIME_DATA_ID VARCHAR2(20)  ,
  NOTE_ID VARCHAR2(20)  ,
  SERVICE_LOADER_NAME VARCHAR2(100)  ,
  QUANTITY_TO_PRODUCE NUMBER NULL,
  QUANTITY_PRODUCED NUMBER NULL,
  QUANTITY_REJECTED NUMBER NULL,
  RESERV_PERSONS NUMBER NULL,
  RESERV2ND_P_P_PERC NUMBER NULL,
  RESERV_NTH_P_P_PERC NUMBER NULL,
  ACCOMMODATION_MAP_ID VARCHAR2(20)  ,
  ACCOMMODATION_SPOT_ID VARCHAR2(20)  ,
  REVISION_NUMBER NUMBER NULL,
  CREATED_DATE VARCHAR2(255) ,
  CREATED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_MODIFIED_DATE VARCHAR2(255) ,
  LAST_MODIFIED_BY_USER_LOGIN VARCHAR2(250)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_ASSIGNMENT_RATE (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  RATE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  RATE NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_ASSOC (
  WORK_EFFORT_ID_FROM VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID_TO VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  SEQUENCE_NUM NUMBER NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_ASSOC_ATTRIBUTE (
  WORK_EFFORT_ID_FROM VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID_TO VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) ,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_ASSOC_TYPE (
  WORK_EFFORT_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_ASSOC_TYPE_ATTR (
  WORK_EFFORT_ASSOC_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_ATTRIBUTE (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  ATTR_VALUE VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_BILLING (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ID VARCHAR2(20)  NOT NULL,
  INVOICE_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  PERCENTAGE NUMBER ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_CONTACT_MECH (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_CONTACT_MECH_NEW (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_CONTENT (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  CONTENT_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_CONTENT_TYPE (
  WORK_EFFORT_CONTENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_COST_CALC (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  COST_COMPONENT_TYPE_ID VARCHAR2(20)  NOT NULL,
  COST_COMPONENT_CALC_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_DELIVERABLE_PROD (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  DELIVERABLE_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_EVENT_REMINDER (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  SEQUENCE_ID VARCHAR2(20)  NOT NULL,
  CONTACT_MECH_ID VARCHAR2(20)  ,
  PARTY_ID VARCHAR2(20)  ,
  REMINDER_DATE_TIME VARCHAR2(255) ,
  REPEAT_COUNT NUMBER NULL,
  REPEAT_INTERVAL NUMBER NULL,
  CURRENT_COUNT NUMBER NULL,
  REMINDER_OFFSET NUMBER NULL,
  LOCALE_ID VARCHAR2(20)  ,
  TIME_ZONE_ID VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_FIXED_ASSET_ASSIGN (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  FIXED_ASSET_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  ,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  AVAILABILITY_STATUS_ID VARCHAR2(20)  ,
  ALLOCATED_COST NUMBER NULL,
  COMMENTS VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_FIXED_ASSET_STD (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  FIXED_ASSET_TYPE_ID VARCHAR2(20)  NOT NULL,
  ESTIMATED_QUANTITY NUMBER ,
  ESTIMATED_DURATION NUMBER ,
  ESTIMATED_COST NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_GOOD_STANDARD (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  PRODUCT_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_GOOD_STD_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  STATUS_ID VARCHAR2(20)  ,
  ESTIMATED_QUANTITY NUMBER ,
  ESTIMATED_COST NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_GOOD_STANDARD_TYPE (
  WORK_EFFORT_GOOD_STD_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_ICAL_DATA (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  ICAL_DATA VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_INVENTORY_ASSIGN (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  INVENTORY_ITEM_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  ,
  QUANTITY NUMBER ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_INVENTORY_PRODUCED (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  INVENTORY_ITEM_ID VARCHAR2(20)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_KEYWORD (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  KEYWORD VARCHAR2(60)  NOT NULL,
  RELEVANCY_WEIGHT NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_NOTE (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  NOTE_ID VARCHAR2(20)  NOT NULL,
  INTERNAL_NOTE VARCHAR2(1) NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_PARTY_ASSIGNMENT (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  PARTY_ID VARCHAR2(20)  NOT NULL,
  ROLE_TYPE_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  ASSIGNED_BY_USER_LOGIN_ID VARCHAR2(250)  ,
  STATUS_ID VARCHAR2(20)  ,
  STATUS_DATE_TIME VARCHAR2(255) ,
  EXPECTATION_ENUM_ID VARCHAR2(20)  ,
  DELEGATE_REASON_ENUM_ID VARCHAR2(20)  ,
  FACILITY_ID VARCHAR2(20)  ,
  COMMENTS VARCHAR2(255)  ,
  MUST_RSVP VARCHAR2(1) NULL,
  AVAILABILITY_STATUS_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_PURPOSE_TYPE (
  WORK_EFFORT_PURPOSE_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_REVIEW (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  USER_LOGIN_ID VARCHAR2(250)  NOT NULL,
  REVIEW_DATE VARCHAR2(255) NOT NULL,
  STATUS_ID VARCHAR2(20)  ,
  POSTED_ANONYMOUS VARCHAR2(1) NULL,
  RATING NUMBER ,
  REVIEW_TEXT VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_SEARCH_CONSTRAINT (
  WORK_EFFORT_SEARCH_RESULT_ID VARCHAR2(20)  NOT NULL,
  CONSTRAINT_SEQ_ID VARCHAR2(20)  NOT NULL,
  CONSTRAINT_NAME VARCHAR2(255)  ,
  INFO_STRING VARCHAR2(255)  ,
  INCLUDE_SUB_WORK_EFFORTS VARCHAR2(1) NULL,
  IS_AND VARCHAR2(1) NULL,
  ANY_PREFIX VARCHAR2(1) NULL,
  ANY_SUFFIX VARCHAR2(1) NULL,
  REMOVE_STEMS VARCHAR2(1) NULL,
  LOW_VALUE VARCHAR2(60)  ,
  HIGH_VALUE VARCHAR2(60)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_SEARCH_RESULT (
  WORK_EFFORT_SEARCH_RESULT_ID VARCHAR2(20)  NOT NULL,
  VISIT_ID VARCHAR2(20)  ,
  ORDER_BY_NAME VARCHAR2(255)  ,
  IS_ASCENDING VARCHAR2(1) NULL,
  NUM_RESULTS NUMBER NULL,
  SECONDS_TOTAL NUMBER ,
  SEARCH_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_SKILL_STANDARD (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  SKILL_TYPE_ID VARCHAR2(20)  NOT NULL,
  ESTIMATED_NUM_PEOPLE NUMBER ,
  ESTIMATED_DURATION NUMBER ,
  ESTIMATED_COST NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_STATUS (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  STATUS_ID VARCHAR2(20)  NOT NULL,
  STATUS_DATETIME VARCHAR2(255) NOT NULL,
  SET_BY_USER_LOGIN VARCHAR2(250)  ,
  REASON VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_SURVEY_APPL (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  SURVEY_ID VARCHAR2(20)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  THRU_DATE VARCHAR2(255) ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_TRANS_BOX (
  PROCESS_WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  TO_ACTIVITY_ID VARCHAR2(60)  NOT NULL,
  TRANSITION_ID VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_TYPE (
  WORK_EFFORT_TYPE_ID VARCHAR2(20)  NOT NULL,
  PARENT_TYPE_ID VARCHAR2(20)  ,
  HAS_TABLE VARCHAR2(1) NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_EFFORT_TYPE_ATTR (
  WORK_EFFORT_TYPE_ID VARCHAR2(20)  NOT NULL,
  ATTR_NAME VARCHAR2(60)  NOT NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_ORDER_ITEM_FULFILLMENT (
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  ORDER_ID VARCHAR2(20)  NOT NULL,
  ORDER_ITEM_SEQ_ID VARCHAR2(20)  NOT NULL,
  SHIP_GROUP_SEQ_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_REQUIREMENT_FULFILLMENT (
  REQUIREMENT_ID VARCHAR2(20)  NOT NULL,
  WORK_EFFORT_ID VARCHAR2(20)  NOT NULL,
  WORK_REQ_FULF_TYPE_ID VARCHAR2(20)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE WORK_REQ_FULF_TYPE (
  WORK_REQ_FULF_TYPE_ID VARCHAR2(20)  NOT NULL,
  DESCRIPTION VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE X509_ISSUER_PROVISION (
  CERT_PROVISION_ID VARCHAR2(20)  NOT NULL,
  COMMON_NAME VARCHAR2(255)  ,
  ORGANIZATIONAL_UNIT VARCHAR2(255)  ,
  ORGANIZATION_NAME VARCHAR2(255)  ,
  CITY_LOCALITY VARCHAR2(255)  ,
  STATE_PROVINCE VARCHAR2(255)  ,
  COUNTRY VARCHAR2(255)  ,
  SERIAL_NUMBER VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ZIP_SALES_RULE_LOOKUP (
  STATE_CODE VARCHAR2(60)  NOT NULL,
  CITY VARCHAR2(60)  NOT NULL,
  COUNTY VARCHAR2(60)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  ID_CODE VARCHAR2(60)  ,
  TAXABLE VARCHAR2(60)  ,
  SHIP_COND VARCHAR2(255)  ,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
CREATE TABLE ZIP_SALES_TAX_LOOKUP (
  ZIP_CODE VARCHAR2(60)  NOT NULL,
  STATE_CODE VARCHAR2(60)  NOT NULL,
  CITY VARCHAR2(60)  NOT NULL,
  COUNTY VARCHAR2(60)  NOT NULL,
  FROM_DATE VARCHAR2(255) NOT NULL,
  COUNTY_FIPS VARCHAR2(60)  ,
  COLNAME VARCHAR2(255),
  COLNAME VARCHAR2(255),
  INSIDE_CITY VARCHAR2(1) NULL,
  GEO_CODE VARCHAR2(60)  ,
  STATE_SALES_TAX NUMBER NULL,
  CITY_SALES_TAX NUMBER NULL,
  CITY_LOCAL_SALES_TAX NUMBER NULL,
  COUNTY_SALES_TAX NUMBER NULL,
  COUNTY_LOCAL_SALES_TAX NUMBER NULL,
  COMBO_SALES_TAX NUMBER NULL,
  STATE_USE_TAX NUMBER NULL,
  CITY_USE_TAX NUMBER NULL,
  CITY_LOCAL_USE_TAX NUMBER NULL,
  COUNTY_USE_TAX NUMBER NULL,
  COUNTY_LOCAL_USE_TAX NUMBER NULL,
  COMBO_USE_TAX NUMBER NULL,
  LAST_UPDATED_STAMP VARCHAR2(255) ,
  LAST_UPDATED_TX_STAMP VARCHAR2(255) ,
  CREATED_STAMP VARCHAR2(255) ,
  CREATED_TX_STAMP VARCHAR2(255) ) ;
