Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro...

175
Retek ® Replenishment Optimization 10.2 Data Model

Transcript of Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro...

Page 1: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

Retek® Replenishment Optimization10.2

Data Model

Page 2: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

The software described in this documentation is furnished under a license agreement and may be used only in accordance with the terms of the agreement.

No part of this documentation may be reproduced or transmitted in any form or by any means without the express written permission of Retek Inc., Retek on the Mall, 950 Nicollet Mall, Minneapolis, MN 55403.

Information in this documentation is subject to change without notice.

Retek provides product documentation in a read-only-format to ensure content integrity. Retek Customer Support cannot support documentation that has been changed without Retek authorization.

Retek®Replenishment Optimization™ is a trademark of Retek Inc.

Retek and the Retek logo are registered trademarks of Retek Inc.

©2002 Retek Inc. All rights reserved.

All other product names mentioned are trademarks or registered trademarks of their respective owners and should be treated as such.

Printed in the United States of America.

Corporate Headquarters: Retek Inc.

Retek on the Mall

950 Nicollet Mall

Minneapolis, MN 55403

888.61.RETEK (toll free US)

+1 612 587 5000 European Headquarters: Retek

110 Wigmore Street

London

W1U 3RW

United Kingdom

Switchboard:

+44 (0)20 7563 4600

Sales Enquiries:

+44 (0)20 7563 46 46

Fax: +44 (0)20 7563 46 10

Page 3: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

Customer Support

Customer Support hours:

Customer Support is available 7x24x365 via e-mail, phone and Web access.

Depending on the Support option chosen by a particular client (Standard, Plus, or Premium), the times that certain services are delivered may be restricted. Severity 1 (Critical) issues are addressed on a 7x24 basis and receive continuous attention until resolved, for all clients on active maintenance.

Contact Method Contact Information

Internet (ROCS) www.retek.com/support Retek’s secure client Web site to update and view issues

E-mail [email protected]

Phone US & Canada: 1-800-61-RETEK (1-800-617-3835) World: +1 612-587-5800 EMEA: 011 44 1223 703 444 Asia Pacific: 61 425 792 927

Mail Retek Customer Support Retek on the Mall 950 Nicollet Mall Minneapolis, MN 55403

When contacting Customer Support, please provide:

• Product version and program/module name.

• Functional and technical description of the problem (include business impact).

• Detailed step by step instructions to recreate.

• Exact error message received.

• Screen shots of each step you take.

Page 4: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

Overview Following is an overview of the two sections of the data model:

• Relational Integrity Diagrams

• Data Dictionary Language

Relational Integrity Diagrams

These diagrams show the relationship between the various tables within functional area. They include:

• Table names

• Column names

• Primary and foreign keys

Data Dictionary Language

This section includes the Data Dictionary Language (DDLs) for the Retek Replenishment Optimization database. The DDLs include:

• Table names and descriptions

• Column summaries

• Primary and foreign keys (if applicable)

• Check constraints (if applicable)

• Index summaries (if applicable)

• Column detail information

Page 5: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

EVIEW (RO 10.2)

IMAGENAMEIMAGETYPEVISIBLE_INDHEIGHTWIDTH

EVIEW_LOCATION

IMAGETOPXTOPYBOTTOMXBOTTOMYTYPEELEMENTNAV_MODE

EVIEW_USER_GROUPS (RO

IMAGEUSER_GROUP

NAV_COMPONEN

COMPONENTSERVER

NAV_ELEMENT (R

ELEMENTELEMENT_TYPECOMPONENT

NAV_ELEMENT_MODE (R

ELEMENTNAV_MODEFOLDERELEMENT_MODE_NAMEUSER_IDFINANCIAL_O_INDFINANCIAL_P_INDFINANCIAL_NULL_INDCONTRACT_INDINVC_MATCH_INDVAT_INDIMPORT_INDMULTICHANNEL_IND

NAV_ELEMENT_MODE_ROLE

ELEMENTNAV_MODEFOLDERROLE

NAV_FAVORITES (RO 10.2)

FAVORITE_IDNAV_MODEUSER_IDNAMEICONIS_USER_ELEMENT_INDPOSITION

NAV_FOLDER (RO 10.2)

FOLDERFOLDER_NAMEPARENT_FOLDERUSER_IDSALES_AUDIT_INDFINANCIAL_O_INDFINANCIAL_P_INDFINANCIAL_NULL_INDCONTRACT_INDINVC_MATCH_INDVAT_INDIMPORT_INDELC_IND

NAV_ICON (R

FILENAME

NAV_SERVER

SERVERADDRESS

NAV_USER_OPTIONS (RO

USER_IDSHOW_MVIEW_INDPB_SCROLL_LEFT_INDPB_SHRINK_INDPB_EXPAND_INDPB_ADD_INDPB_DELETE_INDPB_LEFT_INDPB_RIGHT_INDPB_CHANGE_INDPB_SEARCH_INDPB_RETURN_INDPB_SAVE_INDPB_SCROLL_RIGHT_IND

Diagram : DD_ENTERPRISE_STARTTitle : Enterprise Start Data Diagram

NCO_NSE_FK

NFA_NIC_FK

NFO_NFO_FK

NEL_NFO_FK

NEM_NEL_FK

NEL_NET_FK

NET_NCO_FK

EUG_EVI_FK ELO_EVI_FK

Page 6: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

ORDHEAD (RO 10.2)

ORDER_NO

WH (RO 10.2)

WHWH_NAMEBREAK_PACK_IND

STORE (RO 10.2)

STORESTORE_NAMELANG

COUNTRY (RO 10.2)

COUNTRY_IDCOUNTRY_DESC

DIFF_IDS (RO 10.2)

DIFF_IDDIFF_TYPEDIFF_DESCINDUSTRY_CODEINDUSTRY_SUBGROUPCREATE_DATETIMELAST_UPDATE_IDLAST_UPDATE_DATETIME

ITEM_FORECAST (RO 1

ITEMLOCEOW_DATEDOMAIN_IDFORECAST_SALESFORECAST_STD_DEV

ITEM_LOC (RO 10.2)

ITEMLOCLOC_TYPESTATUSPRIMARY_SUPPSTATUS_UPDATE_DATECREATE_DATETIMELAST_UPDATE_DATETIMELAST_UPDATE_ID

ITEM_LOC_HIST (RO 10.2)

ITEMLOCLOC_TYPEEOW_DATESALES_ISSUESSALES_TYPELAST_UPDATE_DATETIMELAST_UPDATE_IDCREATE_DATETIME

ITEM_MASTER (RO 10.2)

ITEMITEM_PARENTITEM_GRANDPARENTITEM_LEVELTRAN_LEVELDEPTCLASSSUBCLASSSTATUSITEM_DESCSTORE_ORD_MULTFORECAST_INDSIMPLE_PACK_INDPACK_INDORDERABLE_INDPACK_TYPESELLABLE_INDRETAIL_ZONE_GROUP_IDWASTE_TYPESHORT_DESCDEFAULT_WASTE_PCTWASTE_PCTDESC_UPCREATE_DATETIMELAST_UPDATE_DATETIMELAST_UPDATE_ID

ITEM_SEASONS (RO 10.2)

ITEMSEASON_IDPHASE_IDITEM_SEASON_SEQ_NO

ITEM_SUPPLIER (RO

ITEMSUPPLIERVPN

ITEM_SUPP_COUNTRY

ITEMSUPPLIERORIGIN_COUNTRY_IDSUPP_PACK_SIZEINNER_PACK_SIZELEAD_TIME

SUPS (RO 10.2)

SUPPLIERSUP_NAMELANG

Diagram : DD_ITEMTitle : Item Data Diagram

ISP_SUP_FK

ISC_ISP_FK

ISP_IEM_FK

ITL_ISP_FK

ISN_IEM

_FK

IEM_IEM_FKIEM_IEM_FK2

ITL_IEM_FK

ISC_CNT_FK

Page 7: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

CALENDAR (RO 1

FIRST_DAYYEAR_454MONTH_454NO_OF_WEEKS

CODE_DETAIL (RO 10.2)

CODE_TYPECODECODE_DESCREQUIRED_INDCODE_SEQ

CODE_HEAD (RO 10.2)

CODE_TYPECODE_TYPE_DESC

CONTEXT_HELP (RO

TITLELANGCONTEXT_STRINGCONTEXT_NOFILE_NUMBERWEB_PAGE

LANG (RO 10.2)

LANGDESCRIPTIONISO_CODEWEBHELP_SERVERREPORTS_SERVERWEBREPORTS_SERVER

MC_REJECTION_REASONS

REASON_KEYRTK_LANGREJECTION_REASON

MULTIVIEW_DEFAULT_45

FM_NAMECOL_ORDERCOL_NAMECOL_REPOSITORYTI_NAMETI_REPOSITORYFIELD_STATUSLINKED_TO_ITEMLINKED_TO_ORDERLINK_TYPEWIDTHCOL_POINTERTI_DESC

MULTIVIEW_SAVED_45 (

FM_NAMECOL_ORDERUSER_IDSET_NUMBERFIELD_STATUSWIDTHGROUP_ORDERTI_DESC

PERIOD (RO 10.2)

SYSAVAILVDATESTART_454_HALFEND_454_HALFSTART_454_MONTHMID_454_MONTHEND_454_MONTHHALF_NONEXT_HALF_NOCURR_454_DAYCURR_454_WEEKCURR_454_MONTHCURR_454_YEARCURR_454_MONTH_IN_HALCURR_454_WEEK_IN_HALF

RTK_ERRORS (RO 10.

RTK_TYPERTK_KEYRTK_LANGRTK_TEXTRTK_USERRTK_APPROVED

RTK_REPORTS (R

MODULEREPORT_NAMEREPORT_DESCPARAMETER_INDPRINTFRM_INDPRINT_MODESELECT_IND

SYSTEM_OPTIONS (RO

FORECAST_INDPRIMARY_LANGLEVEL_1_NAMELEVEL_2_NAMELEVEL_3_NAMECONTRACT_INDVAT_INDELC_INDFINANCIAL_APINVC_MATCH_INDIMPORT_INDSALES_AUDIT_INDMULTICHANNEL_INDCURRENCY_CODEMULTI_CURRENCY_INDDATE_ENTRYTIME_ENTRYTIME_DISPLAYDOMAIN_LEVEL

TL_SHADOW (RO 10.2)

LANGKEYTRANSLATED_VALUE

Diagram : DD_REFERENCETitle : Reference Entities

TLS_LAN_FK

SOP_LAN_FKRER_LAN_FK

MSV_MDF_FK

MRR_LAN_FK

CDD_CDH_FK

UAT_LAN_FK

Page 8: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

USER_ATTRIB (RO 10.2)

USER_IDUSER_NAMELANG

RTK_ROLE_PRIVS

ROLEORD_APPR_AMTTSF_APPR_IND

CLASS (RO 10.2)

DEPTCLASSCLASS_NAME

DEPS (RO 10.2)

DEPTDEPT_NAME

DOMAIN (RO 10.2)

DOMAIN_IDDOMAIN_DESCDOMAIN_LABELDELIMITERPROTOCOL_SEQENDPOINTNETWORK_ADDRPATHUNIX_LOGINUNIX_IDUNIX_PASSWDCOMMAND_LINE

DOMAIN_CLASS (R

DEPTCLASSDOMAIN_ID

DOMAIN_DEPT (RO

DEPTDOMAIN_ID

DOMAIN_SUBCLAS

DEPTCLASSSUBCLASSDOMAIN_ID

FIND_DEFAULT (RO 10.2)

USER_IDFORM_NAMEITEM_NAMEVALUE

SUBCLASS (RO 10.2)

DEPTCLASSSUBCLASSSUB_NAME

SYSTEM_VARIABLES (

LAST_EOW_DATE_UNIT

USER_DOMAIN (RO 10.2)

USER_IDDOMAIN_ID

SCL_CLA_FK

DMS_SCL_FK

DMS_DMN_FK

DMD_DEP_FK

DMD_DMN_FK

DMC_CLA_FKDMC_DMN_FK

CLA_DEP_FK

Page 9: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

ITEM_MASTER (RO 10.2)

ITEMITEM_PARENTITEM_GRANDPARENTITEM_LEVELTRAN_LEVELDEPTCLASSSUBCLASSSTATUSITEM_DESCSTORE_ORD_MULTFORECAST_INDSIMPLE_PACK_INDPACK_INDORDERABLE_INDPACK_TYPESELLABLE_INDRETAIL_ZONE_GROUP_IDWASTE_TYPESHORT_DESCDEFAULT_WASTE_PCTWASTE_PCTDESC_UPCREATE_DATETIMELAST_UPDATE_DATETIMELAST_UPDATE_ID

ITEM_SUPP_COUNTRY (RO 10.2)

ITEMSUPPLIERORIGIN_COUNTRY_IDSUPP_PACK_SIZEINNER_PACK_SIZELEAD_TIME

REPL_DAY (RO 10.2)

ITEMLOCATIONWEEKDAYLOC_TYPE

REPL_ITEM_LOC (RO 10.2)

ITEMLOCATIONLOC_TYPEITEM_PARENTITEM_GRANDPARENTPRIMARY_REPL_SUPPLIERORIGIN_COUNTRY_IDREVIEW_CYCLESTOCK_CATREPL_ORDER_CTRLSOURCE_WHACTIVATE_DATEDEACTIVATE_DATEPRES_STOCKDEMO_STOCKREPL_METHODMIN_STOCKMAX_STOCKINCR_PCTMIN_SUPPLY_DAYSMAX_SUPPLY_DAYSTIME_SUPPLY_HORIZONINV_SELLING_DAYSSERVICE_LEVELLOST_SALES_FACTORPICKUP_LEAD_TIMEWH_LEAD_TIMETERMINAL_STOCK_QTYSEASON_IDPHASE_IDLAST_REVIEW_DATEPRIMARY_PACK_NOPRIMARY_PACK_QTYDEPTCLASSSUBCLASSCREATE_DATETIMELAST_UPDATE_DATETIMELAST_UPDATE_IDSTORE_ORD_MULT

REPL_RESULTS (RO 10.2)

ITEMLOCATIONORDER_POINTORDER_UP_TO_POINTREPL_DATE

WH (RO 10.2)

WHWH_NAMEBREAK_PACK_IND

Diagram : DD_REPLENISHMENTTitle : Replenishment Data Diagram

RIL_WAH_FK

RIL_ISC_FK

RIL_IEM_FK

RDY_RIL_FKRDY_IEM_FK

IEM_IEM_FKIEM_IEM_FK2

Page 10: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

RO_BASE_VARIABLES (RO 10

NAMETYPEFUNCTION_NAMESTATICSORT_ORDER

RO_DEPT_EXPL_VARIABLES

NAMEDEPTOPERATOR1VARIABLE1OPERATOR2VARIABLE2

RO_DEPT_PROCESS_CONTROL (R

DEPTNEXT_EXTRACTION_DATERECURRENCE_FREQUENCYREPL_STATUS

RO_DEPT_RULE_ORDER (RO

DEPTRULERULE_ORDERREPL_STATUS

RO_DEPT_RULE_PARMS (RO

DEPTRULEPARM_TYPECOEFFVALUE

RO_EXPLICIT_VARIABLES

NAMEVARIABLE_TYPETYPEOPERATOR1VARIABLE1OPERATOR2VARIABLE2DEPT_LEVEL

RO_OPTIONS (RO 10.2)

OPTION_NAMEOPTION_VALUEOPTION_DESC

RO_REPL_PARMS (RO 10.2)

PARM_NAMECOLUMN_NAMETYPELENGTH

RO_REPL_PARM_RULES

RULE_IDRULE_NAME

RO_RULE_ASSESSMENTS

RULE_IDASSESSMENT_IDASSESSMENT_NAME

RO_RULE_ASSESS_CONDITIO

RULE_IDASSESSMENT_IDSEQUENCE_NOOPEN_BRACESVARIABLE1VAR1_TYPECOMP_OPERATORVARIABLE2VAR2_TYPECLOSE_BRACESJOIN_OPERATOR

RO_RULE_ASSIGNMENTS

RULE_IDASSESSMENT_IDREPL_PARM_NAMEVALUE_TYPEVALUE

RO_RULE_COEFF (RO 1

RULECOEFFCOEFF_DESC

Diagram : DD_REPLENISHMENT_OPTIMIZATIONTitle : Replenisment Optimization Data Diagram

RRASG_RULE_ID_FK

RRASG_RP_NAME_FK

RRASC_RULE_ID_FK

RRAS_RULE_ID_FK

Page 11: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

RO_ITEM_LOC (RO 10.2

ITEMLOCATIONLOC_TYPEDEPTSTATUSDOWNLOADED_DATERULEASSESSMENT_ID

RO_ITEM_LOC_CALC (RO 10.2)

ITEMLOCATIONLOC_TYPEORDER_POINTORDER_UP_TO_POINTMAX_DAYS_BETWEEN_REVIEWSTOTAL_LEAD_TIMEAV_WEEKLY_SALESSTDEV_WEEKLY_SALESMAX_WEEKLY_SALESMAX_WEEKLY_SALES_DIFMIN_ORDER_REQCURRENT_WEEK_FORECASTMEDIAN_SALES_HLF_YRMEDIAN_SALES_YRMEAN_DEV_HLF_YRMEAN_DEV_YR

RO_ITEM_LOC_REPL_PARMS (R

ITEMLOCATIONREPL_PARM_TYPELOC_TYPEPRIMARY_REPL_SUPPLIERORIGIN_COUNTRY_IDREVIEW_CYCLESTOCK_CATREPL_ORDER_CTRLSOURCE_WHACTIVATE_DATEDEACTIVATE_DATEPRES_STOCKDEMO_STOCKREPL_METHODMIN_STOCKMAX_STOCKINCR_PCTMIN_SUPPLY_DAYSMAX_SUPPLY_DAYSTIME_SUPPLY_HORIZONINV_SELLING_DAYSSERVICE_LEVELLOST_SALES_FACTORPICKUP_LEAD_TIMEWH_LEAD_TIMETERMINAL_STOCK_QTYSEASON_IDPHASE_ID

Page 12: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

RESTART_BOOKMARK (RO 10.2)

RESTART_NAMETHREAD_VALBOOKMARK_STRINGAPPLICATION_IMAGEOUT_FILE_STRINGNON_FATAL_ERR_FLAGNUM_COMMITSAVG_TIME_BTWN_COMMITS

RESTART_CONTROL (RO 10.2)

PROGRAM_NAMEPROGRAM_DESCDRIVER_NAMENUM_THREADSUPDATE_ALLOWEDPROCESS_FLAGCOMMIT_MAX_CTR

RESTART_PROGRAM_HISTORY (RO

RESTART_NAMETHREAD_VALSTART_TIMEPROGRAM_NAMENUM_THREADSCOMMIT_MAX_CTRRESTART_TIMEFINISH_TIMESHADOW_PIDSUCCESS_FLAGNON_FATAL_ERR_FLAGNUM_COMMITSAVG_TIME_BTWN_COMMITS

RESTART_PROGRAM_STATUS (RO 10.2)

RESTART_NAMETHREAD_VALSTART_TIMEPROGRAM_NAMEPROGRAM_STATUSRESTART_FLAGRESTART_TIMEFINISH_TIMECURRENT_PIDCURRENT_OPERATOR_IDERR_MESSAGECURRENT_ORACLE_SIDCURRENT_SHADOW_PID

Diagram : DD_RESTART_RECOVERYTitle : Restart/Recovery Data Diagram

RPS_RCO_FK

RBM

_RPS_FK

Page 13: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

ITEM_SEASONS (RO 10.2)

ITEMSEASON_IDPHASE_IDITEM_SEASON_SEQ_NO

PHASES (RO 10.2)

SEASON_IDPHASE_IDPHASE_DESCSTART_DATEEND_DATE

SEASONS (RO 10.2)

SEASON_IDSEASON_DESC

Diagram : DD_SEASONSTitle : Seasons Data Diagram

PHS_

SSN

_FK

ISN_SSN_FK

ISN_PHS_FK

Page 14: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

Oracle Designer

CUSTDEV

02 January 2003

Parameter ValuesWorkarea :

Container :

Tables : Yes

Tab/View/Snap Name : %

Tables CreatedOn/After :On/Before :

Tables Changed

02 January 2003

02 January 2003

Yes Column Details :

Views : Yes Snapshots : Yes

Diagram :

Includes

On/After :

On/Before :

and

Report : TABLE DEFINITION

Run by :

Report Date :

Total Pages :

Container Version : Recurse Sub-Containers :

GLOBAL SHARED WORKAREA

RO 10.2

N

162

Page 15: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 2 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_ARI_INTERFACE_TEST_IS_USER

CHK_ARI_INTERFACE_TEST_NEW_ART

Name

Check Constraints

IS_USER_IND

NEW_ALERT_IND

Used to simulate users as ARI users for the ARI interface.

Used to simulate that users do or do not have new alerts in the ARI interface.

Where Validate Clause

Column Detail

10

20

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

IS_USER_IND

NEW_ALERT_IND

Column

VARCHAR2 (1)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

IS_USER_IND in ('Y', 'N')

NEW_ALERT_IND in ('Y', 'N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table is used for testing the ARI API and for controling theinterface behavior when ARI is not installed. It simulates users beingset as ARI users and as having new alerts or not having new alerts.

Description :

Table Name : ARI_INTERFACE_TEST

Page 16: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 3 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

FIRST_DAY

YEAR_454

MONTH_454

NO_OF_WEEKS

Contains the first day of the 4-5-4 month.

Contains the year that the 4-5-4 month falls in. The 4-5-4 year begins on thefirst day of the first 4-5-4 month regardless of when the calendar year begins.

Contains the number ranging from 1 to 12 which indicates the 4-5-4 month.

Indicates whether there are 4 or 5 calendar weeks in the 4-5-4 month.

Column Detail

10

20

30

40

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (1, 0) ;() ; ; Uppercase ? :No ;

FIRST_DAY

YEAR_454

MONTH_454

NO_OF_WEEKS

Column

DATE

NUMBER (4, 0)

NUMBER (2, 0)

NUMBER (1, 0)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_CALENDAR YEAR_454MONTH_454

Name Column

This table contains one row for each 4_5_4 month. This table ispopulated by a UNIX script during installation of the system andshould be modified by the database administrator to coincide with thecalendar being used at the client site.

Description :

Table Name : CALENDAR

Page 17: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 4 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

DEPT references DEPS.DEPT

CLA_DEP_FK

Foreign Keys

Primary Key

DEPT

CLASS

CLASS_NAME

Contains the number of the department of which the class is a member.

Contains the number which uniquely identifies the class within the system.

Contains the name of the class which, along with the class number, identifiesthe class.

Column Detail

10

20

30

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

DEPT

CLASS

CLASS_NAME

Column

NUMBER (4, 0)

NUMBER (4, 0)

VARCHAR2 (20)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_CLASS DEPTCLASS

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

Contains one row for each class within the company. Whenever a classname is used by Retek, or a class is validated, it is always selectedfrom this table.

Description :

Table Name : CLASS

Page 18: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 5 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CODE_TYPE references CODE_HEAD.CODE_TYPE

CDD_CDH_FK

CHK_CODE_DETAIL_CODE_SEQ

CHK_CODE_DETAIL_REQUIRED_IND

Name

Check Constraints

Foreign Keys

Other Unique Keys

Name Column

Primary Key

Where Validate Clause

CODE_TYPE

CODE

CODE_DESC

REQUIRED_IND

CODE_SEQ

Column

VARCHAR2 (4)

VARCHAR2 (6)

VARCHAR2 (40)

VARCHAR2 (1)

NUMBER (4, 0)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

25

30

40

50

Column Summary

CODE_SEQ > 0

REQUIRED_IND IN ('Y','N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_CODE_DETAIL CODE_TYPECODE

UK_CODE_DETAIL CODE_TYPECODE_SEQ

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table will contain code and decoded descriptions for each codetype as defined in the CODE_HEAD table.

Description :

Table Name : CODE_DETAIL

Page 19: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 6 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

CODE_TYPE

CODE

CODE_DESC

REQUIRED_IND

CODE_SEQ

This field will contain a valid code type for the row. The valid code types

This field contains the code used in Retek which must be decoded for display inthe on-line forms.

This field contains the description associated with the code and code type.

This field indicates whether or not the code is required. If the code isspecified as required, then the user will not be able to delete the rows in thetable for that code.

This is a number used to order the elements so that they appear consistentlywhen using them to populate a list.

Column Detail

10

25

30

40

50

Optional ? :No ; Varchar2 (4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Page 20: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 7 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

CODE_TYPE

CODE_TYPE_DESC

This field contains the code type which will serve as a grouping mechanism forthe multiple codes stored on the CODE_DETAIL table.

This field will contain the description of the code type.

Column Detail

10

20

Optional ? :No ; Varchar2 (4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

CODE_TYPE

CODE_TYPE_DESC

Column

VARCHAR2 (4)

VARCHAR2 (40)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_CODE_HEAD CODE_TYPE

Name Column

This table contains one row for each different set of codes that isbeing defined. The code types for each set of codes is defined in theCODE_DETAIL table. This table will only contain codes that have staticdata.

Description :

Table Name : CODE_HEAD

Page 21: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 8 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

TITLE

LANG

CONTEXT_STRING

CONTEXT_NO

Contains the title of the window with the word "window" attached to the end.For example, Item Selection window.

Contains a number which uniquely identifies a language.

Contains the form name and window name in the format FM_NAMEW_NAME. Forexample, for the form pcgrp, this field would contain FM_PCGRPW_PCGRP.

Column Detail

10

20

30

40

Optional ? :No ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (6, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (6, 0) ;() ; ; Uppercase ? :No ;

TITLE

LANG

CONTEXT_STRING

CONTEXT_NO

FILE_NUMBER

WEB_PAGE

Column

VARCHAR2 (255)

NUMBER (6, 0)

VARCHAR2 (255)

NUMBER (6, 0)

NUMBER (1, 0)

VARCHAR2 (255)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_CONTEXT_HELP LANGCONTEXT_STRING

Name Column

This table contains mappings between the context strings and contextnumbers required by the Win Help function. This table is populatedduring installation of the system and should only be modified if thehelp is updated and recompiled.

Description :

Table Name : CONTEXT_HELP

Page 22: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 9 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

FILE_NUMBER

WEB_PAGE

Contains a unique index number that is assigned by Doc-to-Help to identify helptext.

Contains the number of the Help Text volume in which information about the formexists.

Contains the web page of a particular language's help file.

Column Detail

50

60

Optional ? :No ; Number (1, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Page 23: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 10 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

COUNTRY_ID

COUNTRY_DESC

Contains a number which uniquely identifies the country.

Notes Contains the name of the country.

Column Detail

10

20

Optional ? :No ; Varchar2 (3) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

COUNTRY_ID

COUNTRY_DESC

Column

VARCHAR2 (3)

VARCHAR2 (40)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_COUNTRY COUNTRY_ID

Name Column

This table contains one row for each country defined within Retek.Description :

Table Name : COUNTRY

Page 24: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 11 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

DEPT

DEPT_NAME

Contains the number which uniquely identifies the department.

Contains the name of the department.

Column Detail

10

20

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

DEPT

DEPT_NAME

Column

NUMBER (4, 0)

VARCHAR2 (20)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_DEPS DEPT

Name Column

This table contains one row for each department within the company.Whenever a department name etc., is used by Retek, or a departmentnumber is validated, it is always selected from this table.

Description :

Table Name : DEPS

Page 25: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 12 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

DIFF_ID

DIFF_TYPE

DIFF_DESC

This field will hold a unique number (identifier) of the differential types.(for example, diff_type = 'S' might have these ids: 1, 50, 1000; then diff_type= 'C' cannot use the same numbers; the ids will have to be different: 2, 20,51, 1001)

This field will hold a value of all possible differential types. (for example,'S' - size, 'C' - color, 'F' - flavor, 'E' - scent, 'P' - pattern). Validvalues are stored on the code_detail table with the code_type 'DIFF'.

Column Detail

10

20

30

Optional ? :No ; Varchar2 (10) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

DIFF_ID

DIFF_TYPE

DIFF_DESC

INDUSTRY_CODE

INDUSTRY_SUBGROUP

CREATE_DATETIME

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

Column

VARCHAR2 (10)

VARCHAR2 (6)

VARCHAR2 (30)

VARCHAR2 (10)

VARCHAR2 (10)

DATE

VARCHAR2 (30)

DATE

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_DIFF_IDS DIFF_ID

Name Column

This table will hold all possible sizes, size combinations, colors,flavors, scents, patterns, etc. along with their associated NRFindustry codes.

Description :

Table Name : DIFF_IDS

Page 26: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 13 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

INDUSTRY_CODE

INDUSTRY_SUBGROUP

CREATE_DATETIME

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

Description of the differential number. (for example, Blueberry, Shower Fresh,Red, etc.)

A unique number that represents all possible combinations of sizes according tothe National Retail Federation. (for example, men's pants size combination32x32 has a NRF code number 10492)

A unique number that represents all different color range groups (for example,color purple is defined as 500; dark purple represents a range from 501 - 509,medium purple represents a range from 510 - 519, bright purple represents arange from 520 - 529, etc.)

Date/time stamp of when the record was created. This date/time will be used inexport processing. This value should only be populated on insert - it shouldnever be updated.

Holds the Oracle user-id of the user who most recently updated this record.This field is required by the database.

Holds the date time stamp of the most recent update by the last_update_id. Thisfield is required by the database.

Column Detail

40

50

60

70

80

Optional ? :Yes ; Varchar2 (10) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (10) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Page 27: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 14 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

DOMAIN_ID

DOMAIN_DESC

This field contains the unique number representing the domain. This domainnumber is used when interfacing data to external systems using domains.

This field contains the system-level identifier for the database instance.

Column Detail

10

20

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

DOMAIN_ID

DOMAIN_DESC

DOMAIN_LABEL

DELIMITER

PROTOCOL_SEQ

ENDPOINT

NETWORK_ADDR

PATH

UNIX_LOGIN

UNIX_ID

UNIX_PASSWD

COMMAND_LINE

Column

NUMBER (2, 0)

VARCHAR2 (20)

VARCHAR2 (20)

VARCHAR2 (1)

VARCHAR2 (12)

VARCHAR2 (20)

VARCHAR2 (20)

VARCHAR2 (30)

NUMBER (1, 0)

VARCHAR2 (30)

VARCHAR2 (64)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_DOMAIN DOMAIN_ID

Name Column

This table contains one row for each domain defined within Retek. Adomain is used when interfacing data to external systems usingmultiple domains (i.e. database instances), specifically RetekSkuPLAN. The columns on this table will help to make up the INI fileused when calling SkuPLAN.

Description :

Table Name : DOMAIN

Page 28: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 15 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

CHK_DOMAIN_DELIMITER

CHK_DOMAIN_PROTOCOL_SEQ

CHK_DOMAIN_UNIX_FIELDS

CHK_DOMAIN_UNIX_LOGIN

Name

Check Constraints

DOMAIN_LABEL

DELIMITER

PROTOCOL_SEQ

ENDPOINT

NETWORK_ADDR

PATH

UNIX_LOGIN

UNIX_ID

This field contains the label of the database instance displayed to the userwhen accessing the external system.

This field indicates whether the server requires a forward slash '/' orbackward slash '\' when referencing paths on the server.

This field specifies the network protocol. Valid values are: ncacn_ip_tcp ncacn_np

This field specifies the endpoint to support communication between the clientand the server.

This field designates the IP address or name for the server.

This field provides the name and path to the database instance on the server.UNIX servers use forward slashes and NT servers use backslashes to delimit thepath (see delimiter).

This field indicates whether the server is UNIX or not. Valid values are: 0 - Not UNIX 1 - UNIX

Where Validate Clause

Column Detail

30

40

50

60

70

80

90

100

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (12) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (1, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

DELIMITER IN ('/', '\')

PROTOCOL_SEQ IN ('ncacn_ip_tcp', 'ncacn_np')

(UNIX_LOGIN = 0 AND UNIX_ID IS NULL ANDUNIX_PASSWD IS NULL) OR (UNIX_LOGIN = 1 AND UNIX_ID IS NOT NULL ANDUNIX_PASSWD IS NOT NULL)UNIX_LOGIN IN (0, 1)

Page 29: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 16 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

UNIX_PASSWD

COMMAND_LINE

This field contains the UNIX user ID of the used if the UNIX_LOGIN is set to 1.

This field contains the encrypted UNIX password, if the UNIX_LOGIN is set to 1.

This field contains the desired command line argument for the initializationfile, e.g. '-s2 -m16m'.

Column Detail

110

120

Optional ? :Yes ; Varchar2 (64) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 30: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 17 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

DOMAIN_ID

Column

DOMAIN_CLASS_I1

Name

NOT UNIQUE

Index Type

DEPT references CLASS.DEPTCLASS references CLASS.CLASS

DOMAIN_ID references DOMAIN.DOMAIN_ID

DMC_CLA_FK

DMC_DMN_FK

Foreign Keys

Primary Key

Column Detail

Index Summary

DEPT

CLASS

DOMAIN_ID

Column

NUMBER (4, 0)

NUMBER (4, 0)

NUMBER (2, 0)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

1

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_DOMAIN_CLASS DEPTCLASS

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table will be used to determine with which domains classes areassociated if domains are set-up at the class level. Theserelationships will be used when interfacing data to external systemsusing multiple domains (i.e. database instances).

Description :

Table Name : DOMAIN_CLASS

Page 31: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 18 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

DEPT

CLASS

DOMAIN_ID

This field contains the department number associated with the domain.

This field contains the class number associated with the domain.

This field contains the unique number representing the domain. This domainnumber is used when interfacing data to external systems using domains.

Column Detail

10

20

30

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Page 32: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 19 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

DOMAIN_ID

Column

DOMAIN_DEPT_I1

Name

NOT UNIQUE

Index Type

DEPT references DEPS.DEPT

DOMAIN_ID references DOMAIN.DOMAIN_ID

DMD_DEP_FK

DMD_DMN_FK

Foreign Keys

Primary Key

DEPT

Column Detail

Index Summary

10

DEPT

DOMAIN_ID

Column

NUMBER (4, 0)

NUMBER (2, 0)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

Seq.

1

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_DOMAIN_DEPT DEPT

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table will be used to determine with which domains departmentsare associated if domains are set-up at the department level. Theserelationships will be used when interfacing data to external systemsusing multiple domains (i.e. database instances).

Description :

Table Name : DOMAIN_DEPT

Page 33: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 20 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

DOMAIN_ID

This field contains the department number associated with the domain.

This field contains the unique number representing the domain. This domainnumber is used when interfacing data to external systems using domains.

Column Detail

20

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Page 34: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 21 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

DOMAIN_ID references DOMAIN.DOMAIN_ID

DEPT references SUBCLASS.DEPTCLASS references SUBCLASS.CLASSSUBCLASS references SUBCLASS.SUBCLASS

DMS_DMN_FK

DMS_SCL_FK

Foreign Keys

Primary Key

DEPT

Column Detail

10

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

DEPT

CLASS

SUBCLASS

DOMAIN_ID

Column

NUMBER (4, 0)

NUMBER (4, 0)

NUMBER (4, 0)

NUMBER (2, 0)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_DOMAIN_SUBCLASS DEPTCLASSSUBCLASS

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table will be used to determine with which domains subclasses areassociated if domains are set-up at the subclass level. Theserelationships will be used when interfacing data to external systemsusing multiple domains (i.e. database instances).

Description :

Table Name : DOMAIN_SUBCLASS

Page 35: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 22 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

DOMAIN_ID

Column

DOMAIN_SUBCLASS_I1

Name

NOT UNIQUE

Index Type

CLASS

SUBCLASS

DOMAIN_ID

This field contains the department number associated with the domain.

This field contains the class number associated with the domain.

This field contains the subclass number associated with the domain.

This field contains the unique number representing the domain. This domainnumber is used when interfacing data to external systems using domains.

Column Detail

Index Summary

20

30

40

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Seq.

1

Page 36: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 23 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_DUMMY_DUMMY

Name

Check Constraints

DUMMY

This field will always contain a 'Y'. Used by Logon form.

Where Validate Clause

Column Detail

10

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

DUMMY

Column

VARCHAR2 (1)

Type

NOT NULL

Nulls ?Col.Seq.

10

Column Summary

DUMMY = 'Y'

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table is used when no base table has been assigned to a form, butuse of the pre or post insert, update or delete triggers is required.This table is populated during installation of the system and shouldnot be modified.

Description :

Table Name : DUMMY

Page 37: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 24 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_DYNAMIC_HIER_CODE_ABBR_NAM

CHK_DYNAMIC_HIER_CODE_CLIENT_N

CHK_DYNAMIC_HIER_CODE_RMS_NAME

Name

Check Constraints

Primary Key

RMS_NAME

CLIENT_NAME

This field contains the text value of the organizational and merchandisehierarchy fields. (Examples would be 'Department', 'Departments', etc.).

This field contains the text value that the client uses for the organizationaland merchandise hierarchy fields in relation to the RMS fields. For example, ifthe RMS_NAME was 'Department', the client could fill in their equivalent to theRMS department.

Where Validate Clause

Column Detail

10

20

30

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

RMS_NAME

CLIENT_NAME

ABBR_NAME

Column

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (6)

Type

NOT NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

abbr_name = upper(abbr_name)

client_name = upper(client_name)

rms_name = upper(rms_name)

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_DYNAMIC_HIER_CODE RMS_NAME

Name Column

This table contains one row for each reference to the Organizationaland Merchandise hierarchy reference within the RMS. If the clientfills in their company equivalents in this table, these text valueswill dynamically appear in base RMS.

Description :

Table Name : DYNAMIC_HIER_CODE

Page 38: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 25 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ABBR_NAME

This column contains the abbreviated name for the client name, if there is anacceptable abbreviation. The abbreviation will be displayed in forms wherethere is not enough room to display the entire client hierarchy name. If thisfield is left NULL, then the client name will be used, but has the potential tobe truncated in certain places.

Column Detail

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Page 39: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 26 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_EVIEW_IMAGETYPE

CHK_EVIEW_VISIBLE_IND

Name

Check Constraints

Primary Key

IMAGE

NAME

IMAGETYPE

This is the filename of the image associated with this eview.

This is the name of the eview that the user sees on the drop-down list of RetekStart.

Where Validate Clause

Column Detail

10

20

30

Optional ? :No ; Varchar2 (650) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

IMAGE

NAME

IMAGETYPE

VISIBLE_IND

HEIGHT

WIDTH

Column

VARCHAR2 (650)

VARCHAR2 (30)

VARCHAR2 (4)

VARCHAR2 (1)

NUMBER (3, 0)

NUMBER (3, 0)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

Column Summary

imagetype in('BMP','CALS','GIF','JFIF','PICT','RAS','TIFF','TPIC')visible_ind IN ('Y','N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_EVIEW IMAGE

Name Column

This table will store the information for all of the Retek Startprocess flow images.

Description :

Table Name : EVIEW

Page 40: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 27 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

VISIBLE_IND

HEIGHT

WIDTH

This entry specifies the image type. This is passed into the Read_Image_Fileprocedure.

This item indicates whether or not an eview is visible for a user to select. Inthis way, eviews can be created that can only be accessed through anothereview, not directly by the user.

This is the height of the image in pixels. It is used to resize the Retek Startform when an eview is selected.

This is the width of the image in pixels. It is used to resize the Retek Startform.

Column Detail

40

50

60

Optional ? :No ; Varchar2 (4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Page 41: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 28 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

IMAGE references EVIEW.IMAGE

ELO_EVI_FK

CHK_EVIEW_LOCATION_TYPE

Name

Check Constraints

Foreign Keys

Primary Key

Where Validate Clause

Column Detail

IMAGE

TOPX

TOPY

BOTTOMX

BOTTOMY

TYPE

ELEMENT

NAV_MODE

Column

VARCHAR2 (650)

NUMBER (3, 0)

NUMBER (3, 0)

NUMBER (3, 0)

NUMBER (3, 0)

VARCHAR2 (1)

VARCHAR2 (2000)

VARCHAR2 (20)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

Column Summary

type in ('F','W','V','A','S','R')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_EVIEW_LOCATION IMAGETOPXTOPYBOTTOMXBOTTOMY

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table will store the information for all regions that can beclicked on for each Retek Start process flow image.

Description :

Table Name : EVIEW_LOCATION

Page 42: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 29 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

IMAGE

TOPX

TOPY

BOTTOMX

BOTTOMY

TYPE

ELEMENT

NAV_MODE

This is the image with which this region is identified. It corresponds to animage entry in the EVIEW table.

This defines the X position of the top left corner of this region.

This defines the Y position of the top left corner of this region.

This defines the X position of the bottom right corner of this region.

This defines the Y position of the bottom right corner of this region.

This item indicates the type of object to be opened when this region is clickedupon. It can be a form (F), a web page (W), an enterprise view (V), a userapplication (A), or an internally handled item (S).

This item contains a form module name if it is a form, a web address if it is aweb page, an enterprise view image name if it is another enterprise view, thepath to an application on the user's local drive if it is an application, or acode that is handled by the HANDLE_SPECIAL procedure if it is an internal item.

This is the mode in which to open an item, or '--DEFAULT--' if there is nomode.

Column Detail

10

20

30

40

50

60

70

80

Optional ? :No ; Varchar2 (650) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (2000) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Page 43: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 30 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

IMAGE references EVIEW.IMAGE

EUG_EVI_FK

Foreign Keys

Primary Key

IMAGE

USER_GROUP

This is the image which this user group may access. It corresponds to an imageentry in the EVIEW table.

This is the name of a user group created by the DBA.

Column Detail

10

20

Optional ? :No ; Varchar2 (650) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

IMAGE

USER_GROUP

Column

VARCHAR2 (650)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_EVIEW_USER_GROUPS IMAGEUSER_GROUP

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table will hold an entry for each user group that can access agiven image. The user groups will be groups of database user id's, andwill be created by the user in the navadmin form. The user groupsfeature is not yet implemented.

Description :

Table Name : EVIEW_USER_GROUPS

Page 44: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 31 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

USER_ID

FORM_NAME

ITEM_NAME

VALUE

Holds the ORACLE login name of the user which is using the save/restore defaultfunctionality.

Holds the name of the find form the user is currently on.

Holds the name of the item on the form in the form BLOCK_NAME.ITEM_NAME.

Holds the value of the item indicated by the value of 'FIELD' and is free formtext. All values are converted to characters before inserting into this table.

Column Detail

10

20

30

40

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (8) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (100) ;() ; ; Uppercase ? :No ;

USER_ID

FORM_NAME

ITEM_NAME

VALUE

Column

VARCHAR2 (30)

VARCHAR2 (8)

VARCHAR2 (30)

VARCHAR2 (100)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_FIND_DEFAULT USER_IDFORM_NAMEITEM_NAME

Name Column

Used to store default user values for the 'Find' forms. This tablewill save default values for a user, so that a user will be able tohave the same values appear in the desired fields each time the Findform is opened.

Description :

Table Name : FIND_DEFAULT

Page 45: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 32 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Example: if 'FIELD' has 'B_HEAD.DEPT' then 'VALUE' might have '1234'.

Column Detail

Page 46: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 33 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_ITEM_FORECAST_1_DOMAIN_ID

Name

Check Constraints

Primary Key

ITEM

LOC

Alphanumeric value that identifies the item

Where Validate Clause

Column Detail

10

20

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

ITEM

LOC

EOW_DATE

DOMAIN_ID

FORECAST_SALES

FORECAST_STD_DEV

Column

VARCHAR2 (25)

NUMBER (10, 0)

DATE

NUMBER (2, 0)

NUMBER (12, 4)

NUMBER (12, 4)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

55

60

Column Summary

domain_id=1

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_ITEM_FORECAST_1 ITEMLOCEOW_DATEDOMAIN_ID

Name Column

Holds the item level forecasted information from the RDF or Client'sPlanning Application extractions. This table will hold all itemtypes. This table should be partitioned according to the domain level.While the development environment will create this table with ageneric set-up, the exact partitioning scheme will be individual tothe client. There should be at least one partition per domain_id.

Description :

Table Name : ITEM_FORECAST

Page 47: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 34 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

EOW_DATE

DOMAIN_ID

FORECAST_SALES

FORECAST_STD_DEV

Contains the location corresponding to the sales information for the SKU.

Contains the end of the week date from which the sales totals are gathered.

This field contains the unique number representing the domain. This domainnumber is used when interfacing data to external systems using domains.

This field contains forecasted sales units for the given SKU/store/datecombination. This field will only contain a value for sales_type = 'R'.

This field contains the standard deviation value for the given SKU/store/datecombination. This value represents the confidence level in the sales forecast.This field is used in the safety stock calculations for the Synamicreplenishment method. This field will only contain a value for sales_type ='R'.

Column Detail

30

40

55

60

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Page 48: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 35 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

ITEM references ITEM_MASTER.ITEM

ITEM references ITEM_SUPPLIER.ITEMPRIMARY_SUPP references ITEM_SUPPLIER.SUPPLIER

ITL_IEM_FK

ITL_ISP_FK

Foreign Keys

Primary Key

Column Detail

ITEM

LOC

LOC_TYPE

STATUS

PRIMARY_SUPP

STATUS_UPDATE_DATE

CREATE_DATETIME

LAST_UPDATE_DATETIME

LAST_UPDATE_ID

Column

VARCHAR2 (25)

NUMBER (10, 0)

VARCHAR2 (1)

VARCHAR2 (1)

NUMBER (10, 0)

DATE

DATE

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_ITEM_LOC LOCITEM

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

No

Restricted

Restricted

Restricted

Restricted

Name Column

This table contains one row for each item stocked at each locationwithin the company.

Description :

Table Name : ITEM_LOC

Page 49: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 36 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ITEM

PRIMARY_SUPP

Column

ITEM_LOC_I2

ITEM_LOC_I2

Name

NOT UNIQUE

NOT UNIQUE

Index Type

CHK_ITEM_LOC_LOC_TYPE

CHK_ITEM_LOC_STATUS

Name

Check Constraints

ITEM

LOC

LOC_TYPE

STATUS

PRIMARY_SUPP

STATUS_UPDATE_DATE

CREATE_DATETIME

Unique alphanumeric value that identifies the item.

Number of the location in which the item is to be found. This field may containa store or a warehouse.

Type of location in the location field. Valid values are: S = Store W = Warehouse

Current status of item at the store. Valid values are: A = Active, item is valid and can be ordered and sold I = Inactive, item is valid but cannot be ordered or sold C = Discontinued, item is valid and sellable but no longer orderable D = Delete, item is invalid and cannot be ordered or sold

Numeric identifier of the supplier who will be considered the primary supplierfor the specified item/loc.

Date on which the status for item at the store was most recently changed.

Where Validate Clause

Column Detail

Index Summary

10

20

30

40

50

60

70

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Seq.

1

2

LOC_TYPE in ('S', 'W')

status in ('A','I','C','D')

Page 50: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 37 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

LAST_UPDATE_DATETIME

LAST_UPDATE_ID

Date/time stamp of when the record was created. This date/time will be used inexport processing. This value should only be populated on insert - it shouldnever be updated

Holds the date time stamp of the most recent update by the last_update_id. Thisfield is required by the database.

Holds the Oracle user-id of the user who most recently updated this record.This field is required by the database.

Column Detail

80

90

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 51: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 38 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_ITEM_HIST_SALES_TYPE

CHK_ITEM_LOC_HIST_LOC_TYPE

Name

Check Constraints

Primary Key

ITEM

Unique alphanumeric value that identifies the item.

Where Validate Clause

Column Detail

10

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

ITEM

LOC

LOC_TYPE

EOW_DATE

SALES_ISSUES

SALES_TYPE

LAST_UPDATE_DATETIME

LAST_UPDATE_ID

CREATE_DATETIME

Column

VARCHAR2 (25)

NUMBER (10)

VARCHAR2 (1)

DATE

NUMBER (12, 4)

VARCHAR2 (1)

DATE

VARCHAR2 (30)

DATE

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

Column Summary

SALES_TYPE in ('R', 'P', 'C', 'I')

LOC_TYPE in ('S', 'W')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_ITEM_LOC_HIST ITEMLOCEOW_DATESALES_TYPE

Name Column

This table contains one row for each item/location/week/sales typecombination. Sales history, forecast and plan information about eachcombination may be held here.

Description :

Table Name : ITEM_LOC_HIST

Page 52: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 39 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ITEM

EOW_DATE

LOC

Column

ITEM_LOC_HIST_I1

ITEM_LOC_HIST_I1

ITEM_LOC_HIST_I2

Name

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

Index Type

LOC

LOC_TYPE

EOW_DATE

SALES_ISSUES

SALES_TYPE

LAST_UPDATE_DATETIME

LAST_UPDATE_ID

CREATE_DATETIME

Number of the location in which the item is to be found. This field may containa store or a warehouse.

Type of location in the location field. Valid values are: S = Store W = Warehouse

End of the week date for which the sales totals are gathered.

This fields contains the number of units sold or transferred foritem/location/date/sales_type combination depending on if the location type isstore or warehouse, respectively.

Indicates the type of sale or inventory movement. Valid Values are: R = Regular Sales P = Promotional Sales C = Clearance Sales I = Issues from Warehouses to Stores Regular sales, promotional sales and clearance sales can occur at stores.Issues occur only at warehouses.

Holds the date time stamp of the most recent update by the last_update_id. Thisfield is required by the database.

Holds the Oracle user-id of the user who most recently updated this record.This field is required by the database.

Column Detail

Index Summary

20

30

40

50

60

70

80

90

Optional ? :No ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Seq.

10

20

10

Page 53: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 40 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Date/time stamp of when the record was created. This date/time will be used inexport processing. This value should only be populated on insert - it shouldnever be updated.

Column Detail

Page 54: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 41 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Column Detail

ITEM

ITEM_PARENT

ITEM_GRANDPARENT

ITEM_LEVEL

TRAN_LEVEL

DEPT

CLASS

SUBCLASS

STATUS

ITEM_DESC

STORE_ORD_MULT

FORECAST_IND

SIMPLE_PACK_IND

PACK_IND

ORDERABLE_IND

PACK_TYPE

SELLABLE_IND

RETAIL_ZONE_GROUP_ID

WASTE_TYPE

SHORT_DESC

DEFAULT_WASTE_PCT

WASTE_PCT

DESC_UP

CREATE_DATETIME

LAST_UPDATE_DATETIME

LAST_UPDATE_ID

Column

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

NUMBER (1, 0)

NUMBER (1, 0)

NUMBER (4, 0)

NUMBER (4, 0)

NUMBER (4, 0)

VARCHAR2 (1)

VARCHAR2 (100)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

NUMBER (4, 0)

VARCHAR2 (6)

VARCHAR2 (20)

NUMBER (12, 4)

NUMBER (12, 4)

VARCHAR2 (100)

DATE

DATE

VARCHAR2 (30)

Type

NOT NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

180

190

200

210

220

230

240

250

260

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table contains one row for each item stocked within the company.This is the master table and holds all the base information relatingto each item.

Description :

Table Name : ITEM_MASTER

Page 55: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 42 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ITEM_PARENT references ITEM_MASTER.ITEM

ITEM_GRANDPARENT references ITEM_MASTER.ITEM

DEPT references SUBCLASS.DEPTCLASS references SUBCLASS.CLASSSUBCLASS references SUBCLASS.SUBCLASS

IEM_IEM_FK

IEM_IEM_FK2

IEM_SCL_FK

CHK_ITEM_MASTER_DESC_UP

CHK_ITEM_MASTER_FORECAST_IND

CHK_ITEM_MASTER_SIMP_PACK_IND

CHK_ITEM_MASTER_STATUS

CHK_ITEM_MASTER_STORE_ORD_MULT

CHK_ITEM_MASTER_TRAN_LEVEL

Name

Check Constraints

Foreign Keys

Primary Key

ITEM

ITEM_PARENT

ITEM_GRANDPARENT

Unique alphanumeric value that identifies the item.

Alphanumeric value that uniquely identifies the item/group at the level abovethe item. This value must exist as an item in another row on the item_mastertable.

Where Validate Clause

Column Detail

10

20

30

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

desc_up = upper(desc_up)

forecast_ind in ('Y','N')

simple_pack_ind in ('Y','N')

status in ('W','S','A','D','R')

store_ord_mult in ('C','I','E')

tran_level in (1,2,3)

PK_ITEM_MASTER ITEM

Transferable ?

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

No

No

Yes

Restricted

Restricted

Restricted

Restricted

Restricted

Restricted

Name Column

Page 56: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 43 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ITEM_PARENT

ITEM_GRANDPARENT

DEPT

CLASS

SUBCLASS

Column

ITEM_MASTER_I1

ITEM_MASTER_I2

ITEM_MASTER_I3

ITEM_MASTER_I3

ITEM_MASTER_I3

Name

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

Index Type

ITEM_LEVEL

TRAN_LEVEL

DEPT

CLASS

SUBCLASS

Alphanumeric value that uniquely identifies the item/group two levels above theitem. This value must exist as both an item and an item parent in another rowon the item_master table.

Number indicating which of the three levels the item resides. The item leveldetermines if the item stands alone or if it is part of a family of relateditems. The item level also determines how the item may be used throughout thesystem.

Number indicating which of the three levels transactions occur for the item'sgroup. The transaction level is the level at which the item's inventory istracked in the system. The transaction level item will be counted, transferred,shipped, etc. The transaction level may be at the current item or up to 2levels above or below the current item. Only one level of the hierarchy of anitem family may contain transaction level items.

Number identifying the department to which the item is attached. The item'sdepartment will be the same as that of its parent (and, by transitivity, tothat of its grandparent). Valid values for this field are located on the depstable.

Number identifying the class to which the item is attached. The item's classwill be the same as that of its parent (and, by transitivity, to that of itsgrandparent). Valid values for this field are located on the class table.

Number identifying the subclass to which the item is attached. The item'ssubclass will be the same as that of its parent (and, by transitivity, to thatof its grandparent). Valid values for this field are located on the subclass

Column Detail

Index Summary

40

50

60

70

80

Optional ? :Yes ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (1, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (1, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Seq.

1

1

1

2

3

Page 57: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 44 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

STATUS

ITEM_DESC

STORE_ORD_MULT

FORECAST_IND

SIMPLE_PACK_IND

PACK_IND

ORDERABLE_IND

table.

Status of the item. Valid values are: W = Worksheet: item setup in progress, cannot be used in system S = Submitted: item setup complete and awaiting approval, cannot be use insystem A = Approved: item is approved and can now be used throughout the system

Long description of the item. This description is used through out the systemto help online users identify the item. For items that have parents, thisdescription will default to the parents description plus any differentiators.For items without parents, this description will default to null.

Merchandise shipped from the warehouses to the stores must be specified in thisunit type. Valid values are: C = Cases I = Inner E = Eaches

Indicates if this item will be interfaced to an external forecasting system (Y,N).

Indicates if pack item is a simple pack or not. This field will only beavailable if the item is a pack item. A simple pack is an item whose componentsare all the same item (i.e. a six pack of cola, etc). Valid values are: Y = Yes, this item is a simple pack N = No, this item is not a simple pack

Indicates if the item is a pack. A pack item is a collection of items that maybe either ordered or sold as a unit. Packs require details (i.e. componentitems and qtys, etc.) that other items do not. This field is required by thedatabase.

Indicates if pack item is orderable. If it is 'Y' then the suppliers of thepack must supply all components in the pack. If it is 'N' then the componentsmay have different suppliers. This field will only be available if the item isa pack item. Valid values are: Y = Yes, this pack may be ordered N = No, this pack may not be ordered

Column Detail

90

100

110

120

130

140

150

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (100) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Page 58: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 45 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

PACK_TYPE

SELLABLE_IND

RETAIL_ZONE_GROUP_ID

WASTE_TYPE

SHORT_DESC

DEFAULT_WASTE_PCT

WASTE_PCT

DESC_UP

Indicates if pack item is a vendor pack or a buyer pack. A vendor pack is apack that the vendor or supplier recognizes and sells to the retailer. If thepack item is a vendor pack, communication with the supplier will use the vendorpack number. A buyer pack is a pack that a buyer has created for internal easeof use. If the pack item is a buyer pack, communication with the supplier willexplode the pack out to its component items. This field will only be availableif the item is a pack item. If the pack item is not orderable this field mustbe NULL. Valid values are: V = Vendor B = Buyer

Indicates if pack item may be sold as a unit. If it is 'Y' then the pack willhave its own unique unit retail. If it is 'N' then the pack's unit retail isthe sum of each individual item's total retail within the pack. This field willonly be available if the item is a pack item. Valid values are: Y = Yes, this pack may be sold as a unit N = No, this pack may not be sold as a unit

Retail pricing strategy associated with the item.

Identifies the wastage type as either sales or spoilage wastage. Sales wastageoccurs during processes that make an item saleable (i.e. fat is trimmed off atcustomer request). Spoilage wastage occurs during the products shelf life (i.e.evaporation causes the product to weigh less after a period of time). Validvalues are: SP = Spoilage SL = Sales

Shortened description of the item. This description is the default fordownloading to the POS. For items that have parents, this description willdefault to the parent's short description. For items without parents, thisdescription will default to null.

Default daily wastage percent for spoilage type wastage items. This value willdefault to all item locations and represents the average amount of wastage thatoccurs on a daily basis.

Average percent of wastage for the item over its shelf life. Used in inflatingthe retail price for wastage items.

Column Detail

160

170

180

190

200

210

220

230

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Page 59: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 46 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

CREATE_DATETIME

LAST_UPDATE_DATETIME

LAST_UPDATE_ID

All upper case description of the item (same as upper(item_desc)). This fieldis not displayed in the on-line item maintenance dialog, but is used in itemlist of value search processing through out the system.

This field will hold the time and date stamp of record creation.

This field holds the time and date stamp of the last update of the record.

This field holds the oracle user id of the last user to update the record.

Column Detail

240

250

260

Optional ? :Yes ; Varchar2 (100) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 60: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 47 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Other Unique Keys

Name Column

Primary Key

ITEM

SEASON_ID

PHASE_ID

ITEM_SEASON_SEQ_NO

Alphanumeric value that identifies either the item or item parent.

The season identifier.

The phase identifier.

Column Detail

10

20

30

40

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

ITEM

SEASON_ID

PHASE_ID

ITEM_SEASON_SEQ_NO

Column

VARCHAR2 (25)

NUMBER (3, 0)

NUMBER (3, 0)

NUMBER (4, 0)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_ITEM_SEASONS ITEM

UK_ITEM_SEASONS ITEMSEASON_IDPHASE_ID

Name Column

This table will contain all seasons/phases for a given item. Any givenitem may have multiple seasons and/or multiple phases.

Description :

Table Name : ITEM_SEASONS

Page 61: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 48 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ITEM references ITEM_MASTER.ITEM

SEASON_ID references PHASES.SEASON_IDPHASE_ID references PHASES.PHASE_ID

SEASON_ID references SEASONS.SEASON_ID

ISN_IEM_FK

ISN_PHS_FK

ISN_SSN_FK

Foreign Keys

This field contains a sequence number that combined with the item number willmake each record unique.

Column Detail

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Transferable ?

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Restricted

Restricted

Page 62: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 49 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

SUPPLIER

Column

ITEM_SUPPLIER_I1

Name

NOT UNIQUE

Index Type

ITEM references ITEM_MASTER.ITEM

SUPPLIER references SUPS.SUPPLIER

ISP_IEM_FK

ISP_SUP_FK

Foreign Keys

Primary Key

ITEM

Column Detail

Index Summary

10

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

ITEM

SUPPLIER

VPN

Column

VARCHAR2 (25)

NUMBER (10, 0)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

1

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_ITEM_SUPPLIER ITEMSUPPLIER

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table contains one row for each item/supplier combination withinthe system.

Description :

Table Name : ITEM_SUPPLIER

Page 63: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 50 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

SUPPLIER

VPN

Alphanumeric value that identifies the item

This field contains the number of the supplier of the item.

This field contains the Vendor Product Number associated with this item.

Column Detail

20

30

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 64: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 51 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

ORIGIN_COUNTRY_ID references COUNTRY.COUNTRY_ID

ITEM references ITEM_SUPPLIER.ITEMSUPPLIER references ITEM_SUPPLIER.SUPPLIER

ISC_CNT_FK

ISC_ISP_FK

Foreign Keys

Primary Key

ITEM

Column Detail

10

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

ITEM

SUPPLIER

ORIGIN_COUNTRY_ID

SUPP_PACK_SIZE

INNER_PACK_SIZE

LEAD_TIME

Column

VARCHAR2 (25)

NUMBER (10, 0)

VARCHAR2 (3)

NUMBER (12, 4)

NUMBER (12, 4)

NUMBER (4, 0)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_ITEM_SUPP_COUNTRY ITEMSUPPLIERORIGIN_COUNTRY_ID

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table will hold one record for each Origin Country associated with a given Item/Supplier.

Description :

Table Name : ITEM_SUPP_COUNTRY

Page 65: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 52 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ORIGIN_COUNTRY_ID

Column

ITEM_SUPP_COUNTRY_I1

Name

NOT UNIQUE

Index Type

SUPPLIER

ORIGIN_COUNTRY_ID

SUPP_PACK_SIZE

INNER_PACK_SIZE

LEAD_TIME

Alphanumeric value that identifies the item.

The unique identifier for the supplier.

The country where the item was manufactured or significantly altered.

This field contains the quantity that orders must be placed in multiples of forthe supplier for the item.

This field contains the break pack size for this item from the supplier.

This field contains the number of days that will elapse between the date anorder is written and the delivery to the store or warehouse from the supplier.This field is defaulted from the default lead time set at the supplier level.

Column Detail

Index Summary

20

30

40

50

60

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (3) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Seq.

1

Page 66: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 53 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

LANG

DESCRIPTION

ISO_CODE

WEBHELP_SERVER

REPORTS_SERVER

Contains a number which uniquely identifies a language.

Contains a description or name for the language.

This field holds the ISO code associated with the given language.

Contains a web help server for the particular language.

Column Detail

10

20

30

40

50

Optional ? :No ; Number (6, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (200) ;() ; ; Uppercase ? :No ;

LANG

DESCRIPTION

ISO_CODE

WEBHELP_SERVER

REPORTS_SERVER

WEBREPORTS_SERVER

Column

NUMBER (6, 0)

VARCHAR2 (30)

VARCHAR2 (6)

VARCHAR2 (200)

VARCHAR2 (200)

VARCHAR2 (200)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_LANG LANG

Name Column

Contains a list of all the languages used by the Retek system. Thistable is created when the system is installed and must be maintainedby the database administrator.

Description :

Table Name : LANG

Page 67: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 54 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

WEBREPORTS_SERVER

Contains the name of the reports server for a particular language.

Contains the URL of the web reports server.

Column Detail

60

Optional ? :Yes ; Varchar2 (200) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (200) ;() ; ; Uppercase ? :No ;

Page 68: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 55 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

RTK_LANG

Column

MC_REJECTION_REASONS_I1

Name

NOT UNIQUE

Index Type

RTK_LANG references LANG.LANG

MRR_LAN_FK

Foreign Keys

Primary Key

REASON_KEY

RTK_LANG

Contains the short description of the rejection reason that uniquely identifiesthe reason.

Column Detail

Index Summary

10

20

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (6, 0) ;() ; ; Uppercase ? :No ;

REASON_KEY

RTK_LANG

REJECTION_REASON

Column

VARCHAR2 (25)

NUMBER (6, 0)

VARCHAR2 (255)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

1

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_MC_REJECTION_REASONS REASON_KEYRTK_LANG

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table holds all the rejection reasons for mass item changes. Thistable is populated during installation of the system.

Description :

Table Name : MC_REJECTION_REASONS

Page 69: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 56 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

REJECTION_REASON

Indicates the language used for the error. For example, the number 1corresponds to English.

Message explaining why the record was rejected. Specifies what parameters canbe passed in order to be written to the rejection report.

Column Detail

30

Optional ? :No ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Page 70: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 57 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_MULT_DEF_45_FIELD_STATUS

CHK_MULT_DEF_45_LINK_TYPE

Name

Check Constraints

Primary Key

FM_NAME

Where Validate Clause

Column Detail

10

FM_NAME

COL_ORDER

COL_NAME

COL_REPOSITORY

TI_NAME

TI_REPOSITORY

FIELD_STATUS

LINKED_TO_ITEM

LINKED_TO_ORDER

LINK_TYPE

WIDTH

COL_POINTER

TI_DESC

Column

VARCHAR2 (30)

NUMBER (4, 0)

VARCHAR2 (65)

VARCHAR2 (30)

VARCHAR2 (65)

VARCHAR2 (30)

VARCHAR2 (2)

VARCHAR2 (65)

NUMBER (4, 0)

VARCHAR2 (1)

NUMBER (4, 0)

VARCHAR2 (255)

VARCHAR2 (255)

Type

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

Column Summary

FIELD_STATUS IN('MO', 'MF', 'DO', 'DF', 'LK')

LINK_TYPE IN ('B','R')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_MULTIVIEW_DEFAULT_45 FM_NAMECOL_ORDER

Name Column

This table is where all the default view information is stored. Thistable is populated during installation of the system.

Description :

Table Name : MULTIVIEW_DEFAULT_45

Page 71: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 58 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

COL_ORDER

COL_NAME

COL_REPOSITORY

TI_NAME

TI_REPOSITORY

FIELD_STATUS

LINKED_TO_ITEM

LINKED_TO_ORDER

Contains the form name associated with the multi-view.

Contains a number indicating the display order for the columns. The displayorder relationship between the columns does not change with different columnsbeing displayed or hidden.

Contains the column name associated with the multi-view. Columns are eitherdisplayed or hidden based on the specifications of the multi-view.

This field is used by the multiview repository. The repository is only used formultiviews that dynamically create items in the multiview.

Contains the text string that is displayed above the column on the Retekscreen.

This field is used by the multiview repository. The repository is only used formultiviews that dynamically create items in the multiview.

This field is used by the multiview repository. The repository is only used formultiviews that dynamically create items in the multiview. Determines whetherthe column is displayed. Valid values include: DO - Display On DF - Display Off MO - Mandatory On MF - Mandatory Off LK - Linked

This optional field contains the name of the field to which this record islinked. For example, if an LOV button should always appear when the itemassociated with it appears, then the LINKED_TO field would contain the name ofthe LOV button.

This optional field contains the column order of the field to which this recordis linked. For example, if an LOV button should always appear when the item

Column Detail

20

30

40

50

60

70

80

90

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (65) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (65) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (2) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (65) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Page 72: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 59 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

LINK_TYPE

WIDTH

COL_POINTER

TI_DESC

associated with it appears, then the LINKED_TO field would contain the columnorder of the LOV button.

If a value was specified in the linked_to field, then this field will containthe link type, which indicates where the linked field should be placed inaccordance to the field it is linked to. The valid values for this field are: B - Bottom R - Right

This field contains the width of the column. This field is used by themultiview repository. The repository is only used for multiviews thatdynamically create items in the multiview.

This contains a user defined variable, if any, for use in the view.

This field contains the text that will appear in the column heading for fieldsthat in the repository.

Column Detail

100

110

120

130

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Page 73: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 60 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

FM_NAME references MULTIVIEW_DEFAULT_45.FM_NAMECOL_ORDER references MULTIVIEW_DEFAULT_45.COL_ORDER

MSV_MDF_FK

Foreign Keys

FM_NAME

COL_ORDER

USER_ID

Contains the form name associated with the multi-view.

Contains the column order associated with the multi-view. Columns are eitherdisplayed or hidden based on the specifications of the multi-view.

Column Detail

10

20

30

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

FM_NAME

COL_ORDER

USER_ID

SET_NUMBER

FIELD_STATUS

WIDTH

GROUP_ORDER

TI_DESC

Column

VARCHAR2 (30)

NUMBER (4, 0)

VARCHAR2 (30)

NUMBER (3, 0)

VARCHAR2 (2)

NUMBER (4, 0)

NUMBER (2, 0)

VARCHAR2 (255)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

This table is where all the customized view information is stored.Developer defined sets can also exist on this table and can beidentified by the 'MV_DEV' text in the user_id field. This table ispopulated during installation of the system.

Description :

Table Name : MULTIVIEW_SAVED_45

Page 74: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 61 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

SET_NUMBER

FIELD_STATUS

WIDTH

GROUP_ORDER

TI_DESC

Contains the ID of the user who created the custom set. This field will contain'MV_DEV' for all sets determined by the developer.

Number used by the developer to distinguish between different multi-view sets.

Number used by the developer to distinguish between different multi-view sets.Determines whether the column is displayed. Valid values include: DO - Display On DF - Display Off MO - Mandatory On MF - Mandatory Off

This field contains the width of the column as defined by the user, ifspecified. Otherwise this field will contain a -1.

This field contains the order in which the column should be ordered as definedby the user. If not defined, then this field will contain a -1.

This field contains the text that will appear in the column heading for fieldsthat in the repository.

Column Detail

40

50

60

70

80

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (2) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Page 75: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 62 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

SERVER

Column

NAV_COMPONENT_I1

Name

NOT UNIQUE

Index Type

SERVER references NAV_SERVER.SERVER

NCO_NSE_FK

Foreign Keys

Primary Key

COMPONENT

SERVER

This item is the name of the component.

This item contains the name of the server to which this component belongs. Itis used to refer to the NAV_SERVER table.

Column Detail

Index Summary

10

20

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

COMPONENT

SERVER

Column

VARCHAR2 (30)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

Seq.

1

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_NAV_COMPONENT COMPONENT

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table will contain an entry for every component in the RetekSystem. Components are logical groupings of element modes; examplesare RDW, ARI, etc. New components can be created by the user via anadministration form.

Description :

Table Name : NAV_COMPONENT

Page 76: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 63 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

COMPONENT

Column

NAV_ELEMENT_I1

Name

NOT UNIQUE

Index Type

COMPONENT references NAV_COMPONENT.COMPONENT

NET_NCO_FK

CHK_NAV_ELEMENT_ELEMENT_TYPE

Name

Check Constraints

Foreign Keys

Primary Key

Where Validate Clause

Column Detail

Index Summary

ELEMENT

ELEMENT_TYPE

COMPONENT

Column

VARCHAR2 (220)

VARCHAR2 (1)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

1

element_type in ('F','W','V','A','S','R')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_NAV_ELEMENT ELEMENT

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table will contain an entry for every valid element in the Reteksystem. It will be used to determine the type and component of anelement

Description :

Table Name : NAV_ELEMENT

Page 77: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 64 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ELEMENT

ELEMENT_TYPE

COMPONENT

Used to uniquely identify an element in the system. For a form, this item isthe name of the module. For a web page, it is the string that is added onto theend of the server address to get the URL for the page. For an enterprise view,it is the image to be opened. For an application, it is the full path to theapplication on the user's local drive. For an internal system item, it is anidentifier that is handled in the HANDLE_SPECIAL procedure in the rtkstrtmodule.

Used to identify whether an element represents a from (F), a web page (W), anenterprise view (V), a user application (A), or a system item (S). Enterpriseview elements are not currently used. System elements are those that must behandled with special code in the HANDLE_SPECIAL procedure.

This item contains the name of the component to which this element belongs.

Column Detail

10

20

30

Optional ? :No ; Varchar2 (220) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 78: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 65 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

ELEMENT

NAV_MODE

Used to identify an element from the nav_element table.

This is the mode that the given element is to be opened in. Common modes areNEW, EDIT, and VIEW. This item will be passed into the P_CALL_WITH_MODE

Column Detail

10

20

Optional ? :No ; Varchar2 (220) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

ELEMENT

NAV_MODE

FOLDER

ELEMENT_MODE_NAME

USER_ID

FINANCIAL_O_IND

FINANCIAL_P_IND

FINANCIAL_NULL_IND

CONTRACT_IND

INVC_MATCH_IND

VAT_IND

IMPORT_IND

MULTICHANNEL_IND

Column

VARCHAR2 (220)

VARCHAR2 (20)

VARCHAR2 (40)

VARCHAR2 (40)

VARCHAR2 (30)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_NAV_ELEMENT_MODE ELEMENTNAV_MODEFOLDER

Name Column

This table will contain one entry for every valid element mode thatcan be seen by the user in the Retek Start tree.

Description :

Table Name : NAV_ELEMENT_MODE

Page 79: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 66 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

FOLDER

Column

NAV_ELEMENT_MODE_I1

Name

NOT UNIQUE

Index Type

ELEMENT references NAV_ELEMENT.ELEMENT

FOLDER references NAV_FOLDER.FOLDER

NEL_NET_FK

NEL_NFO_FK

CHK_NAV_ELEMENT_MODE_CONT_IND

CHK_NAV_ELEMENT_MODE_FIN_N_IND

CHK_NAV_ELEMENT_MODE_FIN_O_IND

CHK_NAV_ELEMENT_MODE_FIN_P_IND

CHK_NAV_ELEMENT_MODE_IMP_IND

CHK_NAV_ELEMENT_MODE_INVC_M_I

CHK_NAV_ELEMENT_MODE_MULT_IND

CHK_NAV_ELEMENT_MODE_VAT_IND

Name

Check Constraints

Foreign Keys

FOLDER

ELEMENT_MODE_NAME

USER_ID

procedure.

This is the folder in the Retek Start tree in which this element_mode resides.It corresponds to an entry in the NAV_FOLDER table.

The text that the user actually sees in the tree in Retek Start for this item.

Where Validate Clause

Column Detail

Index Summary

30

40

50

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

Seq.

1

CONTRACT_IND IN ('Y', 'N')

FINANCIAL_NULL_IND IN ('Y')

FINANCIAL_O_IND in ('Y')

FINANCIAL_P_IND IN ('Y')

IMPORT_IND IN ('Y', 'N')

INVC_MATCH_IND IN ('Y', 'N')

(MULTICHANNEL_IND IN ('Y', 'N')) OR(MULTICHANNEL_IND IS NULL)VAT_IND IN ('Y', 'N')

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Page 80: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 67 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

FINANCIAL_O_IND

FINANCIAL_P_IND

FINANCIAL_NULL_IND

CONTRACT_IND

INVC_MATCH_IND

VAT_IND

IMPORT_IND

MULTICHANNEL_IND

Contains the username of the user who owns this element, or NULL if this is asystem element.

A value of 'Y' means that system_options.financial_ap must be 'O'.

A value of 'Y' means that system_options.financial_ap must be 'P'.

A value of 'Y' means that system_options.financial_ap must be NULL.

System_options.contract_ind must match this item.

System_options.invc_match_ind must match this item.

System_options.vat_ind must match this item.

System_options.import_ind must match this item.

system_options.multichannel_ind must match this column. If the value in thiscolumn is 'Y', the element on that record will not be displayed in the RetekStart Menu (rtkstrt.fmb)

Column Detail

60

70

80

90

100

110

120

130

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Page 81: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 68 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

ELEMENT references NAV_ELEMENT_MODE.ELEMENTNAV_MODE references NAV_ELEMENT_MODE.NAV_MODEFOLDER references NAV_ELEMENT_MODE.FOLDER

NEM_NEL_FK

Foreign Keys

Primary Key

ELEMENT

NAV_MODE

Used, along with nav_mode, to uniquely identify an element mode.

Used, along with element, to uniquely identify an element mode.

Column Detail

10

20

Optional ? :No ; Varchar2 (220) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

ELEMENT

NAV_MODE

FOLDER

ROLE

Column

VARCHAR2 (220)

VARCHAR2 (20)

VARCHAR2 (40)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_NAV_ELEMENT_MODE_ROLE ELEMENTNAV_MODEFOLDERROLE

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table will contain one entry for every database role that isallowed to open a given element in a given mode. It will be used forsecurity purposes, to filter out forms from users who do not have arole allowed to see a given form.

Description :

Table Name : NAV_ELEMENT_MODE_ROLE

Page 82: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 69 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

FOLDER

ROLE

This is the folder in the Retek Start tree in which this element_mode resides.It corresponds to an entry in the NAV_FOLDER table.

Holds a role that is allowed to access the given element in the given mode.

Column Detail

30

40

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 83: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 70 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

ICON

Column

NAV_FAVORITES_I1

Name

NOT UNIQUE

Index Type

ICON references NAV_ICON.FILENAME

NFA_NIC_FK

CHK_NAV_FAV_IS_USER_ELEMENT_IN

CHK_NAV_FAV_POSITION

Name

Check Constraints

Foreign Keys

Where Validate Clause

Index Summary

FAVORITE_ID

NAV_MODE

USER_ID

NAME

ICON

IS_USER_ELEMENT_IND

POSITION

Column

VARCHAR2 (700)

VARCHAR2 (20)

VARCHAR2 (30)

VARCHAR2 (40)

VARCHAR2 (40)

VARCHAR2 (1)

NUMBER (2, 0)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

Column Summary

Seq.

1

is_user_element_ind in ('Y','N')

position >=1 and position <= 15

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Information about favorites for all users will be kept in this table.This table will be used to set up the favorites display in the RetekStart form, as well as to set up the toolbar in the fm_refer form (andany forms that subclass the toolbar).

Description :

Table Name : NAV_FAVORITES

Page 84: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 71 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

FAVORITE_ID

NAV_MODE

USER_ID

NAME

ICON

IS_USER_ELEMENT_IND

POSITION

This is the object that should be launched when this favorite is selected. Itcan be any element or user_element.

This is the mode in which this element should be opened. If no mode is needed,the mode is the string '--DEFAULT-'.

This is the Oracle database login of the user who created this favorite. It isused to allow each user to customize their toolbar.

This is the text that will be displayed as the tooltip text of the toolbarbutton for this item.

This is the filename of the icon associated with the button for this item. Itis chosen by the user from those available in the NAV_ICON table.

Indicates whether this item was create from a user-defined item. If it was, itis handled differently when activated.

Indicates the position on the user's toolbar of this item. It is used to allowthe user to arrange their favorites in any desired order.

Column Detail

10

20

30

40

50

60

70

Optional ? :No ; Varchar2 (700) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Page 85: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 72 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

PARENT_FOLDER references NAV_FOLDER.FOLDER

NFO_NFO_FK

Foreign Keys

Primary Key

FOLDER

Column Detail

10

FOLDER

FOLDER_NAME

PARENT_FOLDER

USER_ID

SALES_AUDIT_IND

FINANCIAL_O_IND

FINANCIAL_P_IND

FINANCIAL_NULL_IND

CONTRACT_IND

INVC_MATCH_IND

VAT_IND

IMPORT_IND

ELC_IND

Column

VARCHAR2 (40)

VARCHAR2 (40)

VARCHAR2 (40)

VARCHAR2 (30)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_NAV_FOLDER FOLDER

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesNo

RestrictedRestricted

Name Column

This table will contain one entry for each folder in the Retek system.Folders will correspond to what were menus in the previous version ofRMS.

Description :

Table Name : NAV_FOLDER

Page 86: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 73 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

PARENT_FOLDER

Column

NAV_FOLDER_I1

Name

NOT UNIQUE

Index Type

FOLDER_NAME

PARENT_FOLDER

USER_ID

SALES_AUDIT_IND

FINANCIAL_O_IND

FINANCIAL_P_IND

FINANCIAL_NULL_IND

CONTRACT_IND

INVC_MATCH_IND

VAT_IND

A name that is used to uniquely identify a system folder.

Contains the text that is displayed in the Retek Start tree for this folder.

Contains the identifier of this folder's parent folder in the Retek Start tree,or NULL if the folder is at the root level.

Contains the username of the user who owns this folder, or NULL if this is asystem folder.

indicates is Sales Audit is on or off

Y if Oracle Financials interface is on, N otherwise

Y if PeopleSoft financials interface is on, N otherwise

Indicates if financial interface is ON or OFF. If "Y",RMS is not interfacingwith either Oracle or Peoplesoft Applications. If "N", RMS is interfacing witheither Oracle or Peoplesoft Applications.

This field can be null or System_options.contract_ind must match this item.

This field can be null or System_options.invc_match_ind must match this item.

Column Detail

Index Summary

20

30

40

50

60

70

80

90

100

110

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Seq.

1

Page 87: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 74 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

IMPORT_IND

ELC_IND

This field can be null or System_options.vat_ind must match this item.

Indicates whether or not the Trade Management product is being used withinRetek.

Indicates whether or not Estimated Landed Cost is used within Retek.

Column Detail

120

130

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Page 88: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 75 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

FILENAME

This is the system filename of an available icon. It should not include anextension (.gif, .ico). The icons in this table should be in a directory thatis included in the user's TK25_ICON registry entry.

Column Detail

10

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

FILENAME

Column

VARCHAR2 (40)

Type

NOT NULL

Nulls ?Col.Seq.

10

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_NAV_ICON FILENAME

Name Column

This table will contain one entry for each icon file the user isallowed to associate with a favorite. It will be used to show the usertheir valid choices of icons to use.

Description :

Table Name : NAV_ICON

Page 89: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 76 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

SERVER

ADDRESS

This is the name of a server in the system.

This item contains the address of a server. It is currently only used to holdthe web address of the RDW server.

Column Detail

10

20

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (200) ;() ; ; Uppercase ? :No ;

SERVER

ADDRESS

Column

VARCHAR2 (30)

VARCHAR2 (200)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_NAV_SERVER SERVER

Name Column

This table will contain an entry for every server used by the system.Each server is given an address. The table will be used to look up theserver address for a given component.

Description :

Table Name : NAV_SERVER

Page 90: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 77 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

USER_ID

SHOW_MVIEW_IND

The username of the user who these properties are for.

Indicates whether or not to show the mview buttons in the toolbar.

Column Detail

10

20

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

USER_ID

SHOW_MVIEW_IND

PB_SCROLL_LEFT_IND

PB_SHRINK_IND

PB_EXPAND_IND

PB_ADD_IND

PB_DELETE_IND

PB_LEFT_IND

PB_RIGHT_IND

PB_CHANGE_IND

PB_SEARCH_IND

PB_RETURN_IND

PB_SAVE_IND

PB_SCROLL_RIGHT_IND

Column

VARCHAR2 (30)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_NAV_USER_OPTIONS USER_ID

Name Column

This table contains one row for each Oracle user and contains thespecific options used when logging on to the navigator.

Description :

Table Name : NAV_USER_OPTIONS

Page 91: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 78 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

CHK_NAV_USER_OPTIONS_PB_ADD_IN

CHK_NAV_USER_OPTIONS_PB_CHG_IN

CHK_NAV_USER_OPTIONS_PB_DEL_IN

CHK_NAV_USER_OPTIONS_PB_EXP_IN

CHK_NAV_USER_OPTIONS_PB_LFT_IN

CHK_NAV_USER_OPTIONS_PB_RET_IN

CHK_NAV_USER_OPTIONS_PB_RT_IND

CHK_NAV_USER_OPTIONS_PB_SAVE_I

CHK_NAV_USER_OPTIONS_PB_SCR_LI

CHK_NAV_USER_OPTIONS_PB_SCR_RI

CHK_NAV_USER_OPTIONS_PB_SHR_I

CHK_NAV_USER_OPTIONS_PB_SRCH_I

CHK_NAV_USER_OPTIONS_SH_MV_IND

Name

Check Constraints

PB_SCROLL_LEFT_IND

PB_SHRINK_IND

PB_EXPAND_IND

PB_ADD_IND

PB_DELETE_IND

PB_LEFT_IND

PB_RIGHT_IND

Indicates whether or not to show this button.

Indicates whether or not to show this button.

Indicates whether or not to show this button.

This column indicates whether or not the multiview add button will bedisplayed.

Indicates whether or not to show this button.

Indicates whether or not to show this button.

Where Validate Clause

Column Detail

30

40

50

60

70

80

90

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

PB_ADD_IND IN ('Y', 'N')

PB_CHANGE_IND IN ('Y', 'N')

PB_DELETE_IND IN ('Y', 'N')

PB_EXPAND_IND IN ('Y', 'N')

PB_LEFT_IND IN ('Y', 'N')

PB_RETURN_IND IN ('Y', 'N')

PB_RIGHT_IND IN ('Y', 'N')

PB_SAVE_IND IN ('Y', 'N')

PB_SCROLL_LEFT_IND IN ('Y', 'N')

PB_SCROLL_RIGHT_IND IN ('Y', 'N')

PB_SHRINK_IND IN ('Y', 'N')

PB_SEARCH_IND IN ('Y', 'N')

SHOW_MVIEW_IND IN ('Y', 'N')

Page 92: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 79 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

PB_CHANGE_IND

PB_SEARCH_IND

PB_RETURN_IND

PB_SAVE_IND

PB_SCROLL_RIGHT_IND

Indicates whether or not to show this button.

Indicates whether or not to show this button.

Indicates whether or not to show this button.

Indicates whether or not to show this button.

Indicates whether or not to show this button.

Indicates whether or not to show this button.

Column Detail

100

110

120

130

140

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Page 93: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 80 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

ORDER_NO

Contains the number that uniquely identifies an order within the system.

Column Detail

10

Optional ? :No ; Number () ;() ; ; Uppercase ? :No ;

ORDER_NO

Column

NUMBER ()

Type

NOT NULL

Nulls ?Col.Seq.

10

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_ORDHEAD ORDER_NO

Name Column

This table contains one row for each order that has been placed by thecompany.

Description :

Table Name : ORDHEAD

Page 94: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 81 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_PERIOD_SYSAVAIL

Name

Check Constraints

SYSAVAIL

VDATE

Indicator determining if the system is available to users. The value is 0 whenthe system is not available and 1 when it is available.

Where Validate Clause

Column Detail

10

20

Optional ? :Yes ; Number (1, 0) ;() ; ; Uppercase ? :No ;

SYSAVAIL

VDATE

START_454_HALF

END_454_HALF

START_454_MONTH

MID_454_MONTH

END_454_MONTH

HALF_NO

NEXT_HALF_NO

CURR_454_DAY

CURR_454_WEEK

CURR_454_MONTH

CURR_454_YEAR

CURR_454_MONTH_IN_HALF

CURR_454_WEEK_IN_HALF

Column

NUMBER (1, 0)

DATE

DATE

DATE

DATE

DATE

DATE

NUMBER (5, 0)

NUMBER (5, 0)

NUMBER (2, 0)

NUMBER (2, 0)

NUMBER (2, 0)

NUMBER (4, 0)

NUMBER (2, 0)

NUMBER (2, 0)

Type

NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

Column Summary

SYSAVAIL IN(0,1)

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This control table is used to hold the current system dates for allprocessing runs, reports, and C programs. The date can be updated onthis table by running the batch program 'dtesys'.

Description :

Table Name : PERIOD

Page 95: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 82 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

START_454_HALF

END_454_HALF

START_454_MONTH

MID_454_MONTH

END_454_MONTH

HALF_NO

NEXT_HALF_NO

CURR_454_DAY

CURR_454_WEEK

CURR_454_MONTH

CURR_454_YEAR

The current system date. This value will be updated at the completion of thenightly batch run to ensure that all transactions processed in a single runhave the same day in the system.

First day of the current 4-5-4 half.

Last day of the current 4-5-4 half.

The first day of the current 4-5-4 month.

The middle of the current 4-5-4 month.

The last day of the current 4-5-4 month.

The current half number.

The next half number.

This value will range from 1 to 7 and indicates the current day of the 4-5-4week.

This indicates the 4-5-4 week number within the current month. The number willrange between 1 and 5.

This number indicates the current 4-5-4 month and will range from 1 to 12.

Indicates the current 4-5-4 year.

Column Detail

30

40

50

60

70

80

90

100

110

120

130

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (5, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (5, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Page 96: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 83 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

CURR_454_MONTH_IN_HALF

CURR_454_WEEK_IN_HALF

The current 4-5-4 month in the half. Numbers should range from month 1 to month6.

The current 4-5-4 week number in the half. Numbers should range from week 1 toweek 26.

Column Detail

140

150

Optional ? :Yes ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Page 97: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 84 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

SEASON_ID references SEASONS.SEASON_ID

PHS_SSN_FK

Foreign Keys

Primary Key

SEASON_ID

PHASE_ID

PHASE_DESC

The unique identifier for season.

The unique identifier for phase. This number is not unique without theassociated season identifier.

Column Detail

10

20

30

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

SEASON_ID

PHASE_ID

PHASE_DESC

START_DATE

END_DATE

Column

NUMBER (3, 0)

NUMBER (3, 0)

VARCHAR2 (20)

DATE

DATE

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_PHASES SEASON_IDPHASE_ID

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table holds phases (sub-seasons) for the retek system. It is thechild table to SEASONS.

Description :

Table Name : PHASES

Page 98: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 85 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

START_DATE

END_DATE

The description associated with the phase.

The starting date of the phase.

The ending date of the phase.

Column Detail

40

50

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Page 99: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 86 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

ITEM references ITEM_MASTER.ITEM

ITEM references REPL_ITEM_LOC.ITEMLOCATION references REPL_ITEM_LOC.LOCATION

RDY_IEM_FK

RDY_RIL_FK

CHK_REPL_DAY_LOC_TYPE

CHK_REPL_DAY_WEEKDAY

Name

Check Constraints

Foreign Keys

Primary Key

Where Validate Clause

ITEM

LOCATION

WEEKDAY

LOC_TYPE

Column

VARCHAR2 (25)

NUMBER (10, 0)

NUMBER (1, 0)

VARCHAR2 (6)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

loc_type in ('S','W')

weekday >=1 and weekday<=7

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_REPL_DAY ITEMLOCATIONWEEKDAY

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table indicates what days of the week an item location should bereviewed for replenishment.

Description :

Table Name : REPL_DAY

Page 100: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 87 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ITEM

LOCATION

WEEKDAY

LOC_TYPE

Contains the item that is on replenishment.

Contains the numeric identifier of the location that is on replenishment.

Contains the weekday that the item location should be reviewed forreplenishment. Valid values are 1 (first day of the week), 1 (second day of theweek), etc.

Contains the type of the location on replenishment. Valid values include'S'tore, 'W'arehouse.

Column Detail

10

20

30

40

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (1, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Page 101: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 88 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

ITEM

LOCATION

LOC_TYPE

ITEM_PARENT

ITEM_GRANDPARENT

PRIMARY_REPL_SUPPLIER

ORIGIN_COUNTRY_ID

REVIEW_CYCLE

STOCK_CAT

REPL_ORDER_CTRL

SOURCE_WH

ACTIVATE_DATE

DEACTIVATE_DATE

PRES_STOCK

DEMO_STOCK

REPL_METHOD

MIN_STOCK

MAX_STOCK

INCR_PCT

MIN_SUPPLY_DAYS

MAX_SUPPLY_DAYS

TIME_SUPPLY_HORIZON

INV_SELLING_DAYS

SERVICE_LEVEL

LOST_SALES_FACTOR

PICKUP_LEAD_TIME

WH_LEAD_TIME

TERMINAL_STOCK_QTY

Column

VARCHAR2 (25)

NUMBER (10, 0)

VARCHAR2 (6)

VARCHAR2 (25)

VARCHAR2 (25)

NUMBER (10, 0)

VARCHAR2 (3)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (10, 0)

DATE

DATE

NUMBER (12, 4)

NUMBER (12, 4)

VARCHAR2 (6)

NUMBER (12, 4)

NUMBER (12, 4)

NUMBER (12, 4)

NUMBER (3, 0)

NUMBER (3, 0)

NUMBER (3, 0)

NUMBER (3, 0)

NUMBER (5, 2)

NUMBER (5, 2)

NUMBER (4, 0)

NUMBER (4, 0)

NUMBER (12, 4)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

180

190

200

210

220

230

240

250

260

270

280

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table is used to store item location level replenishmentattributes.

Description :

Table Name : REPL_ITEM_LOC

Page 102: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 89 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ITEM references ITEM_MASTER.ITEM

ITEM references ITEM_SUPP_COUNTRY.ITEMPRIMARY_REPL_SUPPLIER references ITEM_SUPP_COUNTRY.SUPPLIERORIGIN_COUNTRY_ID references ITEM_SUPP_COUNTRY.ORIGIN_COUNTRY_ID

SOURCE_WH references WH.WH

RIL_IEM_FK

RIL_ISC_FK

RIL_WAH_FK

Foreign Keys

Primary Key

ITEM

Alphanumeric identifier for the item on replenishment.

Column Detail

10

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

SEASON_ID

PHASE_ID

LAST_REVIEW_DATE

PRIMARY_PACK_NO

PRIMARY_PACK_QTY

DEPT

CLASS

SUBCLASS

CREATE_DATETIME

LAST_UPDATE_DATETIME

LAST_UPDATE_ID

STORE_ORD_MULT

Column

NUMBER (3, 0)

NUMBER (3, 0)

DATE

VARCHAR2 (25)

NUMBER (12, 4)

NUMBER (4, 0)

NUMBER (4, 0)

NUMBER (4, 0)

DATE

DATE

VARCHAR2 (30)

VARCHAR2 (6)

Type

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

290

300

310

320

330

340

350

360

370

380

390

400

PK_REPL_ITEM_LOC ITEMLOCATION

Transferable ?

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

No

No

Restricted

Restricted

Restricted

Restricted

Restricted

Restricted

Name Column

Page 103: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 90 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ITEM

PRIMARY_REPL_SUPPLIER

ORIGIN_COUNTRY_ID

ITEM

SEASON_ID

PHASE_ID

PRIMARY_PACK_NO

SOURCE_WH

Column

REPL_ITEM_LOC_I1

REPL_ITEM_LOC_I1

REPL_ITEM_LOC_I1

REPL_ITEM_LOC_I2

REPL_ITEM_LOC_I2

REPL_ITEM_LOC_I2

REPL_ITEM_LOC_I3

REPL_ITEM_LOC_I4

Name

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

Index Type

CHK_REPL_ITEM_LOC_LOC_TYPE

CHK_REPL_ITEM_LOC_REPL_METHOD

CHK_REPL_ITEM_LOC_REPL_ORDER_C

CHK_REPL_ITEM_LOC_REV_CYCLE

CHK_REPL_ITEM_LOC_STOCK_CAT

Name

Check Constraints

LOCATION

LOC_TYPE

ITEM_PARENT

ITEM_GRANDPARENT

PRIMARY_REPL_SUPPLIER

Location that is on replenishment.

Contains the type of the location on replenishment. Valid values include'S'tore, 'W'arehouse.

The parent/group of the item on replenishment.

The grandparent/master group of the item on replenishment.

Where Validate Clause

Column Detail

Index Summary

20

30

40

50

60

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Seq.

1

2

3

1

2

3

1

1

loc_type in ('S','W')

(repl_method in('C','M','F','T','D','TI','DI','SO'))repl_order_ctrl in ('M','S','A','B')

review_cycle >= 0 and review_cycle <=14

stock_cat in ('D','C','W','L')

Page 104: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 91 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ORIGIN_COUNTRY_ID

REVIEW_CYCLE

STOCK_CAT

REPL_ORDER_CTRL

SOURCE_WH

ACTIVATE_DATE

DEACTIVATE_DATE

Contains the numeric identifier of the supplier from which the specifiedlocation will source the replenishment demand for the specified item location.Used for items on Direct to Store/Warehouse or Cross-docked replenishment.

Contains the country code of the supplier country that will be used to supplythe replenishment demand for the specified item location. Used for items onDirect to Store/Warehouse or Cross-docked replenishment.

Contains the number representing when the specified item location will bereviewed for replenishment. Valid values are 0-14. A '0' represents a weeklyreview cycle, a '1' represents a daily review cycle, a '2' represents a reviewcycle of every 2 weeks, a '3' represents a review cycle of every 3 weeks, etc.

Contains the sourcing strategy for the item/location relationship. Valid valuesare 'D'irect to store (supplier to store), 'C'ross-docked (supplier to storeflowing through the warehouse), 'W'arehouse stocked (warehouse to store), 'L'for WH/Cross Link (warehouse to store and supplier to warehouse if insufficientwarehouse stock).

Determines if the replenishment process will create an actual order/transferline item for the item location if there is a need for the item location or ifonly a record is written to the Replenishment Results table. Valid values are'M'anual (a record is written to the Replenishment Results table - noorder/transfer line item is created), 'S'emi-Automatic (an order/transfer lineitem is created - the order line item will be added to an order in Worksheetstatus, the transfer line item will be added to a transfer in Approved statuswith a freight type of Hold), 'A'utomatic (an order/transfer line item iscreated - the order line item will be added to an order in Approved status, thetransfer line item will be added to a transfer in Approved status), 'B'uyerWorksheet (a record is written to the Replenishment Results table and can beadded to a purchase order on the Buyer Worksheet form/a transfer line item isadded to a transfer in Approved status with a freight type of Hold).

Contains the numeric identifier of the warehouse through which the specifieditem will crossdock to the specified store for a stock category of Crossdocked;or the numeric identifier of the warehouse from which the specified item willbe sourced for the specified store for a stock category of Warehouse Stocked.

Contains the date on which the item location will start to be reviewed forreplenishment.

Column Detail

70

80

90

100

110

120

130

Optional ? :Yes ; Varchar2 (3) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Page 105: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 92 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

PRES_STOCK

DEMO_STOCK

REPL_METHOD

MIN_STOCK

MAX_STOCK

INCR_PCT

MIN_SUPPLY_DAYS

MAX_SUPPLY_DAYS

TIME_SUPPLY_HORIZON

Contains the date at which time the item location will no longer be reviewedfor replenishment.

Contains the minimum amount of stock that needs to be on store shelves. Thepresentation stock is nor expected to satisfy consumer demand but is expectedto remain in the fixture.

Contains the amount of stock that cannot be sold as new and is not counted aspart of inventory in the replenishment calculations. The value in this field isthe amount of stock used strictly for demonstration purposes.

Contains the character code for the algorithm that will be used to calculatethe recommended order quantity for the item location. Valid values include'C'onstant, 'M'in/Max, 'F'loating point, 'T'ime Supply, 'D'ynamic, 'SO' StoreOrders.

Contains the required minimum number of units available for sale. Used in theMin/Max replenishment method algorithm.

Contains the required maximum number of units available for sale. Used in theConstant, Min/Max and Floating Point replenishment method algorithms.

Contains the percentage by which the min and max stock levels will bemultiplied when calculating the recommended order quantity. Ex. Actual maxstock=max stock*increment percent.

Contains the minimum number of days of supply of stock to maintain. Used in theTime Supply replenishment method algorithm.

Contains the maximum number of days of supply of stock to maintain. Used in theTime Supply replenishment method algorithm.

Column Detail

140

150

160

170

180

190

200

210

220

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Page 106: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 93 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

INV_SELLING_DAYS

SERVICE_LEVEL

LOST_SALES_FACTOR

PICKUP_LEAD_TIME

WH_LEAD_TIME

TERMINAL_STOCK_QTY

SEASON_ID

PHASE_ID

LAST_REVIEW_DATE

Contains the number of days over which an average sales rate is calculated tobe used in the Time Supply replenishment method algorithm.

Contains the number of required days of on hand inventory to satisfy demand.Used in the Dynamic replenishment method algorithm.

Contains the required measure of probability that demand is satisfied from onhand inventory. Used in the Dynamic replenishment method algorithm.

Contains the percentage of sales that could have occurred if inventory had beenavailable through the order lead time. Used in the Dynamic replenishment methodalgorithm.

Contains the expected number of days required to ship the item from thesupplier to the initial receiving location, which may be a store or warehousedefined on this record or the cross-dock warehouse through which the item willflow to get to the store defined on this record.

Contains the expected number of days required to move the item from thewarehouse to the store defined on this record.

Contains the desired stock on hand for the item location when the end of seasonis reached. Used in the Seasonal Dynamic and Seasonal Time Supply replenishmentmethods.

Contains the numeric identifier of the season for which this item location isbeing replenished. Used in the Seasonal Dynamic and Seasonal Time Supplyreplenishment methods.

Contains the numeric identifier of the phase within the season for which thisitem location is being replenished. Used in the Seasonal Dynamic and SeasonalTime Supply replenishment methods.

Contains the date on which the item location was last reviewed.

Column Detail

230

240

250

260

270

280

290

300

310

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (5, 2) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (5, 2) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Page 107: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 94 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

PRIMARY_PACK_NO

PRIMARY_PACK_QTY

DEPT

CLASS

SUBCLASS

CREATE_DATETIME

LAST_UPDATE_DATETIME

LAST_UPDATE_ID

STORE_ORD_MULT

Contains the numeric identifier of the primary simple pack that will be used toreplenish the item. If the simple_pack_in = 'Y'es and this field is NULL, thisindicates that multiple simple packs are being used to replenish the item. Ifthe simple_pack_ind = 'Y'es and this field is NOT NULL, this indicates thatthis simple pack will be used to replenish the item. This field is used forperformance purposes during the batch replenishment process.

Contains the quantity of the item in the simple pack if a primary replenishmentpack is being used to replenish the item. This field is used for performancepurposes during the batch replenishment process.

Contains the number of the department in which the item is located. This fieldis used for performance purposes during the batch replenishment process.

Contains the number of the class in which the item is located. This field isused for performance purposes during the batch replenishment process.

Contains the number of the class in which the item is located. This field isused for performance purposes during the batch replenishment process.

Date/time stamp of when the record was created. This date/time will be used inexport processing. This value should only be populated on insert - it shouldnever be updated.

Holds the date time stamp of the most recent update by the last_update_id. Thisfield is required by the database.

Holds the Oracle user-id of the user who most recently updated this record.This field is required by the database.

Contains the pack size level at which the item (or primary replenishment pack)is shipped between warehouses and stores. Valid values are 'C'ase, 'I'nner,'E'ach. If the item is being replenished using a primary replenishment pack(i.e. primary_pack_no is not NULL), the store order multiple will represent thepack's store order multiple. Otherwise, the field will contain the item's store

Column Detail

320

330

340

350

360

370

380

390

400

Optional ? :Yes ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Page 108: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 95 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

order multiple. This field is used for performance purposes during the batchreplenishment process.

Column Detail

Page 109: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 96 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

ITEM

LOCATION

Column

REPL_RESULTS_I1

REPL_RESULTS_I3

Name

NOT UNIQUE

NOT UNIQUE

Index Type

ITEM

LOCATION

ORDER_POINT

ORDER_UP_TO_POINT

contains the item that is on replenishment.

contains the numeric identifier of the location that is on replenishment.

Contains the level below which a recommended order quantity is generated if thenet inventory is lower than the order point, for the item/location.

Contains the level up to which a recommended order quantity should bring thenet inventory of the item.

Column Detail

Index Summary

10

20

30

40

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

ITEM

LOCATION

ORDER_POINT

ORDER_UP_TO_POINT

REPL_DATE

Column

VARCHAR2 (25)

NUMBER (10, 0)

NUMBER (12, 4)

NUMBER (12, 4)

DATE

Type

NOT NULL

NOT NULL

NULL

NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

Seq.

1

1

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table is used to store item location level replenishment resultsinformation and the replenishment attributes used to drive the orderquantities for the item location.

Description :

Table Name : REPL_RESULTS

Page 110: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 97 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

REPL_DATE

Determines if the item/location replenishment attributes have been changed andthe item/location is eligible for replenishment recalculation and if so, whattype of recalculation. Valid values include: N - No. Recalculation is not required. Q - Quantity. The order quantity should be updated using the quantity manuallyentered. A - Attributes. The order quantity should be updated by recalculating the orderquantity based on the changed replenishment attributes.

Column Detail

50

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Page 111: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 98 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

RESTART_NAME references RESTART_PROGRAM_STATUS.RESTART_NAMETHREAD_VAL references RESTART_PROGRAM_STATUS.THREAD_VAL

RBM_RPS_FK

Foreign Keys

Primary Key

Column Detail

RESTART_NAME

THREAD_VAL

BOOKMARK_STRING

APPLICATION_IMAGE

OUT_FILE_STRING

NON_FATAL_ERR_FLAG

NUM_COMMITS

AVG_TIME_BTWN_COMMITS

Column

VARCHAR2 (50)

NUMBER (10, 0)

VARCHAR2 (255)

VARCHAR2 (1000)

VARCHAR2 (255)

VARCHAR2 (1)

NUMBER (12, 0)

NUMBER (12, 0)

Type

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RESTART_BOOKMARK RESTART_NAMETHREAD_VAL

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

When a restart/recovery program thread is currently active, its stateis started or aborted, a record for it will exist on therestart_bookmark table. Restart/recovery initialization logic insertsthe record into the table for a program thread. The restart/recoverycommit process updates the record with restart information: aconcatenated string of key values for table processing, a file pointervalue for file processing, and application context information such ascounters and accumulators. The restart/recovery closing process willdelete the program thread record if the program finishes successfully.In the event of a restart, the program thread information on thistable will allow the process to begin from the last commit point.

Description :

Table Name : RESTART_BOOKMARK

Page 112: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 99 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

RESTART_NAME

THREAD_VAL

BOOKMARK_STRING

APPLICATION_IMAGE

OUT_FILE_STRING

NON_FATAL_ERR_FLAG

NUM_COMMITS

AVG_TIME_BTWN_COMMITS

This field contains the name that identifies the restart program that was run.

This field contains the thread number that defines the subset of data the givenrestart name processed.

This field contains the character string of the last record that was committed.

This field contains the application parameters from the last save point.

This field contains the concatenated file pointers of all the output files fromthe last commit point of the current process. It is used to "fseek" to theright restart points for all the output files.

This field indicates whether non-fatal errors have occurred for the currentprocess. It reflects the value of the batch global gi_non_fatal_err_flag.

This field contains the number of commits for the current process. The possiblelast commit when restart/recovery is closed is not counted.

This field contains the average time between commits for the current process.The possible last commit when restart/recovery is closed is not counted.

Column Detail

10

20

30

40

50

60

70

80

Optional ? :No ; Varchar2 (50) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1000) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 0) ;() ; ; Uppercase ? :No ;

Page 113: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 100 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_RESTART_CON_DRIVER_NAME

CHK_RESTART_CON_NUM_THRDS

CHK_RESTART_CON_PCS_FLG

CHK_RESTART_CON_UPD_ALLWD

Name

Check Constraints

Primary Key

Where Validate Clause

PROGRAM_NAME

PROGRAM_DESC

DRIVER_NAME

NUM_THREADS

UPDATE_ALLOWED

PROCESS_FLAG

COMMIT_MAX_CTR

Column

VARCHAR2 (25)

VARCHAR2 (50)

VARCHAR2 (25)

NUMBER (10, 0)

VARCHAR2 (2)

VARCHAR2 (1)

NUMBER (6, 0)

Type

NOT NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

Column Summary

DRIVER_NAME IN ('ALLOC', 'CLEARANCE','CONTRACT_NO', 'COST_CHANGE', 'DEPT', 'PRICE_CHANGE','PROMOTION', 'RECLASS','STORE', 'STORE_WH', 'SUPPLIER', 'TRANSFER', 'TSFALLOC','WH', 'ZONE_GROUP_ID', 'NONE','VAT_REGION','SHIPMENT', 'LOC_LIST')NUM_THREADS > 0

PROCESS_FLAG IN('F', 'T')

UPDATE_ALLOWED IN ('Y','N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RESTART_CONTROL PROGRAM_NAME

Name Column

This table is the master table in the restart/recovery table set. Onerecord will exist on this table for each batch program that is runwith restart/recovery login in place (probably all programs with theexception of EDI related programs). The restart/recovery process usesthis table to determine the total number of threads used for eachbatch program as well as the driver for the threading (multi-processing) logic.

Description :

Table Name : RESTART_CONTROL

Page 114: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 101 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

PROGRAM_NAME

PROGRAM_DESC

DRIVER_NAME

NUM_THREADS

UPDATE_ALLOWED

PROCESS_FLAG

COMMIT_MAX_CTR

This field contains the batch program name.

This field contains a description of the batch program.

This field contains the driver name which will define the types of values fedto the driving cursor. Each driver name uses a different cursor, which aredefined in the restart views.

This field contains the number of threads used for the current process.

This field indicates whether the user can update thread numbers or if it isdone programmatically.

This field indicates whether this process is table based (T) or file based (F).

This field contains the numeric maximum value for the counter before a commitoccurs.

Column Detail

10

20

30

40

50

60

70

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (50) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (2) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (6, 0) ;() ; ; Uppercase ? :No ;

Page 115: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 102 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_RSTR_PRGM_HIST_COMMAX

CHK_RSTR_PRGM_HIST_THRDVAL

Name

Check Constraints

RESTART_NAME

This field contains the restart name for the program. Generally this field willbe the same as the program name, but this field could contain additionalinformation about the thread it is running for as well.

Where Validate Clause

Column Detail

10

Optional ? :No ; Varchar2 (50) ;() ; ; Uppercase ? :No ;

RESTART_NAME

THREAD_VAL

START_TIME

PROGRAM_NAME

NUM_THREADS

COMMIT_MAX_CTR

RESTART_TIME

FINISH_TIME

SHADOW_PID

SUCCESS_FLAG

NON_FATAL_ERR_FLAG

NUM_COMMITS

AVG_TIME_BTWN_COMMITS

Column

VARCHAR2 (50)

NUMBER (10, 0)

DATE

VARCHAR2 (25)

NUMBER (10, 0)

NUMBER (6, 0)

DATE

DATE

NUMBER (15, 0)

VARCHAR2 (1)

VARCHAR2 (1)

NUMBER (12, 0)

NUMBER (12, 0)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

Column Summary

COMMIT_MAX_CTR > 0

THREAD_VAL > 0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

The restart_program_history table will contain one record for everysuccessfully completed program thread with restart/recovery logic.Upon the successful completion of a program thread, its record on therestart_program_status table will be inserted into the history table.Table purgings will be at user discretion.

Description :

Table Name : RESTART_PROGRAM_HISTORY

Page 116: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 103 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

RESTART_NAME

THREAD_VAL

START_TIME

Column

RESTART_PROGRAM_HISTORY_I1

RESTART_PROGRAM_HISTORY_I1

RESTART_PROGRAM_HISTORY_I1

Name

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

Index Type

THREAD_VAL

START_TIME

PROGRAM_NAME

NUM_THREADS

COMMIT_MAX_CTR

RESTART_TIME

FINISH_TIME

SHADOW_PID

SUCCESS_FLAG

This field contains the thread number that defines the subset of data the givenrestart name will process.

This field contains the data and time that the program was last started.

This field contains the name of the batch program that is to be run.

Total number of threads (batch program processed) will be initiated for a givenbatch program during a given batch cycle. Will be used to determine whatcombination of total thread numbers and maximum logical units of work will beideal for a client's data.

This field contains the numeric maximum value for the counter before a commitoccurs.

This field contains the date and time the program was restarted.

This field contains the date and time the program was finished.

This field contains the O/S process ID for the shadow process associated withthe process. It is used to locate the session trace file.

This field indicates whether the process finished successfully.

Column Detail

Index Summary

20

30

40

50

60

70

80

90

100

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (6, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (15, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Seq.

1

2

3

Page 117: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 104 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

NON_FATAL_ERR_FLAG

NUM_COMMITS

AVG_TIME_BTWN_COMMITS

This field indicates whether non-fatal errors have occurred for the process. Itreflects the value of the batch global gi_non_fatal_err_flag.

This field contains the total number of commits for the process. The possiblelast commit when restart/recovery is closed is not counted.

This field contains the accumulated average time between commits for theprocess. The possible last commit when restart/recovery is closed is notcounted.

Column Detail

110

120

130

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 0) ;() ; ; Uppercase ? :No ;

Page 118: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 105 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

RESTART_NAME

Column Detail

10

RESTART_NAME

THREAD_VAL

START_TIME

PROGRAM_NAME

PROGRAM_STATUS

RESTART_FLAG

RESTART_TIME

FINISH_TIME

CURRENT_PID

CURRENT_OPERATOR_ID

ERR_MESSAGE

CURRENT_ORACLE_SID

CURRENT_SHADOW_PID

Column

VARCHAR2 (50)

NUMBER (10, 0)

DATE

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (1)

DATE

DATE

NUMBER (15, 0)

VARCHAR2 (20)

VARCHAR2 (255)

NUMBER (15, 0)

NUMBER (15, 0)

Type

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RESTART_PROGRAM_STATUS RESTART_NAMETHREAD_VAL

Name Column

This table holds record keeping information about current programprocesses. The number of rows for a program on the status table willbe equal to its num_threads value on the restart_control table. Thetable is modified during restart/recovery initialization and closelogic. The restart/recovery initialization logic will assign the nextavailable thread to a program based on the program status and restartflag. Once a thread has been assigned the program_status is updated toprevent the assignment of that thread to another process. Informationwill be logged on the current status of a given thread, as well asrecord keeping information such as operator and process timinginformation.

Description :

Table Name : RESTART_PROGRAM_STATUS

Page 119: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 106 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

PROGRAM_NAME

Column

RESTART_PROGRAM_STATUS_I1

Name

NOT UNIQUE

Index Type

PROGRAM_NAME references RESTART_CONTROL.PROGRAM_NAME

RPS_RCO_FK

CHK_RSTR_PRGM_STAT_PROG_STAT

CHK_RSTR_PRGM_STAT_RESTRFLG

CHK_RSTR_PRGM_STAT_THRDVAL

Name

Check Constraints

Foreign Keys

THREAD_VAL

START_TIME

PROGRAM_NAME

PROGRAM_STATUS

This field contains the restart name for the program. Generally this field willbe the same as the program name, but this field could contain additionalinformation about the thread it is running for as well.

This field contains the thread number that defines the subset of data the givenrestart name will process.

This field contains the data and time that the program was last started.

This field contains the name of the batch program that is to be run.

This field contains the valid status for the program. Valid values are: started

Where Validate Clause

Column Detail

Index Summary

20

30

40

50

Optional ? :No ; Varchar2 (50) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Seq.

1

PROGRAM_STATUS IN ('started', 'aborted', 'aborted in init','aborted in process', 'aborted in final', 'completed', 'ready forstart')RESTART_FLAG IN ('N', 'Y')

THREAD_VAL > 0

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Page 120: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 107 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

RESTART_FLAG

RESTART_TIME

FINISH_TIME

CURRENT_PID

CURRENT_OPERATOR_ID

ERR_MESSAGE

CURRENT_ORACLE_SID

CURRENT_SHADOW_PID

aborted aborted in init aborted in process aborted in final completed ready for restart

This field contains the value of the restart flag. This field is automaticallyset to 'N' after an abend. It must be manually set to 'Y' for the program torestart.

This field contains the date and time that the program was restarted.

This programs contains the date and time the program last finished.

This field contains the UNIX process ID that started the program.

This field contains the UNIX operator name that started the program.

This field contains the record that caused the program abort and the associatederror message.

This field contains the Oracle SID for the session associated with the currentprocess.

This field contains the O/S process ID for the shadow process associated withthe current process. It is used to locate the session trace file when a processis not finished successfully.

Column Detail

60

70

80

90

100

110

120

130

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (15, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (15, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (15, 0) ;() ; ; Uppercase ? :No ;

Page 121: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 108 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_RO_BASE_VARIABLES_TYPE

Name

Check Constraints

Primary Key

NAME

TYPE

FUNCTION_NAME

This column contains the name of the base variable.

This column contains the type of the value that the base variable can have. Thevalid values are 'N' for numeric, 'D' for date and 'A' for alphanumeric. Thetype 'D' (date) will have the format of 'YYMMDD'.

Where Validate Clause

Column Detail

10

20

30

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

NAME

TYPE

FUNCTION_NAME

STATIC

SORT_ORDER

Column

VARCHAR2 (30)

VARCHAR2 (1)

VARCHAR2 (255)

VARCHAR2 (1)

NUMBER (4, 0)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

type in ('N','D','A')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_BASE_VARIABLES NAME

Name Column

This table contains the name of several pre-defined RO parameters thatits value will be calculated or retrieve by system. These variablescan be used by the user to define user-defined explicit variables orto define the rules assignment. The records for this table will bepre-loaded during the setup of the system and there is no interfacefor the user to add or update the records.

Description :

Table Name : RO_BASE_VARIABLES

Page 122: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 109 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

STATIC

SORT_ORDER

This column contains the function name (in the format ofPACKAGE_NAME.FUNCTION_NAME) that should be used to retrieve the value of thebase variable.

This column indicates whether the base variable is a static one or not.

This column contains the sort order.

Column Detail

40

50

Optional ? :No ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Page 123: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 110 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

NAME

DEPT

OPERATOR1

This column contains the name of the explicit variable.

The department number of that will use this formula.

This column contains the mathematical function or operator to be applied infront of the VARIABLE1 and VARIABLE2. If this column is NOT NULL then thesystem will calculate the value of the explicit variable base on this formula : OPERATOR1 (VARIABLE1 OPERATOR2 VARIABLE2). The system will assume that the braces are there.

Column Detail

10

20

30

40

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

NAME

DEPT

OPERATOR1

VARIABLE1

OPERATOR2

VARIABLE2

Column

VARCHAR2 (30)

NUMBER (4, 0)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NULL

NOT NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_DEPT_EXPL_VARIABLES NAMEDEPT

Name Column

This table holds the user-defined variables for the department levelthat will be used to define the Rule Assessment or Rule Assignment.

Description :

Table Name : RO_DEPT_EXPL_VARIABLES

Page 124: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 111 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

VARIABLE1

OPERATOR2

VARIABLE2

This column contains the name of the variable (can be a previously definedexplicit variable or a base variable) or a constant to be used to calculate thevalue of the explicit variable.

This column contains the mathematical function or operator to be used tocalculate the explicit variable. If this column is NOT NULL then the VARIABLE2column must be NOT NULL as well and the system will calculate base on thisformula: (VARIABLE1 OPERATOR2 VARIABLE2)

This column contains the name of the second variable (can be a previouslydefined explicit variable or a base variable) or a constant to be used tocalculate the value of the explicit variable. If this column is NOT NULL thenthe OPERATOR2 column must be NOT NULL as well.

Column Detail

50

60

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 125: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 112 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

DEPT

NEXT_EXTRACTION_DATE

RECURRENCE_FREQUENCY

REPL_STATUS

This column contains the dept Id.

This column contains the next extraction date that the dept will be includedin the Replenishment Optimization calculation.

This column contains thenumber in week on how frequent a department will beincluded in the Replenishment Optimization calculation.

This column indicates whether a department is included in the ReplenishmentOptimization calculation or not.

Column Detail

10

20

30

40

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

DEPT

NEXT_EXTRACTION_DATE

RECURRENCE_FREQUENCY

REPL_STATUS

Column

NUMBER (4, 0)

DATE

NUMBER (2, 0)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_DEPT_PROCESS_CONTRO DEPT

Name Column

This table control whether a department will be included in theReplenishment process or not.

Description :

Table Name : RO_DEPT_PROCESS_CONTROL

Page 126: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 113 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

DEPT

RULE

RULE_ORDER

REPL_STATUS

Contains the number which uniquely identifies the department.

This column contains the rule Id.

This column contains the order in which the rule will be applied to thedepartment.

A flag that indicate whether rule will be applied to the department or not.

Column Detail

10

20

30

40

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

DEPT

RULE

RULE_ORDER

REPL_STATUS

Column

NUMBER (4, 0)

NUMBER (2, 0)

NUMBER (2, 0)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_DEPT_RULE_ORDER DEPTRULERULE_ORDER

Name Column

This table is used to store the rules which are applicable to adepartment and how is the order of these rules to be applied to thedepartment.

Description :

Table Name : RO_DEPT_RULE_ORDER

Page 127: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 114 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_RO_DEPT_RULE_PARMS_COEFF

CHK_RO_DEPT_RULE_PARMS_PA_TYPE

Name

Check Constraints

Primary Key

DEPT

RULE

This column holds the dept Id.

Where Validate Clause

Column Detail

10

20

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

DEPT

RULE

PARM_TYPE

COEFF

VALUE

Column

NUMBER (4, 0)

NUMBER (2, 0)

VARCHAR2 (1)

NUMBER (3, 0)

NUMBER (20, 4)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

(coeff = -1 and value in (0,1)) or (coeff=0 and value between 0 and 100) or (coeff between 1and 999)PARM_TYPE in ('C', 'R')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_DEPT_RULE_PARMS DEPTRULEPARM_TYPECOEFF

Name Column

This table holds the parameter/coefficients for a rule that will beapplied to a department. This table will onlu be used if the rule isdefined inside the rodlopt.pc batch program.

Description :

Table Name : RO_DEPT_RULE_PARMS

Page 128: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 115 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

PARM_TYPE

COEFF

VALUE

This column holds the uniquely deifned rule Id.

This column holds the parameter type.

This column holds the rule coeffecient.

This column holds the value of the coefficient.

Column Detail

30

40

50

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Page 129: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 116 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_RO_EXPLICIT_VARIABLES_TYPE

CHK_RO_EXPLICIT_VAR_DEPT_LVL

CHK_RO_EXPLICIT_VAR_VAR_TYPE

Name

Check Constraints

Primary Key

NAME

VARIABLE_TYPE

This column contains the name of the explicit variable.

This column contains the type of the explicit variable. The valid values are

Where Validate Clause

Column Detail

10

20

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

NAME

VARIABLE_TYPE

TYPE

OPERATOR1

VARIABLE1

OPERATOR2

VARIABLE2

DEPT_LEVEL

Column

VARCHAR2 (30)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NULL

NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

Column Summary

type in ('N','D','A')

dept_level in ('Y','N')

variable_type in ('C','F')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_EXPLICIT_VARIABLES NAME

Name Column

This table holds the user-defined variables that will be used todefine the Rule Assessment or Rule Assignment.

Description :

Table Name : RO_EXPLICIT_VARIABLES

Page 130: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 117 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

TYPE

OPERATOR1

VARIABLE1

OPERATOR2

VARIABLE2

DEPT_LEVEL

'C' for constant and 'F' for formula. If the value of this column is C then theVARIABLE1 column should contain the constant value of this variable and otherNOT NULL variable should be NULL.

This column contains the type of the value that the explicit variable can have.The valid values are 'N' for numeric, 'D' for Date and 'A' for Alphanumeric.The type 'D' (date) will have the format of 'YYYYMMDD'.

This column contains the mathematical function or operator to be applied infront of the VARIABLE1 and VARIABLE2. If this column is NOT NULL then thesystem will calculate the value of the explicit variable base on this formula : OPERATOR1 (VARIABLE1 OPERATOR2 VARIABLE2). The system will assume that the braces are there.

This column contains the name of the variable (can be a previously definedexplicit variable or a base variable) or a constant to be used to calculate thevalue of the explicit variable.

This column contains the mathematical function or operator to be used tocalculate the explicit variable. If this column is NOT NULL then the VARIABLE2column must be NOT NULL as well and the system will calculate base on thisformula: (VARIABLE1 OPERATOR2 VARIABLE2)

This column contains the name of the second variable (can be a previouslydefined explicit variable or a base variable) or a constant to be used tocalculate the value of the explicit variable. If this column is NOT NULL thenthe OPERATOR2 column must be NOT NULL as well.

If this column populated with Y then the explicit variable is a departmentlevel explicit variable. Otherwise it is not.

Column Detail

30

40

50

60

70

80

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Page 131: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 118 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

RULE

DEPT

Column

RO_ITEM_LOC_I1

RO_ITEM_LOC_I2

Name

NOT UNIQUE

NOT UNIQUE

Index Type

CHK_RO_ITEM_LOC_ITEM_TYPE

CHK_RO_ITEM_LOC_STATUS

Name

Check Constraints

Primary Key

Where Validate Clause

Index Summary

ITEM

LOCATION

LOC_TYPE

DEPT

STATUS

DOWNLOADED_DATE

RULE

ASSESSMENT_ID

Column

VARCHAR2 (25)

NUMBER (10, 0)

VARCHAR2 (1)

NUMBER (4, 0)

VARCHAR2 (1)

DATE

NUMBER (2, 0)

NUMBER (4, 0)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

Column Summary

Seq.

1

1

LOC_TYPE IN ('S','W')

STATUS IN ('N','A','R','E','C')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_ITEM_LOC ITEMLOCATION

Name Column

This table will indicate which rule and assessment inside that rulethat is applied to an item/location as a result of ReplenishmentOptimization calculation.

Description :

Table Name : RO_ITEM_LOC

Page 132: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 119 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ITEM

LOCATION

LOC_TYPE

DEPT

STATUS

DOWNLOADED_DATE

RULE

ASSESSMENT_ID

This column holds the item Id.

This column holds the location Id.

This column holds the location type (store or warehouse).

This table holds the dept Id on which the item is attached.

This column holds the status of the replenishment result of the item/locationcombination (eg: New, Approved, Rejected)

This column holds the date on which the result of the ReplenishmentOptimization calculation is downloaded to the legacy system.

This column holds the applied rule for the item/location.

This column holds the assessment Id that is applied to the item/location.

Column Detail

10

20

30

40

50

60

70

80

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Page 133: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 120 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_RO_ITEM_LOC_CALC_LOC_TYPE

Name

Check Constraints

Primary Key

Where Validate Clause

ITEM

LOCATION

LOC_TYPE

ORDER_POINT

ORDER_UP_TO_POINT

MAX_DAYS_BETWEEN_REVIEWS

TOTAL_LEAD_TIME

AV_WEEKLY_SALES

STDEV_WEEKLY_SALES

MAX_WEEKLY_SALES

MAX_WEEKLY_SALES_DIF

MIN_ORDER_REQ

CURRENT_WEEK_FORECAST

MEDIAN_SALES_HLF_YR

MEDIAN_SALES_YR

MEAN_DEV_HLF_YR

MEAN_DEV_YR

Column

VARCHAR2 (25)

NUMBER (10, 0)

VARCHAR2 (1)

NUMBER (12, 4)

NUMBER (12, 4)

NUMBER (3, 0)

NUMBER (3, 0)

NUMBER (20, 4)

NUMBER (20, 4)

NUMBER (20, 4)

NUMBER (20, 4)

NUMBER (12, 4)

NUMBER (12, 4)

NUMBER (20, 4)

NUMBER (20, 4)

NUMBER (20, 4)

NUMBER (20, 4)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

Column Summary

LOC_TYPE IN ('S','W')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_ITEM_LOC_CALC ITEMLOCATION

Name Column

This table holds the calculated replenishment variables of theitem/location. It is used in the old version rodlopt.pc where the ruleis defined in the batc program.

Description :

Table Name : RO_ITEM_LOC_CALC

Page 134: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 121 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

ITEM

LOCATION

LOC_TYPE

ORDER_POINT

ORDER_UP_TO_POINT

MAX_DAYS_BETWEEN_REVIEWS

TOTAL_LEAD_TIME

AV_WEEKLY_SALES

STDEV_WEEKLY_SALES

MAX_WEEKLY_SALES

MAX_WEEKLY_SALES_DIF

MIN_ORDER_REQ

CURRENT_WEEK_FORECAST

This column holds the item Id.

This column holds the location Id.

This column holds the location type (store, warehouse).

This column holds the value of the order point.

This column holds the value of the order upto point.

This column holds the value of the maximum days between review.

This column holds the value of the total lead time.

This column holds the value of the average weekly sales.

This column holds the value fo the standard deviatiion of the weekly sales.

This column holds the value of the maximum weekly sales.

This column holds the value of the maximum weekly sales difference.

This column holds the value of the minimum order required.

Column Detail

10

20

30

40

50

60

70

80

90

100

110

120

130

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Page 135: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 122 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

MEDIAN_SALES_HLF_YR

MEDIAN_SALES_YR

MEAN_DEV_HLF_YR

MEAN_DEV_YR

This column holds the current weeks forecast of sales.

This column holds the median of the sales for half year (26 weeks).

This column holds the median of sales for a year (52 weeks).

This column holds the mean deviation for half year (26 weeks).

This column holds the mean deviation of sales for a year (52 weeks).

Column Detail

140

150

160

170

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Page 136: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 123 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

ITEM

LOCATION

REPL_PARM_TYPE

LOC_TYPE

PRIMARY_REPL_SUPPLIER

ORIGIN_COUNTRY_ID

REVIEW_CYCLE

STOCK_CAT

REPL_ORDER_CTRL

SOURCE_WH

ACTIVATE_DATE

DEACTIVATE_DATE

PRES_STOCK

DEMO_STOCK

REPL_METHOD

MIN_STOCK

MAX_STOCK

INCR_PCT

MIN_SUPPLY_DAYS

MAX_SUPPLY_DAYS

TIME_SUPPLY_HORIZON

INV_SELLING_DAYS

SERVICE_LEVEL

LOST_SALES_FACTOR

PICKUP_LEAD_TIME

WH_LEAD_TIME

TERMINAL_STOCK_QTY

SEASON_ID

Column

VARCHAR2 (25)

NUMBER (10, 0)

VARCHAR2 (1)

VARCHAR2 (1)

NUMBER (10, 0)

VARCHAR2 (3)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (10, 0)

DATE

DATE

NUMBER (12, 4)

NUMBER (12, 4)

VARCHAR2 (6)

NUMBER (12, 4)

NUMBER (12, 4)

NUMBER (12, 4)

NUMBER (3, 0)

NUMBER (3, 0)

NUMBER (3, 0)

NUMBER (3, 0)

NUMBER (5, 2)

NUMBER (5, 2)

NUMBER (4, 0)

NUMBER (4, 0)

NUMBER (12, 4)

NUMBER (3, 0)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

115

120

130

140

150

160

170

180

190

200

210

220

230

240

250

260

270

280

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table holds the recommended replenishment parameters for anitem/location after Replenishment Optimization calculation.

Description :

Table Name : RO_ITEM_LOC_REPL_PARMS

Page 137: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 124 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

CHK_RO_ITEM_LOC_REPL_PAR_LOC_T

CHK_RO_ITEM_LOC_REPL_PAR_PAR_T

CHK_RO_ITEM_LOC_REPL_REPL_METH

CHK_RO_ITEM_LOC_REPL_REVIEW_CY

CHK_RO_ITEM_LOC_REPL_STOCK_CAT

Name

Check Constraints

Primary Key

ITEM

LOCATION

REPL_PARM_TYPE

LOC_TYPE

PRIMARY_REPL_SUPPLIER

ORIGIN_COUNTRY_ID

Alphanumeric identifier for the item on replenishment.

Location that is on replenishment. Will hold only vritual warehouse in themulti-channel environment.

This column contains the replenishment parameter type (current or recommended).

Contains the type of the location on replenishment. Valid values include'S'tore, 'W'arehouse.

Contains the numeric identifier of the supplier from which the specifiedlocation will source the replenishment demand for the specified item location.Used for items on Direct to Store/Warehouse or Cross-docked replenishment.

Where Validate Clause

Column Detail

10

20

30

40

50

60

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (3) ;() ; ; Uppercase ? :No ;

PHASE_ID

Column

NUMBER (3, 0)

Type

NULL

Nulls ?Col.Seq.

290

LOC_TYPE IN ('S','W')

REPL_PARM_TYPE IN ('C','R')

REPL_METHOD in('C','M','F','T','D','TI','DI','SO')REVIEW_CYCLE BETWEEN 0 and 14

STOCK_CAT in ('D','C','W','L')

PK_RO_ITEM_LOC_REPL_PARMS ITEMLOCATIONREPL_PARM_TYPE

Name Column

Page 138: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 125 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

REVIEW_CYCLE

STOCK_CAT

REPL_ORDER_CTRL

SOURCE_WH

ACTIVATE_DATE

DEACTIVATE_DATE

PRES_STOCK

Contains the country code of the supplier country that will be used to supplythe replenishment demand for the specified item location. Used for items onDirect to Store/Warehouse or Cross-docked replenishment.

Contains the number representing when the specified item location will bereviewed for replenishment. Valid values are 0-14. A '0' represents a weeklyreview cycle, a '1' represents a daily review cycle, a '2' represents a reviewcycle of every 2 weeks, a '3' represents a review cycle of every 3 weeks, etc.

Contains the sourcing strategy for the item/location relationship. Valid valuesare 'D'irect to store (supplier to store), 'C'ross-docked (supplier to storeflowing through the warehouse), 'W'arehouse stocked (warehouse to store), 'L'for WH/Cross Link (warehouse to store and supplier to warehouse if insufficientwarehouse stock).

Determines if the replenishment process will create an actual order/transferline item for the item location if there is a need for the item location or ifonly a record is written to the Replenishment Results table. Valid values are'M'anual (a record is written to the Replenishment Results table -noorder/transfer line item is created), 'S'emi-Automatic (an order/transferline item is created - the order line item will be added to an order inWorksheet status, the transfer line item will be added to a transfer inApproved status with a freight type of Hold), 'A'utomatic (an order/transferline item is created - the order line item will be added to an order in Approved status, thetransfer line item will be added to a transfer in Approved status),'B'uyerWorksheet (a record is written to the Replenishment Results table andcan be added to a purchase order on the Buyer Worksheet form/a transfer lineitem is added to a transfer in Approved status with a freight type of Hold).

Contains the numeric identifier of the warehouse through which the specifieditem will crossdock to the specified store for a stock category of Crossdocked;or the numeric identifier of the warehouse from which the specified item willbe sourced for the specified store for a stock category of Warehouse Stocked.

Contains the date on which the item location will start to be reviewed forreplenishment.

Contains the date at which time the item location will no longer be reviewedfor replenishment.

Column Detail

70

80

90

100

115

120

130

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Date ;() ; ; Uppercase ? :No ;

Page 139: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 126 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

DEMO_STOCK

REPL_METHOD

MIN_STOCK

MAX_STOCK

INCR_PCT

MIN_SUPPLY_DAYS

MAX_SUPPLY_DAYS

TIME_SUPPLY_HORIZON

INV_SELLING_DAYS

Contains the minimum amount of stock that needs to be on store shelves. Thepresentation stock is nor expected to satisfy consumer demand but is expectedto remain in the fixture.

Contains the amount of stock that cannot be sold as new and is not counted aspart of inventory in the replenishment calculations. The value in this field isthe amount of stock used strictly for demonstration purposes.

Contains the character code for the algorithm that will be used to calculatethe recommended order quantity for the item location. Valid values include'C'onstant, 'M'in/Max, 'F'loating point, 'T'ime Supply, 'D'ynamic, 'SO' StoreOrders.

Contains the required minimum number of units available for sale. Used in theMin/Max replenishment method algorithm.

Contains the required maximum number of units available for sale. Used in theConstant, Min/Max and Floating Point replenishment method algorithms.

Contains the percentage by which the min and max stock levels will bemultiplied when calculating the recommended order quantity. Ex. Actual maxstock=max stock*increment percent.

Contains the minimum number of days of supply of stock to maintain. Used in theTime Supply replenishment method algorithm.

Contains the maximum number of days of supply of stock to maintain. Used in theTime Supply replenishment method algorithm.

Contains the number of days over which an average sales rate is calculated tobe used in the Time Supply replenishment method algorithm.

Column Detail

140

150

160

170

180

190

200

210

220

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Page 140: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 127 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

SERVICE_LEVEL

LOST_SALES_FACTOR

PICKUP_LEAD_TIME

WH_LEAD_TIME

TERMINAL_STOCK_QTY

SEASON_ID

PHASE_ID

Contains the number of required days of on hand inventory to satisfy demand.Used in the Dynamic replenishment method algorithm.

Contains the required measure of probability that demand is satisfied from onhand inventory. Used in the Dynamic replenishment method algorithm.

Contains the percentage of sales that could have occurred if inventory had beenavailable through the order lead time. Used in the Dynamic replenishment methodalgorithm.

Contains the expected number of days required to ship the item from thesupplier to the initial receiving location, which may be a store or warehousedefined on this record or the cross-dock warehouse through which the item willflow to get to the store defined on this record.

Contains the expected number of days required to move the item from thewarehouse to the store defined on this record.

Contains the desired stock on hand for the item location when the end of seasonis reached. Used in the Seasonal Dynamic and Seasonal Time Supply replenishmentmethods.

Contains the numeric identifier of the season for which this item location isbeing replenished. Used in the Seasonal Dynamic and Seasonal Time Supplyreplenishment methods.

Contains the numeric identifier of the phase within the season for which thisitem location is being replenished. Used in the Seasonal Dynamic and SeasonalTime Supply replenishment methods.

Column Detail

230

240

250

260

270

280

290

Optional ? :Yes ; Number (5, 2) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (5, 2) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (12, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Page 141: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 128 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

OPTION_NAME

OPTION_VALUE

OPTION_DESC

This column holds the replenishment option name.

This column holds the option value.

This column holds the option description.

Column Detail

10

20

30

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (2000) ;() ; ; Uppercase ? :No ;

OPTION_NAME

OPTION_VALUE

OPTION_DESC

Column

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (2000)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_OPTIONS OPTION_NAME

Name Column

This table holds the replenishment options.Description :

Table Name : RO_OPTIONS

Page 142: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 129 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_RO_REPL_PARMS_TYPE

Name

Check Constraints

Primary Key

PARM_NAME

COLUMN_NAME

TYPE

This column contains the name of the replenishment parameter.

This column contains the name of column in the RO_REPL_ITEM_LOC table that thisreplenishment parameter is related to.

This column contains the type of the value that the replenishment parameter canhave. The valid values are 'N' for numeric, 'D' for Date and 'A' for

Where Validate Clause

Column Detail

10

20

30

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

PARM_NAME

COLUMN_NAME

TYPE

LENGTH

Column

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (1)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

type in ('N','D','A')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_REPL_PARMS PARM_NAME

Name Column

This table contains the name of the replenishment parameter that canbe defined by the user in the replenishment rule. This parameter isone to one related to the column in the RO_REPL_ITEM_LOC table. Thistable will be pre-loaded during setup process.

Description :

Table Name : RO_REPL_PARMS

Page 143: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 130 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

LENGTH

Alphanumeric. The type 'D' (date) will have the format of 'YYYYMMDD'.

The length of the column for this replenishment paremeter.

Column Detail

40

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 144: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 131 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

RULE_ID

RULE_NAME

This column contains the number which uniquely identified the ReplenishmentRule. The number should start from 12 as the rule number 0 - 11 is reserved forthe RO base rules defined in the rodlopt.pc batch program.

This column contains the name of user-defined replenishment rule.

Column Detail

10

20

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

RULE_ID

RULE_NAME

Column

NUMBER (4, 0)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_REPL_PARM_RULES RULE_ID

Name Column

This table holds the user-defined replenishment rule.Description :

Table Name : RO_REPL_PARM_RULES

Page 145: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 132 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

RULE_ID references RO_REPL_PARM_RULES.RULE_ID

RRAS_RULE_ID_FK

Foreign Keys

Primary Key

RULE_ID

ASSESSMENT_ID

ASSESSMENT_NAME

This column contains the number that uniquely identified the Replenishment Rulethat the assessment is attached to.

This column contains the number that uniquely identified the Assessment.

This column contains the assessment name..

Column Detail

10

20

30

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (12, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

RULE_ID

ASSESSMENT_ID

ASSESSMENT_NAME

Column

NUMBER (4, 0)

NUMBER (12, 0)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_RULE_ASSESSMENTS RULE_IDASSESSMENT_ID

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table holds the assessments that will be used to assess the user-defined replenishment rule. One replenishment rule could have severalassessments and have to have at least one default assessment.

Description :

Table Name : RO_RULE_ASSESSMENTS

Page 146: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 133 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

RULE_ID references RO_RULE_ASSESSMENTS.RULE_IDASSESSMENT_ID references RO_RULE_ASSESSMENTS.ASSESSMENT_ID

RRASC_RULE_ID_FK

Foreign Keys

Primary Key

RULE_ID

ASSESSMENT_ID

SEQUENCE_NO

OPEN_BRACES

VARIABLE1

VAR1_TYPE

COMP_OPERATOR

VARIABLE2

VAR2_TYPE

CLOSE_BRACES

JOIN_OPERATOR

Column

NUMBER (4, 0)

NUMBER (12, 0)

NUMBER (12, 0)

VARCHAR2 (255)

VARCHAR2 (30)

VARCHAR2 (1)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (1)

VARCHAR2 (255)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_RULE_ASSESS_CONDITIONS RULE_IDASSESSMENT_IDSEQUENCE_NO

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table will be used to store the condition of the assessment. Thecondition is in the form of "VAR1 OPERATOR VAR2", where the VAR1 andVAR2 can be a base variable, an explicit variable or a constant. TheOPERATOR is a comparison operator such as =, >, >=, <, <= and !=. Theuser can have more than one condition to define the assessment ruleand join them using AND or OR operator and using an appropriate numberof braces.

Description :

Table Name : RO_RULE_ASSESS_CONDITIONS

Page 147: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 134 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

CHK_RO_RULE_ASSE_CND_CMP_OPER

CHK_RO_RULE_ASSE_CND_JOIN_OPER

CHK_RO_RULE_ASSE_CND_VAR1_TYPE

CHK_RO_RULE_ASSE_CND_VAR2_TYPE

Name

Check Constraints

RULE_ID

ASSESSMENT_ID

SEQUENCE_NO

OPEN_BRACES

VARIABLE1

VAR1_TYPE

COMP_OPERATOR

VARIABLE2

VAR2_TYPE

CLOSE_BRACES

This column contains the number that uniquely identified the Replenishment Rulethat the assessment is attached to.

This column contains the number that uniquely identified the Assessment.

This column will contain the sequence number.

This column will contain the open braces to combine several condition.

This column contains the name of the variable or a constant to be compare tothe second variable.

This column holds the variable1 type.

This column contains the comparison operator that will be used to compareVARIABLE1 to VARIABLE2.

This column contains the name of the variable or a constant to be compare tothe first variable.

This column contains the variable2 type.

Where Validate Clause

Column Detail

10

20

30

40

50

60

70

80

90

100

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (12, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (12, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

comp_operator in ('=','>','>=','<','<=','!=')

join_operator in ('AND','OR')

var1_type in ('B','E','C')

var2_type in ('B','E','C')

Page 148: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 135 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

JOIN_OPERATOR

This column will contain the close braces to combine several condition.

This column contain AND or OR operator to join several conditions in oneassessment.

Column Detail

110

Optional ? :Yes ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 149: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 136 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

REPL_PARM_NAME references RO_REPL_PARMS.PARM_NAME

RULE_ID references RO_RULE_ASSESSMENTS.RULE_IDASSESSMENT_ID references RO_RULE_ASSESSMENTS.ASSESSMENT_ID

RRASG_RP_NAME_FK

RRASG_RULE_ID_FK

CHK_RO_RULE_ASSIGN

Name

Check Constraints

Foreign Keys

Primary Key

Where Validate Clause

RULE_ID

ASSESSMENT_ID

REPL_PARM_NAME

VALUE_TYPE

VALUE

Column

NUMBER (4, 0)

NUMBER (12, 0)

VARCHAR2 (30)

VARCHAR2 (1)

VARCHAR2 (255)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

value_type in ('C','B','E')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_RULE_ASSIGNMENTS RULE_IDASSESSMENT_IDREPL_PARM_NAME

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table holds the assignment of Replenishment Parameter for anItem/Location that pass the condition in the assessment table.

Description :

Table Name : RO_RULE_ASSIGNMENTS

Page 150: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 137 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

RULE_ID

ASSESSMENT_ID

REPL_PARM_NAME

VALUE_TYPE

VALUE

This column contains the number that uniquely identified the Replenishment Rulethat the assignment is attached to.

This column contains the number that uniquely identified the Assessment thatthe assignment is attached to.

This column contains the name of the replenishment parameter that will be setif the Item/Location could meet the condition in the assessment.

The type of the value that will be assigned to the replenishment parameter. Thevalid values are 'C' = constant, 'B' = base variable or 'E' = explicitvariable.

The value that will be assigned to the replenishment parameter. It can be aconstant, a base variable or an explicit variable.

Column Detail

10

20

30

40

50

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (12, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Page 151: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 138 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

RULE

COEFF

COEFF_DESC

This column holds the uniquely defined rule Id.

This column contains the rule coeffecient.

This column holds the coeffecient description.

Column Detail

10

20

30

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

RULE

COEFF

COEFF_DESC

Column

NUMBER (2, 0)

NUMBER (3, 0)

VARCHAR2 (40)

Type

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RO_RULE_COEFF RULECOEFF

Name Column

This table holds the coefficients that is required by a rule. Thistable will only be used if the rule is defined inside the rodlopt.pcbatch program.

Description :

Table Name : RO_RULE_COEFF

Page 152: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 139 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

RTK_LANG references LANG.LANG

RER_LAN_FK

CHK_RTK_ERRORS_RKT_TYPE

CHK_RTK_ERRORS_RTK_APPROVED

Name

Check Constraints

Foreign Keys

Primary Key

RTK_TYPE

Where Validate Clause

Column Detail

10

RTK_TYPE

RTK_KEY

RTK_LANG

RTK_TEXT

RTK_USER

RTK_APPROVED

Column

VARCHAR2 (2)

VARCHAR2 (25)

NUMBER (6, 0)

VARCHAR2 (255)

VARCHAR2 (30)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

Column Summary

RTK_TYPE in ('BL', 'LK', 'OR', 'OE')

RTK_APPROVED IN('Y', 'N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RTK_ERRORS RTK_KEYRTK_LANG

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table contains one row for each error message used on the clientside in the system. This table is populated during installation of thesystem and must be maintained by the database administrator.

Description :

Table Name : RTK_ERRORS

Page 153: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 140 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

RTK_LANG

Column

RTK_ERRORS_I1

Name

NOT UNIQUE

Index Type

RTK_KEY

RTK_LANG

RTK_TEXT

RTK_USER

RTK_APPROVED

This column will represent the type of error that each key and message isdescribing. Valid values are 'BL' - business logic, 'OR' - API sequencing outof order, 'LK' - record locked, 'OE' - oracle error.

Contains a key that will be used to access an error message from a form. Thiskey is used to call the message from inside the emessage or F_YES_NO message.Example: emessage('INV_SKU');

Contains a number which indicates the language in which the message waswritten. This number corresponds to a record on the language table.

Contains the actual text of the message. This text will be written to thescreen when the message box appears.

Contains the user name or the initials of the person who created the message.

Indicates whether or not the message has been approved. Valid values are: 'Y'or 'N'.

Column Detail

Index Summary

20

30

40

50

60

Optional ? :No ; Varchar2 (2) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (25) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (6, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (255) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Seq.

1

Page 154: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 141 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_RTK_REPORTS_PARAMETER_IND

CHK_RTK_REPORTS_PRINTFRM_IND

CHK_RTK_REPORTS_PRINT_MODE

Name

Check Constraints

Primary Key

MODULE

REPORT_NAME

Indicates the functional area of the system associated with the report.Examples include Control, Orders, and Receiving.

Where Validate Clause

Column Detail

10

20

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

MODULE

REPORT_NAME

REPORT_DESC

PARAMETER_IND

PRINTFRM_IND

PRINT_MODE

SELECT_IND

Column

VARCHAR2 (30)

VARCHAR2 (20)

VARCHAR2 (50)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

Column Summary

PARAMETER_IND IN ('Y', 'N')

PRINTFRM_IND IN ('Y','N')

PRINT_MODE IN ('A', 'S')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RTK_REPORTS REPORT_NAME

Name Column

This table contains one row for each report used by the system. Thistable is populated during installation of the system and must bemaintained by the database administrator.

Description :

Table Name : RTK_REPORTS

Page 155: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 142 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

REPORT_DESC

PARAMETER_IND

PRINTFRM_IND

PRINT_MODE

SELECT_IND

Contains the name of the report as it is referred to in the system.

Contains a short description of the report to explain its purpose.

Indicates whether or not the report must be passed parameters. Valid values are'Y' and 'N'.

Indicator that determines whether a separate form must be called for the userto enter parameters necessary for the generation of the report. Valid valuesare 'Y' and 'N'.

Contains the communication mode that the report is called with from the Oracle Forms application. This field determines whether or not a report can run in the background. Valid values are: A - Asynchronous: Control will return immediately to the form even if thereport is still running. S - Synchronous: Control will not return to the form until the report hascompleted.

Determines whether or not each module has been selected to be generated. Thisis a temporary field used by the RPT_GEN form.

Column Detail

30

40

50

60

70

Optional ? :No ; Varchar2 (50) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Page 156: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 143 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_RTK_ROLE_PRIVS_TSF_APPR_IN

Name

Check Constraints

Primary Key

ROLE

ORD_APPR_AMT

TSF_APPR_IND

This field contains the Oracle role for which the record will pertain to.

This field contains the upper limit that the role is able to approve on anorder. This value is expressed in primary currency.

This field indicates whether or not the role is able to approve transfers. Ifthis indicator is set to 'Y', then users in this role will create transfers inapproved status, otherwise the transfer will remain in input status and need tobe approved at a later time. Valid values for this field are 'Y' and 'N'.

Where Validate Clause

Column Detail

10

20

30

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

ROLE

ORD_APPR_AMT

TSF_APPR_IND

Column

VARCHAR2 (30)

NUMBER (20, 4)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

TSF_APPR_IND IN ('Y', 'N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_RTK_ROLE_PRIVS ROLE

Name Column

This table can contain one row for each role set-up in Oracle. If arole is on this table, then the information specified on this tablewill be used for application security in various parts of Retek. Onlythe database administrator should have access to this table.

Description :

Table Name : RTK_ROLE_PRIVS

Page 157: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 144 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

SEASON_ID

SEASON_DESC

The unique identifier for season.

The description associated with the season.

Column Detail

10

20

Optional ? :No ; Number (3, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

SEASON_ID

SEASON_DESC

Column

NUMBER (3, 0)

VARCHAR2 (20)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_SEASONS SEASON_ID

Name Column

This table hold seasons for the retek system. It is the parent tableto PHASES.

Description :

Table Name : SEASONS

Page 158: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 145 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

STORE

STORE_NAME

LANG

Contains the number which uniquely identifies the store.

Contains the name of the store which, along with the store number, identifies the store.

This field contains the Id of the language.

Column Detail

10

20

30

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (6, 0) ;() ; ; Uppercase ? :No ;

STORE

STORE_NAME

LANG

Column

NUMBER (10, 0)

VARCHAR2 (20)

NUMBER (6, 0)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_STORE STORE

Name Column

This table contains one row for each store within the company.Description :

Table Name : STORE

Page 159: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 146 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

DEPT references CLASS.DEPTCLASS references CLASS.CLASS

SCL_CLA_FK

Foreign Keys

Primary Key

DEPT

CLASS

SUBCLASS

Contains the department number of which the subclass is a member.

Contains the class number of which the subclass is a member.

Column Detail

10

20

30

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

DEPT

CLASS

SUBCLASS

SUB_NAME

Column

NUMBER (4, 0)

NUMBER (4, 0)

NUMBER (4, 0)

VARCHAR2 (20)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_SUBCLASS DEPTCLASSSUBCLASS

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table contains one row for each department/subclass combinationwithin the company. Whenever a subclass name is used by Retek, or asubclass is validated, it is always selected from this table.

Description :

Table Name : SUBCLASS

Page 160: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 147 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

SUB_NAME

Contains the number which uniquely identifies the subclass.

Contains the name of the subclass which, along with the subclass number,uniquely identifies the subclass.

Column Detail

40

Optional ? :No ; Number (4, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Page 161: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 148 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

LANG references LANG.LANG

SUP_LAN_FK

Foreign Keys

Primary Key

SUPPLIER

SUP_NAME

LANG

Unique identifying number for a supplier within the system. The user determinesthis number when a new supplier is first added to the system.

Contains the supplier's trading name.

This column contains the language number.

Column Detail

10

20

30

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (32) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (6, 0) ;() ; ; Uppercase ? :No ;

SUPPLIER

SUP_NAME

LANG

Column

NUMBER (10, 0)

VARCHAR2 (32)

NUMBER (6, 0)

Type

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_SUPS SUPPLIER

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesNo

RestrictedRestricted

Name Column

This table contains one row for each supplier within the company. Whenever a supplier name etc. is used by Retek, or a supplier number isvalidated, it is always selected from this table.

Description :

Table Name : SUPS

Page 162: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 149 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

PRIMARY_LANG references LANG.LANG

SOP_LAN_FK

Foreign Keys

FORECAST_IND

PRIMARY_LANG

LEVEL_1_NAME

LEVEL_2_NAME

LEVEL_3_NAME

CONTRACT_IND

VAT_IND

ELC_IND

FINANCIAL_AP

INVC_MATCH_IND

IMPORT_IND

SALES_AUDIT_IND

MULTICHANNEL_IND

CURRENCY_CODE

MULTI_CURRENCY_IND

DATE_ENTRY

TIME_ENTRY

TIME_DISPLAY

DOMAIN_LEVEL

Column

VARCHAR2 (1)

NUMBER (6, 0)

VARCHAR2 (20)

VARCHAR2 (20)

VARCHAR2 (20)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (3)

VARCHAR2 (1)

VARCHAR2 (12)

VARCHAR2 (12)

VARCHAR2 (12)

VARCHAR2 (1)

Type

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

180

190

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesNo

RestrictedRestricted

This table is the control table for each site using Retek. All userdefined parameters are held here, and accessed by the Retek system tocontrol the various processing options available. This table is populated during installation of the system and must be maintained bythe database administrator.

Description :

Table Name : SYSTEM_OPTIONS

Page 163: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 150 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

CHK_SYS_OPT_DOMAIN_LEVEL

CHK_SYS_OPT_ELC_IND

CHK_SYS_OPT_FORECAST_IND

CHK_SYS_OPT_IMPORT_IND

CHK_SYS_OPT_INVC_MATCH_IND

CHK_SYS_OPT_MULTICHANNEL_IND

CHK_SYS_OPT_MULTI_CURRENCY_IND

CHK_SYS_OPT_SALES_AUDIT_IND

CHK_SYS_OPT_VAT_IND

Name

Check Constraints

FORECAST_IND

PRIMARY_LANG

LEVEL_1_NAME

LEVEL_2_NAME

LEVEL_3_NAME

CONTRACT_IND

VAT_IND

ELC_IND

This field indicates whether or not Retek will be interfaced to an externalforecasting system. Valid values are Y and N.

The primary language for the system. This field is validated from the LANGtable.

Text that will be used throughout the system to identify a level 1 item.

Text that will be used throughout the system to identify a level 2 item.

Text that will be used throughout the system to identify a level 3 item.

This field indicates whether or not contracting is used within Retek.

Indicates whether the Value Added Tax is used within the system. Valid valuesare Y and N. Y - Value Added Tax is used. All retail price entered or displayedwill be VAT inclusive, while cost price is VAT exclusive. VAT is stripped offof the retail price when markup percent is calculated in the Item Maintenanceand Retail/Cost Change dialogues within Retek. N - Value Added Tax is not used.

Where Validate Clause

Column Detail

10

20

30

40

50

60

70

80

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (6, 0) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

DOMAIN_LEVEL IN ('D', 'C', 'S')

elc_ind in ('Y','N')

FORECAST_IND IN ('Y', 'N')

IMPORT_IND IN ('Y', 'N')

invc_match_ind in ('Y', 'N')

MULTICHANNEL_IND in ('Y', 'N')

MULTI_CURRENCY_IND IN ('Y', 'N')

sales_audit_ind in ('Y','N')

VAT_IND IN ('Y', 'N')

Page 164: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 151 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

FINANCIAL_AP

INVC_MATCH_IND

IMPORT_IND

SALES_AUDIT_IND

MULTICHANNEL_IND

CURRENCY_CODE

MULTI_CURRENCY_IND

DATE_ENTRY

TIME_ENTRY

This indicator determines whether landed cost will be used within the system.When landed cost is used within the system, markup percent will be calculatedbased on landed cost, instead of supplier's cost, in the Item Maintenance andRetail/Cost Change dialogues.

Denotes using a certain interface: 'P' is for PeopleSoft, 'O' is for Oracle.

Indicates whether or not invoice matching is installed.

This field will indicate if Import 2000 is being used within Retek.

This field indicates whether the Sales Audit module is being used. Valid valuesare (Y)es and (N)o.

Indicates whether Retek will support multiple channels. If this field is set to'Y', then multiple channels will be supported. If this field is set to 'N',then multiple channels will not be supported.

The base currency for the system. This field is validated from the CURRENCYtable.

Indicates whether Retek will support multiple currencies. If this field is setto 'Y', then multiple currencies will be supported. If this field is set to'N', then multiple currencies will not be supported.

This field will contain the format in which dates will be entered throughoutthe system. For example, 'MMDDRR' could be used as a valid date format. Itshould be noted that if a two digit year is entered, the format must be 'RR' rather than 'YY' to ensure that the year 2000 issupported.

This column holds the format mask used for entering time values throughout the

Column Detail

90

100

110

120

130

140

150

160

170

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (3) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (12) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (12) ;() ; ; Uppercase ? :No ;

Page 165: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 152 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

TIME_DISPLAY

DOMAIN_LEVEL

system.

This column holds the format mask used throughout the system to display timevalues.

This field determines the domain grouping level that will be used wheninterfacing data to external systems using multiple database instances. Validvalues are: D - Department C - Class S - Subclass

Column Detail

180

190

Optional ? :No ; Varchar2 (12) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Page 166: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 153 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

LAST_EOW_DATE_UNIT

Indicates the date of the last unit end of week cycle.

Column Detail

10

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

LAST_EOW_DATE_UNIT

Column

DATE

Type

NOT NULL

Nulls ?Col.Seq.

10

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table is the control table for Retek. All columns which areupdated regularly are stored here. This table is populated duringinstallation of the system and must be maintained by the database administrator.

Description :

Table Name : SYSTEM_VARIABLES

Page 167: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 154 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

LANG references LANG.LANG

TLS_LAN_FK

CHK_TL_SHADOW_KEY

Name

Check Constraints

Foreign Keys

Primary Key

LANG

KEY

This field contains the code for the language represented in the translatedvalue field. The language must be a valid value on the LANGUAGE table.

Where Validate Clause

Column Detail

10

20

Optional ? :No ; Number (6, 0) ;() ; ; Uppercase ? :No ;

LANG

KEY

TRANSLATED_VALUE

Column

NUMBER (6, 0)

VARCHAR2 (250)

VARCHAR2 (250)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

KEY = upper(KEY)

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_TL_SHADOW LANGKEY

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table contains one row for each table, column, language, and keyvalue(s). This table will store the table, column name, language, keyvalue(s) and the translated value (text) for each column in the database which supports translated values.

Description :

Table Name : TL_SHADOW

Page 168: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 155 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

LANG

TRANSLATED_VALUE

Column

TL_SHADOW_I1

TL_SHADOW_I1

Name

NOT UNIQUE

NOT UNIQUE

Index Type

TRANSLATED_VALUE

This is a concatenated string of values representing the unique keys associatedwith the translated value. Example: for a subclass name this string might looklike '1000 1001 1028'. This string would represent the department, class andsubclass number to be translated.

This is the translated text in the language indicated for the key values listedabove.

Column Detail

Index Summary

30

Optional ? :No ; Varchar2 (250) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (250) ;() ; ; Uppercase ? :No ;

Seq.

1

2

Page 169: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 156 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

LANG

Column

USER_ATTRIB_I1

Name

NOT UNIQUE

Index Type

LANG references LANG.LANG

UAT_LAN_FK

Foreign Keys

Primary Key

USER_ID

USER_NAME

LANG

Contains the unique identifier for the user.

Contains the name of the user.

Column Detail

Index Summary

10

20

30

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (40) ;() ; ; Uppercase ? :No ;

USER_ID

USER_NAME

LANG

Column

VARCHAR2 (30)

VARCHAR2 (40)

NUMBER (6, 0)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

1

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_USER_ATTRIB USER_ID

Transferable ?Mandatory ?

Update Rule :Delete Rule :

YesYes

RestrictedRestricted

Name Column

This table is used to store user attributes.Description :

Table Name : USER_ATTRIB

Page 170: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 157 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Contains the language that the Oracle user prefers to use in Retek.

Column Detail

Optional ? :No ; Number (6, 0) ;() ; ; Uppercase ? :No ;

Page 171: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 158 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

DOMAIN_ID

Column

USER_DOMAIN_I1

Name

NOT UNIQUE

Index Type

Primary Key

USER_ID

DOMAIN_ID

This field contains a valid Oracle User ID for a Retek user.

This field contains the domain number for the domain the specified user hasaccess to.

Column Detail

Index Summary

10

20

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (2, 0) ;() ; ; Uppercase ? :No ;

USER_ID

DOMAIN_ID

Column

VARCHAR2 (30)

NUMBER (2, 0)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

Seq.

1

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_USER_DOMAIN USER_IDDOMAIN_ID

Name Column

This table is used to determine which domains, or external databases,users are authorized to access. These relationships are used whenexecuting external systems with multiple database instances fromRetek. This table is populated during installation of the system andmust be maintained by the database administrator.

Description :

Table Name : USER_DOMAIN

Page 172: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 159 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

CHK_WH_BREAK_PACK_IND

Name

Check Constraints

Primary Key

WH

WH_NAME

BREAK_PACK_IND

Contains the number which uniquely identifies the warehouse. The wh tablestores all warehouses in the system. Both virtual and physical warehouses willbe stored on this table. The addition of the new column, physical_wh, helpsdetermine which warehouses are physical and which are virtual. All physicalwarehouses will store a -1 in the physical_wh column. Virtual warehouses willhave a valid physical warehouse in this column.

Contains the name of the warehouse which, along with the warehouse number,identifies the warehouse.

Where Validate Clause

Column Detail

10

20

30

Optional ? :No ; Number (10, 0) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (20) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

WH

WH_NAME

BREAK_PACK_IND

Column

NUMBER (10, 0)

VARCHAR2 (20)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

BREAK_PACK_IND IN ('Y','N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_WH WH

Name Column

This table contains one row for each warehouse within the company.Whenever a warehouse name or address etc, is used by Retek, or awarehouse number is validated, it is always selected from this table.

Description :

Table Name : WH

Page 173: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 160 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Indicates whether or not the warehouse is capable of distributing less than thesupplier case quantity. Valid values are : 'Y' or 'N'.

Column Detail

Page 174: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

02 January 2003 Page 161 ofTable Definition

Oracle Designer Report : cktci

162

Container : RO 10.2 Version :

Display Title : Alias :

Primary Key

WIZARD_NAME

ITEM_ID

HINT_TEXT

PROMPT_FIELD

Stores the wizard which text is being used for, i.e. 'ITEM' for the itemwizard.

Stores the name of the block.item name to which the text corresponds.

Stores the hint text to be displayed for the current item in the wizard form.

This column will be used with the on screen help functionality. It will holdthe name of the field where the entered help text should be displayed. It isonly needed when using this table for the prompt text, not for the wizard text.

Column Detail

10

20

30

40

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (61) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (2000) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (61) ;() ; ; Uppercase ? :No ;

WIZARD_NAME

ITEM_ID

HINT_TEXT

PROMPT_FIELD

Column

VARCHAR2 (30)

VARCHAR2 (61)

VARCHAR2 (2000)

VARCHAR2 (61)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_WIZARD_TEXT WIZARD_NAMEITEM_ID

Name Column

This table contains one row for each item defined in a wizard. It isused by the wizard forms to populate the text appropriately. Thistable is populated during installation of the system and must be maintained by the database administrator.

Description :

Table Name : WIZARD_TEXT

Page 175: Retek Replenishment Optimization 10 - Oracle · class (ro 10.2) dept class class_name deps (ro 10.2) dept dept_name domain (ro 10.2) domain_id domain_desc domain_label delimiter protocol_seq

Oracle Designer

TABLE DEFINITION

End of Report