AIP Data Model

Download as pdf or txt
Download as pdf or txt
You are on page 1of 614

Oracle Retail Advanced Inventory Planning

Oracle Database Data Model


Release 13.0

June 2008

Oracle Retail Advanced Inventory Planning Oracle Database Data Model, Release 13.0

Copyright 2008, Oracle. All rights reserved.


Primary Author: Kris Lange
Contributors: Paul Kehler
The Programs (which include both the software and documentation) contain proprietary
information; they are provided under a license agreement containing restrictions on use and
disclosure and are also protected by copyright, patent, and other intellectual and industrial
property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the
extent required to obtain interoperability with other independently created software or as specified
by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any
problems in the documentation, please report them to us in writing. This document is not
warranted to be error-free. Except as may be expressly permitted in your license agreement for
these Programs, no part of these Programs may be reproduced or transmitted in any form or by
any means, electronic or mechanical, for any purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the
Programs on behalf of the United States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and
technical data delivered to U.S. Government customers are "commercial computer software" or
"commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agencyspecific supplemental regulations. As such, use, duplication, disclosure, modification, and
adaptation of the Programs, including documentation and technical data, shall be subject to the
licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent
applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software
Restricted Rights (June 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other
inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate
fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the
Programs are used for such purposes, and we disclaim liability for any damages caused by such
use of the Programs.
Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation
and/or its affiliates. Other names may be trademarks of their respective owners.
The Programs may provide links to Web sites and access to content, products, and services from
third parties. Oracle is not responsible for the availability of, or any content provided on, thirdparty Web sites. You bear all risks associated with the use of such content. If you choose to
purchase any products or services from a third party, the relationship is directly between you and
the third party. Oracle is not responsible for: (a) the quality of third-party products or services; or
(b) fulfilling any of the terms of the agreement with the third party, including delivery of products
or services and warranty obligations related to purchased products or services. Oracle is not
responsible for any loss or damage of any sort that you may incur from dealing with any third
party.

iii

Value-Added Reseller (VAR) Language


(i) the software component known as ACUMATE developed and licensed by Lucent Technologies
Inc. of Murray Hill, New Jersey, to Oracle and imbedded in the Oracle Retail Predictive
Application Server Enterprise Engine, Oracle Retail Category Management, Oracle Retail Item
Planning, Oracle Retail Merchandise Financial Planning, Oracle Retail Advanced Inventory
Planning and Oracle Retail Demand Forecasting applications.
(ii) the MicroStrategy Components developed and licensed by MicroStrategy Services Corporation
(MicroStrategy) of McLean, Virginia to Oracle and imbedded in the MicroStrategy for Oracle Retail
Data Warehouse and MicroStrategy for Oracle Retail Planning & Optimization applications.
(iii) the SeeBeyond component developed and licensed by Sun MicroSystems, Inc. (Sun) of Santa
Clara, California, to Oracle and imbedded in the Oracle Retail Integration Bus application.
(iv) the Wavelink component developed and licensed by Wavelink Corporation (Wavelink) of
Kirkland, Washington, to Oracle and imbedded in Oracle Retail Store Inventory Management.
(v) the software component known as Crystal Enterprise Professional and/or Crystal Reports
Professional licensed by Business Objects Software Limited (Business Objects) and imbedded in
Oracle Retail Store Inventory Management.
(vi) the software component known as Access Via licensed by Access Via of Seattle, Washington,
and imbedded in Oracle Retail Signs and Oracle Retail Labels and Tags.
(vii) the software component known as Adobe Flex licensed by Adobe Systems Incorporated of
San Jose, California, and imbedded in Oracle Retail Promotion Planning & Optimization
application.
(viii) the software component known as Style Report developed and licensed by InetSoft
Technology Corp. of Piscataway, New Jersey, to Oracle and imbedded in the Oracle Retail Value
Chain Collaboration application.
(ix) the software component known as WebLogic developed and licensed by BEA Systems, Inc.
of San Jose, California, to Oracle and imbedded in the Oracle Retail Value Chain Collaboration
application.
(x) the software component known as DataBeacon developed and licensed by Cognos
Incorporated of Ottawa, Ontario, Canada, to Oracle and imbedded in the Oracle Retail Value Chain
Collaboration application.

iv

Preface
Oracle Retail data models can contain Relational Integrity Diagrams and Data Dictionary
Language (DDL). A list of the possible contents of each of these is below.
Oracle Retail data models can contain Relational Integrity Diagrams and Data
Definitions. A list of the possible contents of each of these is below.

Relational Integrity Diagrams


These diagrams show the relationship between the various tables within a functional
area.

Table names

Column names

Primary and foreign keys

Data Definitions

Table names and descriptions

Column summaries

Primary and foreign keys (if applicable)

Check constraints (if applicable)

Index summaries (if applicable)

Column detail information

Audience
This data model is written for the following audiences:

Data modelers

Business analysts

System analysts and designers

Integrators and implementation staff

Related Documents
For more information, see the following documents in the Oracle Retail Advanced
Inventory Planning Release 13.0 documentation set:

Oracle Retail Advanced Inventory Planning Release Notes

Oracle Retail Advanced Inventory Planning Data Management Online - Online Help

Oracle Retail Advanced Inventory Planning Data Management Online User Guide

Oracle Retail Advanced Inventory Planning Order Management - Online Help

Oracle Retail Advanced Inventory Planning Order Management User Guide

Oracle Retail Advanced Inventory Planning Data Model Volume 2 Measure


Reference Guide

Oracle Retail Advanced Inventory Planning Installation Guide

Oracle Retail Advanced Inventory Planning Operations Guide

Oracle Retail Advanced Inventory Planning Implementation Guide

Oracle Retail Advanced Inventory Planning Administration Guide

Oracle Retail Advanced Inventory Planning Warehouse Replenishment Planning


User Guide

Oracle Retail Advanced Inventory Planning Store Replenishment Planning User


Guide

Customer Support
https://metalink.oracle.com
When contacting Customer Support, please provide the following:

Product version and program/module name

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

Detailed step-by-step instructions to re-create

Exact error message received

Screen shots of each step you take

Review Patch Documentation


For a base release (".0" release, such as 13.0), Oracle Retail strongly recommends that you
read all patch documentation before you begin installation procedures. Patch
documentation can contain critical information related to the base release, based on new
information and code changes that have been made since the base release.

Oracle Retail Documentation on the Oracle Technology Network


In addition to being packaged with each product release (on the base or patch level), all
Oracle Retail documentation is available on the following Web site:
http://www.oracle.com/technology/documentation/oracle_retail.html
Documentation should be available on this Web site within a month after a product
release. Note that documentation is always available with the packaged code on the
release date.

Conventions
Navigate: This is a navigate statement. It tells you how to get to the start of the procedure

and ends with a screen shot of the starting point and the statement the Window Name
window opens.
Note: This is a note. It is used to call out information that is

important, but not necessarily part of the procedure.


This is a code sample
It is used to display examples of code

A hyperlink appears like this.

Diagram : DD_ALERT
Title : Alert

ALERT_DEFINITION

ALERT

ALERT_DEFINITION_ID
ALERT_CODE
PRIORITY

ALERT_ID

ALT_ADN_FK

ALERT_DEFINITION_ID
ALERT_STATUS_CODE
ALERT_LOAD_DATE
TIMESTAMP

ADC_ADN_FK

ADL_ALT_FK

ALERT_DETAIL
ALERT_DEFINITION_DESC

ALERT_DETAIL_ID
ALERT_ID

ALERT_DEFINITION_DESC_ID
SEQ_NO
ALERT_DEFINITION_ID
VALUE
LANG
COUNTRY
SHORT_DESC
LONG_DESC

ALERT_STATUS_DESC
ALERT_STATUS_DESC_ID
ALERT_STATUS_CODE
LANG
COUNTRY
STATUS_DESC

Diagram : DD_CASE_WEIGHT
Title : CASE WEIGHT

COY_COY_FK

SPO_SPO_FK

COMMODITY
COMMODITY_ID
COMMODITY_CODE

STOCKING_POINT

COMMODITY_DESC
SHORT_DESC

STOCKING_POINT_ID

PRODUCT_TYPE_ID

STOCKING_POINT_NAME

DEPARTMENT_ID

STOCKING_POINT_NUMBER

PARENT_COMMODITY_ID

STOCKING_POINT_SHORT_CODE

IS_PRE_PRICED

STOCKING_POINT_TYPE

IS_VALUE_ADDED

WH_TYPE

COMMODITY_GROUP_ID

SYSTEM_ONLY_IND

TIMESTAMP

SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE

CAW_COY_FK

CAW_SPO_FK

STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID

CASE_WEIGHT
SOURCE_ID
SOURCE_TYPE

OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

STOCKING_POINT_ID
COMMODITY_ID
PACK_SIZE
CASE_WEIGHT
START_DATE

SUPPLIER

END_DATE
TIMESTAMP

SUPPLIER_ID
SUPPLIER_CODE
SUPPLIER_NAME
SHIP_TO
CONTACT_NAME
CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

Diagram : DD_COMMODITY
Title : COMMODITY

DEPARTMENTS
DEPARTMENTID
DEPARTMENTNAME
DEPARTMENTNUMBER
DIVISIONID
ENTERPRISE_ID

COY_COY_FK

COMMODITY

CPS_COY_FK

COMMODITY_PACK_SIZE

COMMODITY_ID

COMMODITY_ID

COMMODITY_CODE

PACK_SIZE

COMMODITY_DESC

PACK_TYPE

SHORT_DESC

DISCONTINUATION_DATE

PRODUCT_TYPE_ID

TIMESTAMP

DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

COY_CGR_FK

COMMODITY_GROUP
COMMODITY_GROUP_ID
COMMODITY_GROUP_DESC

COY_PTY_FK

COMMODITY_GROUP_CODE
TIMESTAMP

PRODUCT_TYPE
PRODUCT_TYPE_ID
PRODUCT_TYPE_CODE
PRODUCT_TYPE
TIMESTAMP

Diagram : DD_COMMODITY_PACK_ATTR
Title : Commodity Pack Attr

COMMODITY_PACK_SIZE
COMMODITY_ATTR_TYPE
COMMODITY_ID
COMMODITY_ATTR_TYPE_ID

PACK_SIZE

ATTR_TYPE

PACK_TYPE

DESCRIPTION

DISCONTINUATION_DATE
TIMESTAMP

CATV_CAE_FK

CPR_CPS_FK

COMMODITY_ATTR_VALUE

COMMODITY_PACK_ATTR

COMMODITY_ATTR_VALUE_ID

COMMODITY_PACK_ATTR_ID

COMMODITY_ATTR_TYPE_ID
VALUE

COMMODITY_ID

CPR_CATV_FK

PACK_SIZE
COMMODITY_ATTR_VALUE_ID

Diagram : DD_COMMODITY_RELEASE_SCHED_EXC
Title : COMMODITY RELEASE SCHEDULE EXC

COMMODITY_RELEASE_SCHEDULE_EXC
COMMODITY_ID

COY_COY_FK

STORE_ORDER_CYCLE_ID
START_DATE
END_DATE
TIMESTAMP

COMMODITY

CRE_COY_FK

IS_DELETED

COMMODITY_ID
COMMODITY_CODE
COMMODITY_DESC
SHORT_DESC

CRE_SOC_FK

PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED

STORE_ORDER_CYCLE

IS_VALUE_ADDED
COMMODITY_GROUP_ID

STORE_ORDER_CYCLE_ID

TIMESTAMP

STORE_ORDER_CYCLE_CODE
STORE_ORDER_CYCLE_NAME
STORE_ORDER_CYCLE_LENGTH
TIMESTAMP

ORDER_GROUP
Diagram : DD_DATES
Title : Dates

NON_ORDER_DATE_EXCEPTION
ORDER_GROUP_ID
ORDER_GROUP_CODE

EXCEPTION_DATE

ORDER_GROUP_NAME

ORDER_GROUP_ID

TIER

TIMESTAMP

NOX_OGR_FK

ORDER_CYCLE_ID
SOURCE_ID
SOURCE_TYPE

NON_DELIVERY_DATE_EXCEPTION

AUTOMATION_IND

SPO_SPO_FK

GENERATION_METHOD
EXCEPTION_DATE
TIMESTAMP
DELIVERY_GROUP_ID
TIMESTAMP

STOCKING_POINT
DELIVERY_GROUP

STOCKING_POINT_ID

NDX_DGR_FK

DGR_SPO_FK

DELIVERY_GROUP_ID

STOCKING_POINT_NUMBER

DELIVERY_GROUP_CODE

DGR_SUP_FK

STOCKING_POINT_SHORT_CODE

DELIVERY_GROUP_NAME

STOCKING_POINT_TYPE

DELIVERY_GROUP_TYPE

WH_TYPE

TIER

SUPPLIER

SYSTEM_ONLY_IND

SUPPLY_SOURCE_LOCATION_ID

SURROGATE_STOCKING_POINT_ID

SUPPLIER_ID
SUPPLIER_ID

TIER

STOCKING_POINT_ID

SUPPLIER_CODE

TWO_STAGE_ORDERING_FLAG

AUTOMATION_IND

SUPPLIER_NAME

OWNERSHIP

GENERATION_METHOD

SHIP_TO

IS_PRIMARY

TIMESTAMP

PCC_TYPE

CONTACT_NAME

STATUS_ID

CONTACT_PHONE

IS_SINGLE_ENABLED

CONTACT_FAX

CAPACITY_TYPE

CONTACT_EMAIL
IS_DIRECT_SUPPLY

STOCKING_POINT_NAME

SRS_SUP_FK

SRS_SPO_FK

RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID

TIMESTAMP

OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE

PRO_SUP_FK

TIMESTAMP

STOP_RECEIVING_DATE_2ND_TIER
PROFILE
STOCKING_POINT_ID
PROFILE_ID

SUPPLIER_ID

PROFILE_CODE

DEMAND_GROUP_ID

PROFILE_NAME

STOP_RECEIVING_DATE

SUPPLIER_ID

TIMESTAMP

SRF_SPO_FK

STOP_RECEIVING_DATE_1ST_TIER

TIMESTAMP

STOCKING_POINT_ID

SRS_DGP_FK

DEMAND_GROUP_ID

CRX_PRO_FK

STOP_RECEIVING_DATE

DEMAND_GROUP
CORPORATE_NON_RELEASE_DATE_EXP

TIMESTAMP

DEMAND_GROUP_ID
DEMAND_GROUP_NAME

PROFILE_ID

DEMAND_GROUP_CODE

NON_RELEASE_DATE

DEMAND_GROUP_TYPE

TIMESTAMP

DEMAND_GROUP_SIZE
COMMODITY_GROUP_2_ID
TIMESTAMP

SRF_DGP_FK

CORPORATE_NON_RECEIPT_DATE
NON_RECEIPT_DATE
TIMESTAMP

CORPORATE_NON_RELEASE_DATE
NON_RELEASE_DATE
TIMESTAMP

NON_ORDER_DATE
NON_ORDER_DATE
TIMESTAMP

NON_DELIVERY_DATE
NON_DELIVERY_DATE
TIMESTAMP

Diagram : DD_DELIVERY_GROUP_MAINTENANCE
Title : DELIVERY GROUP MAINTENANCE

DELIVERY_GROUP
DELIVERY_GROUP_ID
DELIVERY_GROUP_CODE
DELIVERY_GROUP_NAME

DLG_OUTBOUND_CAPACITY

DELIVERY_GROUP_TYPE
TIER

DELIVERY_GROUP_ID

SUPPLY_SOURCE_LOCATION_ID

START_DATE

SUPPLIER_ID

END_DATE

STOCKING_POINT_ID

DAY_OF_WEEK

AUTOMATION_IND

NUMBER_OF_DELIVERY
TIMESTAMP

KTG_DGR_FK

DOC_DGR_FK

GENERATION_METHOD
TIMESTAMP

DLG_OUTBOUND_CAPACITY_EXC
DELIVERY_GROUP_ID
EXCEPTION_DATE
NUMBER_OF_DELIVERY
TIMESTAMP

DOX_DGR_FK

DGR

DDA_DGR_F

KEEP_TOGETHER_GROUP
KEEP_TOGETHER_GROUP_ID

KEEP_TOGETHER_GROUP_ID
KEEP_TOGETHER_GROUP_CODE
SUPPLIER_ID
KEEP_TOGETHER_GROUP_NAME
STOCKING_POINT_ID
DELIVERY_GROUP_ID
TIMESTAMP
TIMESTAMP

KTA_KTG_FK

KTA_SUP_FK

SUPPLIER
SUPPLY_SOURCE_LOCATION
SUPPLIER_ID
SUPPLIER_CODE

SUPPLY_SOURCE_LOCATION_ID

SUPPLIER_NAME

SUPPLIER_ID

SHIP_TO

STOCKING_POINT_ID

CONTACT_NAME

LOCATION_NUMBER

CONTACT_PHONE

LOCATION_DESCRIPTION

CONTACT_FAX

GLOBAL_CONTACT
CONTACT_NAME

CONTACT_EMAIL

R_SUP_FK

FK

KTG_ASSIGNMENT

SLN_SUP_FK

IS_DIRECT_SUPPLY

TITLE
COMPANY

TIMESTAMP

CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
ADDRESS1
ADDRESS2

DGR_SLN_FK

ADDRESS3
ADDRESS4
CITY
REGION
COUNTRY
POST_CODE
EDI_ADDRESS
TIMESTAMP

DDA_SP

DLG_DMG_ASSIGNMENT
DELIVERY_GROUP_ID
SOURCE_ID
SOURCE_TYPE

DDA_DGP_FK

DEMAND_GROUP

DEMAND_GROUP_ID
STOCKING_POINT_ID

DEMAND_GROUP_ID

START_DATE

DEMAND_GROUP_NAME

END_DATE

DEMAND_GROUP_CODE

PO_FK

SPO_SPO_FK

STOCKING_POINT
STOCKING_POINT_ID

KTA_SPO_FK

STOCKING_POINT_NAME
STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

SLN_SPO_FK

DVA_DGR_F

DVX_DGR

DVP_DG

DLT_DGR

DEMAND_GROUP_TYPE

TIMESTAMP

DEMAND_GROUP_SIZE
COMMODITY_GROUP_2_ID
TIMESTAMP

DLG_VEHICLE_ATTRIBUTE
VEHICLE_ATTRIBUTE_ID

FK

DVA_

DELIVERY_GROUP_ID
STOCKING_POINT_ID
MAX_WEIGHT
MAX_HEIGHT

DELIVERY_PATTERN_DELIVERY

MAX_FOOT_PRINT
MIN_DROP

DELIVERY_GROUP_ID

START_DATE

STOCKING_POINT_ID

END_DATE

START_DATE

TIMESTAMP

END_DATE
DAY_OF_WEEK
IS_DELIVERY
TIMESTAMP

DPD_DGR_FK

DLG_VEHICLE_PREF_EXC
DVX

R_FK

DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE
VEHICLE_SEQ

DELIVERY_PATTERN_LEAD_TIME_EXC

PREFERENCE_SEQ
DELIVERY_GROUP_ID
HOUR
STOCKING_POINT_ID
FIXED_BOOKING
EXCEPTION_DATE
TIMESTAMP
TRANSPORT_LEAD_TIME
TIMESTAMP

DLX_DGR_FK

DLG_VEHICLE_PREF

R_FK

R_FK

DVP_

DELIVERY_GROUP_ID
STOCKING_POINT_ID

DLG_PALLET_SETTING

DAY_OF_WEEK
START_DATE

DELIVERY_GROUP_ID

END_DATE

STOCKING_POINT_ID

VEHICLE_SEQ

USE_PALLET_WEIGHT

PREFERENCE_SEQ

USE_PALLET_HEIGHT

HOUR

TIMESTAMP

FIXED_BOOKING
TIMESTAMP

DPS_DGR_FK

DELIVERY_PATTERN_LEAD_TIME
DELIVERY_GROUP_ID
STOCKING_POINT_ID

DELIVERY_PATTERN_DELIVERY_EXC

START_DATE
END_DATE
DAY_OF_WEEK
TRANSPORT_LEAD_TIME

DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE
IS DELIVERY

_SPO_FK

DPD_SPO_FK

X_SPO_FK

DLX_SPO_FK

_SPO_FK

DPS_SPO_FK

LT_SPO_FK

DPX_SPO_FK

SVX_DGR_FK

SVP_DGR_FK

DSL_DGR

R_FK

IS_DELIVERY

TIMESTAMP

TIMESTAMP

DPX_DGR_FK

FVX_DGR_FK

FVX_RWI_FK

RECEIVING_WINDOW

STOCKLESS_VEHICLE_PREF_EXC
SVX_RWI_FK
DELIVERY_GROUP_ID

RECEIVING_WINDOW_ID
RECEIVING_WINDOW_NUMBER

STOCKING_POINT_ID

RECEIVING_WINDOW_NAME

EXCEPTION_DATE

TIMESTAMP

HOUR_PATTERN
RECEIVING_WINDOW_ID
TIMESTAMP

SVX_

FVP_RWI_FK

STOCKLESS_VEHICLE_PREF

SVP_RWI_FK
SVP_S

DELIVERY_GROUP_ID
STOCKING_POINT_ID
DAY_OF_WEEK
START_DATE

FINAL_VEHICLE_PREF

END_DATE
HOUR_PATTERN
RECEIVING_WINDOW_ID
TIMESTAMP

DELIVERY_GROUP_ID
STOCKING_POINT_ID
DAY_OF_WEEK
START_DATE
END_DATE
HOUR_PATTERN
RECEIVING_WINDOW_ID
TIMESTAMP

FVP_DGR_FK

DLG_SCHEDULING_LOCATION
DELIVERY_GROUP_ID
STOCKING_POINT_ID
IS_BONDED
TIMESTAMP

DS

DGR_SPO_FK

FINAL_VEHICLE_PREF_EXC
DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE
HOUR_PATTERN
RECEIVING_WINDOW_ID
TIMESTAMP

_SPO_FK

SPO_FK

SL_SPO_FK

FVP_SPO_FK

FVX_SPO_FK

Diagram : DD_DELIVERY_GROUP_MAINTENANCE_JDY
Title : Volumn Forecast

DEMAND_GROUP
DEMAND_GROUP_ID
DEMAND_GROUP_NAME
DEMAND_GROUP_CODE

FINAL_VEHICLE_PREF

DDA_D

DEMAND_GROUP_TYPE
DEMAND_GROUP_SIZE

DELIVERY_GROUP_ID
COMMODITY_GROUP_2_ID
STOCKING_POINT_ID
TIMESTAMP
DAY_OF_WEEK
START_DATE
END_DATE
HOUR_PATTERN
RECEIVING_WINDOW_ID

FVP_SPO_

TIMESTAMP

KT

KEEP_TOGETHER_GROUP
KEEP_TOGETHER_GROUP_ID

KTG_ASSIGNMENT

KTA_KTG_FK

KEEP_TOGETHER_GROUP_CODE
KEEP_TOGETHER_GROUP_NAME

KEEP_TOGETHER_GROUP_ID

DELIVERY_GROUP_ID

SUPPLIER_ID

TIMESTAMP

STOCKING_POINT_ID

KTG_DGR_FK

TIMESTAMP

SUPPLY_SOURCE_LOCATION
SUPPLY_SOURCE_LOCATION_ID

KTA_SUP_FK

DPX_DGR_FK

SUPPLIER_ID
STOCKING_POINT_ID
LOCATION_NUMBER
LOCATION_DESCRIPTION
GLOBAL_CONTACT

SUPPLIER

CONTACT_NAME
TITLE

SUPPLIER_ID
COMPANY
SUPPLIER_CODE
CONTACT_PHONE
SUPPLIER_NAME
CONTACT_FAX
SHIP_TO

FVX_SPO_FK

CONTACT_EMAIL
CONTACT_NAME
ADDRESS1
CONTACT_PHONE
ADDRESS2
CONTACT_FAX
ADDRESS3
CONTACT_EMAIL

FVP_RWI_FK

ADDRESS4
IS_DIRECT_SUPPLY
CITY
TIMESTAMP
REGION
COUNTRY
POST_CODE
EDI_ADDRESS

SLN_SUP_FK

FVP_DGR_FK

TIMESTAMP

SVX_S

SPO_SPO_FK

DLG_DMG_ASSIGNMENT
DELIVERY_GROUP_ID

STOCKING_POINT

SOURCE_ID
SOURCE_TYPE

DGP_FK

DDA_SPO_FK

STOCKING_POINT_ID

DEMAND_GROUP_ID
STOCKING_POINT_NAME
STOCKING_POINT_ID
STOCKING_POINT_NUMBER
START_DATE
STOCKING_POINT_SHORT_CODE
END_DATE
STOCKING_POINT_TYPE
TIMESTAMP
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER

FK

TWO_STAGE_ORDERING_FLAG

TA_SPO_FK

OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE

DELIVERY_PATTERN_DELIVERY_EXC

COPIED_FROM_STOCKING_POINT_ID

DPX_SPO_FK

COPY_DATE
TIMESTAMP

DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE
IS_DELIVERY
TIMESTAMP

SLN_SPO_FK

DELIVERY_PATTERN_DELIVERY

DPD_SPO_FK

DELIVERY_GROUP_ID
STOCKING_POINT_ID

DSL_SPO_FK

START_DATE
END_DATE
DAY_OF_WEEK
IS_DELIVERY
TIMESTAMP

DDA_DGR_FK

DVX_SPO_FK
DPD_DGR_FK
DPS_SPO_FK

DLG_SCHEDULING_LOCATION
DGR_SPO_FK
DELIVERY_GROUP_ID
STOCKING_POINT_ID
IS_BONDED

DSL_DGR_FK

DLT_SPO_FK

TIMESTAMP

PO_FK
DLX_SPO_FK

FINAL_VEHICLE_PREF_EXC
DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE
HOUR_PATTERN
RECEIVING_WINDOW_ID
TIMESTAMP

DGR_SLN_FK
FVX_RWI_FK
DGR_SUP_FK

RECEIVING_WINDOW
RECEIVING_WINDOW_ID
RECEIVING_WINDOW_NUMBER

FVX_DGR_FK

RECEIVING_WINDOW_NAME
TIMESTAMP

SVX_RWI_FK

STOCKLESS_VEHICLE_PREF_EXC
DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE
HOUR_PATTERN

SVX_DGR_FK

RECEIVING_WINDOW_ID
TIMESTAMP

SVP_RWI_FK

DLG_VEHICLE_PREF_EXC
DVP_SPO_FK

DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE
VEHICLE_SEQ

DLG_PALLET_SETTING

PREFERENCE_SEQ
HOUR
FIXED_BOOKING

DELIVERY_GROUP_ID

TIMESTAMP

STOCKING_POINT_ID
USE_PALLET_WEIGHT
USE_PALLET_HEIGHT

DVX_DGR_FK

DPS_DGR_FK

TIMESTAMP

SVP_SPO_FK

DELIVERY_PATTERN_LEAD_TIME
DELIVERY_GROUP_ID

DELIVERY_GROUP

STOCKING_POINT_ID
START_DATE

DELIVERY_GROUP_ID

END_DATE

DELIVERY_GROUP_CODE

DAY_OF_WEEK

DLT_DGR_FK

DELIVERY_GROUP_NAME

TRANSPORT_LEAD_TIME

DELIVERY_GROUP_TYPE

TIMESTAMP

TIER
SUPPLY_SOURCE_LOCATION_ID
SUPPLIER_ID

DELIVERY_PATTERN_LEAD_TIME_EXC

STOCKING_POINT_ID
AUTOMATION_IND

DELIVERY_GROUP_ID

GENERATION_METHOD

STOCKING_POINT_ID

TIMESTAMP

EXCEPTION_DATE
TRANSPORT_LEAD_TIME

DLX_DGR_FK

TIMESTAMP

DVP_DGR_FK

DLG_OUTBOUND_CAPACITY_EXC

DLG_VEHICLE_PREF
DELIVERY_GROUP_ID
STOCKING_POINT_ID

DELIVERY_GROUP_ID
EXCEPTION_DATE

DOX_DGR_FK
DOC_DGR_FK
SVP_DGR_FK

NUMBER_OF_DELIVERY
TIMESTAMP

DAY_OF_WEEK
START_DATE
END_DATE
VEHICLE_SEQ
PREFERENCE_SEQ
HOUR

DLG_OUTBOUND_CAPACITY

FIXED_BOOKING
TIMESTAMP

STOCKLESS_VEHICLE_PREF

DELIVERY_GROUP_ID
START_DATE
END_DATE

DELIVERY_GROUP_ID
DAY_OF_WEEK
STOCKING_POINT_ID
NUMBER_OF_DELIVERY
DAY_OF_WEEK
TIMESTAMP
START_DATE
END_DATE
HOUR_PATTERN
RECEIVING_WINDOW_ID
TIMESTAMP

Diagram : DD_DEMAND_GROUP_MAINTENANCE
Title : DEMAND GROUP MAINTENANCE

COY_COY_FK

COMMODITY
COMMODITY_ID
COMMODITY_CODE

DMG_ASSIGNMENT

COMMODITY_DESC
SHORT_DESC

DEMAND_GROUP_ID
COMMODITY_ID

DMA_COY_FK

PRODUCT_TYPE_ID

PACK_SIZE

DEPARTMENT_ID

TIMESTAMP

PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

DMA_DGP_FK

DEMAND_GROUP

COMMODITY_GROUP_2

DEMAND_GROUP_ID
COMMODITY_GROUP_2_ID
DEMAND_GROUP_NAME

DGP_CGP_FK

COMMODITY_GROUP_2_DESC

DEMAND_GROUP_CODE
COMMODITY_GROUP_2_CODE
DEMAND_GROUP_TYPE
TIMESTAMP
DEMAND_GROUP_SIZE
COMMODITY_GROUP_2_ID
TIMESTAMP

Diagram : DD_NON_CONTENTS_ORDER
Title : NON CONTENTS ORDER

NCR_NCR_FK

NON_CONTENTS_ORDER

SPO_SPO_FK

NON_CONTENTS_ORDER_ID
STATUS
SOURCE_ID

STOCKING_POINT

SOURCE_TYPE
DELIVERY_DATE

STOCKING_POINT_ID

STOCKING_POINT_ID

STOCKING_POINT_NAME

PARENT_ID

STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE

NCR_SPO_FK

DELIVERY_GROUP_ID
COMMODITY_ID

STOCKING_POINT_TYPE

PACK_SIZE

WH_TYPE

QUANTITY

SYSTEM_ONLY_IND

PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

RELEASE_RUN_ID

IS_SINGLE_ENABLED

ORDER_NUMBER

CAPACITY_TYPE

RELEASE_RUN
NCR_RER_FK

VALIDATION_FAILURE_IND

RECONCILIATION_FLAG

RELEASE_RUN_ID
GENERATION_METHOD

PARENT_STOCKING_POINT_ID

RELEASE_RUN_CODE
LAST_UPDATE_USERNAME

OPEN_DATE

RELEASE_RUN_NAME
QUANTITY_DELTA

COPIED_FROM_STOCKING_POINT_ID

IS_DEFAULT
TIMESTAMP

COPY_DATE

BATCH_RUN_ID

TIMESTAMP

TIMESTAMP

NCR_DGR_FK
DGR_SPO_FK

DELIVERY_GROUP

SUPPLIER

DELIVERY_GROUP_ID

SUPPLIER_ID

DELIVERY_GROUP_CODE

SUPPLIER_CODE

DELIVERY_GROUP_NAME

TIMESTAMP

DEPARTMENT_ID

RELEASE_DATE

STATUS_ID

GENERATION_METHOD

PRODUCT_TYPE_ID

COLLECTION_DATE

PCC_TYPE

AUTOMATION_IND

SHORT_DESC

ORDER_MULTIPLE_EXP

IS_PRIMARY

STOCKING_POINT_ID

COMMODITY_DESC

COMMUNICATION_STATUS

OWNERSHIP

SUPPLIER_ID

COMMODITY_CODE

CONFIRMATION_DATE

TWO_STAGE_ORDERING_FLAG

SUPPLY_SOURCE_LOCATION_ID

COMMODITY_ID

SUP_PERF_QTY

TIER

TIER

COMMODITY

RECEIVED_QTY

SURROGATE_STOCKING_POINT_ID

DELIVERY_GROUP_TYPE

COY_COY_FK

SUPPLIER_NAME

DGR_SUP_FK

SHIP_TO
CONTACT_NAME
CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

Diagram : DD_NON_ORDER_AND_NON_DELIVERY_DATES
Title : NON ORDER AND NON DELIVERY DATES

ORDER_GROUP
ORDER_GROUP_ID

NON_DELIVERY_DATE_EXCEPTION
EXCEPTION_DATE

ORDER_GROUP_CODE
ORDER_GROUP_NAME

DELIVERY_GROUP_ID
TIMESTAMP

TIER
ORDER_CYCLE_ID
SOURCE_ID
SOURCE_TYPE
AUTOMATION_IND
GENERATION_METHOD
TIMESTAMP

NDX_DGR_FK

NOX_OGR_FK

DELIVERY_GROUP
NON_ORDER_DATE_EXCEPTION

DELIVERY_GROUP_ID
DELIVERY_GROUP_CODE

EXCEPTION_DATE
ORDER_GROUP_ID
TIMESTAMP

DELIVERY_GROUP_NAME
DELIVERY_GROUP_TYPE
TIER
SUPPLY_SOURCE_LOCATION_ID
SUPPLIER_ID
STOCKING_POINT_ID
AUTOMATION_IND
GENERATION_METHOD
TIMESTAMP

NON_ORDER_DATE
NON_ORDER_DATE
TIMESTAMP

NON_DELIVERY_DATE
NON_DELIVERY_DATE
TIMESTAMP

Diagram : DD_NON_RECEIPT_AND_NON_RELEASE_DATES
Title : NON RECEIPT AND NON RELEASE DATES

PROFILE
PROFILE_ID
PROFILE_CODE

CORPORATE_NON_RELEASE_DATE
NON_RELEASE_DATE
TIMESTAMP

PROFILE_NAME
SUPPLIER_ID
TIMESTAMP

CORPORATE_NON_RECEIPT_DATE
NON_RECEIPT_DATE
TIMESTAMP

CRX_PRO_FK

CORPORATE_NON_RELEASE_DATE_EXP
PROFILE_ID
NON_RELEASE_DATE
TIMESTAMP

Diagram : DD_ON_RECEIPT_1ST_2ND_TIER
Title : ON RECEIPT 1ST 2ND TIER
SPO_SPO_FK

STOCKING_POINT
ON_RECEIPT_1ST_2ND_TIER
STOCKING_POINT_ID
DEMAND_GROUP_ID

STOCKING_POINT_NAME

STOCKING_POINT_ID

STOCKING_POINT_NUMBER

START_DATE
END_DATE
RECEIPT_TO_AVAIL_LEAD_TIME
TIMESTAMP

STOCKING_POINT_SHORT_CODE

ONR_SPO_FK

STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY

ONR_DGP_FK

PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID

DEMAND_GROUP

OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID

DEMAND_GROUP_ID
DEMAND_GROUP_NAME
DEMAND_GROUP_CODE
DEMAND_GROUP_TYPE
DEMAND_GROUP_SIZE
COMMODITY_GROUP_2_ID
TIMESTAMP

COPY_DATE
TIMESTAMP

Diagram : DD_ORDER_GROUP_MAINTENANCE
Title : ORDER GROUP MAINTENANCE

ORDER_CYCLE_LEAD_TIME
ORDER_CYCLE_ID
ORDER_CYCLE_SEQ

ORDER_CYCLE

ORDER_LEAD_TIME

OCL_OCY_FK

TIMESTAMP

ORDER_CYCLE_ID
ORDER_CYCLE_CODE
ORDER_CYCLE_NAME
ORDER_CYCLE_LENGTH

DEMAND_GROUP

COLLECTION_LEAD_TIME

ORDER_GROUP

TIMESTAMP

OGR_OCY_FK

DEMAND_GROUP_ID
DEMAND_GROUP_NAME

ORDER_GROUP_ID
DEMAND_GROUP_CODE
ORDER_GROUP_CODE
DEMAND_GROUP_TYPE
ORDER_GROUP_NAME
DEMAND_GROUP_SIZE
TIER
COMMODITY_GROUP_2_ID

ORDER_GROUP_STOCKING_POIN

ORDER_CYCLE_ID
TIMESTAMP
SOURCE_ID

ORDER_GROUP_STOCKING_POINT_ID

SOURCE_TYPE

ORDER_GROUP_ID

AUTOMATION_IND

STOCKING_POINT_ID
TIMESTAMP

GENERATION_METHOD

OGT_OGR_FK

OGA_OGR_FK

OGA_DGP_FK

TIMESTAMP

ORDER_GROUP_ASSIGNMENT
ORDER_GROUP_ID
SOURCE_ID

OGT_SPO_FK

SOURCE_TYPE
DEMAND_GROUP_ID
STOCKING_POINT_ID

STOCKING_POINT

OGA_SPO_FK

START_DATE
END_DATE

STOCKING_POINT_ID
STOCKING_POINT_NAME
STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

TIMESTAMP

Diagram : DD_ORDER_MULTIPLE
Title : ORDER MULTIPLE

SPO_SPO_FK

COY_COY_FK

STOCKING_POINT
COMMODITY
STOCKING_POINT_ID
COMMODITY_ID

STOCKING_POINT_NAME

COMMODITY_CODE

STOCKING_POINT_NUMBER

COMMODITY_DESC

STOCKING_POINT_SHORT_CODE

SHORT_DESC

STOCKING_POINT_TYPE

PRODUCT_TYPE_ID

WH_TYPE

DEPARTMENT_ID

SYSTEM_ONLY_IND

PARENT_COMMODITY_ID

SURROGATE_STOCKING_POINT_ID

IS_PRE_PRICED

TIER

IS_VALUE_ADDED

TWO_STAGE_ORDERING_FLAG

COMMODITY_GROUP_ID

OWNERSHIP

TIMESTAMP

IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG

OMU_COY_FK

PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID

ORDER_MULTIPLE

OMU_SPO_FK

COPY_DATE
TIMESTAMP

STOCKING_POINT_ID
SOURCE_ID
SOURCE_TYPE
COMMODITY_ID
PACK_SIZE
ORDER_MULTIPLE

SUPPLIER

START_DATE
END_DATE
TIMESTAMP

SUPPLIER_ID
SUPPLIER_CODE
SUPPLIER_NAME
SHIP_TO
CONTACT_NAME
CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

Diagram : DD_PACK_SIZE_SUBSTITUTION_FLAG
Title : PACK SIZE SUBSTITUTION FLAG

COY_COY_FK

COMMODITY
COMMODITY_ID
COMMODITY_CODE
COMMODITY_DESC

SINGLES_ENABLED_COMMODIT

SHORT_DESC
PRODUCT_TYPE_ID

STORE_ID
COMMODITY_ID

SEC_COY_FK

DEPARTMENT_ID
PARENT_COMMODITY_ID

SINGLES_ENABLED_FLAG
IS_PRE_PRICED
START_DATE
IS_VALUE_ADDED
END_DATE
COMMODITY_GROUP_ID
TIMESTAMP
TIMESTAMP

SEC_STO_FK

STORE
STORE_ID
STORE_CODE
STORE_NAME
STORE_FORMAT_ID
PRIORITY
DEFAULT_STOCKING_POINT_ID
DEFAULT_STOCKING_POINT_CSC_ID
OPEN_DATE
COPIED_FROM_STORE_ID
COPY_DATE
TIMESTAMP

Diagram : DD_PALLET_MULTIPLE
Title : PALLET MULTIPLE

SPO_SPO_FK

STOCKING_POINT

SUPPLIER
SUPPLIER_ID

STOCKING_POINT_ID

SUPPLIER_CODE

STOCKING_POINT_NAME

SUPPLIER_NAME

STOCKING_POINT_NUMBER

SHIP_TO

STOCKING_POINT_SHORT_CODE

CONTACT_NAME

STOCKING_POINT_TYPE

CONTACT_PHONE

WH_TYPE

CONTACT_FAX

SYSTEM_ONLY_IND

CONTACT_EMAIL

SURROGATE_STOCKING_POINT_ID

IS_DIRECT_SUPPLY

TIER

TIMESTAMP

TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID

PALLET_MULTIPLE

IS_SINGLE_ENABLED
CAPACITY_TYPE

SOURCE_ID

PMU_SPO_FK

RECONCILIATION_FLAG

SOURCE_TYPE

PARENT_STOCKING_POINT_ID

STOCKING_POINT_ID

OPEN_DATE

COMMODITY_ID

COPIED_FROM_STOCKING_POINT_ID

PACK_SIZE

COPY_DATE

PALLET_MULTIPLE

TIMESTAMP

START_DATE
END_DATE
TIMESTAMP

PMU_COY_FK
COY_COY_FK

COMMODITY
COMMODITY_ID
COMMODITY_CODE
COMMODITY_DESC
SHORT_DESC
PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

Diagram : DD_PLANNING_HORIZON
Title : PLANNING HORIZON

DEPARTMENTS
DEPARTMENTID
DEPARTMENTNAME
DEPARTMENTNUMBER
DIVISIONID

PLANNING_HORIZON_DEFAULT

ENTERPRISE_ID
DEPARTMENT_ID
PLANNING_HORIZON
TIMESTAMP

COY_COY_FK

COMMODITY
COMMODITY_ID

PLANNING_HORIZON_STOR

COMMODITY_CODE
COMMODITY_ID

PHR_COY_FK

COMMODITY_DESC

PLANNING_HORIZON

SHORT_DESC

TIMESTAMP

PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED

SUPPLIER

COMMODITY_GROUP_ID
TIMESTAMP

SUPPLIER_ID
SUPPLIER_CODE
SUPPLIER_NAME
SHIP_TO
CONTACT_NAME
CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

DEMAND_GROUP
DEMAND_GROUP_ID
DEMAND_GROUP_NAME
DEMAND_GROUP_CODE
DEMAND_GROUP_TYPE
DEMAND_GROUP_SIZE
COMMODITY_GROUP_2_ID
TIMESTAMP

Diagram : DD_PROFILE_MAINTENANCE
Title : PROFILE MAINTENANCE

DEPARTMENT_PROFILE
PROFILE
DEPARTMENT_ID
PROFILE_ID

PROFILE_ID

DPP_PRO_FK

PROFILE_CODE

TIMESTAMP

ASSIGNED_COMMODITY

PROFILE_NAME
SUPPLIER_ID

PROFILE_ID

VAW_PRO

TIMESTAMP

ADC_PRO_FK

COMMODITY_ID
START_DATE
END_DATE
TIMESTAMP

SUPPLIER

PRO_SUP_FK

SUPPLIER_ID
SUPPLIER_CODE
SUPPLIER_NAME

ADC_COY_FK

SHIP_TO

PNG_PRO_FK

CONTACT_NAME

COY_COY_FK

CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY

COMMODITY

TIMESTAMP

POC_PRO_FK

COMMODITY_ID
COMMODITY_CODE

PROFILE_NETWORK_GROUP

COMMODITY_DESC
SHORT_DESC
PRODUCT_TYPE_ID

PROFILE_ID

DEPARTMENT_ID

NETWORK_GROUP_ID

PARENT_COMMODITY_ID

STOCKING_POINT_ID

IS_PRE_PRICED

TIMESTAMP

PNG_SPO_FK

IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

PNG_NEG_FK

NETWORK_GROUP

PLANNING_GROUP

PROFILE_ORDER_CYCLE
NETWORK_GROUP_ID
PROFILE_ID

NETWORK_GROUP_CODE

STORE_ORDER_CYCLE_ID
START_DATE

NEG_PLG_FK

NETWORK_GROUP_NAME
PLANNING_GROUP_ID

END_DATE

POC_SOC_FK

STORE_ORDER_CYCLE_LEAD_TIME

STORE_ORDER_CYCLE_ID
STORE_ORDER_CYCLE_CODE

STORE_ORDER_CYCLE_ID

SOL_SOC_FK

PLANNING_GROUP_CODE
PLANNING_GROUP_NAME
TIMESTAMP

TIMESTAMP

TIMESTAMP

STORE_ORDER_CYCLE

PLANNING_GROUP_ID

STORE_ORDER_CYCLE_SEQ

STORE_ORDER_CYCLE_NAME

RELEASE_LEAD_TIME

STORE_ORDER_CYCLE_LENGTH

PLACEMENT_LEAD_TIME

TIMESTAMP

TIMESTAMP

HOME_WAREHOUSE
HOW_PRO_FK

PROFILE_ID
STOCKING_POINT_ID
STORE_ID
TIMESTAMP

O_FK

VALID_WAREHOUSE
PROFILE_ID
STOCKING_POINT_ID
TIMESTAMP

HOW_SPO_FK

VAW_SPO_FK

SPO_SPO_FK

STOCKING_POINT
STOCKING_POINT_ID
STOCKING_POINT_NAME
STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

Diagram : DD_PROFILE_STORE_RELEASE_EXC
Title : PROFILE STORE RELEASE EXC

STORE_ORDER_CYCLE
STORE_ORDER_CYCLE_ID
STORE_ORDER_CYCLE_CODE
STORE_ORDER_CYCLE_NAME
STORE_ORDER_CYCLE_LENGTH
TIMESTAMP

PROFILE_STORE_RELEASE_EXC
PSX_SOC_FK
PROFILE_ID
STORE_ID
STORE_ORDER_CYCLE_ID
START_DATE

PROFILE

END_DATE
TIMESTAMP

PROFILE_ID
PROFILE_CODE

PSX_PRO_FK

IS_DELETED

PROFILE_NAME
SUPPLIER_ID
TIMESTAMP

PSX_STO_FK

STORE
STORE_ID
STORE_CODE
STORE_NAME
STORE_FORMAT_ID
PRIORITY
DEFAULT_STOCKING_POI
DEFAULT_STOCKING_POI
OPEN_DATE
COPIED_FROM_STORE_ID
COPY_DATE
TIMESTAMP

Diagram : DD_PUSH_SINGLES_FLAG_EXC
Title : PUSH SINGLES FLAG EXC

SPO_SPO_FK

STOCKING_POINT

PUSH_SINGLES_FLAG

STOCKING_POINT_ID
STOCKING_POINT_NAME

PSF_SPO_FK

STOCKING_POINT_ID
DEPARTMENT_ID

STOCKING_POINT_NUMBER

PUSH_SINGLES_FLAG

STOCKING_POINT_SHORT_CODE

TIMESTAMP

STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE

COY_COY_FK

STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG

COMMODITY

PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID

COMMODITY_ID

COPY_DATE

COMMODITY_CODE

TIMESTAMP

COMMODITY_DESC
SHORT_DESC
PRODUCT_TYPE_ID
DEPARTMENT_ID

PFC_SPO_FK

PARENT_COMMODITY_ID
IS_PRE_PRICED

PUSH_SINGLES_FLAG_EXC

PFC_COY_FK

IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

STOCKING_POINT_ID
COMMODITY_ID
PUSH_SINGLES_FLAG
TIMESTAMP

DEPARTMENTS
DEPARTMENTID
DEPARTMENTNAME
DEPARTMENTNUMBER
DIVISIONID
ENTERPRISE_ID

Diagram : DD_RANGING
Title : RANGING

RANGED_COMMODITY_PACK_SIZE
STOCKING_POINT_ID
COMMODITY_ID
PACK_SIZE
IS_SEASONAL
RANGING_STATUS
TIMESTAMP

RCP_COY_FK

RCP_SPO_FK

SPO_SPO_FK

COY_COY_FK

COMMODITY

STOCKING_POINT

COMMODITY_ID

STOCKING_POINT_ID

COMMODITY_CODE

STOCKING_POINT_NAME

COMMODITY_DESC

STOCKING_POINT_NUMBER

SHORT_DESC

STOCKING_POINT_SHORT_CODE

PRODUCT_TYPE_ID

STOCKING_POINT_TYPE

DEPARTMENT_ID

WH_TYPE

PARENT_COMMODITY_ID

SYSTEM_ONLY_IND

IS_PRE_PRICED

SURROGATE_STOCKING_POINT_ID

IS_VALUE_ADDED

TIER

COMMODITY_GROUP_ID

TWO_STAGE_ORDERING_FLAG

TIMESTAMP

OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

Diagram : DD_RDC_STORE_RECONCIL_FLAG_EXC
Title : RDC STORE RECONCILE FLAG EXC

SPO_SPO_FK

STOCKING_POINT
STOCKING_POINT_ID
STOCKING_POINT_NAME
STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

RSR_SPO_FK

DEMAND_GROUP

RDC_STORE_RECONCIL_FLAG_EXC

DEMAND_GROUP_ID

STOCKING_POINT_ID
DEMAND_GROUP_ID
RECONCILIATION_FLAG
START_DATE
END_DATE
TIMESTAMP
IS_DELETED

RSR_DGP_FK

DEMAND_GROUP_NAME
DEMAND_GROUP_CODE
DEMAND_GROUP_TYPE
DEMAND_GROUP_SIZE
COMMODITY_GROUP_2_ID
TIMESTAMP

Diagram : DD_RECEIVING_WINDOW_MAINTENANCE
Title : RECEIVING WINDOW MAINTENANCE

RECEIVING_WINDOW_TIMES_EXC
RECEIVING_WINDOW_ID
STOCKING_POINT_ID
HOUR_PATTERN
EXCEPTION_DATE
TIMESTAMP

RWX_RWI_FK

RECEIVING_WINDOW
RECEIVING_WINDOW_ID
RECEIVING_WINDOW_NUMBER
RECEIVING_WINDOW_NAME
TIMESTAMP

RWD_RWI_FK

RECEIVING_WINDOW_TIMES_DEFAULT

RWA_RWI_FK

RECEIVING_WINDOW_ASSIGNMENT

RECEIVING_WINDOW_ID

RECEIVING_WINDOW_ID

STOCKING_POINT_ID

STOCKING_POINT_ID

HOUR_PATTERN

TIMESTAMP

START_DATE
END_DATE
DAY_OF_WEEK
TIMESTAMP

Diagram : DD_REFERENCE_DATA
Title : Reference Data Diagram

COY_COY_FK

COY_CGR_FK

COMMODITY_GROUP

DEPARTMENTS

COMMODITY_GROUP_ID

DEPARTMENTID

COMMODITY_GROUP_DESC

DEPARTMENTNAME

COMMODITY_GROUP_CODE

DEPARTMENTNUMBER

TIMESTAMP

DIVISIONID
ENTERPRISE_ID

COMMODITY
COMMODITY_PACK_SIZ
COMMODITY_ID
COMMODITY_CODE

COMMODITY_ID

COMMODITY_DESC
SHORT_DESC

PACK_SIZE

CPS_COY_FK

PRODUCT_TYPE_ID

PACK_TYPE
DISCONTINUATION_DATE

DEPARTMENT_ID

TIMESTAMP

PARENT_COMMODITY_ID
IS_PRE_PRICED

SPO_SPO_FK

IS_VALUE_ADDED
COMMODITY_GROUP_ID

PRODUCT_TYPE
COY_PTY_FK

TIMESTAMP

PRODUCT_TYPE_ID
PRODUCT_TYPE_CODE

STOCKING_POINT

PRODUCT_TYPE
TIMESTAMP

STOCKING_POINT_ID
STOCKING_POINT_NAME

SCP_COY_FK

STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE

SUPPLIER_COMMODITY_PACK_SIZE

WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID

SUPPLIER_ID

TIER

COMMODITY_ID

TWO_STAGE_ORDERING_FLAG

PACK_SIZE

OWNERSHIP

KEEP_TOGETHER_FLAG

IS_PRIMARY

TIMESTAMP

PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE

SCP_SUP_FK

RECONCILIATION_FLAG

STOCKING_POINT_STATUS SPO_SPS_FK

OPEN_DATE

SUPPLIER
STATUS_ID
SUPPLIER_ID

STATUS_CODE

SUPPLIER_CODE

STATUS_NAME

SUPPLIER_NAME
SHIP_TO
CONTACT_NAME
CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

PARENT_STOCKING_POINT_ID

COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

Diagram : DD_SCHEDULED_RUNTIME_MAINT
Title : SCHEDULED RUNTIME MAINTENANCE

DEPARTMENTS

DELIVERY_GROUP_BATCH_RUN

SPO_SPO_FK

DELIVERY_GROUP_ID

DEPARTMENTID

BATCH_RUN_ID

DEPARTMENTNAME

START_DATE

DEPARTMENTNUMBER

END_DATE

DIVISIONID

TIMESTAMP

ENTERPRISE_ID

STOCKING_POINT
STOCKING_POINT_ID
STOCKING_POINT_NAME

DGB_BAR_FK

STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE

BATCH_RUN

WH_TYPE

COY_COY_FK

SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID

BATCH_RUN_ID

TIER

BATCH_RUN_CODE

TWO_STAGE_ORDERING_FLAG

BATCH_RUN_NAME

OWNERSHIP

TIMESTAMP

COMMODITY

IS_PRIMARY
PCC_TYPE

COMMODITY_ID

STATUS_ID

COMMODITY_CODE

IS_SINGLE_ENABLED

COMMODITY_DESC

CAPACITY_TYPE

SHORT_DESC

RECONCILIATION_FLAG

PRODUCT_TYPE_ID

PARENT_STOCKING_POINT_ID

DEPARTMENT_ID

BRA_BAR_FK

OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID

PARENT_COMMODITY_ID

RER_BAR_FK

IS_PRE_PRICED

COPY_DATE

IS_VALUE_ADDED

TIMESTAMP

COMMODITY_GROUP_ID
TIMESTAMP

BRA_SPO_FK

RELEASE_RUN

BATCH_RUN_ASSIGNMENT
STOCKING_POINT_ID

RELEASE_RUN_ID

BATCH_RUN_ID

RELEASE_RUN_CODE

TIMESTAMP

RELEASE_RUN_NAME

CRR_COY_FK

IS_DEFAULT
BATCH_RUN_ID
TIMESTAMP

DRR_RER_FK

CRR_RER_FK

DGN_RER_FK

DEPARTMENT_RELEASE_RUN

DELIVERY_GROUP_RELEASE_RUN

DEPARTMENT_ID
RELEASE_RUN_ID
START_DATE
END_DATE
TIMESTAMP

DELIVERY_GROUP_ID
RELEASE_RUN_ID
START_DATE
END_DATE
TIMESTAMP

COMMODITY_RELEASE_RUN
COMMODITY_ID
RELEASE_RUN_ID
START_DATE
END_DATE
TIMESTAMP

Diagram : DD_SECONDARY_SOURCE
Title : Secondary_Source

SPO_SPO_FK2

SPO_SPO_FK

STOCKING_POINT
SECONDARY_SOURCE

STOCKING_POINT_ID
STOCKING_POINT_NAME

SECONDARY_SOURCE_ID

SSE_SPO_FK

STOCKING_POINT_NUMBER

DEMAND_GROUP_ID

STOCKING_POINT_SHORT_CODE

DESTINATION_ID

STOCKING_POINT_TYPE

DESTINATION_TYPE
SOURCE_ID

WH_TYPE

SSE_SPO_FK2

SYSTEM_ONLY_IND

SOURCE_TYPE

SURROGATE_STOCKING_POINT_ID

PRIORITY

TIER

TIMESTAMP

TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE

SSE_DGP_FK

SSE_SUP_FK

RECONCILIATION_FLAG

DEMAND_GROUP

PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

SUPPLIER

DEMAND_GROUP_ID

SUPPLIER_ID

DEMAND_GROUP_NAME

SUPPLIER_CODE

DEMAND_GROUP_CODE

SUPPLIER_NAME

DEMAND_GROUP_TYPE

SHIP_TO

DEMAND_GROUP_SIZE

CONTACT_NAME

COMMODITY_GROUP_2_ID

CONTACT_PHONE

TIMESTAMP

CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

Diagram : DD_SECURITY
Title : SECURITY

ENT_AUDIT

ENT_OBJECTSTORE

ENT_SRVUSERTYPES

ENT_USERS

AUDIT_ID

OBJECT_ID

USERTYPE_ID

USER_ID

AUDIT_EVENT

OBJECT_TYPE

SERVICE_ID

USERNAME

AUDIT_WHEN

OBJECT_SUBTYPE

USER_ID

REAL_USERNAME

AUDIT_TIMESTAMP

OBJECT_NAME

ENTERPRISE_ID

PASSWORD

AUDIT_DETAIL

OBJECT_DATE

GRANTING_ENTERPRISE_ID

FIRSTNAME

AUDIT_TARGET

OBJECT_DATA

DENIED

LASTNAME

AUDIT_TARGET_DETAIL

USER_ID

REAL_EMAIL

USER_ID

OWNER_ID

TYPE_ID

USER_NAME

ENTERPRISE_ID

ACCT_MANAGER

USER_ADDRESS

LOCATION_ID

CLEARED

ADDRESS_INFO

ENTERPRISE_ID

COUNTRY_ID
ADMIN_TYPE
USER_FLAGS
DEPARTMENT_LIST
SERVICE_LIST
USER_PREFERENCES
USER_COMMENTS

WT_ADMINS

WT_ENTERPRISES

WT_USERS

ENTERPRISE_ID
PASSWORD_TIME

ADMIN_ID

ENTERPRISE_ID

USER_ID

USERNAME

ENTERPRISE_CODE

USERNAME

PASSWORD

LOOKUP_CODE

REAL_USERNAME

ADMIN_LEVEL

CATEGORY_ID

PASSWORD

FIRSTNAME

ETYPE_ID

FIRSTNAME

LASTNAME

COMPANY_NAME

LASTNAME

CONTACT_INFO

LOOKUP_NAME

REAL_EMAIL

EMAIL_ADDRESS

CONTACT_EMAIL

LOOKUP_EMAIL

COMPANY_COUNTRY

CATEGORY_ID

INITIAL_ADMIN_ID

TYPE_ID

ADDRESS_INFO

USER_STATE

SERVICE_LIST

REGISTRATIONDA
RANDOMKEY
TIMEOUT_STATE
ETYPE_ID
COMPANY_NAME

WT_SERVICES
SERVICE_ID

ADDRESS_INFO
MISCCHARS1

WT_SRVUSERTYPES

SERVICE_ORDERING
SERVICE_NAME
SERVICE_KEY
SERVICE_STATE
ACTIVE_URL
INACTIVE_URL
FREE_DAYS
MONTHLY_CHARGE
SERVICE_TYPE
ADMIN_URL

MISCCHARS2
MISCCHARS3

USERTYPE_ID
SERVICE_ID
TYPE_KEY
TYPE_DESCRIPTION
TYPE_TYPE
DEFAULT_ON

MISCCHARS4
MISCCHARS5
MISCINT1
MISCINT2
MISCINT3
MISCINT4
MISCINT5
LISTING_ID

ACCOUNT_STATUS
LOCKOUT_UNTIL
PREFERRED_LANGUAGE

Diagram : DD_SHIFTS_AND_SLOTS_MAINT
Title : SHIFTS AND SLOTS MAINTENANCE

SPO_SPO_FK

STOCKING_POINT
STOCKING_POINT_ID
STOCKING_POINT_NAME
STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID

SHIFT_EXCEPTION

TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP

STOCKING_POINT_ID

SHE_SPO_FK

SHIFT_ID

IS_PRIMARY

SEQ

PCC_TYPE

RECEIVING_DATE

STATUS_ID

TIMESTAMP

IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

SHE_SHI_FK

SHD_SPO_FK

SHIFT_DEFAULT
SHIFT
STOCKING_POINT_ID

SHD_SHI_FK
SHIFT_ID

START_DATE

SHIFT_NAME

END_DATE

MAX_PALLET

SEQ

TIMESTAMP

TIMESTAMP

SLOT
SLOT_ID

SHIFT_ID

DAY_OF_WEEK

SLO_SHI_FK

START_TIME
SEQ
IS_TODAY
MAX_PALLET
MAX_VEHICLE
SHIFT_ID
TIMESTAMP

Diagram : DD_SHIP_TO_WH_TYPE
Title : Ship To Warehouse Type

SHIP_TO_WH_TYPE_SOURCE
SHIP_TO_WH_TYPE_SOURCE_ID
SHIP_TO
WH_TYPE

STT_STE_FK

SHIP_TO_WH_TYPE_DEST
SHIP_TO_WH_TYPE_DEST_ID
SHIP_TO_WH_TYPE_SOURCE_ID
WH_TYPE

Diagram : DD_SINGLES_ENABLED_COMMODITY
Title : Singles Enabled Commodity

COY_COY_FK

COMMODITY

SINGLES_ENABLED_COMMODITY

COMMODITY_ID

STORE_ID

COMMODITY_CODE

COMMODITY_ID

COMMODITY_DESC

SINGLES_ENABLED_FLAG

SHORT_DESC

START_DATE
END_DATE
TIMESTAMP

SEC_COY_FK

PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

SEC_STO_FK

STORE
STORE_ID
STORE_CODE
STORE_NAME
STORE_FORMAT_ID
PRIORITY
DEFAULT_STOCKING_POINT_ID
DEFAULT_STOCKING_POINT_CSC_ID
OPEN_DATE
COPIED_FROM_STORE_ID
COPY_DATE
TIMESTAMP

Diagram : DD_SOURCE_SPLIT_TB
Title : Source Split

DEMAND_GROUP
DEMAND_GROUP_ID
DEMAND_GROUP_NAME
DEMAND_GROUP_CODE
DEMAND_GROUP_TYPE
DEMAND_GROUP_SIZE
COMMODITY_GROUP_2_ID
TIMESTAMP

SSB_DGP_FK

SOURCE_SPLIT_TB
SOURCE_SPLIT_TB_ID
DEMAND_GROUP_ID
DESTINATION_ID
DESTINATION_TYPE
SOURCE_ID
SOURCE_TYPE
SPLIT_PERCENT
ORDER_HISTORY
START_DATE
END_DATE
TIMESTAMP

Diagram : DD_STACKING_FLAG
Title : STACKING FLAG
COY_COY_FK

COMMODITY
COMMODITY_ID
COMMODITY_CODE
COMMODITY_DESC
SHORT_DESC
PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED

SPO_SPO_FK

IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

STOCKING_POINT
STOCKING_POINT_ID
STOCKING_POINT_NAME
STOCKING_POINT_NUMBER

SFL_COY_FK

STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER

STACKING_FLAG

TWO_STAGE_ORDERING_FLAG
OWNERSHIP

SFL_SPO_FK

SOURCE_ID

IS_PRIMARY

SOURCE_TYPE

PCC_TYPE

COMMODITY_ID

STATUS_ID

PACK_SIZE

IS_SINGLE_ENABLED

STOCKING_POINT_ID

CAPACITY_TYPE

STACKING_FLAG

RECONCILIATION_FLAG

START_DATE

PARENT_STOCKING_POINT_ID

END_DATE

OPEN_DATE

TIMESTAMP

COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

SUPPLIER
SUPPLIER_ID
SUPPLIER_CODE
SUPPLIER_NAME
SHIP_TO
CONTACT_NAME
CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

Diagram : DD_STOCKING_POINT
Title : STOCKING POINT

SPO_SPO_FK

STOCKING_POINT

SPO_SPS_FK

STOCKING_POINT_STATUS

STOCKING_POINT_ID

STATUS_ID

STOCKING_POINT_NAME

STATUS_CODE

STOCKING_POINT_NUMBER

STATUS_NAME

STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

Diagram : DD_STOCKLESS_INDICATOR
Title : STOCKLESS INDICATOR

SPO_SPO_FK2
SPO_SPO_FK

STOCKING_POINT
STOCKING_POINT_ID
STOCKING_POINT_NAME
STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG

DEMAND_GROUP

OWNERSHIP
IS_PRIMARY

DEMAND_GROUP_ID

PCC_TYPE

DEMAND_GROUP_NAME

STATUS_ID

DEMAND_GROUP_CODE

IS_SINGLE_ENABLED

DEMAND_GROUP_TYPE

CAPACITY_TYPE

DEMAND_GROUP_SIZE

RECONCILIATION_FLAG

COMMODITY_GROUP_2_ID

PARENT_STOCKING_POINT_ID

TIMESTAMP

OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

SIN_DGP_FK

WCP_SPO_FK

WAREHOUSE_CHAMBER_PRODUCT_TYPE

SIN_SPO_FK

STOCKLESS_INDICATOR_EXC
STOCKLESS_INDICATOR_EXC_ID

WH_CHAMBER_PRODUCT_TYPE_ID
STOCKING_POINT_ID
PRODUCT_TYPE_ID
IS_STOCKLESS
TIMESTAMP

STOCKING_POINT_ID
DEMAND_GROUP_ID
START_DATE
END_DATE
IS_STOCKLESS
TIMESTAMP

Diagram : DD_STOP_RECEIVING_DATE_1ST_TIER
Title : STOP RECEIVING DATE 1ST TIER

SPO_SPO_FK

STOCKING_POINT
STOCKING_POINT_ID
STOCKING_POINT_NAME
STOCKING_POINT_NUMBER

STOP_RECEIVING_DATE_1ST_TIER

STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE

STOCKING_POINT_ID
DEMAND_GROUP_ID
STOP_RECEIVING_DATE
TIMESTAMP

SRF_SPO_FK

WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE

SRF_DGP_FK

STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE

DEMAND_GROUP

COPIED_FROM_STOCKING_POINT_ID
COPY_DATE

DEMAND_GROUP_ID
DEMAND_GROUP_NAME
DEMAND_GROUP_CODE
DEMAND_GROUP_TYPE
DEMAND_GROUP_SIZE
COMMODITY_GROUP_2_ID
TIMESTAMP

TIMESTAMP

Diagram : DD_STOP_RECEIVING_DATE_2ND_TEIR
Title : STOP RECEIVING DATE 2ND TEIR

SUPPLIER
SUPPLIER_ID
SUPPLIER_CODE
SUPPLIER_NAME
SHIP_TO
CONTACT_NAME
CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

SPO_SPO_FK
SRS_SUP_FK

STOCKING_POINT
STOCKING_POINT_ID
STOCKING_POINT_NAME

STOP_RECEIVING_DATE_2ND_TIER

STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE

STOCKING_POINT_ID

STOCKING_POINT_TYPE

SUPPLIER_ID

SRS_SPO_FK

DEMAND_GROUP_ID

WH_TYPE
SYSTEM_ONLY_IND

STOP_RECEIVING_DATE
TIMESTAMP

SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY

SRS_DGP_FK

PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED

DEMAND_GROUP
DEMAND_GROUP_ID
DEMAND_GROUP_NAME
DEMAND_GROUP_CODE
DEMAND_GROUP_TYPE
DEMAND_GROUP_SIZE
COMMODITY_GROUP_2_ID
TIMESTAMP

CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

Diagram : DD_STORE_CALENDAR
Title : STORE CALENDAR

STORE_CALENDAR_EXCEPTION
PRODUCT_TYPE
STORE_ID
PRODUCT_TYPE_ID

PRODUCT_TYPE_ID

SCE_PTY_FK

RECEIVING_DATE

PRODUCT_TYPE_CODE
PRODUCT_TYPE

IS_RECEIVING

TIMESTAMP

TIMESTAMP

SCD_PTY_FK

SCE_STO_FK

STORE_CALENDAR_DEFAULT

STORE

STORE_ID
STORE_ID
PRODUCT_TYPE_ID
STORE_CODE

SCD_STO_FK

START_DATE

STORE_NAME
END_DATE
STORE_FORMAT_ID
RECEIVING_PATTERN
PRIORITY
TIMESTAMP
DEFAULT_STOCKING_POINT_ID
DEFAULT_STOCKING_POINT_CSC_ID
OPEN_DATE
COPIED_FROM_STORE_ID
COPY_DATE
TIMESTAMP

Diagram : DD_STORE_DMG_SUBSTITUTION
Title : STORE DMG SUBSTITUTION

COY_COY_FK

COMMODITY
COMMODITY_ID

STORE_DMG_SUBSTITUTION

COMMODITY_CODE
COMMODITY_DESC

STORE_ID

SHORT_DESC

COMMODITY_ID
START_DATE
END_DATE
SUBSTITUTION_FLAG
TIMESTAMP

SDS_COY_FK

PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

SDS_STO_FK

STORE
STORE_ID
STORE_CODE
STORE_NAME
STORE_FORMAT_ID
PRIORITY
DEFAULT_STOCKING_POINT_ID
DEFAULT_STOCKING_POINT_CSC_ID
OPEN_DATE
COPIED_FROM_STORE_ID
COPY_DATE
TIMESTAMP

DIRECT_STORE_PACK_SIZE

Diagram : DD_STORE_FORMAT_PACK_SIZE
Title : STORE FORMAT PACK SIZE

STORE_ID
COMMODITY_ID
PACK_SIZE

COY_COY_FK

SUPPLIER_ID

DSP_COY_FK

START_DATE
END_DATE
TIMESTAMP

COMMODITY
SUPPLIER

DSP_SUP_FK

IS_DELETED

COMMODITY_ID
COMMODITY_CODE

SUPPLIER_ID

COMMODITY_DESC

SUPPLIER_CODE

SHORT_DESC

SUPPLIER_NAME

PRODUCT_TYPE_ID

SHIP_TO

DEPARTMENT_ID

CONTACT_NAME

PARENT_COMMODITY_ID

CONTACT_PHONE

IS_PRE_PRICED

CONTACT_FAX

IS_VALUE_ADDED

CONTACT_EMAIL

COMMODITY_GROUP_ID

IS_DIRECT_SUPPLY

TIMESTAMP

TIMESTAMP

DSF_SUP_FK

DIRECT_STORE_FORMAT_PACK_SIZE
STORE_FORMAT_ID

DSF_COY_FK

COMMODITY_ID
PACK_SIZE
SUPPLIER_ID
START_DATE
END_DATE
TIMESTAMP

SFP_COY_FK
DSF_SFO_FK
DSP_STO_FK

STORE_FORMAT_PACK_SIZE
STORE_FORMAT_ID

STORE_FORMAT

COMMODITY_ID
PACK_SIZE
STOCKING_POINT_ID

STORE_FORMAT_ID

START_DATE

STORE_FORMAT_CODE

END_DATE
TIMESTAMP

SFP_SFO_FK

STORE_FORMAT_NAME
TIMESTAMP

SSX_COY_FK
STO_SFO_FK
SFP_SPO_FK

SPO_SPO_FK

STORE
STOCKING_POINT

STORE_ID
STORE_CODE
STORE_NAME

STOCKING_POINT_ID
STORE_FORMAT_ID
STOCKING_POINT_NAME
PRIORITY
STOCKING_POINT_NUMBER
DEFAULT_STOCKING_POINT_
STOCKING_POINT_SHORT_CODE
DEFAULT_STOCKING_POINT_
STOCKING_POINT_TYPE
OPEN_DATE
WH_TYPE
COPIED_FROM_STORE_ID
SYSTEM_ONLY_IND
COPY_DATE
SURROGATE_STOCKING_POINT_ID
TIMESTAMP
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE

STORE_PACK_SIZE

RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID

STORE_ID

OPEN_DATE

COMMODITY_ID

COPIED_FROM_STOCKING_POINT_ID

PACK_SIZE

COPY_DATE

STOCKING_POINT_ID
START_DATE

SSX_SPO_FK

TIMESTAMP

END_DATE
TIMESTAMP
IS_DELETED

SSX_STO_FK

Diagram : DD_STORE_ON_SUPPLY_OFF_SUPPLY
Title : STORE ON SUPPLY OFF SUPPLY

COY_COY_FK

COMMODITY
COMMODITY_ID
COMMODITY_CODE
COMMODITY_DESC
SHORT_DESC
PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

STORE
STORE_ID
STORE_CODE
STORE_NAME
STORE_FORMAT_ID
PRIORITY
DEFAULT_STOCKING_POINT_ID
DEFAULT_STOCKING_POINT_CSC_ID
OPEN_DATE
COPIED_FROM_STORE_ID
COPY_DATE
TIMESTAMP

Diagram : DD_STORE_ORDER
Title : STORE ORDER

SPO_SPO_FK

STOCKING_POINT

STORE_ORDER
SOR_SPO_FK

SOR_SUP_FK

SUPPLIER

STOCKING_POINT_ID

STORE_ORDER_ID

STOCKING_POINT_NAME

STATUS

STOCKING_POINT_NUMBER

STORE_ID

STOCKING_POINT_SHORT_CODE

SUPPLIER_ID

SHIP_TO

STOCKING_POINT_TYPE

STOCKING_POINT_ID

CONTACT_NAME

WH_TYPE

COMMODITY_ID

SYSTEM_ONLY_IND

PACK_SIZE

CONTACT_FAX

SURROGATE_STOCKING_POINT_ID

DELIVERY_DATE

CONTACT_EMAIL

TIER

CASE_VOLUME

IS_DIRECT_SUPPLY

TWO_STAGE_ORDERING_FLAG

RECEIVED_QTY

OWNERSHIP

SUP_PERF_QTY

IS_PRIMARY

HOLD_STATUS

PCC_TYPE

WITHIN_DAY_SOURCE

STATUS_ID

RELEASE_RUN_ID

IS_SINGLE_ENABLED

RELEASE_DATE

CAPACITY_TYPE

ORDER_NUMBER

RECONCILIATION_FLAG

VALIDATION_FAILURE_IND

PARENT_STOCKING_POINT_ID

GENERATION_METHOD

OPEN_DATE

FUTURE_RELEASE_IND

COPIED_FROM_STOCKING_POINT_ID

LAST_UPDATE_USERNAME

COPY_DATE

CASE_VOLUME_DELTA

SOR_SPO_FK2

SUPPLIER_ID
SUPPLIER_CODE
SUPPLIER_NAME

CONTACT_PHONE

TIMESTAMP

SOR_STO_FK

TIMESTAMP

STORE
SOR_RER_FK
STORE_ID
STORE_CODE

SOR_COY_FK

STORE_NAME

COY_COY_FK

STORE_FORMAT_ID

RELEASE_RUN

PRIORITY
DEFAULT_STOCKING_PO

RELEASE_RUN_ID

DEFAULT_STOCKING_PO

RELEASE_RUN_CODE

OPEN_DATE

RELEASE_RUN_NAME

COPIED_FROM_STORE_ID

IS_DEFAULT

COPY_DATE

COMMODITY_CODE

BATCH_RUN_ID

TIMESTAMP

COMMODITY_DESC

TIMESTAMP

COMMODITY
COMMODITY_ID

SHORT_DESC
PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

Diagram : DD_STORE_SOURCE
Title : STORE SOURCE

STORE
SUPPLIER

STORE_ID
STORE_CODE

SUPPLIER_ID

STORE_NAME

SUPPLIER_CODE

STORE_FORMAT_ID

SUPPLIER_NAME

PRIORITY

SHIP_TO

DEFAULT_STOCKING_POINT_ID

CONTACT_NAME

COY_COY_FK

DEFAULT_STOCKING_POINT_CSC_ID

CONTACT_PHONE

OPEN_DATE

CONTACT_FAX

COPIED_FROM_STORE_ID

CONTACT_EMAIL

COPY_DATE

IS_DIRECT_SUPPLY

COMMODITY

TIMESTAMP

TIMESTAMP
COMMODITY_ID
COMMODITY_CODE
COMMODITY_DESC
SHORT_DESC

SSO_SUP_FK

PRODUCT_TYPE_ID

SSO_STO_FK

DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID

STORE_SOURCE

TIMESTAMP

SSO_COY_FK
STORE_ID
STOCKING_POINT_ID

SPO_SPO_FK

SUPPLIER_ID
COMMODITY_ID
START_DATE
END_DATE

STOCKING_POINT

DAY_OF_WEEK
SINGLE_MULTI_SOURCE_IND
TIMESTAMP

SSO_SPO_FK

STOCKING_POINT_ID
STOCKING_POINT_NAME
STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

Diagram : DD_SUBSTITUTE_DEMAND_GROUP
Title : SUBSTITUTE DEMAND GROUP

DEMAND_GROUP

SUBSTITUTE_DEMAND_GROUP
SDG_DGP_FK

DEMAND_GROUP_ID

DEMAND_GROUP_ID

DEMAND_GROUP_NAME

SUBSTITUTE_DEMAND_GROUP_ID

DEMAND_GROUP_CODE
DEMAND_GROUP_TYPE
DEMAND_GROUP_SIZE
COMMODITY_GROUP_2_ID
TIMESTAMP

SDG_DGP_FK2

TIMESTAMP

Diagram : DD_SUP_PLACEMENT_SCHEDULE_EXC
Title : SUP PLACEMENT SCHEDULE EXC

COY_COY_FK

COMMODITY

SUP_PLACEMENT_SCHEDULE_EX
SUPPLIER_ID
PLACEMENT_LEAD_TIME
START_DATE
END_DATE

RELEASE_SCHEDULE_EXC

COMMODITY_ID

STORE_ID

COMMODITY_CODE

COMMODITY_ID

COMMODITY_DESC

RELEASE_LEAD_TIME

SHORT_DESC

START_DATE

PRODUCT_TYPE_ID

TIMESTAMP

DEPARTMENT_ID

IS_DELETED

END_DATE

RES_COY_FK

PARENT_COMMODITY_ID

TIMESTAMP
IS_DELETED

IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID

SPX_SUP_FK

RES_STO_FK

TIMESTAMP

SUPPLIER
STORE

PSE_COY_FK
SUPPLIER_ID
SUPPLIER_CODE

STORE_ID

PLACEMENT_SCHEDULE_EXC

SUPPLIER_NAME

STORE_CODE

SHIP_TO

STORE_NAME
STORE_ID

CONTACT_NAME

PSE_STO_FK

COMMODITY_ID

CONTACT_PHONE

PRIORITY

PLACEMENT_LEAD_TIME

CONTACT_FAX

DEFAULT_STOCKING_PO

START_DATE

CONTACT_EMAIL

DEFAULT_STOCKING_PO

END_DATE

IS_DIRECT_SUPPLY

OPEN_DATE

TIMESTAMP

TIMESTAMP

STORE_FORMAT_ID

COPIED_FROM_STORE_ID

IS_DELETED

COPY_DATE
TIMESTAMP

PRO_SUP_FK

PROFILE

PROFILE_PLACEMENT_SCHEDULE_EXC

PROFILE_ID

SRX_SUP_FK

PROFILE_CODE

PROFILE_ID

PPX_PRO_FK

PLACEMENT_LEAD_TIME

PROFILE_NAME

START_DATE

SUPPLIER_ID

END_DATE

TIMESTAMP

TIMESTAMP
IS_DELETED

PRX_PRO_FK

SUP_RELEASE_SCHEDULE_EXC

PROFILE_RELEASE_SCHEDULE_EXC

SUPPLIER_ID

PROFILE_ID

RELEASE_LEAD_TIME

RELEASE_LEAD_TIME

START_DATE

START_DATE

END_DATE

END_DATE

TIMESTAMP

TIMESTAMP

IS_DELETED

IS_DELETED

Diagram : DD_SUPPLIER
Title : SUPPLIER

SUPPLIER

SCP_SUP_FK

SUPPLIER_COMMODITY_PACK_SIZE

SUPPLIER_ID

SUPPLIER_ID

SUPPLIER_CODE

COMMODITY_ID

SUPPLIER_NAME

PACK_SIZE

SHIP_TO

KEEP_TOGETHER_FLAG

CONTACT_NAME

TIMESTAMP

CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

Diagram : DD_SUPPLIER_LOCK
Title : Supplier Lock

COY_COY_FK

COMMODITY
COMMODITY_ID
COMMODITY_CODE
COMMODITY_DESC
SHORT_DESC
PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID

SCK_COY_FK

SUPPLIER_COMMODITY_LOCK

TIMESTAMP
SUPPLIER_COMMODITY_LOCK_ID
SUPPLIER_ID
COMMODITY_ID
LOCKED_WEEKS

SUPPLIER

SCK_SUP_FK

TIMESTAMP

SUPPLIER_ID
SUPPLIER_CODE
SUPPLIER_NAME
SHIP_TO
CONTACT_NAME
CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

SCL_SUP_FK

SUPPLIER_CLASS_LOCK
SUPPLIER_CLASS_LOCK_ID
SUPPLIER_ID
CLASS_ID
LOCKED_WEEKS

DEPARTMENTS
SCL_DPT_FK
DEPARTMENTID
DEPARTMENTNAME
DEPARTMENTNUMBER
DIVISIONID
ENTERPRISE_ID

TIMESTAMP

Diagram : DD_TWO_STAGE_ORDERING_FLAG_EXC
Title : TWO STAGE ORDERING FLAG EXC

SPO_SPO_FK

STOCKING_POINT
STOCKING_POINT_ID
STOCKING_POINT_NAME
STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE

TWO_STAGE_ORDERING_FLAG_EXC

TSO_SPO_FK

RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID

STOCKING_POINT_ID

OPEN_DATE

DEMAND_GROUP_ID

COPIED_FROM_STOCKING_POINT_ID

SUPPLIER_ID

COPY_DATE

START_DATE

TIMESTAMP

END_DATE
TWO_STAGE_ORDERING_FLAG
TIMESTAMP

TSO_DGP_FK

IS_DELETED

TSO_SUP_FK

DEMAND_GROUP
SUPPLIER
DEMAND_GROUP_ID
SUPPLIER_ID

DEMAND_GROUP_NAME

SUPPLIER_CODE

DEMAND_GROUP_CODE

SUPPLIER_NAME

DEMAND_GROUP_TYPE

SHIP_TO

DEMAND_GROUP_SIZE

CONTACT_NAME

COMMODITY_GROUP_2_ID

CONTACT_PHONE

TIMESTAMP

CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

Diagram : DD_VEHICLE
Title : VEHICLE

SPO_SPO_FK

DELIVERY_GROUP
STOCKING_POINT
DELIVERY_GROUP_ID
DELIVERY_GROUP_CODE

STOCKING_POINT_ID

DELIVERY_GROUP_NAME

STOCKING_POINT_NAME

DELIVERY_GROUP_TYPE

STOCKING_POINT_NUMBER

TIER

STOCKING_POINT_SHORT_CODE

SUPPLY_SOURCE_LOCATION_ID

STOCKING_POINT_TYPE

SUPPLIER_ID

WH_TYPE

DGR_SPO_FK

STOCKING_POINT_ID

SYSTEM_ONLY_IND

AUTOMATION_IND

SURROGATE_STOCKING_POINT_ID

GENERATION_METHOD

TIER

TIMESTAMP

TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID

COY_COY_FK

DGR_SUP_FK

IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID

COMMODITY

OPEN_DATE

SUPPLIER

COPIED_FROM_STOCKING_POINT_
COMMODITY_ID

COMMODITY_DESC

TIMESTAMP

SUPPLIER_CODE
SUPPLIER_NAME

SHORT_DESC

SHIP_TO

PRODUCT_TYPE_ID
DEPARTMENT_ID

CONTACT_NAME
CONTACT_PHONE

PARENT_COMMODITY_ID
IS_PRE_PRICED

COPY_DATE

SUPPLIER_ID

COMMODITY_CODE

VEH_DGR_FK

IS_VALUE_ADDED
COMMODITY_GROUP_ID

CONTACT_FAX
CONTACT_EMAIL

VEH_SPO_FK

IS_DIRECT_SUPPLY
TIMESTAMP

TIMESTAMP

RELEASE_RUN
RELEASE_RUN_ID
RELEASE_RUN_CODE
RELEASE_RUN_NAME
IS_DEFAULT
BATCH_RUN_ID
TIMESTAMP

DEU_COY_FK
DEU_SUP_FK

VEH_RER_FK

DEU_RER_FK

DELIVERY_UNIT

VEHICLE

DELIVERY_UNIT_ID

VEHICLE_ID

VEHICLE_ID

VEHICLE_CODE

SUPPLIER_ID

ASN_KEY

COMMODITY_ID

PRIORITY

PACK_SIZE

ACTION_REQUIRED_DATE

SUP_PERF_QTY

READY_DATE

FPE

ON_QUAY_DATE

WEIGHT

IN_TRANSIT_DATE

ADR

CONFIRMATION_DATE

QUANTITY

IDEAL_DELIVERY_DATE

PRIORITY

COMMUNICATION_STATUS

IDEAL_DELIVERY_DATE

RELEASE_DATE

CONFIRMATION_DATE

RELEASE_RUN_ID

COLLECTION_DATE

GENERATION_METHOD

COMMUNICATION_STATUS
RELEASE_DATE

IS_MODIFIED_TODAY

DEU_VEH_FK

FORECAST_WEIGHT

RELEASE_RUN_ID

CONFIRMED_WEIGHT

GENERATION_METHOD

FORECAST_FPE

IS_STOCKLESS

CONFIRMED_FPE

KEEP_TOGETHER_GROUP_ID

FORECAST_BOARDS

PALLET_MULTIPLE

CONFIRMED_BOARDS

ORDER_MULTIPLE

IS_STOCKLESS

CASE_WEIGHT

IS_PCC_RECONCILED

STACKING_FLAG

STOCKING_POINT_ID

TIMESTAMP

DELIVERY_GROUP_ID
BOOKING_REF_NO
DELIVERY_DATE
IS_FIXED_BOOKING
IS_FULL_BOOKING
SLOT_START_TIME
SLOT_IS_TODAY
TIMESTAMP

VEX_VEH_FK

VEHICLE_EXCEPTION
VEHICLE_ID
EXCEPTION_CODE_ID
TIMESTAMP

VEX_EXC_FK

EXCEPTION_CODE
EXCEPTION_CODE_ID
EXCEPTION_CODE_DESC
TIMESTAMP

Diagram : DD_VOLUME_FORECAST
Title : VOLUME FORECAST

STOCKED_PRODUCT_VOL_FORECAS
SUPPLIER_ID

SUPPLIER

START_DATE
END_DATE
DAY_OF_WEEK

SUPPLIER_ID
SUPPLIER_CODE

SPV_SUP_FK

FORECAST_DURATION
TIMESTAMP

SUPPLIER_NAME
SHIP_TO
CONTACT_NAME
CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY

DGR_SUP_FK

DELIVERY_GROUP

TIMESTAMP
DELIVERY_GROUP_ID
DELIVERY_GROUP_CODE
DELIVERY_GROUP_NAME
DELIVERY_GROUP_TYPE

SVF_SUP_FK

TIER
SUPPLY_SOURCE_LOCATION_ID
SUPPLIER_ID

STOCKLESS_PRODUCT_VOL_FORECA

STOCKING_POINT_ID
AUTOMATION_IND

SUPPLIER_ID
START_DATE

GENERATION_METHOD
TIMESTAMP

END_DATE
DAY_OF_WEEK
FORECAST_DURATION
TIMESTAMP

FVF_DGR_FK

FPE_VOL_FORECAST
DELIVERY_GROUP_ID
START_DATE
END_DATE
DAY_OF_WEEK
FORECAST_DURATION
TIMESTAMP

Diagram : DD_WAREHOUSE_CHAMBER_PROD_TYPE
Title : WAREHOUSE CHAMBER PROD TYPE

SPO_SPO_FK

WAREHOUSE_CHAMBER_PRODUCT_TYPE
STOCKING_POINT

WCP_SPO_FK

WH_CHAMBER_PRODUCT_TYPE_ID
STOCKING_POINT_ID

STOCKING_POINT_ID

PRODUCT_TYPE_ID

STOCKING_POINT_NAME

IS_STOCKLESS

STOCKING_POINT_NUMBER

TIMESTAMP

STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND
SURROGATE_STOCKING_POINT_ID

WCP_PTY_FK

TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP

PRODUCT_TYPE

IS_PRIMARY
PCC_TYPE

PRODUCT_TYPE_ID

STATUS_ID

PRODUCT_TYPE_CODE

IS_SINGLE_ENABLED

PRODUCT_TYPE

CAPACITY_TYPE

TIMESTAMP

RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

Diagram : DD_WAREHOUSE_COUPLED_FLAG
Title : WAREHOUSE COUPLED FLAG

SPO_SPO_FK

STOCKING_POINT

COY_COY_FK

STOCKING_POINT_ID
STOCKING_POINT_NAME
STOCKING_POINT_NUMBER

COMMODITY

STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE

COMMODITY_ID

WH_TYPE

COMMODITY_CODE

SYSTEM_ONLY_IND

COMMODITY_DESC

SURROGATE_STOCKING_POINT_ID

SHORT_DESC

TIER

PRODUCT_TYPE_ID

TWO_STAGE_ORDERING_FLAG

DEPARTMENT_ID

OWNERSHIP

PARENT_COMMODITY_ID

IS_PRIMARY

WAREHOUSE_COUPLED_FLAG

PCC_TYPE

STOCKING_POINT_ID
IS_SINGLE_ENABLED
COMMODITY_ID
CAPACITY_TYPE

WCF_SPO_FK

IS_COUPLED
START_DATE

PARENT_STOCKING_POINT_ID
END_DATE
OPEN_DATE
TIMESTAMP
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

IS_PRE_PRICED
IS_VALUE_ADDED

STATUS_ID

RECONCILIATION_FLAG

WCF_COY_FK

COMMODITY_GROUP_ID
TIMESTAMP

Diagram : DD_WAREHOUSE_ORDERABLE_UNIT
Title : WAREHOUSE ORDERABLE UNIT

SPO_SPO_FK

STOCKING_POINT
DEMAND_GROUP
STOCKING_POINT_ID
DEMAND_GROUP_ID

STOCKING_POINT_NAME

DEMAND_GROUP_NAME

STOCKING_POINT_NUMBER

DEMAND_GROUP_CODE

STOCKING_POINT_SHORT_CODE

DEMAND_GROUP_TYPE

STOCKING_POINT_TYPE

DEMAND_GROUP_SIZE

WH_TYPE

COMMODITY_GROUP_2_ID

SYSTEM_ONLY_IND

TIMESTAMP

SURROGATE_STOCKING_POINT_ID
TIER
TWO_STAGE_ORDERING_FLAG
OWNERSHIP
IS_PRIMARY

WOU_DGP_FK

PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE

WAREHOUSE_ORDERABLE_UNIT

WOU_SPO_FK

RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID

STOCKING_POINT_ID
SOURCE_ID
SOURCE_TYPE
DEMAND_GROUP_ID

OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

START_DATE
END_DATE
COMMODITY_ID
PACK_SIZE
TIMESTAMP

COY_COY_FK

COMMODITY
SUPPLIER
COMMODITY_ID
SUPPLIER_ID
SUPPLIER_CODE
SUPPLIER_NAME
SHIP_TO
CONTACT_NAME
CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

COMMODITY_CODE
COMMODITY_DESC
SHORT_DESC
PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

Diagram : DD_WAREHOUSE_PRODUCTS_DEFAULTS
Title : Warehouse Products Defaults & Exceptions

SPO_SPO_FK

STOCKING_POINT
STOCKING_POINT_ID
STOCKING_POINT_NAME
STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE

PUSH_SINGLES_FLAG

STOCKING_POINT_TYPE
WH_TYPE
SYSTEM_ONLY_IND

STOCKING_POINT_ID

SURROGATE_STOCKING_POINT_ID

DEPARTMENT_ID

TIER

PUSH_SINGLES_FLAG
TIMESTAMP

TWO_STAGE_ORDERING_FLAG

PSF_SPO_FK

OWNERSHIP
IS_PRIMARY
PCC_TYPE
STATUS_ID

ONR_SPO_FK

IS_SINGLE_ENABLED
CAPACITY_TYPE
RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID

TSO_SPO_FK

COPY_DATE
TIMESTAMP

SUPPLIER
SUPPLIER_ID
SUPPLIER_CODE
SUPPLIER_NAME
SHIP_TO
CONTACT_NAME
CONTACT_PHONE
CONTACT_FAX
CONTACT_EMAIL
IS_DIRECT_SUPPLY
TIMESTAMP

WOU_SPO_FK

DEPARTMENTS
CAW_SPO_FK

DEPARTMENTID
DEPARTMENTNAME
DEPARTMENTNUMBER
DIVISIONID
ENTERPRISE_ID

TSO_SUP_FK

SFL_SPO_FK

ON_RECEIPT_1ST_2ND_TIER
DEMAND_GROUP_ID
STOCKING_POINT_ID

ONR_DGP_FK

START_DATE
END_DATE
RECEIPT_TO_AVAIL_LEAD_TIME

RDC_STORE_RECONCIL_FLAG_E

TIMESTAMP

RSR_DG
STOCKING_POINT_ID
DEMAND_GROUP_ID
RECONCILIATION_FLAG

RSR_SPO_FK

START_DATE
END_DATE

TWO_STAGE_ORDERING_FLAG_EXC

TIMESTAMP
IS_DELETED

STOCKING_POINT_ID
DEMAND_GROUP_ID
SUPPLIER_ID
START_DATE

TSO_DGP_FK

END_DATE
TWO_STAGE_ORDERING_FLAG
TIMESTAMP
IS_DELETED

WAREHOUSE_ORDERABLE_UNIT
WOU_DGP_FK
STOCKING_POINT_ID
SOURCE_ID
SOURCE_TYPE
DEMAND_GROUP_ID
START_DATE
END_DATE
COMMODITY_ID
PACK_SIZE
TIMESTAMP

GP_FK

STACKING_FLAG
SOURCE_ID
SOURCE_TYPE
COMMODITY_ID
PACK_SIZE
STOCKING_POINT_ID
STACKING_FLAG
START_DATE
END_DATE
TIMESTAMP

DEMAND_GROUP
DEMAND_GROUP_ID
DEMAND_GROUP_NAME
DEMAND_GROUP_CODE
DEMAND_GROUP_TYPE
DEMAND_GROUP_SIZE

SFL_COY_FK

COMMODITY_GROUP_2_ID
TIMESTAMP

COY_COY_FK

COMMODITY
COMMODITY_ID
COMMODITY_CODE
COMMODITY_DESC
SHORT_DESC
PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

PMU_SPO_FK
OMU_SPO_FK

CASE_WEIGHT
PFC_SPO_FK
SOURCE_ID
SOURCE_TYPE
STOCKING_POINT_ID
COMMODITY_ID

WCF_SPO_FK

PACK_SIZE
CASE_WEIGHT
START_DATE
END_DATE
TIMESTAMP

PALLET_MULTIPLE
SOURCE_ID
SOURCE_TYPE
STOCKING_POINT_ID
COMMODITY_ID
PACK_SIZE
PALLET_MULTIPLE
START_DATE
END_DATE
TIMESTAMP

ORDER_MULTIPLE
STOCKING_POINT_ID
SOURCE_ID
SOURCE_TYPE
COMMODITY_ID
PACK_SIZE
ORDER_MULTIPLE
START_DATE
END_DATE
TIMESTAMP

PUSH_SINGLES_FLAG_EXC
STOCKING_POINT_ID
COMMODITY_ID
PUSH_SINGLES_FLAG
TIMESTAMP

CAW_COY_FK

PMU_COY_FK

OMU_COY_FK

PFC_COY_FK

WAREHOUSE_COUPLED_FLAG
STOCKING_POINT_ID
COMMODITY_ID
IS_COUPLED
START_DATE
END_DATE
TIMESTAMP

WCF_COY_FK

Diagram : DD_WAREHOUSE_PROMOTIONAL_AREA
Title : Warehouse Promotional Dates

SPO_SPO_FK

STOCKING_POINT
STOCKING_POINT_ID

COY_COY_FK

STOCKING_POINT_NAME
STOCKING_POINT_NUMBER
STOCKING_POINT_SHORT_CODE
STOCKING_POINT_TYPE

COMMODITY

WH_TYPE
COMMODITY_ID

SYSTEM_ONLY_IND

COMMODITY_CODE

SURROGATE_STOCKING_POINT_ID

COMMODITY_DESC

TIER

SHORT_DESC

TWO_STAGE_ORDERING_FLAG

PRODUCT_TYPE_ID

OWNERSHIP

DEPARTMENT_ID

IS_PRIMARY

PARENT_COMMODITY_ID

PCC_TYPE

IS_PRE_PRICED

STATUS_ID

IS_VALUE_ADDED

IS_SINGLE_ENABLED

COMMODITY_GROUP_ID

CAPACITY_TYPE

TIMESTAMP

RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID
OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

WPD_SPO_FK

WPD_COY_FK

WAREHOUSE_PROMOTIONAL_DATES
PROMOTIONAL_RANGE_ID
STOCKING_POINT_ID

STORE

WPD_STO_FK

STORE_ID
COMMODITY_ID

STORE_ID
STORE_CODE
STORE_NAME
STORE_FORMAT_ID
PRIORITY
DEFAULT_STOCKING_POINT_ID
DEFAULT_STOCKING_POINT_CSC_ID
OPEN_DATE
COPIED_FROM_STORE_ID
COPY_DATE
TIMESTAMP

START_DATE
END_DATE
TIMESTAMP

Diagram : DD_WAREHOUSE_PROMOTIONAL_DATES
Title : WAREHOUSE PROMOTIONAL DATES
SPO_SPO_FK

STOCKING_POINT
STORE
STOCKING_POINT_ID
STORE_ID

STOCKING_POINT_NAME

STORE_CODE

STOCKING_POINT_NUMBER

STORE_NAME

STOCKING_POINT_SHORT_CODE

STORE_FORMAT_ID

STOCKING_POINT_TYPE

PRIORITY

WH_TYPE

DEFAULT_STOCKING_POINT_ID

SYSTEM_ONLY_IND

DEFAULT_STOCKING_POINT_CSC_ID

SURROGATE_STOCKING_POINT_ID

OPEN_DATE

TIER

COPIED_FROM_STORE_ID

TWO_STAGE_ORDERING_FLAG

COPY_DATE

OWNERSHIP

TIMESTAMP

IS_PRIMARY
PCC_TYPE
STATUS_ID
IS_SINGLE_ENABLED
CAPACITY_TYPE

WPD_SPO_FK

RECONCILIATION_FLAG
PARENT_STOCKING_POINT_ID

WPD_STO_FK

OPEN_DATE
COPIED_FROM_STOCKING_POINT_ID
COPY_DATE
TIMESTAMP

WAREHOUSE_PROMOTIONAL_DATE
PROMOTIONAL_RANGE_ID
STOCKING_POINT_ID
STORE_ID
COMMODITY_ID
START_DATE
END_DATE
TIMESTAMP

COY_COY_FK

COMMODITY
COMMODITY_ID
COMMODITY_CODE
COMMODITY_DESC
SHORT_DESC
PRODUCT_TYPE_ID
DEPARTMENT_ID
PARENT_COMMODITY_ID
IS_PRE_PRICED
IS_VALUE_ADDED
COMMODITY_GROUP_ID
TIMESTAMP

WPD_COY_FK

Oracle Designer

Report
Filename

: TABLE DEFINITION
: C:\temp\ddl\cktci.pdf

Run by

RTKDBA

Report Date : 14 May

2008

Total Pages : 509

Parameter Values
Workarea
Container
Container Version
Recurse Sub-Containers
Tab/View/Snap Name
Diagram
Includes
Tables
Views
Snapshots
Column Details
Tables Created
On/After
On/Before
and

:
:
:
:
:
:

GLOBAL SHARED WORKAREA


AIP 13.0

:
:
:
:

Yes
Yes
Yes
Yes

:
:

14 May

2008

14 May

2008

N
%

Tables Changed
On/After

On/Before

14 May

2008

Page

2 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ALT
Display Title : Alert

Table Name : ALERT

Description :

This table holds the information needed to build an alert message and
all other attributes of an alert.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ALERT_ID

NOT NULL

NUMBER (12)

20

ALERT_DEFINITION_ID

NOT NULL

NUMBER (12)

30

ALERT_STATUS_CODE

NOT NULL

NUMBER (2)

40

ALERT_LOAD_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_ALERT

ALERT_ID

Foreign Keys
ALT_ADN_FK
ALERT_DEFINITION_ID
Transferable ? Yes
Mandatory ?
Yes

references ALERT_DEFINITION.ALERT_DEFINITION_ID
Update Rule : Restricted
Delete Rule : Restricted

Index Summary
Name

Seq.

ALERT_I1

Column

Index Type

ALERT_DEFINITION_ID

NOT UNIQUE

Column Detail
10

ALERT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This system-generated key uniquely identifies the row.


20

ALERT_DEFINITION_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

3 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

The surrogate key used to identify the alert type and priority of the alert.
Both are client configurable and the priority is based on the alert type.
30

ALERT_STATUS_CODE
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Identifies the status of the alert.


40

ALERT_LOAD_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

The date the alert was loaded into the table..


50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

4 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ADN
Display Title : Alert Definition

Table Name : ALERT_DEFINITION

Description :

This table holds the alert priority assigned to each alert type.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ALERT_DEFINITION_ID

NOT NULL

NUMBER (12)

20

ALERT_CODE

NOT NULL

VARCHAR2 (30)

30

PRIORITY

NOT NULL

NUMBER (2)

Primary Key
Name

Column

PK_ALERT_DEFINITION

ALERT_DEFINITION_ID

Other Unique Keys


Name

Column

UK_ALERT_DEFINITION

ALERT_CODE

Column Detail
10

ALERT_DEFINITION_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This system-generated key uniquely identifies the row.


20

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

; Uppercase ? :No ;

The code of the alert will be used for batch to easily identify which alert the
source code is referencing.
30

PRIORITY
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

The priority of the alert.

Oracle Designer Report : cktci

14 May

2008

Page

5 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : Alert Definition Desc

Table Name : ALERT_DEFINITION_DESC

Description :

This table holds all the translated strings that are used for
displaying the alert message to the user.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ALERT_DEFINITION_DESC_ID

NOT NULL

NUMBER (12)

20

ALERT_DEFINITION_ID

NOT NULL

NUMBER (12)

30

LANG

NOT NULL

VARCHAR2 (2)

40

COUNTRY

NOT NULL

VARCHAR2 (6)

50

SHORT_DESC

NOT NULL

VARCHAR2 (500)

60

LONG_DESC

NOT NULL

VARCHAR2 (1000)

Primary Key
Name

Column

PK_ALERT_DEFINITION_DESC

ALERT_DEFINITION_DESC_ID

Other Unique Keys


Name

Column

UK_ALERT_DEFINITION_DESC

ALERT_DEFINITION_ID
LANG
COUNTRY

Foreign Keys
ADC_ADN_FK
ALERT_DEFINITION_ID
Transferable ? Yes
Mandatory ?
Yes

references ALERT_DEFINITION.ALERT_DEFINITION_ID
Update Rule : Restricted
Delete Rule : Restricted

Column Detail
10

ALERT_DEFINITION_DESC_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This system-generated key uniquely identifies the row.


Oracle Designer Report : cktci

14 May

2008

Page

6 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
20

ALERT_DEFINITION_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Identifies which definition the strings belong to.


30

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

; Uppercase ? :No ;

Identifies the language of the string.


40

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

; Uppercase ? :No ;

Identifies the country of the language.


50

SHORT_DESC
Optional ? :No ; Varchar2 (500) ;() ;

; Uppercase ? :No ;

Contains the string that should be displayed to the user for the short
description.
60

LONG_DESC
Optional ? :No ; Varchar2 (1000) ;() ;

; Uppercase ? :No ;

Contains the string that should be displayed to the user for the long
description.

Oracle Designer Report : cktci

14 May

2008

Page

7 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ADL
Display Title : Alert Detail

Table Name : ALERT_DETAIL

Description :

This table holds the values that are inserted into the string for the
alert message that is displayed to the user. For example if there is
a message that says "The following new SKU was generated. SKU: 11100Poppy Seed Muffins." The "11100 Poppy Seed Muffin" would be stored in
this table for the given message.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ALERT_DETAIL_ID

NOT NULL

NUMBER (12)

20

ALERT_ID

NOT NULL

NUMBER (12)

30

SEQ_NO

NOT NULL

NUMBER (1)

40

VALUE

NOT NULL

VARCHAR2 (256)

Primary Key
Name

Column

PK_ALERT_DETAIL

ALERT_DETAIL_ID

Other Unique Keys


Name

Column

UK_CONTAINS_THE_VALUE_TO_BE_IN

ALERT_ID
SEQ_NO

Foreign Keys
ADL_ALT_FK
ALERT_ID references
Transferable ? Yes
Mandatory ?
Yes

ALERT.ALERT_ID
Update Rule : Restricted
Delete Rule : Restricted

Column Detail
10

ALERT_DETAIL_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This system-generated key uniquely identifies the row.

Oracle Designer Report : cktci

14 May

2008

Page

8 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
20

ALERT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Identifies the alert to which the value is associated


30

SEQ_NO
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains what position in the string the associated value should be inserted
for the associated alert. This number should start at 0.
40

VALUE
Optional ? :No ; Varchar2 (256) ;() ;

; Uppercase ? :No ;

Contains the value to be inserted into the string for the associated alert.

Oracle Designer Report : cktci

14 May

2008

Page

9 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : Alert Status Desc

Table Name : ALERT_STATUS_DESC

Description :

This table holds the status of each alert. The statuses are client
configurable. This table holds all the translated statuses that will
be displayed to the user.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ALERT_STATUS_DESC_ID

NOT NULL

NUMBER (12)

20

ALERT_STATUS_CODE

NOT NULL

NUMBER (2)

30

LANG

NOT NULL

VARCHAR2 (2)

40

COUNTRY

NOT NULL

VARCHAR2 (6)

50

STATUS_DESC

NOT NULL

VARCHAR2 (50)

Primary Key
Name

Column

PK_ALERT_STATUS_DESC

ALERT_STATUS_DESC_ID

Other Unique Keys


Name

Column

UK_ALERT_STATUS_DESC

ALERT_STATUS_CODE
LANG
COUNTRY

Column Detail
10

ALERT_STATUS_DESC_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This system-generated key uniquely identifies the row.


20

ALERT_STATUS_CODE
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

The code that uniquely defines each status. This code will also represent the
position of each status as related to one another. For example the minimum
code represents the first status and the maximum number represents the last
status. Statuses should be entered in ascending order.
30

LANG

Oracle Designer Report : cktci

14 May

2008

Page

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Identifies the language of the string.


40

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

; Uppercase ? :No ;

Identifies the country of the language.


50

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

; Uppercase ? :No ;

Contains the string that should be displayed for the status.

Oracle Designer Report : cktci

10 of 509

14 May

2008

Page

11 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ADC
Display Title :

Table Name : ASSIGNED_COMMODITY

Description :

Contains commodity/profile assignments. On a specific day a commodity


can be assigned to more than one direct profile but only one warehouse
profile.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROFILE_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_ASSIGNED_COMMODITY

PROFILE_ID
COMMODITY_ID
START_DATE
END_DATE

Other Unique Keys


Name

Column

UK_ASSIGNED_COMMODITY_END

PROFILE_ID
COMMODITY_ID
END_DATE
PROFILE_ID
COMMODITY_ID
START_DATE

UK_ASSIGNED_COMMODITY_START

Column Detail
10

PROFILE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a profile.


20

COMMODITY_ID

Oracle Designer Report : cktci

14 May

2008

Page

12 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
ADC_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

ADC_PRO_FK
PROFILE_ID references
Transferable ? Yes
Mandatory ?
Yes

PROFILE.PROFILE_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Name

Seq.

Column

Index Type

ASSIGNED_COMMODITY_I1

10

COMMODITY_ID

NOT UNIQUE

ASSIGNED_COMMODITY_I3

TIMESTAMP

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the actual date that the SKU/Profile assignment ends. This field is
updated when a SKU is assigned to a new warehouse profile. End dates are
inclusive.
50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

13 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: APM
Display Title : Available Po Num

Table Name : AVAILABLE_PO_NUM

Description :

Contains available purchase order numbers. These po numbers are


recycled and sourced from an external system.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NOT NULL

NUMBER (8)

ORDER_NO

Primary Key
Name

Column

PK_AVAILABLE_PO_NUM

ORDER_NO

Column Detail
10

ORDER_NO
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Unique identifier of the available po number

Oracle Designer Report : cktci

14 May

2008

Page

14 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: BAR
Display Title :

Table Name : BATCH_RUN

Description :

This table holds all batch runs.


batch run.

Currently AIP only supports a single

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

BATCH_RUN_ID

NOT NULL

NUMBER (12)

20

BATCH_RUN_CODE

NOT NULL

VARCHAR2 (16)

30

BATCH_RUN_NAME

NULL

VARCHAR2 (64)

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_BATCH_RUN

BATCH_RUN_ID

Column Detail
10

BATCH_RUN_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a batch run.


20

BATCH_RUN_CODE
Optional ? :No ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Contains the code of a batch run.


30

BATCH_RUN_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of a batch run.


40

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

15 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: BRA
Display Title :

Table Name : BATCH_RUN_ASSIGNMENT

Description :

This table holds Warehouse-chambers assigned to batch runs.


Warehouse-chambers are automatically assigned to the single Batch Run
when the status is any value other than 'New' or 'Closed'. The batch
run assignment is removed when the Warehouse-chamber status is set to
'New' or 'Closed'.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

BATCH_RUN_ID

NOT NULL

NUMBER (12)

30

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_BATCH_RUN_ASSIGNMENT

STOCKING_POINT_ID
BATCH_RUN_ID

Foreign Keys
BRA_BAR_FK
BATCH_RUN_ID references
Transferable ? Yes
Mandatory ?
Yes

BATCH_RUN.BATCH_RUN_ID
Update Rule : Restricted
Delete Rule : Cascades

BRA_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Name
BATCH_RUN_ASSIGNMENT_I1

Seq.
10

Column

Index Type

BATCH_RUN_ID

NOT UNIQUE

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page

16 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


Warehouse-chamber.
20

BATCH_RUN_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a batch run.


30

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

17 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CAV
Display Title :

Table Name : CANDIDATE_VEHICLE

Description :

This table holds release candidate vehicles in the planning horizon.


This table is populated nightly when AIP is running Warehouse Inbound
Planning (WIP) for Contents Orders.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

DELIVERY_DATE

NOT NULL

DATE

40

RELEASE_DATE

NULL

DATE

50

RELEASE_RUN_ID

NULL

NUMBER (12)

60

RELEASE_PASSED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_CANDIDATE_VEHICLE

DELIVERY_GROUP_ID
STOCKING_POINT_ID
DELIVERY_DATE

Foreign Keys
CAV_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
CAV_RER_FK
RELEASE_RUN_ID references
Transferable ? Yes
Mandatory ?
No

RELEASE_RUN.RELEASE_RUN_ID
Update Rule : Restricted
Delete Rule : Cascades

CAV_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades

Oracle Designer Report : cktci

14 May

2008

Page

18 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_CANDIDATE_VEHICLE_RELEASE

release_passed IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

CANDIDATE_VEHICLE_I1

10

RELEASE_RUN_ID

NOT UNIQUE

CANDIDATE_VEHICLE_I2

10

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


scheduling location.
30

DELIVERY_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains delivery date.


40

RELEASE_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains release date.


50

RELEASE_RUN_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a release run.


60

RELEASE_PASSED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if the candidate has passed the release.

Oracle Designer Report : cktci

14 May

2008

Page

19 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CAW
Display Title :

Table Name : CASE_WEIGHT

Description :

The case weight along with other constraints such as the pallet
multiple, and stack-ability indicator are used to constrain the loads
that are built onto trucks. The weight of all cases being built into
the load must not exceed the weight limit specified for the truck.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

15

SOURCE_ID

NOT NULL

NUMBER (12)

16

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

17

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

COMMODITY_ID

NOT NULL

NUMBER (8)

40

PACK_SIZE

NOT NULL

NUMBER (4)

50

CASE_WEIGHT

NULL

NUMBER (6, 2)

60

START_DATE

NOT NULL

DATE

70

END_DATE

NOT NULL

DATE

80

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_CASE_WEIGHT

SOURCE_ID
SOURCE_TYPE
STOCKING_POINT_ID
COMMODITY_ID
PACK_SIZE
START_DATE
END_DATE

Column Detail
15

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains either a supplier_id from the supplier table or a stocking_point_id


from the stocking_point table. Only warehouse stocking points are valid.
16

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

20 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
CAW_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

CAW_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_CASE_WEIGHT_SOURCE_TYPE

SOURCE_TYPE in ('V','W')

Index Summary
Seq.

Name

10

CASE_WEIGHT_I1

Column

Index Type

COMMODITY_ID

NOT UNIQUE

Column Detail

Contains the source type, where 'V' = Vendor (synonymous with Supplier) and 'W'
= Warehouse.
17

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


Warehouse-chamber.
30

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


40

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


50

CASE_WEIGHT
Optional ? :Yes ; Number (6, 2) ;() ;

; Uppercase ? :No ;

Contains the float of case weight.


60

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

21 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains a start date.


70

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the end date, which will always be the system high date.
80

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

22 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: COY
Display Title :

Table Name : COMMODITY

Description :

This table contains all commodities (SKUs). Each commodity (SKU)


belongs to one and only one Class.
A 'standard' commodity (SKU) is a SKU that is not Pre-priced or Valueadded--it is not a child SKU.
Commodities that are Pre-priced or Value-added are children of a
'standard' SKU. The standard SKU to which the child belongs is
defined in the PARENT_COMMODITY_ID.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_ID

NOT NULL

NUMBER (8)

20

COMMODITY_CODE

NOT NULL

VARCHAR2 (20)

30

COMMODITY_DESC

NOT NULL

VARCHAR2 (60)

40

SHORT_DESC

NOT NULL

VARCHAR2 (20)

55

PRODUCT_TYPE_ID

NOT NULL

NUMBER (12)

60

DEPARTMENT_ID

NOT NULL

NUMBER ()

70

PARENT_COMMODITY_ID

NULL

NUMBER (8)

80

IS_PRE_PRICED

NULL

VARCHAR2 (1)

90

IS_VALUE_ADDED

NULL

VARCHAR2 (1)

95

COMMODITY_GROUP_ID

NULL

NUMBER (8)

110

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_COMMODITY

COMMODITY_ID

Column Detail
10

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


20

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

23 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
COY_CGR_FK
COMMODITY_GROUP_ID references COMMODITY_GROUP.COMMODITY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
No
Delete Rule : Cascades
COY_COY_FK
PARENT_COMMODITY_ID
Transferable ? Yes
Mandatory ?
No

references COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Restricted

COY_PTY_FK
PRODUCT_TYPE_ID references
Transferable ? Yes
Mandatory ?
Yes

PRODUCT_TYPE.PRODUCT_TYPE_ID
Update Rule : Restricted
Delete Rule : Restricted

Check Constraints
Name

Where Validate Clause

CHK_COMMODITY_IS_PRE_PRICED

is_pre_priced IN ('Y', 'N')

CHK_COMMODITY_IS_VALUE_ADDED

is_value_added IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

COMMODITY_I1

10

DEPARTMENT_ID

NOT UNIQUE

COMMODITY_I2

10

PARENT_COMMODITY_ID

NOT UNIQUE

COMMODITY_I3

10

COMMODITY_GROUP_ID

NOT UNIQUE

COMMODITY_I4

10

PRODUCT_TYPE_ID

NOT UNIQUE

COMMODITY_I5

COMMODITY_CODE

NOT UNIQUE

Column Detail

Contains the code of a commodity (SKU).


30

COMMODITY_DESC
Optional ? :No ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

Contains the description of a commodity.


40

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

24 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the short description of a commodity.


55

PRODUCT_TYPE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a product type.


60

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

; Uppercase ? :No ;

Contains the number to uniquely identify a row in the Departments table. Due
to AIP being built on Webtrack the Departments table is named as such but
contains RMS Classes.
70

PARENT_COMMODITY_ID
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify the parent commodity (SKU). The
parent commodity is the standard commodity to which the child commodity
belongs. This field is populated for
Pre-priced and Value-added commodities (SKUs).
80

IS_PRE_PRICED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if a commodity is pre-priced.


90

IS_VALUE_ADDED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if a commodity is value-added.


95

COMMODITY_GROUP_ID
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a Commodity Group.


110

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

25 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CAE
Display Title : Commodity Attr Type

Table Name : COMMODITY_ATTR_TYPE

Description :

This table contains a distinct list of commodity attribute types.


Commodity attribute types are user-defined attributes of a commodity
pack size and may be RMS item attributes, or may come from an external
system.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_ATTR_TYPE_ID

NOT NULL

NUMBER (12)

20

ATTR_TYPE

NOT NULL

VARCHAR2 (6)

30

DESCRIPTION

NOT NULL

VARCHAR2 (40)

Primary Key
Name

Column

PK_COMMODITY_ATTR_TYPE

COMMODITY_ATTR_TYPE_ID

Other Unique Keys


Name

Column

UK_ATTR_TYPE

ATTR_TYPE

Column Detail
10

COMMODITY_ATTR_TYPE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The key that uniquely identifies a commodity attribute type.


sequenced.
20

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

; Uppercase ? :No ;

The six character code that defines the attribute type.


30

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

; Uppercase ? :No ;

The description of the attribute type.

Oracle Designer Report : cktci

This key is

14 May

2008

Page

26 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CATV
Display Title : Commodity Attr Value

Table Name : COMMODITY_ATTR_VALUE

Description :

This table provides a distinct list of valid commodity attribute type


and value combinations. This table is maintained to facilitate
selection of commodity attribute values from the GUI. It is populated
in batch by selecting the distinct list of commodity attribute type
and value combinations from COMMODITY_PACK_ATTR.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_ATTR_VALUE_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ATTR_TYPE_ID

NOT NULL

NUMBER (12)

30

VALUE

NOT NULL

VARCHAR2 (40)

Primary Key
Name

Column

PK_COMMODITY_ATTR_VALUE

COMMODITY_ATTR_VALUE_ID

Other Unique Keys


Name

Column

UK_COMMODITY_ATTR_VALUE

COMMODITY_ATTR_TYPE_ID
VALUE

Foreign Keys
CATV_CAE_FK
COMMODITY_ATTR_TYPE_ID references
COMMODITY_ATTR_TYPE.COMMODITY_ATTR_TYPE_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Restricted
Column Detail
10

COMMODITY_ATTR_VALUE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The key that uniquely identifies a commodity attribute type/commodity attribute


value combination. This key is sequenced.

Oracle Designer Report : cktci

14 May

2008

Page

27 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
20

COMMODITY_ATTR_TYPE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify the commodity attribute type associated with
commodity attribute value.
30

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

; Uppercase ? :No ;

The commodity attribute value associated with the commodity attribute type.

Oracle Designer Report : cktci

14 May

2008

Page

28 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CGR
Display Title :

Table Name : COMMODITY_GROUP

Description :

This table is part of the underlying product hierarchy used by RPAS to


reconcile product when necessary. It is not visible to the user in
the on-line system. A new commodity group is automatically created
for every new 'standard' commodity (SKU). A Commodity Group can be
assigned to more than one commodity (SKU) but it can only be assigned
to one 'standard' commodity. Any other commodities assigned to the
commodity group must be children of the 'standard' commodity.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_GROUP_ID

NOT NULL

NUMBER (8)

20

COMMODITY_GROUP_DESC

NOT NULL

VARCHAR2 (60)

30

COMMODITY_GROUP_CODE

NOT NULL

VARCHAR2 (20)

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_COMMODITY_GROUP

COMMODITY_GROUP_ID

Index Summary
Seq.

Name
COMMODITY_GROUP_I1

Column

Index Type

COMMODITY_GROUP_CODE

UNIQUE

Column Detail
10

COMMODITY_GROUP_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity group.


20

COMMODITY_GROUP_DESC
Optional ? :No ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

Contains the description of a commodity group.


30

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

29 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the code of a commodity group.


40

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

30 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CGP
Display Title :

Table Name : COMMODITY_GROUP_2

Description :

This table is part of the underlying product hierarchy used by RPAS to


reconcile product when necessary. It is not visible to the user in
the on-line system. A new commodity group-2 is automatically created
for every new 'standard' commodity (SKU). A Commodity Group-2 can be
assigned to more than one Demand Group provided that the Demand Groups
all contain the same 'standard' commodity (SKU).

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_GROUP_2_ID

NOT NULL

NUMBER (8)

20

COMMODITY_GROUP_2_DESC

NOT NULL

VARCHAR2 (60)

30

COMMODITY_GROUP_2_CODE

NOT NULL

VARCHAR2 (20)

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_COMMODITY_GROUP_2

COMMODITY_GROUP_2_ID

Column Detail
10

COMMODITY_GROUP_2_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity group 2.


20

COMMODITY_GROUP_2_DESC
Optional ? :No ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

Contains the description of a commodity group 2.


30

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

; Uppercase ? :No ;

Contains the code of a commodity group 2.


40

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

31 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CMG
Display Title : Commodity Mapping

Table Name : COMMODITY_MAPPING

Description :

This table holds the mappings between RMS commodities (sku) and AIP
commodities. This table is only used in order release.
The two types of SKUs that will be used are:
1. Informal Pack this is simply a regular SKU in RMS.
2. Formal Pack this is a simple pack in RMS. For example, a pack
could contain 12 of item 456.
The relationship between an RMS SKU number and the AIP commodity
ID/pack size it maps to is held on the COMMODITY_MAPPING table. An
RMS_SKU_NUMBER/RMS_ORDER_MULTIPLE/RMS_PACK_QUANTITY is needed to
uniquely map to a single commodity/pack size.
Data on COMMODITY_MAPPING should look as follows:
For Informal Packs:
The RMS_PACK_QUANTITY will be zero.
The RMS_ORDER_MULTIPLE will equal the PACK_SIZE.
For
The
The
The

Formal Packs:
RMS_PACK_QUANTITY will be a nonzero value.
RMS_PACK_QUANTITY will equal the PACK_SIZE.
RMS_ORDER_MULTIPLE will always be 1.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RMS_SKU_NUMBER

NOT NULL

VARCHAR2 (25)

15

RMS_ORDER_MULTIPLE

NOT NULL

NUMBER (8)

17

RMS_PACK_QUANTITY

NOT NULL

NUMBER (8)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

PACK_SIZE

NOT NULL

NUMBER (4)

Other Unique Keys


Name

Column

UK_COMMODITY_MAPPING

COMMODITY_ID
PACK_SIZE

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

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

; Uppercase ? :No ;

Contains a RMS SKU number.


15

RMS_ORDER_MULTIPLE
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains a RMS order multiple.


17

RMS_PACK_QUANTITY
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains a RMS pack quantity.


20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify an AIP commodity.


30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.

Oracle Designer Report : cktci

32 of 509

14 May

2008

Page

33 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CPR
Display Title : Commodity Pack Attr

Table Name : COMMODITY_PACK_ATTR

Description :

This table associates commodity attribute types and values with


commodity pack sizes. It is a many-to-many relationship between
commodity pack sizes and commodity attribute types and values.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_PACK_ATTR_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

COMMODITY_ATTR_VALUE_ID

NOT NULL

NUMBER (12)

Primary Key
Name

Column

PK_COMMODITY_PACK_ATTR

COMMODITY_PACK_ATTR_ID

Other Unique Keys


Name

Column

UK_COMMODITY_PACK_ATTR

COMMODITY_ATTR_VALUE_ID
COMMODITY_ID
PACK_SIZE

Foreign Keys
CPR_CATV_FK
COMMODITY_ATTR_VALUE_ID references
COMMODITY_ATTR_VALUE.COMMODITY_ATTR_VALUE_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Restricted
CPR_CPS_FK
COMMODITY_ID references COMMODITY_PACK_SIZE.COMMODITY_ID
PACK_SIZE references COMMODITY_PACK_SIZE.PACK_SIZE
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Restricted

Oracle Designer Report : cktci

14 May

2008

Page

34 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

Column

Index Type

COMMODITY_PACK_ATTR_I1

COMMODITY_ID

NOT UNIQUE

COMMODITY_PACK_ATTR_I1

PACK_SIZE

NOT UNIQUE

Column Detail
10

COMMODITY_PACK_ATTR_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The key that uniquely identifies a commodity pack size/commodity attribute


type/commodity attribute value association. This key is sequenced.
20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify the commodity whose pack size is associated
with the commodity attribute type and value.
30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

The pack size of the commodity that is associated with the commodity attribute
type and value.
40

COMMODITY_ATTR_VALUE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify the commodity attribute type/value pair
associated with the commodity pack size.

Oracle Designer Report : cktci

14 May

2008

Page

35 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CPS
Display Title :

Table Name : COMMODITY_PACK_SIZE

Description :

This table holds all valid combinations of commodities and their pack
sizes.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_ID

NOT NULL

NUMBER (8)

20

PACK_SIZE

NOT NULL

NUMBER (4)

27

PACK_TYPE

NULL

VARCHAR2 (6)

35

DISCONTINUATION_DATE

NULL

DATE

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_COMMODITY_PACK_SIZE

COMMODITY_ID
PACK_SIZE

Foreign Keys
CPS_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_COMMODITY_PACK_SIZE_PACK_T

PACK_TYPE in ( 'EACH', 'INNER', 'CASE',


'PALLET', 'OTHER' )

Column Detail
10

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.

Oracle Designer Report : cktci

14 May

2008

Page

36 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

COMMODITY_PACK_SIZE_I1

Column

Index Type

PACK_TYPE

NOT UNIQUE

Column Detail
20

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


27

PACK_TYPE
Optional ? :Yes ; Varchar2 (6) ;() ;

; Uppercase ? :No ;

Contains the pack type associated with commodity/pack_size.


include: 'INNER', 'CASE', 'PALLET', 'EACH', 'OTHER'.
A commodity may have only 1 pack size assigned to each pack
'CASE', 'PALLET', and 'Each'.
A commodity my have more than one pack size assigned to the
'OTHER'.
A pack size for a particular commodity may only be assigned
type.
35

Valid values
type of 'INNER',
pack type of
to a single pack

DISCONTINUATION_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains the date of when a commodity pack size is discontinued.


40

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

37 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CRR
Display Title :

Table Name : COMMODITY_RELEASE_RUN

Description :

This table holds non-contents sku (commodity) release run exceptions.


AIP does not currently support more than one batch release run per
day. All orders with a release date of today will be released in a
single morning batch run.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_ID

NOT NULL

NUMBER (8)

20

RELEASE_RUN_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_COMMODITY_RELEASE_RUN

COMMODITY_ID
RELEASE_RUN_ID
START_DATE
END_DATE

Foreign Keys
CRR_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

CRR_RER_FK
RELEASE_RUN_ID references
Transferable ? Yes
Mandatory ?
Yes

RELEASE_RUN.RELEASE_RUN_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

38 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

Column

Index Type

COMMODITY_RELEASE_RUN_I1

10

RELEASE_RUN_ID

NOT UNIQUE

COMMODITY_RELEASE_RUN_I2

TIMESTAMP

NOT UNIQUE

Column Detail

Contains the number to uniquely identify a commodity.


20

RELEASE_RUN_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a release run.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

39 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CRE
Display Title :

Table Name :
COMMODITY_RELEASE_SCHEDULE_EXC

Description :

This table holds SKU (commodity) release schedule exceptions. AIP


does not currently support more than one batch release run per day.
All orders with a release date of today will be released in a single
morning batch run.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_ID

NOT NULL

NUMBER (8)

20

STORE_ORDER_CYCLE_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER ()

60

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_COMMODITY_RELEASE_SCHEDU

COMMODITY_ID
START_DATE
END_DATE

Foreign Keys
CRE_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

CRE_SOC_FK
STORE_ORDER_CYCLE_ID references
STORE_ORDER_CYCLE.STORE_ORDER_CYCLE_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail
10

COMMODITY_ID

Oracle Designer Report : cktci

14 May

2008

Page

40 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_COMMODITY_REL_SCHED_IS_DEL

is_deleted IN ('Y', 'N')

Index Summary
Name

Seq.

COMMODITY_RELEASE_SCHED_EXC_I1

10

Column

Index Type

STORE_ORDER_CYCLE_ID

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


20

STORE_ORDER_CYCLE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store order cycle.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
60

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if this record has been deleted.

Oracle Designer Report : cktci

14 May

2008

Page

41 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CON
Display Title :

Table Name : COMMUNICATION

Description :

This table holds communication information for EDI upload to sources.


AIP does not currently support EDI transactions.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMUNICATION_ID

NOT NULL

NUMBER (12)

20

USER_ID

NOT NULL

NUMBER ()

30

COMMUNICATION_TYPE

NULL

NUMBER ()

40

COMMUNICATION_DATE

NULL

DATE

50

DATA_TYPE

NULL

NUMBER (1)

60

DATA_ID

NULL

NUMBER ()

70

SUPPLY_SOURCE_LOCATION_ID

NOT NULL

NUMBER (12)

80

STATUS

NULL

NUMBER (2)

90

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_COMMUNICATION

COMMUNICATION_ID

Foreign Keys
CON_SLN_FK
SUPPLY_SOURCE_LOCATION_ID references
SUPPLY_SOURCE_LOCATION.SUPPLY_SOURCE_LOCATION_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Name
COMMUNICATION_I1

Seq.
10

Column

Index Type

SUPPLY_SOURCE_LOCATION_ID

NOT UNIQUE

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page

42 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

COMMUNICATION_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a communication.


20

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

; Uppercase ? :No ;

Contains the number to uniquely identify a user who creates this communication.
30

COMMUNICATION_TYPE
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Contains the number of communication type, 0 for VEHICLE_CREATED, 1 for


VEHICLE_DELETED, 2 for VEHICLE_SCHEDULED, 3 for VEHICLE_RESCHEDULED, 10 for
DELIVERY_UNIT_MOVED, 11 for DELIVERY_UNIT_CREATED, 12 for
DELIVERY_UNIT_DELETED, 13 for DELIVERY_UNIT_OTHER_DELIVERY_GROUP_CREATED, 14
for DELIVERY_UNIT_OTHER_DELIVERY_GROUP_MOVED, 20 for PURCHASE_ORDER_CREATED, 21
for PURCHASE_ORDER_AMENDED, 22 for PURCHASE_ORDER_DELETED, 23 for
DIRECT_PURCHASE_ORDER_CREATED.
40

COMMUNICATION_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains communication date.


50

DATA_TYPE
Optional ? :Yes ; Number (1) ;() ;

; Uppercase ? :No ;

Contains an integer of data type, 0 for non_contents_order, 1 for


delivery_unit.
60

DATA_ID
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify either a non contents order or


delivery unit.
70

SUPPLY_SOURCE_LOCATION_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a supply source location.


80

STATUS
Optional ? :Yes ; Number (2) ;() ;

; Uppercase ? :No ;

Contains the number of communication status, 0 for NO_COMMUNICATION, 1 for


TO_TRANSMIT, 2 for TRANSMIT_ON_LEADTIME, 3 for TRANSMITTED, 4 for TO_PHONE, 5
for PHONED.
90

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

43 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CFG
Display Title :

Table Name : CONFIGURATION

Description :

General configuration parameters

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PARAMETER

NOT NULL

VARCHAR2 (50)

20

SETTING

NULL

VARCHAR2 (255)

30

DESCRIPTION

NULL

VARCHAR2 (255)

40

INT_VALUE

NULL

NUMBER (38)

50

ENTERPRISE_ID

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_CONFIGURATION

PARAMETER
ENTERPRISE_ID

Column Detail
10

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

; Uppercase ? :No ;

Parameter name
20

SETTING
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

Value
30

DESCRIPTION
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

helpful text for sys admin


40

INT_VALUE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Integer value or null


50

ENTERPRISE_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page

44 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : CORPORATE_NON_RECEIPT_DATE

Description :

Alias
: CND
Display Title :

This table holds all non-receipt dates. Non-receipt dates apply to


all stores and define the dates that stores are not able to receive
shipments. Store replenishment plans will not be generated for nonreceipt days because they are not considered 'Avaialbe to Plan' days.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NON_RECEIPT_DATE

NOT NULL

DATE

20

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_CORPORATE_NON_RECEIPT_DA

NON_RECEIPT_DATE

Column Detail
10

NON_RECEIPT_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a date which is non-receipt date. A Non-receipt date is a date which


stores cannot receive shipments and therefore no replenishment plan should be
generated for that day.
20

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

45 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : CORPORATE_NON_RELEASE_DATE

Description :

Alias
: CRD
Display Title :

This table holds all non-release dates. Non-release dates apply to


all stores' sources--except when an exception exists--and define the
dates that nothing can be ordered. The release date will be adjusted
on the store Puchase Orders and Transfers which would normally be
released on a non-release date.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NON_RELEASE_DATE

NOT NULL

DATE

20

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_CORPORATE_NON_RELEASE_DA

NON_RELEASE_DATE

Column Detail
10

NON_RELEASE_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a date which is non-release date.


into-store orders cannot be executed.
20

Non-release dates are dates which

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

46 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: CRX
Display Title :

Table Name :
CORPORATE_NON_RELEASE_DATE_EXP

Description :

This table holds non-release date exceptions. Non-release date


exceptions define the SKU/source combinations (via profile) which CAN
be ordered on a Corporate Non-release Date.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROFILE_ID

NOT NULL

NUMBER (12)

20

NON_RELEASE_DATE

NOT NULL

DATE

30

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_CORPORATE_NON_RELEASE_DA0

PROFILE_ID
NON_RELEASE_DATE

Foreign Keys
CRX_PRO_FK
PROFILE_ID references
Transferable ? Yes
Mandatory ?
Yes

PROFILE.PROFILE_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

PROFILE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a profile. The SKUs attached to the
profile can be ordered from the sources attached to the profile on a Corporate
Non-release Date.
20

NON_RELEASE_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the Corporate Non-release Date that the exception applies to.
30

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
Oracle Designer Report : cktci

14 May

2008

Page

Table Definition
Container :

AIP 13.0

Version :

Column Detail

midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

47 of 509

14 May

2008

Page

Table Definition
Container :

AIP 13.0

Version :
Alias
: CNT
Display Title :

Table Name : COUNTER

Description :

This is a helper table used as a counter.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NULL

NUMBER ()

COUNTER

Other Unique Keys


Name

Column

UK_COUNTER

COUNTER

Column Detail
10

COUNTER
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Contains a counter value.

Oracle Designer Report : cktci

48 of 509

14 May

2008

Page

49 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: COU
Display Title :

Table Name : COUNTRIES

Description :

Global countries list

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COUNTRYID

NOT NULL

NUMBER (38)

20

COUNTRYNAME

NULL

VARCHAR2 (50)

30

DIALCODE

NULL

VARCHAR2 (10)

40

ACTIVECOUNTRY

NULL

NUMBER (38)

50

COUNTRYCODE

NULL

VARCHAR2 (8)

60

CURRENCYCODE

NULL

VARCHAR2 (8)

70

CURRENCYUNIT

NULL

VARCHAR2 (16)

80

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_COUNTRIES

COUNTRYID

Column Detail
10

COUNTRYID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

COUNTRYNAME
Optional ? :Yes ; Varchar2 (50) ;() ;

; Uppercase ? :No ;

Name
30

DIALCODE
Optional ? :Yes ; Varchar2 (10) ;() ;

; Uppercase ? :No ;

Dial code, may not be used yet.


40

ACTIVECOUNTRY
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

If zero, does not appear in choices


50

COUNTRYCODE
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

50 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
60

CURRENCYCODE
Optional ? :Yes ; Varchar2 (8) ;() ;

70

; Uppercase ? :No ;

CURRENCYUNIT
Optional ? :Yes ; Varchar2 (16) ;() ;

80

; Uppercase ? :No ;

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page

51 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : DATE_LOOKUP

Table Name : DATE_LOOKUP

Description :

Utility table used to improve performance of date lookup in store


source export query.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? Yes

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PLANNING_HORIZON

NOT NULL

NUMBER (3)

20

LOOKUP

NOT NULL

DATE

30

DAY_OF_WEEK

NOT NULL

NUMBER (1)

Primary Key
Name

Column

PK_DATE_LOOKUP

PLANNING_HORIZON
LOOKUP
DAY_OF_WEEK

Column Detail
10

PLANNING_HORIZON
Optional ? :No ; Number (3) ;() ;

; Uppercase ? :No ;

This is the distinct planning horizon in number of days


20

LOOKUP
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

The lookup dates for each planning horizon value.


30

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Day of week of the lookup date

Oracle Designer Report : cktci

14 May

2008

Page

52 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DGR
Display Title :

Table Name : DELIVERY_GROUP

Description :

This table contains all delivery groups. A delivery group is a


grouping of a source's products that use the same truck building and
delivery constraints to deliver an order.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

DELIVERY_GROUP_CODE

NOT NULL

VARCHAR2 (20)

30

DELIVERY_GROUP_NAME

NULL

VARCHAR2 (64)

40

DELIVERY_GROUP_TYPE

NOT NULL

NUMBER (1)

50

TIER

NOT NULL

NUMBER (1)

60

SUPPLY_SOURCE_LOCATION_ID

NULL

NUMBER (12)

70

SUPPLIER_ID

NULL

NUMBER (12)

80

STOCKING_POINT_ID

NULL

NUMBER (12)

82

AUTOMATION_IND

NOT NULL

VARCHAR2 (1)

85

GENERATION_METHOD

NOT NULL

NUMBER (1)

90

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_DELIVERY_GROUP

DELIVERY_GROUP_ID

Other Unique Keys


Name

Column

UK_DELIVERY_GROUP

DELIVERY_GROUP_CODE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

53 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
DGR_SLN_FK
SUPPLY_SOURCE_LOCATION_ID references
SUPPLY_SOURCE_LOCATION.SUPPLY_SOURCE_LOCATION_ID
Update Rule : Restricted
Transferable ? Yes
No
Delete Rule : Cascades
Mandatory ?
DGR_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Update Rule : Restricted
Transferable ? Yes
No
Delete Rule : Cascades
Mandatory ?
DGR_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
No
Mandatory ?

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_DELIVERY_GROUP_AUTO_IND

AUTOMATION_IND in ('Y','N')

CHK_DELIVERY_GROUP_DG_TYPE

delivery_group_type IN (0, 1)

CHK_DELIVERY_GROUP_GEN_METHOD

GENERATION_METHOD in (0,1)

CHK_DELIVERY_GROUP_TIER

TIER = (1)

Index Summary
Name

Seq.

Column

Index Type

DELIVERY_GROUP_I1

10

STOCKING_POINT_ID

NOT UNIQUE

DELIVERY_GROUP_I2

10

SUPPLIER_ID

NOT UNIQUE

DELIVERY_GROUP_I3

10

SUPPLY_SOURCE_LOCATION_ID

NOT UNIQUE

Column Detail

Contains the code of a delivery group.


30

DELIVERY_GROUP_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of a delivery group.


40

DELIVERY_GROUP_TYPE
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

54 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the type of a delivery group, 0 for Contents, 1 for Non-contents.


currently only supports Non-contents delivery groups.
50

TIER
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains the number to identify the warehouse tier of a delivery group.


field will always contain 1 for the 1st-tier.
60

AIP

This

SUPPLY_SOURCE_LOCATION_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a supply source location.


70

SUPPLIER_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier. The population of the


SUPPLIER_ID and STOCKING_POINT_ID are mutually exclusive. This means that
only one of the fields can be populated at a time. When the AUTOMATION_IND is
'Y' this field is used to identify the supplier-source whose SKU-pack's Demand
Groups should be automatically assigned to this delivery group.
80

STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse. The population of the STOCKING_POINT_ID and SUPPLIER_ID are
mutually exclusive. This means that only one of the fields can be populated at
a time. When the AUTOMATION_IND is 'Y' this field is used to identify the
warehouse-source whose SKU-pack's Demand Groups should be automatically
assigned to this delivery group.
82

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

; Uppercase ? :No ;

Indicates whether the assignment of Demand Groups will be automated for this
delivery group. Valid values are 'Y' and 'N'. The user may manually assign
Demand Groups regardless of the value of this field.
85

GENERATION_METHOD
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ; Default Value :1 ;

A value of '0' indicates the delivery group was automatically system generated
and a '1' indicates a user generated delivery group.
90

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

55 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : DELIVERY_GROUP_BATCH_RUN

Description :

Alias
: DGB
Display Title :

This table holds all delivery group batch run exceptions. AIP does
not currently support more than a single batch run. Therefore no
exceptions are applicable.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

BATCH_RUN_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DELIVERY_GROUP_BATCH_RUN

DELIVERY_GROUP_ID
BATCH_RUN_ID
START_DATE
END_DATE

Foreign Keys
DGB_BAR_FK
BATCH_RUN_ID references
Transferable ? Yes
Mandatory ?
Yes

BATCH_RUN.BATCH_RUN_ID
Update Rule : Restricted
Delete Rule : Cascades

DGB_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Name
DELIVERY_GROUP_BATCH_RUN_I1

Seq.
10

Column

Index Type

BATCH_RUN_ID

NOT UNIQUE

Oracle Designer Report : cktci

14 May

2008

Page

56 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

BATCH_RUN_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a batch run.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

57 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : DELIVERY_GROUP_RELEASE_RUN

Description :

Alias
: DGN
Display Title :

This table holds all delivery release run exceptions. AIP does not
currently support more than a single release run. All into-warehouse
Purchase Orders and Transfers are released in a single morning batch
run.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

RELEASE_RUN_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DELIVERY_GROUP_RELEASE_R

DELIVERY_GROUP_ID
RELEASE_RUN_ID
START_DATE
END_DATE

Foreign Keys
DGN_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DGN_RER_FK
RELEASE_RUN_ID references
Transferable ? Yes
Mandatory ?
Yes

RELEASE_RUN.RELEASE_RUN_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

58 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

DELIVERY_GROUP_RELEASE_RUN_I1

10

Column

Index Type

RELEASE_RUN_ID

NOT UNIQUE

Column Detail

Contains the number to uniquely identify a delivery group.


20

RELEASE_RUN_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a release run.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

59 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DGS
Display Title :

Table Name : DELIVERY_GROUP_SCOPE

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

USER_ID

NOT NULL

NUMBER ()

30

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DELIVERY_GROUP_SCOPE

DELIVERY_GROUP_ID
USER_ID

Foreign Keys
DGS_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

20

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

30

; Uppercase ? :No ;

; Uppercase ? :No ;

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

60 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : DELIVERY_PATTERN_DELIVERY

Description :

Alias
: DPD
Display Title :

This table holds the day-of-week default delivery patterns for Delivey
Groups. A delivery pattern defines the days which are valid for
receiving deliveries (shipments) at the destination warehouse-chamber.
The delivery pattern is applied to the warehouse schedule which
indicates the days that the warehouse can be replenished with a SKUpack size from a particular source.
Delivery Patterns are applied to warehouse schedules via the Delivery
Group Demand Group Assignment currently effective on the schedule
date.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

DAY_OF_WEEK

NOT NULL

NUMBER (1)

60

IS_DELIVERY

NOT NULL

VARCHAR2 (1)

70

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DELIVERY_PATTERN_DELIVER

DELIVERY_GROUP_ID
STOCKING_POINT_ID
START_DATE
END_DATE
DAY_OF_WEEK

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

61 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
DPD_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DPD_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_DEL_PATTERN_DEL_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

CHK_DEL_PATTERN_DEL_IS_DEL

is_delivery IN ('Y', 'N')

Index Summary
Name

Seq.

Column

Index Type

DELIVERY_PATTERN_DELIVERY_I1

10

STOCKING_POINT_ID

NOT UNIQUE

DELIVERY_PATTERN_DELIVERY_I2

TIMESTAMP

NOT UNIQUE

Column Detail

Contains the number to uniquely identify a stocking point, which must be a


Warehouse-chamber.
30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the date that the delivery pattern becomes effective.


40

END_DATE
Optional ? :No ; Date ;() ;
Contains an end date.

50

; Uppercase ? :No ;

This is always system high date.

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
60

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

; Uppercase ? :No ;

Indicates if it is valid to receive deliveries on the day-of-week.


values are 'Y' - yes and 'N'-no.
Oracle Designer Report : cktci

Valid

14 May

2008

Page

62 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
70

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

63 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DPX
Display Title :

Table Name :
DELIVERY_PATTERN_DELIVERY_EXC

Description :

This table holds the delivery pattern exceptions for delivery groups.
A delivery pattern defines the days which are valid for receiving
deliveries (shipments) at the destination warehouse-chamber. The
delivery pattern is applied to the warehouse schedule which indicates
the days that the warehouse can be replenished with a SKU-pack size
from a particular source. Delivery Pattern Exceptions, when defined
for the schedule date, are used in place of the Delivery Pattern Dayof-Week Default.
Delivery Patterns are applied to warehouse schedules via the Delivery
Group Demand Group Assignment currently effective on the schedule
date.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

EXCEPTION_DATE

NOT NULL

DATE

40

IS_DELIVERY

NOT NULL

VARCHAR2 (1)

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DEL_PATTERN_DEL_EXC

DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


Warehouse-chamber.

Oracle Designer Report : cktci

14 May

2008

Page

64 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
DPX_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DPX_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_DEL_PATTERN_DEL_EXC_IS_DEL

is_delivery IN ('Y', 'N')

Index Summary
Seq.

Name

10

DEL_PATTERN_DEL_EXC_I1

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
30

EXCEPTION_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the date that the exception should be applied to override the Day-ofweek default.
40

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

; Uppercase ? :No ;

Indicates if it is valid to receive deliveries on the exception date.


values are 'Y' - yes and 'N'-no.
50

Valid

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

65 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : DELIVERY_PATTERN_LEAD_TIME

Description :

Alias
: DLT
Display Title :

This table holds the day-of-week default transport lead time for
delivey groups. Transport lead times are an optional component in
Delivery Groups that enables you to confirm a vehicle delivery date a
specified number of days prior to the delivery date. This number of
days (lead time) is usually greater than the normal product lead time
defined by the Order Cycle Lead Time.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

DAY_OF_WEEK

NOT NULL

NUMBER (1)

60

TRANSPORT_LEAD_TIME

NULL

NUMBER (3)

70

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DELIVERY_PATTERN_LEAD_TI

DELIVERY_GROUP_ID
STOCKING_POINT_ID
START_DATE
END_DATE
DAY_OF_WEEK

Foreign Keys
DLT_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DLT_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades

Oracle Designer Report : cktci

14 May

2008

Page

66 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_DEL_PATTERN_LEAD_TIME_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

Index Summary
Name

Seq.

DELIVERY_PATTERN_LEAD_TIME_I1

10

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


Warehouse-chamber.
30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the date that the transport lead time becomes effective.
40

END_DATE
Optional ? :No ; Date ;() ;
Contains an end date.

50

; Uppercase ? :No ;

This is always system high date.

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
60

TRANSPORT_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of days before delivery that the vehicle should be
committed.
70

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

67 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DLX
Display Title :

Table Name :
DELIVERY_PATTERN_LEAD_TIME_EXC

Description :

This table holds the transport lead time exceptions for delivey
groups. Transport lead times are an optional component in Delivery
Groups that enables you to confirm a vehicle delivery date a specified
number of days prior to the delivery date. This number of days (lead
time) is usually greater than the normal product lead time defined by
the Order Cycle Lead Time. The transport lead time exceptions, when
defined for a delivery date, are used in place of the transport lead
time day-of-week default (DELIVERY_PATTERN_LEAD_TIME).

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

EXCEPTION_DATE

NOT NULL

DATE

40

TRANSPORT_LEAD_TIME

NULL

NUMBER (3)

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DELIVERY_PATTERN_LEAD_TIME

DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE

Foreign Keys
DLX_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DLX_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail

Oracle Designer Report : cktci

14 May

2008

Page

68 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Seq.

Name

10

DEL_PATTERN_LEAD_TIME_EXC_I1

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


Warehouse-chamber.
30

EXCEPTION_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the delivery date that the exception should be applied to override the
day-of-week default.
40

TRANSPORT_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the exception transport lead time. The exception transport lead time
defines the number of days prior to delivery that the vehicle should be
commited. When an exception is defined for a particular delivery date it will
always take precedence over the day-of-week default.
50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

69 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : DELIVERY_UNIT

Description :

Alias
: DEU
Display Title :

Orders are broken down into delivery units. This represents the
smallest part of an
order that must be kept together when placing them on a truck during
the WIP load building
process.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_UNIT_ID

NOT NULL

NUMBER (12)

20

VEHICLE_ID

NOT NULL

NUMBER (12)

30

SUPPLIER_ID

NOT NULL

NUMBER (10)

40

COMMODITY_ID

NOT NULL

NUMBER (8)

50

PACK_SIZE

NOT NULL

NUMBER (4)

60

SUP_PERF_QTY

NULL

NUMBER (8)

70

FPE

NULL

NUMBER ()

80

WEIGHT

NULL

NUMBER ()

90

ADR

NULL

NUMBER (2)

100

QUANTITY

NOT NULL

NUMBER (8)

110

PRIORITY

NOT NULL

NUMBER ()

120

IDEAL_DELIVERY_DATE

NULL

DATE

130

CONFIRMATION_DATE

NULL

DATE

140

COLLECTION_DATE

NULL

DATE

150

COMMUNICATION_STATUS

NULL

NUMBER (2)

160

RELEASE_DATE

NULL

DATE

170

RELEASE_RUN_ID

NULL

NUMBER (12)

180

GENERATION_METHOD

NOT NULL

NUMBER (1)

190

IS_STOCKLESS

NOT NULL

VARCHAR2 (1)

200

KEEP_TOGETHER_GROUP_ID

NULL

NUMBER (12)

210

PALLET_MULTIPLE

NULL

NUMBER (8)

220

ORDER_MULTIPLE

NULL

NUMBER (8)

230

CASE_WEIGHT

NULL

NUMBER (6, 2)

240

STACKING_FLAG

NULL

NUMBER (1)

250

TIMESTAMP

NOT NULL

NUMBER ()

Oracle Designer Report : cktci

14 May

2008

Page

Table Definition
Container :

AIP 13.0

Version :

Primary Key
Name

Column

PK_DELIVERY_UNIT

DELIVERY_UNIT_ID

Foreign Keys
DEU_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

DEU_KTG_FK
KEEP_TOGETHER_GROUP_ID references
KEEP_TOGETHER_GROUP.KEEP_TOGETHER_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Delete Rule : Cascades
No
DEU_RER_FK
RELEASE_RUN_ID references
Transferable ? Yes
Mandatory ?
No

RELEASE_RUN.RELEASE_RUN_ID
Update Rule : Restricted
Delete Rule : Cascades

DEU_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

DEU_VEH_FK
VEHICLE_ID references
Transferable ? Yes
Mandatory ?
Yes

VEHICLE.VEHICLE_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_DELIVERY_UNIT_GEN_METHOD

generation_method IN (0, 1)

CHK_DELIVERY_UNIT_IS_STOCKLESS

is_stockless IN ('Y', 'N')

CHK_DELIVERY_UNIT_STACK_FLAG

stacking_flag IN (0, 1, 2)

Column Detail
10

DELIVERY_UNIT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery unit.


20

VEHICLE_ID

Oracle Designer Report : cktci

70 of 509

14 May

2008

Page

71 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Seq.

Name

Column

Index Type

DELIVERY_UNIT_I1

10

COMMODITY_ID

NOT UNIQUE

DELIVERY_UNIT_I1

20

PACK_SIZE

NOT UNIQUE

DELIVERY_UNIT_I2

10

SUPPLIER_ID

NOT UNIQUE

DELIVERY_UNIT_I2

20

COMMODITY_ID

NOT UNIQUE

DELIVERY_UNIT_I2

30

PACK_SIZE

NOT UNIQUE

DELIVERY_UNIT_I3

10

VEHICLE_ID

NOT UNIQUE

DELIVERY_UNIT_I4

10

KEEP_TOGETHER_GROUP_ID

NOT UNIQUE

DELIVERY_UNIT_I5

10

RELEASE_RUN_ID

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a vehicle.


30

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

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


40

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


50

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


60

SUP_PERF_QTY
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the performance of the supplier of a delivery unit.


70

FPE
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Contains the number of full pallet equivalent (fpe).


80

WEIGHT
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Contains the number of weight of a delivery unit.


90

ADR
Optional ? :Yes ; Number (2) ;() ;

; Uppercase ? :No ;

Contains the number of advanced delivery range (adr).


100

QUANTITY

Oracle Designer Report : cktci

14 May

2008

Page

72 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Contains the number of quantity of a delivery unit.


110

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

; Uppercase ? :No ;

Contains the number of priority.


120

IDEAL_DELIVERY_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains ideal delivery date.


130

CONFIRMATION_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains confirmation date.


140

COLLECTION_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains collection date.


150

COMMUNICATION_STATUS
Optional ? :Yes ; Number (2) ;() ;

; Uppercase ? :No ;

Contains communication status.


160

RELEASE_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains release date.


170

RELEASE_RUN_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a release run.


180

GENERATION_METHOD
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains the number of how this delivery unit is generated, 0 for system
generated and 1 for manual generated.
190

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

; Uppercase ? :No ;

Indicates if this delivery unit is stockless.


200

KEEP_TOGETHER_GROUP_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a keep together group.


210

PALLET_MULTIPLE
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the integer of pallet multiple. This columnn is introduced due to


performance reaason and it should be populated when a delivery unit is imported
or created.

Oracle Designer Report : cktci

14 May

2008

Page

73 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
220

ORDER_MULTIPLE
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the integer of order multiple. This columnn is introduced due to


performance reaason and it should be populated when a delivery unit is imported
or created.
230

CASE_WEIGHT
Optional ? :Yes ; Number (6, 2) ;() ;

; Uppercase ? :No ;

Contains the float of case weight. This columnn is introduced due to


performance reaason and it should be populated when a delivery unit is imported
or created.
240

STACKING_FLAG
Optional ? :Yes ; Number (1) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Contains the number of stacking flag, 0 for Yes and NA, 1 for Same, 2 for for
NO. The default value is 0. This columnn is introduced due to performance
reaason and it should be populated when a delivery unit is imported or created.
250

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

74 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DGP
Display Title :

Table Name : DEMAND_GROUP

Description :

A demand group is a collection of SKU-pack sizes grouped together for


the purposes of a
replenishment calculation. All SKU-pack sizes are automatically
assigned to one and only one demand group when first introduced into
AIP. A user may manullay move a SKU-pack size from one demand group
to another demand group using the DM Online application.
A demand group may contain more than one 'standard' SKU as long as
only one 'standard' SKU is not discontinued. A demand group may also
contain all of a 'standard' SKU's children.
A child SKu-pack size
must be assigned to a demand group that contains its parent.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEMAND_GROUP_ID

NOT NULL

NUMBER (9)

20

DEMAND_GROUP_NAME

NOT NULL

VARCHAR2 (32)

30

DEMAND_GROUP_CODE

NOT NULL

VARCHAR2 (20)

40

DEMAND_GROUP_TYPE

NOT NULL

NUMBER (1)

50

DEMAND_GROUP_SIZE

NOT NULL

NUMBER (1)

60

COMMODITY_GROUP_2_ID

NULL

NUMBER (8)

70

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DEMAND_GROUP

DEMAND_GROUP_ID

Other Unique Keys


Name

Column

UK_DEMAND_GROUP

DEMAND_GROUP_CODE

Column Detail
10

DEMAND_GROUP_ID
Optional ? :No ; Number (9) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group.

Oracle Designer Report : cktci

14 May

2008

Page

75 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
DGP_CGP_FK
COMMODITY_GROUP_2_ID references
COMMODITY_GROUP_2.COMMODITY_GROUP_2_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
No
Delete Rule : Cascades
Index Summary
Name

Seq.

DEMAND_GROUP_I1

10

Column

Index Type

COMMODITY_GROUP_2_ID

NOT UNIQUE

Column Detail
20

DEMAND_GROUP_NAME
Optional ? :No ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Contains the name of a demand group.


30

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

; Uppercase ? :No ;

Contains the code of a demand group.


40

DEMAND_GROUP_TYPE
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains the type of a demand group, 0 for Case, 1 for Merchandising Unit.
This field is combined with the DEMAND_GROUP_SIZE to produce the Demand Group
Specifier that is used for substitution of SKU-pack sizes during replenishment.
50

DEMAND_GROUP_SIZE
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains the size of a demand group, 1 for small, 2 for medium, 3 for large and
4 for extra large. This field is combined with the DEMAND_GROUP_TYPE to
produce the Demand Group Specifier that is used for substitution of SKU-pack
sizes during replenishment.
60

COMMODITY_GROUP_2_ID
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity group 2.


70

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

76 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DPT
Display Title :

Table Name : DEPARTMENTS

Description :

The DEPARTMENTS table is also part of the product hierarchy used by


AIP. It is used to do three functions.
The first is to store
information that is held at this level. An example is default store
ordering pack size. The second is to be used as a filter for on-line
searches. In this respect a User can select a particular department
to constraint a subsequent selection of either demand groups or SKUs
or SKU pack sizes as the screen requires. The third function is an
admin function. When a User is given a logon and password, that logon
can be limited to or given a subset of departments that the User is
allowed to work on.
It is important to note that AIP on-line Departments represent RMS
Classes and do NOT represent RMS Departments. AIP departments are
always labeled as classes in AIP online when shown to the user.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEPARTMENTID

NOT NULL

NUMBER (12)

20

DEPARTMENTNAME

NOT NULL

VARCHAR2 (60)

30

DEPARTMENTNUMBER

NOT NULL

VARCHAR2 (20)

40

DIVISIONID

NULL

NUMBER (38)

50

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_DEPARTMENTS

DEPARTMENTID

Column Detail
10

DEPARTMENTID
Optional ? :No ; Number (12) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

DEPARTMENTNAME
Optional ? :No ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

Contains the name of a department, which corresponds to the name of the RMS
class.
30

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

77 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the number or code of a department, which corresponds to the number or


code of the RMS class. Because RMS Classes are only unique by department,
Classes are made unique in AIP by concatinating the RMS Department and RMS
Class (dept_class)
40

DIVISIONID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Contains the number or code of a division, which corresponds to the number or


code of the RMS Group.
50

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

The unique ID assigned to the lookup_code = 'aiponline' in WT_ENTERPRISES.

Oracle Designer Report : cktci

14 May

2008

Page

78 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DPP
Display Title :

Table Name : DEPARTMENT_PROFILE

Description :

This table holds the default profile that SKUs belong to a


class(department) should be automatically assigned to when the correct
warehouse profile cannot be determined.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEPARTMENT_ID

NOT NULL

NUMBER ()

20

PROFILE_ID

NOT NULL

NUMBER (12)

30

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DEPARTMENT_PROFILE

DEPARTMENT_ID
PROFILE_ID

Foreign Keys
DPP_PRO_FK
PROFILE_ID references
Transferable ? Yes
Mandatory ?
Yes

PROFILE.PROFILE_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Name

Seq.

DEPARTMENT_PROFILE_I1

10

Column

Index Type

PROFILE_ID

NOT UNIQUE

Column Detail
10

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

; Uppercase ? :No ;

Contains the number to uniquely identify a row in the DEPARTMENTS table.


20

PROFILE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

79 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the number to uniquely identify a profile.


30

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

80 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DRR
Display Title :

Table Name : DEPARTMENT_RELEASE_RUN

Description :

This table holds non-contents class (department) release run


assignments. AIP currenently only supports a single release run. All
Purchase Orders and Transfers which have a release date of today are
released in a single morning batch release run.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEPARTMENT_ID

NOT NULL

NUMBER ()

20

RELEASE_RUN_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DEPARTMENT_RELEASE_RUN

DEPARTMENT_ID
RELEASE_RUN_ID
START_DATE
END_DATE

Foreign Keys
DRR_RER_FK
RELEASE_RUN_ID references
Transferable ? Yes
Mandatory ?
Yes

RELEASE_RUN.RELEASE_RUN_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Seq.

Name
DEPARTMENT_RELEASE_RUN_I1

10

Column

Index Type

RELEASE_RUN_ID

NOT UNIQUE

Column Detail
10

DEPARTMENT_ID

Oracle Designer Report : cktci

14 May

2008

Page

81 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a department.


20

RELEASE_RUN_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a release run.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

82 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DSE
Display Title : Department Scope

Table Name : DEPARTMENT_SCOPE

Description :

This table contains the department (class) scopes of AIP Online users.
It is populated by DEPARTMENT_SCOPE_TRIGGER automatically.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEPARTMENT_ID

NOT NULL

NUMBER (38)

20

USER_ID

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_DEPARTMENT_SCOPE

DEPARTMENT_ID
USER_ID

Foreign Keys
DSE_DPT_FK
DEPARTMENT_ID references
Transferable ? Yes
Mandatory ?
Yes

DEPARTMENTS.DEPARTMENTID
Update Rule : Restricted
Delete Rule : Cascades

DSE_EUS_FK
USER_ID references
Transferable ? Yes
Mandatory ?
Yes

ENT_USERS.USER_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Seq.

Name
DEPARTMENT_SCOPE_I1

10

Column

Index Type

USER_ID

NOT UNIQUE

Column Detail
10

DEPARTMENT_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a department.


Oracle Designer Report : cktci

14 May

2008

Page

Table Definition
Container :

AIP 13.0

Version :

Column Detail
20

USER_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify an AIP Online user.

Oracle Designer Report : cktci

83 of 509

14 May

2008

Page

84 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DSF
Display Title :

Table Name :
DIRECT_STORE_FORMAT_PACK_SIZE

Description :

This table holds the default supplier-to-store ordering pack-size.


The Direct Supplier/Store Format/SKU-pack size identifies the default
pack-size of a SKU that should ordered from a supplier to meet the
replenishment needs for the stores matching the store format. An
exception pack-size, when defined, will always be used in place of the
default value.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_FORMAT_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

SUPPLIER_ID

NOT NULL

NUMBER (12)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

70

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DIRECT_STORE_FORMAT_PACK

STORE_FORMAT_ID
COMMODITY_ID
SUPPLIER_ID
START_DATE
END_DATE

Column Detail
10

STORE_FORMAT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store format.


20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page

85 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
DSF_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

DSF_SFO_FK
STORE_FORMAT_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE_FORMAT.STORE_FORMAT_ID
Update Rule : Restricted
Delete Rule : Restricted

DSF_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Name

Seq.

Column

Index Type

DIRECT_STORE_FOR_PACK_SIZE_I1

10

COMMODITY_ID

NOT UNIQUE

DIRECT_STORE_FOR_PACK_SIZE_I2

10

SUPPLIER_ID

NOT UNIQUE

DIRECT_STORE_FOR_PACK_SIZE_I3

TIMESTAMP

NOT UNIQUE

Column Detail

Contains the pack size of a commodity.


40

SUPPLIER_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


50

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date. The start date is the first delivery date that the pack
size should be applied as the default ordering pack size. The ordering pack
size is effective indefinitely, or until a new value with a later start date is
defined.
60

END_DATE
Optional ? :No ; Date ;() ;
Contains an end date.

70

; Uppercase ? :No ;

This is always system high date

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

86 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DSP
Display Title :

Table Name : DIRECT_STORE_PACK_SIZE

Description :

This table holds exception supplier-to-store ordering pack-size. The


Direct Supplier/Store/SKU-pack size identifies the pack-size of a SKU
that should ordered from a supplier to meet the replenishment needs
for a particular store. The exception pack size, when defined, will
always be used in place of the default.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

SUPPLIER_ID

NOT NULL

NUMBER (12)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

70

TIMESTAMP

NOT NULL

NUMBER ()

80

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_DIRECT_STORE_PACK_SIZE

STORE_ID
COMMODITY_ID
PACK_SIZE
SUPPLIER_ID
START_DATE
END_DATE

Column Detail
10

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

PACK_SIZE

Oracle Designer Report : cktci

14 May

2008

Page

87 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
DSP_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

DSP_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

DSP_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_DIRECT_STORE_PK_SIZE_IS_DE

is_deleted IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

DIRECT_STORE_PACK_SIZE_I1

10

COMMODITY_ID

NOT UNIQUE

DIRECT_STORE_PACK_SIZE_I2

10

SUPPLIER_ID

NOT UNIQUE

DIRECT_STORE_PACK_SIZE_I3

TIMESTAMP

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the pack size of a commodity.


40

SUPPLIER_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


50

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date. The start date is the first delivery date that the
exception pack size should be applied as the ordering pack size. The ordering
pack size is effective until the end date (inclusive). The exception is not
valid and must not be used if is_deleted = 'Y'.
Oracle Designer Report : cktci

14 May

2008

Page

88 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
60

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

The end date is the last delivery date that the exception pack size should be
applied as the ordering pack size (inclusive). The exception is not valid and
must not be used if is_deleted = 'Y'.
70

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
80

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if this record has been deleted.

Oracle Designer Report : cktci

14 May

2008

Page

89 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DIV
Display Title :

Table Name : DIVISIONS

Description :

Holds all Divisions.


the RMS Group.

Division corresponds to the number or code of

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DIVISIONID

NOT NULL

NUMBER (38)

20

DIVISIONNAME

NULL

VARCHAR2 (50)

30

DIVISIONNUMBER

NULL

VARCHAR2 (50)

40

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_DIVISIONS

DIVISIONID

Column Detail
10

DIVISIONID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

DIVISIONNAME
Optional ? :Yes ; Varchar2 (50) ;() ;

30

; Uppercase ? :No ;

DIVISIONNUMBER
Optional ? :Yes ; Varchar2 (50) ;() ;

40

; Uppercase ? :No ;

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

The unique ID assigned to the lookup_code = 'aiponline' in WT_ENTERPRISES.

Oracle Designer Report : cktci

14 May

2008

Page

90 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DDA
Display Title :

Table Name : DLG_DMG_ASSIGNMENT

Description :

This table holds demand groups assigned to delivery groups.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

SOURCE_ID

NOT NULL

NUMBER (12)

25

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

30

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

40

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

70

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DLG_DMG_ASSIGNMENT

SOURCE_ID
SOURCE_TYPE
DEMAND_GROUP_ID
STOCKING_POINT_ID
START_DATE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ; Default Value :0 ;

The surrogate key used to identify the warehouse or supplier that is acting as
the source for an order at a given point in time.
25

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

; Uppercase ? :No ; Default Value :V ;

Contains the source type, where 'V' = Vendor (synonymous with Supplier) and 'W'
= Warehouse.

Oracle Designer Report : cktci

14 May

2008

Page

91 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
DDA_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

DDA_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DDA_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_DLG_DMG_ASSIG_SOURCE_TYPE

SOURCE_TYPE in ('V','W')

Index Summary
Seq.

Name

Column

Index Type

DLG_DMG_ASSIGNMENT_I1

10

DEMAND_GROUP_ID

NOT UNIQUE

DLG_DMG_ASSIGNMENT_I1

20

SOURCE_TYPE

NOT UNIQUE

DLG_DMG_ASSIGNMENT_I1

30

STOCKING_POINT_ID

NOT UNIQUE

DLG_DMG_ASSIGNMENT_I2

10

START_DATE

NOT UNIQUE

DLG_DMG_ASSIGNMENT_I2

20

END_DATE

NOT UNIQUE

DLG_DMG_ASSIGNMENT_I3

10

STOCKING_POINT_ID

NOT UNIQUE

DLG_DMG_ASSIGNMENT_I5

TIMESTAMP

NOT UNIQUE

Column Detail
30

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group.


40

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


Oracle Designer Report : cktci

14 May

2008

Page

92 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Warehouse-chamber.
50

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date. This is the first delivery date that the delivery group
assignment is effective for the delivery group. On this date all vehicle
attributes of the delivery group will also be applied to the truck building
constraints for orders from the delivery group assignment's source/demand
group/destination.
60

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date. This is the last date that the delivery group assignment
is effective. This value is updated when the source/demand group/destination
is assigned to a new delivery group.
70

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

93 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DOC
Display Title :

Table Name : DLG_OUTBOUND_CAPACITY

Description :

Outbound capacities define the default number of vehicle deliveries a


delivery group can make on any given day-of-week. When an exception
is defined it will always be used in place of the default capacity.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

START_DATE

NOT NULL

DATE

30

END_DATE

NOT NULL

DATE

40

DAY_OF_WEEK

NOT NULL

NUMBER (1)

50

NUMBER_OF_DELIVERY

NULL

NUMBER (4)

60

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DLG_OUTBOUND_CAPACITY

DELIVERY_GROUP_ID
START_DATE
END_DATE
DAY_OF_WEEK

Foreign Keys
DOC_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_DLG_OUTBOUND_CAPACITY_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

Column Detail
10

DELIVERY_GROUP_ID

Oracle Designer Report : cktci

14 May

2008

Page

94 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date. This is the first delivery date that the outbound
capacity can be applied. The capacities are effective indefinitely or until
new settings are defined with a later start date.
30

END_DATE
Optional ? :No ; Date ;() ;
Contains an end date.

40

; Uppercase ? :No ;

This is always system high date.

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
50

NUMBER_OF_DELIVERY
Optional ? :Yes ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the number of vehicle deliveries a delivery group can make.


60

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

95 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : DLG_OUTBOUND_CAPACITY_EXC

Description :

Alias
: DOX
Display Title :

Outbound capacities define the number of vehicle deliveries a delivery


group can make on any given date. When an exception is defined it
will always be used in place of the default capacity.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

EXCEPTION_DATE

NOT NULL

DATE

30

NUMBER_OF_DELIVERY

NULL

NUMBER (4)

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DLG_OUTBOUND_CAPACITY_EX

DELIVERY_GROUP_ID
EXCEPTION_DATE

Foreign Keys
DOX_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

EXCEPTION_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the delivery date that the exception is effective.


30

NUMBER_OF_DELIVERY
Optional ? :Yes ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the number of vehicle deliveries a delivery group can make.

Oracle Designer Report : cktci

14 May

2008

Page

96 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
40

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

97 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DPS
Display Title :

Table Name : DLG_PALLET_SETTING

Description :

This table holds truck building pallet constraints used when load
building orders for the delivery group.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

USE_PALLET_WEIGHT

NULL

VARCHAR2 (1)

40

USE_PALLET_HEIGHT

NULL

VARCHAR2 (1)

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DLG_PALLET_SETTING

DELIVERY_GROUP_ID
STOCKING_POINT_ID

Foreign Keys
DPS_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DPS_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_DLG_PALLET_SETTING_HEIGHT

use_pallet_height IN ('Y', 'N')

CHK_DLG_PALLET_SETTING_WEIGHT

use_pallet_weight IN ('Y', 'N')

Oracle Designer Report : cktci

14 May

2008

Page

98 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

DLG_PALLET_SETTING_I1

10

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


Warehouse-chamber.
30

USE_PALLET_WEIGHT
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

This setting indicates whether an additional weight value (globally set) should
be added to the vehicle load when a Delivery Unit is placed on a vehicle.
Valid values are 'Y' - yes, or 'N' - no.
40

USE_PALLET_HEIGHT
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

This setting indicates whether an additional FPE height value (that is globally
set) should be added to the vehicle load when a Delivery Unit is placed on a
vehicle.
50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page

99 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DLR
Display Title :

Table Name : DLG_RECIPIENT

Description :

AIP does not currently support delivery group recipients

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

SUPPLY_SOURCE_LOCATION_ID

NOT NULL

NUMBER (12)

30

IS_BOOKING_ONLY

NOT NULL

VARCHAR2 (1)

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DLG_RECIPIENT

DELIVERY_GROUP_ID
SUPPLY_SOURCE_LOCATION_ID

Foreign Keys
DLR_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Update Rule : Restricted
Transferable ? Yes
Mandatory ?
Yes
Delete Rule : Cascades
DLR_SLN_FK
SUPPLY_SOURCE_LOCATION_ID references
SUPPLY_SOURCE_LOCATION.SUPPLY_SOURCE_LOCATION_ID
Update Rule : Restricted
Transferable ? Yes
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_DLG_RECIPIENT_IS_BOOK_ONLY

is_booking_only IN ('Y', 'N')

Column Detail
10

DELIVERY_GROUP_ID
Oracle Designer Report : cktci

14 May

2008

Page 100 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

DLG_RECIPIENT_I1

10

Column

Index Type

SUPPLY_SOURCE_LOCATION_ID

NOT UNIQUE

Column Detail

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


20

; Uppercase ? :No ;

SUPPLY_SOURCE_LOCATION_ID
Optional ? :No ; Number (12) ;() ;

30

; Uppercase ? :No ;

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

40

; Uppercase ? :No ;

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 101 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DSL
Display Title :

Table Name : DLG_SCHEDULING_LOCATION

Description :

This table holds scheduling locations (warehouse-chambers) that are


valid destinations for the delivery group.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

IS_BONDED

NULL

VARCHAR2 (1)

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DLG_SCHEDULING_LOCATION

DELIVERY_GROUP_ID
STOCKING_POINT_ID

Foreign Keys
DSL_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DSL_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_DLG_SCHED_LOC_IS_BONDED

is_bonded IN ('Y', 'N')

Column Detail
10

DELIVERY_GROUP_ID
Oracle Designer Report : cktci

14 May

2008

Page 102 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

DLG_SCHEDULING_LOCATION_I1

10

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse-chamber.
30

IS_BONDED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Used in vehicle search, but maintained nowhere, should be dropped.


40

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 103 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DSR
Display Title :

Table Name : DLG_SUPPLIER_RECIPIENT

Description :

AIP does not currently support Supplier Recipients

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

SUPPLY_SOURCE_LOCATION_ID

NOT NULL

NUMBER (12)

30

SENT_TO_SUPPLIER

NULL

VARCHAR2 (1)

40

SENT_TO_DELIVERY_GROUP

NULL

VARCHAR2 (1)

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DLG_SUPPLIER_RECIPIENT

DELIVERY_GROUP_ID
SUPPLY_SOURCE_LOCATION_ID

Foreign Keys
DSR_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DSR_SLN_FK
SUPPLY_SOURCE_LOCATION_ID references
SUPPLY_SOURCE_LOCATION.SUPPLY_SOURCE_LOCATION_ID
Update Rule : Restricted
Transferable ? Yes
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_DLG_SPLR_RECP_SENT_TO_DG

sent_to_delivery_group IN ('Y', 'N')

CHK_DLG_SPLR_RECP_SENT_TO_SPLR

sent_to_supplier IN ('Y', 'N')

Oracle Designer Report : cktci

14 May

2008

Page 104 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Seq.

Name
DLG_SUPPLIER_RECIPIENT_I1

10

Column

Index Type

SUPPLY_SOURCE_LOCATION_ID

NOT UNIQUE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

20

; Uppercase ? :No ;

SUPPLY_SOURCE_LOCATION_ID
Optional ? :No ; Number (12) ;() ;

30

; Uppercase ? :No ;

SENT_TO_SUPPLIER
Optional ? :Yes ; Varchar2 (1) ;() ;

40

SENT_TO_DELIVERY_GROUP
Optional ? :Yes ; Varchar2 (1) ;() ;

50

; Uppercase ? :No ;

; Uppercase ? :No ;

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 105 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DUO
Display Title :

Table Name : DLG_USER_OWNERSHIP

Description :

AIP does not currently support delivery group ownership by User

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

USER_ID

NOT NULL

NUMBER ()

30

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DLG_USER_OWNERSHIP

DELIVERY_GROUP_ID
USER_ID

Foreign Keys
DUO_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Name

Seq.

DLG_USER_OWNERSHIP_I1

10

Column

Index Type

USER_ID

NOT UNIQUE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

20

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

30

; Uppercase ? :No ;

; Uppercase ? :No ;

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 106 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DVA
Display Title :

Table Name : DLG_VEHICLE_ATTRIBUTE

Description :

This table holds vehicle attributes assigned to delivery groups

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

VEHICLE_ATTRIBUTE_ID

NOT NULL

NUMBER (12)

20

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

30

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

40

MAX_WEIGHT

NULL

NUMBER ()

50

MAX_HEIGHT

NULL

NUMBER ()

60

MAX_FOOT_PRINT

NULL

NUMBER ()

70

MIN_DROP

NULL

NUMBER ()

80

START_DATE

NOT NULL

DATE

90

END_DATE

NOT NULL

DATE

100

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DLG_VEHICLE_ATTRIBUTE

VEHICLE_ATTRIBUTE_ID

Other Unique Keys


Name

Column

UK_DLG_VEHICLE_ATTRIBUTE

DELIVERY_GROUP_ID
STOCKING_POINT_ID
START_DATE
END_DATE

Column Detail
10

VEHICLE_ATTRIBUTE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a vehicle attribute.


20

DELIVERY_GROUP_ID

Oracle Designer Report : cktci

14 May

2008

Page 107 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
DVA_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DVA_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Name

Seq.

DLG_VEHICLE_ATTRIBUTE_I1

10

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


30

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


Warehouse-chamber.
40

MAX_WEIGHT
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

This determines the vehicle's maximum payload. This is assumed to be in the


same unit of measure that case weight was entered into the system.
50

MAX_HEIGHT
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

This determines the height of the vehicle in Full Pallet Equivalents (FPEs).
60

MAX_FOOT_PRINT
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

This determines the number of Delivery Units (DUs) that can be placed on the
floor of the vehicle.
70

MIN_DROP
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

This determines the minimum Full Pallet Equivalent (FPE) total on the vehicle
required to meet contractual obligations. If necessary, Delivery Units will be
brought forward to meet this minimum drop.
80

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 108 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

This is the first delivery date that the vehicle attributes can be applied. The
settings are effective indefinitely or until a new settings are saved with a
later start date.
90

END_DATE
Optional ? :No ; Date ;() ;
Contains an end date.

100

; Uppercase ? :No ;

This is always sytem high date.

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 109 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DVP
Display Title :

Table Name : DLG_VEHICLE_PREF

Description :

This table holds vehicle preferences defined for each day-of-week in a


7-day pattern that is repeated each week. First, second, and third
receiving hour prefernces can be defined for up to 10 vehicles.
The preference hours selected indicate the desired delivery times that
trucks will arrive at the
destination location.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

DAY_OF_WEEK

NOT NULL

NUMBER (1)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

VEHICLE_SEQ

NOT NULL

NUMBER (2)

70

PREFERENCE_SEQ

NOT NULL

NUMBER (1)

80

HOUR

NOT NULL

NUMBER (2)

90

FIXED_BOOKING

NOT NULL

NUMBER (2)

100

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DLG_VEHICLE_PREF

DELIVERY_GROUP_ID
STOCKING_POINT_ID
DAY_OF_WEEK
START_DATE
END_DATE
VEHICLE_SEQ
PREFERENCE_SEQ
HOUR

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


Oracle Designer Report : cktci

14 May

2008

Page 110 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
DVP_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DVP_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_DLG_VEHICLE_PREF_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

CHK_DLG_VEHICLE_PREF_FIXED

fixed_booking >= 0 AND fixed_booking <=10

CHK_DLG_VEHICLE_PREF_HOUR

hour > 0 AND hour <=24

CHK_DLG_VEHICLE_PREF_PREF_SEQ

preference_seq > 0 AND preference_seq <=3

CHK_DLG_VEHICLE_PREF_VEH_SEQ

vehicle_seq > 0 AND vehicle_seq <=10

Index Summary
Name

Seq.

DLG_VEHICLE_PREF_I1

10

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


Warehouse-chamber.
30

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
40

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

This is the first delivery date that the preferences can be applied. The
preferences are effective indefinitely, until new preferences are saved with a
later start date, or until the day-of-week default is deleted by setting the
end date.
50

END_DATE
Oracle Designer Report : cktci

14 May

2008

Page 111 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :No ; Date ;() ;


Contains an end date.
deleted.
60

; Uppercase ? :No ;

This field is only updated when a day-of-week default is

VEHICLE_SEQ
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Contains a vehicle number. Valid values are 1 vehicle per delivery group/day
to 10 vehicles per delivery group/day.
The number of vehicles which have
preferences also defines the total number of trucks that can be received for
the delivery group/day.
70

PREFERENCE_SEQ
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

The preference number ranks the preferred receivng hours. The valid ranks are
1, 2, or 3. 1 is the highest preference or rank and 3 is the lowest.
80

HOUR
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Contains a number representing an hour of the day. The hours present are valid
receiving hours for the delivery group/day-of-week. Valid hours are 1 through
24.
90

FIXED_BOOKING
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Defines the maximum number of vehicles that can be received that hour.
100

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 112 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DVX
Display Title :

Table Name : DLG_VEHICLE_PREF_EXC

Description :

This table holds vehicle preference exceptions defined for a single


date. First, second, and third receiving hour prefernces can be
defined for up to 10 vehicles. The preference hours selected indicate
the desired delivery times that trucks will arrive at the
destination location.
When defined, exceptions will always be used in place of the default.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

EXCEPTION_DATE

NOT NULL

DATE

40

VEHICLE_SEQ

NOT NULL

NUMBER (2)

50

PREFERENCE_SEQ

NOT NULL

NUMBER (1)

60

HOUR

NOT NULL

NUMBER (2)

70

FIXED_BOOKING

NOT NULL

NUMBER (2)

80

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DLG_VEHICLE_PREF_EXC

DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE
VEHICLE_SEQ
PREFERENCE_SEQ
HOUR

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


Oracle Designer Report : cktci

14 May

2008

Page 113 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
DVX_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
DVX_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_DLG_VEHICLE_PREF_EXC_FIXED

fixed_booking >= 0 AND fixed_booking <=10

CHK_DLG_VEHICLE_PREF_EXC_HOUR

hour > 0 AND hour <=24

CHK_DLG_VEHICLE_PREF_EXC_P_SEQ

preference_seq > 0 AND preference_seq <=3

CHK_DLG_VEHICLE_PREF_EXC_V_SEQ

vehicle_seq > 0 AND vehicle_seq <=10

Index Summary
Name

Seq.

DLG_VEHICLE_PREF_EXC_I1

10

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail

Warehouse-chamber.
30

EXCEPTION_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

This is the delivery date that the preferences apply to.


40

VEHICLE_SEQ
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Contains a vehicle number. Valid values are 1 vehicle per delivery group/day
to 10 vehicles per delivery group/day.
The number of vehicles which have
preferences also defines the total number of trucks that can be received for
the delivery group/day.
50

PREFERENCE_SEQ
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

The preference number ranks the preferred receivng hours. The valid ranks are
1, 2, or 3. 1 is the highest preference or rank and 3 is the lowest.

Oracle Designer Report : cktci

14 May

2008

Page 114 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
60

HOUR
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Contains a number representing an hour of the day. The hours present are valid
receiving hours for the delivery group/day-of-week. Valid hours are 1 through
24.
70

FIXED_BOOKING
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Defines the maximum number of vehicles that can be received that hour.
80

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 115 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: DMA
Display Title :

Table Name : DMG_ASSIGNMENT

Description :

This table holds commodity pack sizes assigned to demand groups.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_DMG_ASSIGNMENT

DEMAND_GROUP_ID
COMMODITY_ID
PACK_SIZE

Other Unique Keys


Name

Column

UK_DMG_ASSIGNMENT

COMMODITY_ID
PACK_SIZE

Foreign Keys
DMA_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

DMA_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 116 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group.


20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


40

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 117 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EDD
Display Title :

Table Name : EDR_DEFAULT

Description :

AIP Online does not currently support Economic Delivery Range

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

ECONOMIC_DELIVERY_RANGE

NOT NULL

NUMBER (2)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_EDR_DEFAULT

STOCKING_POINT_ID
START_DATE
END_DATE

Foreign Keys
EDD_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

20

ECONOMIC_DELIVERY_RANGE
Optional ? :No ; Number (2) ;() ;

30

; Uppercase ? :No ;

START_DATE
Optional ? :No ; Date ;() ;

40

; Uppercase ? :No ;

; Uppercase ? :No ;

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 118 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
50

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 119 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EDE
Display Title :

Table Name : EDR_EXCEPTION

Description :

AIP Online does not currently support Economic Delivery Range

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

SUPPLIER_ID

NOT NULL

NUMBER (10)

30

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

40

ECONOMIC_DELIVERY_RANGE

NOT NULL

NUMBER (2)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

70

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_EDR_EXCEPTION

STOCKING_POINT_ID
SUPPLIER_ID
DEMAND_GROUP_ID
START_DATE
END_DATE

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

20

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

30

; Uppercase ? :No ;

START_DATE
Optional ? :No ; Date ;() ;

60

; Uppercase ? :No ;

ECONOMIC_DELIVERY_RANGE
Optional ? :No ; Number (2) ;() ;

50

; Uppercase ? :No ;

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

40

; Uppercase ? :No ;

; Uppercase ? :No ;

END_DATE
Oracle Designer Report : cktci

14 May

2008

Page 120 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
EDE_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

EDE_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
EDE_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Seq.

Name

Column

Index Type

EDR_EXCEPTION_I1

10

DEMAND_GROUP_ID

NOT UNIQUE

EDR_EXCEPTION_I2

10

SUPPLIER_ID

NOT UNIQUE

Column Detail

Optional ? :No ; Date ;() ;


70

; Uppercase ? :No ;

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 121 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EAR
Display Title : Ent Altusers

Table Name : ENT_ALTUSERS

Description :

table which implements the 'alternate users' feature of WebTrack

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

USER_ID

NOT NULL

NUMBER (38)

20

APPCODE

NOT NULL

VARCHAR2 (32)

30

ALTUSER_ID

NOT NULL

NUMBER (38)

40

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_ALTUSERS

USER_ID
APPCODE
ALTUSER_ID

Column Detail
10

USER_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oringal user ID
20

APPCODE
Optional ? :No ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Application code
30

ALTUSER_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

ID of alternate user
40

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Enterprise of both users

Oracle Designer Report : cktci

14 May

2008

Page 122 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EAT
Display Title :

Table Name : ENT_ATTRS

Description :

Generalized attributes: used with Webtrack items/projects

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PARENT_KEY

NOT NULL

NUMBER (38)

20

PARENT_ITEM_KEY

NOT NULL

NUMBER (38)

30

ATTRIBUTE_CLASS

NOT NULL

VARCHAR2 (32)

40

ORDERING

NOT NULL

NUMBER (38)

50

DISPLAY_NAME

NULL

VARCHAR2 (64)

60

ATTRIBUTE_KEY

NULL

NUMBER (38)

70

TEXT_VALUE

NULL

VARCHAR2 (255)

80

NUMERIC_VALUE

NULL

FLOAT ()

90

FORMAT

NULL

VARCHAR2 (32)

100

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_ATTRS

PARENT_KEY
PARENT_ITEM_KEY
ATTRIBUTE_CLASS
ORDERING

Column Detail
10

PARENT_KEY
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Key from main parent table


20

PARENT_ITEM_KEY
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Optional key from parent's subtable. Leave zero if not used


30

ATTRIBUTE_CLASS
Optional ? :No ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Attribute class. Unique value allocated centrally.

Oracle Designer Report : cktci

14 May

2008

Page 123 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
40

ORDERING
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Display ordering
50

DISPLAY_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Name to display
60

ATTRIBUTE_KEY
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Optional application specific key


70

TEXT_VALUE
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

Text value
80

NUMERIC_VALUE
Optional ? :Yes ; Float () ;() ;

; Uppercase ? :No ; Default Value :0 ;

Numeric equivalent
90

FORMAT
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Format definition
100

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owning enterprise

Oracle Designer Report : cktci

14 May

2008

Page 124 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EAU
Display Title :

Table Name : ENT_AUDIT

Description :

Security audit entries.

Contians entries for login, logout, etc.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

15

AUDIT_ID

NOT NULL

NUMBER (38)

20

AUDIT_EVENT

NULL

NUMBER (38)

30

AUDIT_WHEN

NULL

NUMBER (38)

40

AUDIT_TIMESTAMP

NULL

DATE

50

AUDIT_DETAIL

NULL

VARCHAR2 (2000)

60

AUDIT_TARGET

NULL

NUMBER (38)

70

AUDIT_TARGET_DETAIL

NULL

VARCHAR2 (128)

80

USER_ID

NULL

NUMBER (38)

90

USER_NAME

NULL

VARCHAR2 (64)

100

USER_ADDRESS

NULL

VARCHAR2 (128)

110

CLEARED

NULL

NUMBER (38)

120

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_AUDIT

AUDIT_ID

Column Detail
15

AUDIT_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Standard primary key


20

AUDIT_EVENT
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Event code
30

AUDIT_WHEN
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

timestamp (Java)

Oracle Designer Report : cktci

14 May

2008

Page 125 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
40

AUDIT_TIMESTAMP
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

DB representation (for SQL junkies)


50

AUDIT_DETAIL
Optional ? :Yes ; Varchar2 (2000) ;() ;

; Uppercase ? :No ;

Event specific information, may be null


60

AUDIT_TARGET
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

ID of object updated or created, may be null


70

AUDIT_TARGET_DETAIL
Optional ? :Yes ; Varchar2 (128) ;() ;

; Uppercase ? :No ;

More information on what was updated


80

USER_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

User
90

USER_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Name (for cases where id not known)


100

USER_ADDRESS
Optional ? :Yes ; Varchar2 (128) ;() ;

; Uppercase ? :No ;

IP address (text to cope with IPv6 one day, or even hostnames)


110

CLEARED
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Set non-zero if event is to be ignored (primarily for bad login counting)


120

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Enterprise

Oracle Designer Report : cktci

14 May

2008

Page 126 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ELO
Display Title :

Table Name : ENT_LOCATIONS

Description :

Enterprise locations.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

LOCATION_ID

NOT NULL

NUMBER (38)

20

LOCATION_NAME

NULL

VARCHAR2 (64)

30

LOCATION_TYPE

NULL

NUMBER (38)

40

PRIMARY_FLAG

NULL

NUMBER (38)

50

COUNTRY_ID

NULL

NUMBER (38)

60

ADDRESS_INFO

NULL

VARCHAR2 (2000)

70

ENTERPRISE_ID

NULL

NUMBER (38)

80

LEAD_TIME

NULL

NUMBER (38)

90

LOCATION_CODE

NULL

VARCHAR2 (16)

Primary Key
Name

Column

PK_ENT_LOCATIONS

LOCATION_ID

Column Detail
10

LOCATION_ID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

LOCATION_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

30

LOCATION_TYPE
Optional ? :Yes ; Number (38) ;() ;

40

; Uppercase ? :No ; Default Value :0 ;

COUNTRY_ID
Optional ? :Yes ; Number (38) ;() ;

60

; Uppercase ? :No ; Default Value :0 ;

PRIMARY_FLAG
Optional ? :Yes ; Number (38) ;() ;

50

; Uppercase ? :No ;

; Uppercase ? :No ; Default Value :0 ;

ADDRESS_INFO

Oracle Designer Report : cktci

14 May

2008

Page 127 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :Yes ; Varchar2 (2000) ;() ;

; Uppercase ? :No ;

Packed, includes phone, fax?


70

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owning enterprise
80

LEAD_TIME
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Lead time associated with location. Use is application dependent.


90

LOCATION_CODE
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 128 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ELK
Display Title :

Table Name : ENT_LOCKS

Description :

Edit locks

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

LOCK_ID

NOT NULL

NUMBER (38)

20

LOCKOBJECT

NULL

VARCHAR2 (128)

30

UNIQUEKEY

NULL

VARCHAR2 (128)

40

USERNAME

NULL

VARCHAR2 (50)

50

GRABTIME

NULL

NUMBER (38)

60

TIMEOUT

NULL

NUMBER (38)

70

REQUESTED

NULL

NUMBER (38)

80

EXPIRY

NULL

NUMBER (38)

90

TERMINAL

NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_LOCKS

LOCK_ID

Column Detail
10

LOCK_ID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

LOCKOBJECT
Optional ? :Yes ; Varchar2 (128) ;() ;

; Uppercase ? :No ;

Identifies object
30

UNIQUEKEY
Optional ? :Yes ; Varchar2 (128) ;() ;

; Uppercase ? :No ;

Identifies session
40

USERNAME
Optional ? :Yes ; Varchar2 (50) ;() ;

; Uppercase ? :No ;

Name of lock owner


50

GRABTIME
Oracle Designer Report : cktci

14 May

2008

Page 129 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Datestamp when grabbed


60

TIMEOUT
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Timeout value (seconds) for refreshment


70

REQUESTED
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Timeout value (seconds) for refreshment


80

EXPIRY
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Expiry time if requested


90

TERMINAL
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Absolute timeout

Oracle Designer Report : cktci

14 May

2008

Page 130 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EMD
Display Title :

Table Name : ENT_MCLDATA

Description :

MCL column data

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

APPLICATION_NUMBER

NULL

NUMBER (38)

20

LIST_CODE

NULL

VARCHAR2 (32)

30

VIEW_CODE

NULL

VARCHAR2 (32)

40

USER_ID

NULL

NUMBER (38)

50

CODE

NULL

NUMBER (38)

60

POSITION

NULL

NUMBER (38)

70

WIDTH

NULL

NUMBER (38)

80

OPTIONS

NULL

VARCHAR2 (32)

90

ENTERPRISE_ID

NULL

NUMBER (38)

Column Detail
10

APPLICATION_NUMBER
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Identifies application (design, etc)


20

LIST_CODE
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Identifies list
30

VIEW_CODE
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Identifies view
40

USER_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

User saving config; 0 for administrator


50

CODE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Column code
60

POSITION

Oracle Designer Report : cktci

14 May

2008

Page 131 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Column position
70

WIDTH
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Column width
80

OPTIONS
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Other options (show, wrap, etc)


90

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owning enterprise

Oracle Designer Report : cktci

14 May

2008

Page 132 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EMH
Display Title :

Table Name : ENT_MCLHEADINGS

Description :

MCL headings

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

APPLICATION_NUMBER

NULL

NUMBER (38)

20

LIST_CODE

NULL

VARCHAR2 (32)

30

VIEW_CODE

NULL

VARCHAR2 (32)

40

USER_ID

NULL

NUMBER (38)

50

CODE

NULL

NUMBER (38)

60

HEADING

NULL

VARCHAR2 (64)

70

LANGUAGE_CODE

NULL

VARCHAR2 (32)

80

ENTERPRISE_ID

NULL

NUMBER (38)

Column Detail
10

APPLICATION_NUMBER
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Identifies application (design, etc)


20

LIST_CODE
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Identifies list
30

VIEW_CODE
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Identifies view
40

USER_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

User saving config; 0 for administrator


50

CODE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Column code
60

HEADING
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 133 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Heading
70

LANGUAGE_CODE
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Language
80

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owning enterprise

Oracle Designer Report : cktci

14 May

2008

Page 134 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EOE
Display Title : Ent Objectstore

Table Name : ENT_OBJECTSTORE

Description :

General java object store.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

OBJECT_ID

NOT NULL

NUMBER (38)

20

OBJECT_TYPE

NULL

VARCHAR2 (32)

30

OBJECT_SUBTYPE

NULL

VARCHAR2 (16)

40

OBJECT_NAME

NULL

VARCHAR2 (128)

50

OBJECT_DATE

NULL

NUMBER (38)

60

OBJECT_DATA

NULL

LONG RAW ()

70

USER_ID

NULL

NUMBER (38)

80

OWNER_ID

NULL

NUMBER (38)

90

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_OBJECTSTORE

OBJECT_ID

Column Detail
10

OBJECT_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Internal object class, app specific.


20

OBJECT_TYPE
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Allows subtyping withing main use


30

OBJECT_SUBTYPE
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Name of object, user defined


40

OBJECT_NAME
Optional ? :Yes ; Varchar2 (128) ;() ;

; Uppercase ? :No ;

Date of creation/update
Oracle Designer Report : cktci

14 May

2008

Page 135 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
50

OBJECT_DATE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Serialized object
60

OBJECT_DATA
Optional ? :Yes ; Long Raw () ;() ;

; Uppercase ? :No ;

Owning user, may be zero


70

USER_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owner ID of item in other table


80

OWNER_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owning enterprise
90

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owning enterprise

Oracle Designer Report : cktci

14 May

2008

Page 136 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EPA
Display Title :

Table Name : ENT_PARAMETERS

Description :

Parameter definitions (for lookups)

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PARAMETER_ID

NOT NULL

NUMBER (38)

20

PARAMETER_NAME

NULL

VARCHAR2 (64)

30

PARAMETER_CODE

NULL

VARCHAR2 (32)

40

IS_GLOBAL

NULL

NUMBER (38)

50

PARAMETER_TYPE

NULL

NUMBER (38)

60

PARAMETER_OPTIONS

NULL

NUMBER (38)

70

DEFAULT_NUM

NULL

FLOAT ()

80

DEFAULT_STR

NULL

VARCHAR2 (255)

90

NUM_KEYS

NULL

NUMBER (38)

100

KEY_TYPE_1

NULL

NUMBER (38)

110

KEY_TYPE_2

NULL

NUMBER (38)

120

KEY_TYPE_3

NULL

NUMBER (38)

130

KEY_TYPE_4

NULL

NUMBER (38)

140

KEY_TYPE_5

NULL

NUMBER (38)

150

KEY_LABEL_1

NULL

VARCHAR2 (32)

160

KEY_LABEL_2

NULL

VARCHAR2 (32)

170

KEY_LABEL_3

NULL

VARCHAR2 (32)

180

KEY_LABEL_4

NULL

VARCHAR2 (32)

190

KEY_LABEL_5

NULL

VARCHAR2 (32)

200

KEY_DETAIL_1

NULL

VARCHAR2 (32)

210

KEY_DETAIL_2

NULL

VARCHAR2 (32)

220

KEY_DETAIL_3

NULL

VARCHAR2 (32)

230

KEY_DETAIL_4

NULL

VARCHAR2 (32)

240

KEY_DETAIL_5

NULL

VARCHAR2 (32)

250

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

Oracle Designer Report : cktci

14 May

2008

Page 137 of 509

Table Definition
Container :

AIP 13.0

Version :

Name

Column

PK_ENT_PARAMETERS

PARAMETER_ID

Column Detail
10

PARAMETER_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Primary key ID
20

PARAMETER_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Parameter name used in GUI


30

PARAMETER_CODE
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Parameter code used in lookup functions


40

IS_GLOBAL
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

If global values are entered by system administrator


50

PARAMETER_TYPE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Integer, float or string


60

PARAMETER_OPTIONS
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Bit string of other options


70

DEFAULT_NUM
Optional ? :Yes ; Float () ;() ;

; Uppercase ? :No ; Default Value :0 ;

Default numeric value


80

DEFAULT_STR
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

Default string value


90

NUM_KEYS
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Number of keys
100

KEY_TYPE_1
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Key types
110

KEY_TYPE_2
Optional ? :Yes ; Number (38) ;() ;

120

; Uppercase ? :No ; Default Value :0 ;

KEY_TYPE_3
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page 138 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
130

KEY_TYPE_4
Optional ? :Yes ; Number (38) ;() ;

140

; Uppercase ? :No ; Default Value :0 ;

KEY_TYPE_5
Optional ? :Yes ; Number (38) ;() ;

150

; Uppercase ? :No ; Default Value :0 ;

KEY_LABEL_1
Optional ? :Yes ; Varchar2 (32) ;() ;

160

; Uppercase ? :No ;

KEY_LABEL_2
Optional ? :Yes ; Varchar2 (32) ;() ;

170

; Uppercase ? :No ;

KEY_LABEL_3
Optional ? :Yes ; Varchar2 (32) ;() ;

180

; Uppercase ? :No ;

KEY_LABEL_4
Optional ? :Yes ; Varchar2 (32) ;() ;

190

; Uppercase ? :No ;

KEY_LABEL_5
Optional ? :Yes ; Varchar2 (32) ;() ;

200

; Uppercase ? :No ;

KEY_DETAIL_1
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Key detail values (optional)


210

KEY_DETAIL_2
Optional ? :Yes ; Varchar2 (32) ;() ;

220

; Uppercase ? :No ;

KEY_DETAIL_3
Optional ? :Yes ; Varchar2 (32) ;() ;

230

; Uppercase ? :No ;

KEY_DETAIL_4
Optional ? :Yes ; Varchar2 (32) ;() ;

240

; Uppercase ? :No ;

KEY_DETAIL_5
Optional ? :Yes ; Varchar2 (32) ;() ;

250

; Uppercase ? :No ;

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owing enterprise

Oracle Designer Report : cktci

14 May

2008

Page 139 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EPV
Display Title :

Table Name : ENT_PARAMVALUES

Description :

Parameter values

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PARAMVALUE_ID

NOT NULL

NUMBER (38)

20

PARAMETER_ID

NULL

NUMBER (38)

30

VALUE_NUM

NULL

FLOAT ()

40

VALUE_STR

NULL

VARCHAR2 (255)

50

START_DATE

NULL

NUMBER (38)

60

END_DATE

NULL

NUMBER (38)

70

ACTIVE_FLAG

NULL

NUMBER (38)

80

KEY_1

NULL

VARCHAR2 (32)

90

KEY_2

NULL

VARCHAR2 (32)

100

KEY_3

NULL

VARCHAR2 (32)

110

KEY_4

NULL

VARCHAR2 (32)

120

KEY_5

NULL

VARCHAR2 (32)

130

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_PARAMVALUES

PARAMVALUE_ID

Column Detail
10

PARAMVALUE_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Usual primary key


20

PARAMETER_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owning parameter type


30

VALUE_NUM
Optional ? :Yes ; Float () ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page 140 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Numeric value
40

VALUE_STR
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

Default value
50

START_DATE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Start date: zero means since the beginning of time


60

END_DATE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

End date: zero means no end date


70

ACTIVE_FLAG
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Non-zero if active
80

KEY_1
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Key values: often numeric but we use characters for generality


90

KEY_2
Optional ? :Yes ; Varchar2 (32) ;() ;

100

; Uppercase ? :No ;

KEY_3
Optional ? :Yes ; Varchar2 (32) ;() ;

110

; Uppercase ? :No ;

KEY_4
Optional ? :Yes ; Varchar2 (32) ;() ;

120

; Uppercase ? :No ;

KEY_5
Optional ? :Yes ; Varchar2 (32) ;() ;

130

; Uppercase ? :No ;

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owning enterprise

Oracle Designer Report : cktci

14 May

2008

Page 141 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EPD
Display Title :

Table Name : ENT_PARTNERDEPTS

Description :

Trading partner department allocations.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ENTPARTNER_ID

NOT NULL

NUMBER (38)

20

DEPARTMENT_ID

NOT NULL

NUMBER (38)

30

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_PARTNERDEPTS

ENTPARTNER_ID
DEPARTMENT_ID

Column Detail
10

ENTPARTNER_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Matches value in ent_partners


20

DEPARTMENT_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Department allocation
30

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

For security checking

Oracle Designer Report : cktci

14 May

2008

Page 142 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EPT
Display Title :

Table Name : ENT_PARTNERS

Description :

Enterprise trading partners

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ENTPARTNER_ID

NOT NULL

NUMBER (38)

20

PARTNER_ID

NULL

NUMBER (38)

30

CONTACT_ID

NULL

NUMBER (38)

40

STATUS

NULL

NUMBER (38)

50

CREATION_DATE

NULL

NUMBER (38)

60

ACCOUNT_NUMBER

NULL

VARCHAR2 (32)

70

ENTERPRISE_ID

NULL

NUMBER (38)

80

PARTNER_CODE

NULL

VARCHAR2 (32)

90

PARTNER_ACCOUNTID

NULL

NUMBER (38)

100

PARTNER_INFO

NULL

VARCHAR2 (64)

Primary Key
Name

Column

PK_ENT_PARTNERS

ENTPARTNER_ID

Column Detail
10

ENTPARTNER_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Usual stuff key stuff


20

PARTNER_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

ID of partner enterprise
30

CONTACT_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Admin id in other enterprise, zero if private


40

STATUS
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page 143 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
50

CREATION_DATE
Optional ? :Yes ; Number (38) ;() ;

60

; Uppercase ? :No ; Default Value :0 ;

ACCOUNT_NUMBER
Optional ? :Yes ; Varchar2 (32) ;() ;

70

; Uppercase ? :No ;

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owning enterprise
80

PARTNER_CODE
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Enterprises internal code for the partner


90

PARTNER_ACCOUNTID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Default account id for imports


100

PARTNER_INFO
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Enterprise internal info for the partner

Oracle Designer Report : cktci

14 May

2008

Page 144 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EPH
Display Title :

Table Name : ENT_PHASES

Description :

Phases

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PHASE_ID

NOT NULL

NUMBER (38)

20

PHASE_NAME

NULL

VARCHAR2 (32)

30

PHASE_CODE

NULL

VARCHAR2 (16)

40

SEASON_ID

NULL

NUMBER (38)

50

PHASE_START

NULL

NUMBER (38)

60

PHASE_END

NULL

NUMBER (38)

70

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_PHASES

PHASE_ID

Column Detail
10

PHASE_ID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

PHASE_NAME
Optional ? :Yes ; Varchar2 (32) ;() ;

30

; Uppercase ? :No ;

PHASE_CODE
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

For external import


40

SEASON_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Containing season
50

PHASE_START
Optional ? :Yes ; Number (38) ;() ;

60

; Uppercase ? :No ; Default Value :0 ;

PHASE_END

Oracle Designer Report : cktci

14 May

2008

Page 145 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :Yes ; Number (38) ;() ;


70

; Uppercase ? :No ; Default Value :0 ;

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page 146 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ERE
Display Title :

Table Name : ENT_RESOURCES

Description :

Resource editor definitions.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RES_KEY

NOT NULL

VARCHAR2 (64)

20

RES_PACKAGE

NOT NULL

VARCHAR2 (128)

30

RES_LANG

NOT NULL

VARCHAR2 (32)

40

RES_VALUE

NULL

VARCHAR2 (2000)

50

ENTERPRISE_ID

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_RESOURCES

ENTERPRISE_ID
RES_PACKAGE
RES_LANG
RES_KEY

Column Detail
10

RES_KEY
Optional ? :No ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Resource key
20

RES_PACKAGE
Optional ? :No ; Varchar2 (128) ;() ;

; Uppercase ? :No ;

Lookup package
30

RES_LANG
Optional ? :No ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Language code
40

RES_VALUE
Optional ? :Yes ; Varchar2 (2000) ;() ;

; Uppercase ? :No ;

Value override
50

ENTERPRISE_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page 147 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Owning enterprise

Oracle Designer Report : cktci

14 May

2008

Page 148 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ESE
Display Title :

Table Name : ENT_SEASONS

Description :

Seasons

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SEASON_ID

NOT NULL

NUMBER (38)

20

SEASON_NAME

NULL

VARCHAR2 (64)

30

SEASON_CODE

NULL

VARCHAR2 (16)

40

SEASON_START

NULL

NUMBER (38)

50

SEASON_END

NULL

NUMBER (38)

60

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_SEASONS

SEASON_ID

Column Detail
10

SEASON_ID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

SEASON_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

30

; Uppercase ? :No ;

SEASON_CODE
Optional ? :Yes ; Varchar2 (16) ;() ;

40

SEASON_START
Optional ? :Yes ; Number (38) ;() ;

50

; Uppercase ? :No ; Default Value :0 ;

SEASON_END
Optional ? :Yes ; Number (38) ;() ;

60

; Uppercase ? :No ;

; Uppercase ? :No ; Default Value :0 ;

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page 149 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ESR
Display Title :

Table Name : ENT_SRVUSERTYPES

Description :

Roles allocated to users

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

USERTYPE_ID

NOT NULL

NUMBER (38)

20

SERVICE_ID

NULL

NUMBER (38)

30

USER_ID

NOT NULL

NUMBER (38)

40

ENTERPRISE_ID

NOT NULL

NUMBER (38)

50

GRANTING_ENTERPRISE_ID

NOT NULL

NUMBER (38)

60

DENIED

NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_SRVUSERTYPES

USER_ID
USERTYPE_ID
GRANTING_ENTERPRISE_ID
ENTERPRISE_ID

Column Detail
10

USERTYPE_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Key from wt_srvusertypes


20

SERVICE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Service identifier
30

USER_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

ent_users key
40

ENTERPRISE_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

enterprise of user
50

GRANTING_ENTERPRISE_ID
Oracle Designer Report : cktci

14 May

2008

Page 150 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ; Default Value :0 ;

granting enterprise or zero for local permission


60

DENIED
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Non-zero if this is a 'deny' permission

Oracle Designer Report : cktci

14 May

2008

Page 151 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EST
Display Title :

Table Name : ENT_STAMPS

Description :

Update timestamps for global data

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STAMP_KEY

NOT NULL

VARCHAR2 (32)

20

STAMP

NULL

NUMBER (38)

Primary Key
Name

Column

PK_ENT_STAMPS

STAMP_KEY

Column Detail
10

STAMP_KEY
Optional ? :No ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Lookup key
20

STAMP
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Time stamp [ms]

Oracle Designer Report : cktci

14 May

2008

Page 152 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EUS
Display Title :

Table Name : ENT_USERS

Description :

Enterprise users.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

USER_ID

NOT NULL

NUMBER (38)

20

USERNAME

NULL

VARCHAR2 (16)

30

REAL_USERNAME

NULL

VARCHAR2 (16)

40

PASSWORD

NULL

VARCHAR2 (128)

50

FIRSTNAME

NULL

VARCHAR2 (32)

60

LASTNAME

NULL

VARCHAR2 (32)

70

REAL_EMAIL

NULL

VARCHAR2 (64)

80

TYPE_ID

NULL

NUMBER (38)

90

ACCT_MANAGER

NULL

NUMBER (38)

100

LOCATION_ID

NULL

NUMBER (38)

110

ADDRESS_INFO

NULL

VARCHAR2 (2000)

120

COUNTRY_ID

NULL

NUMBER (38)

130

ADMIN_TYPE

NULL

NUMBER (38)

140

USER_FLAGS

NULL

NUMBER (38)

150

DEPARTMENT_LIST

NULL

VARCHAR2 (4000)

160

SERVICE_LIST

NULL

VARCHAR2 (2000)

170

USER_PREFERENCES

NULL

VARCHAR2 (2000)

180

USER_COMMENTS

NULL

VARCHAR2 (2000)

190

ENTERPRISE_ID

NULL

NUMBER (38)

200

PASSWORD_TIME

NULL

NUMBER (38)

210

ACCOUNT_STATUS

NULL

NUMBER (38)

220

LOCKOUT_UNTIL

NULL

NUMBER (38)

230

PREFERRED_LANGUAGE

NULL

VARCHAR2 (16)

Primary Key
Name

Column

PK_ENT_USERS

USER_ID

Oracle Designer Report : cktci

14 May

2008

Page 153 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

USER_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Unique key referenced elsewhere


20

USERNAME
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Case-insensitive user name


30

REAL_USERNAME
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Display form of name


40

PASSWORD
Optional ? :Yes ; Varchar2 (128) ;() ;

; Uppercase ? :No ;

Case-insensitve password
50

FIRSTNAME
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Case-insensitve password
60

LASTNAME
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Users last name


70

REAL_EMAIL
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Display e-mail
80

TYPE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Role
90

ACCT_MANAGER
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

1 for outward looking user


100

LOCATION_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Refers to location for this enterprise


110

ADDRESS_INFO
Optional ? :Yes ; Varchar2 (2000) ;() ;

; Uppercase ? :No ;

Coded address info, allows for expansion later


120

COUNTRY_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Country
130

ADMIN_TYPE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page 154 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

0: normal user; 1: initial admin (protected); 2: other admin


140

USER_FLAGS
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Java/HTML, etc
150

DEPARTMENT_LIST
Optional ? :Yes ; Varchar2 (4000) ;() ;

; Uppercase ? :No ;

Departments
160

SERVICE_LIST
Optional ? :Yes ; Varchar2 (2000) ;() ;

; Uppercase ? :No ;

List of service.generation pairs


170

USER_PREFERENCES
Optional ? :Yes ; Varchar2 (2000) ;() ;

; Uppercase ? :No ;

General prefs stuff


180

USER_COMMENTS
Optional ? :Yes ; Varchar2 (2000) ;() ;

; Uppercase ? :No ;

Notes set by administrator


190

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owning enterprise!
200

PASSWORD_TIME
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

GMT time of last password change. Zero always means change immediately
210

ACCOUNT_STATUS
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Normal, temporary lock, permanent lock, etc


220

LOCKOUT_UNTIL
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Expiry time of lockout


230

PREFERRED_LANGUAGE
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Language override

Oracle Designer Report : cktci

14 May

2008

Page 155 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: EXC
Display Title :

Table Name : EXCEPTION_CODE

Description :

This table holds vehicle exception codes.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

EXCEPTION_CODE_ID

NOT NULL

NUMBER (3)

20

EXCEPTION_CODE_DESC

NULL

VARCHAR2 (64)

30

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_EXCEPTION_CODE

EXCEPTION_CODE_ID

Column Detail
10

EXCEPTION_CODE_ID
Optional ? :No ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a vehicle exception code.


20

EXCEPTION_CODE_DESC
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the description of a vehicle exception code.


30

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 156 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: FVP
Display Title :

Table Name : FINAL_VEHICLE_PREF

Description :

This table holds day-of-week default final vehicle preferences for


delivey groups. A final vehicle preference is used to set the
preferences for all vehicles. Rather then repeat the same preference
hours selections multiple times for multiple vehicles you can set the
final preference value. The final preference hours will then be
applied to all vehicles.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

DAY_OF_WEEK

NOT NULL

NUMBER (1)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

HOUR_PATTERN

NULL

VARCHAR (24)

70

RECEIVING_WINDOW_ID

NULL

NUMBER (12)

80

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_FINAL_VEHICLE_PREF

DELIVERY_GROUP_ID
STOCKING_POINT_ID
DAY_OF_WEEK
START_DATE
END_DATE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse-chamber.

Oracle Designer Report : cktci

14 May

2008

Page 157 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
FVP_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
FVP_RWI_FK
RECEIVING_WINDOW_ID
Transferable ? Yes
Mandatory ?
No

references RECEIVING_WINDOW.RECEIVING_WINDOW_ID
Update Rule : Restricted
Delete Rule : Cascades

FVP_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_FINAL_VEHICLE_PREF_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

Index Summary
Name

Seq.

Column

Index Type

FINAL_VEHICLE_PREF_I1

10

RECEIVING_WINDOW_ID

NOT UNIQUE

FINAL_VEHICLE_PREF_I2

10

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
30

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
40

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

This is the first delivery date that the final preferences can be applied. The
final preferences are effective indefinitely, until new preferences are saved
with a later start date, or until the day-of-week default is deleted by setting
the end date.
50

END_DATE
Optional ? :No ; Date ;() ;
Contains an end date.
deleted.

; Uppercase ? :No ;

This field is only updated when a day-of-week default is

Oracle Designer Report : cktci

14 May

2008

Page 158 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
60

HOUR_PATTERN
Optional ? :Yes ; Varchar (24) ;() ;

; Uppercase ? :No ;

Contains a pattern of Y and N for each hour, 1 through 24. A 'Y' represent a
desired receiving hour, an 'N' represents an hour when deliveries are not
desired.
70

RECEIVING_WINDOW_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a receiving window.


80

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 159 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: FVX
Display Title :

Table Name : FINAL_VEHICLE_PREF_EXC

Description :

This table holds date exception final vehicle preferences for delivey
groups. A final vehicle preference is used to set the preferences for
all vehicles. Rather then repeat the same preference hours selections
multiple times for multiple vehicles you can set the final preference
value. The final preference hours will then be applied to all
vehicles.
When defined, exceptions will always be used in place of the default.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

EXCEPTION_DATE

NOT NULL

DATE

40

HOUR_PATTERN

NULL

VARCHAR (24)

50

RECEIVING_WINDOW_ID

NULL

NUMBER (12)

60

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_FINAL_VEHICLE_PREF_EXC

DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse-chamber.
30

EXCEPTION_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 160 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
FVX_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
FVX_RWI_FK
RECEIVING_WINDOW_ID
Transferable ? Yes
Mandatory ?
No

references RECEIVING_WINDOW.RECEIVING_WINDOW_ID
Update Rule : Restricted
Delete Rule : Cascades

FVX_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Seq.

Name

Column

Index Type

FINAL_VEHICLE_PREF_EXC_I1

10

RECEIVING_WINDOW_ID

NOT UNIQUE

FINAL_VEHICLE_PREF_EXC_I2

10

STOCKING_POINT_ID

NOT UNIQUE

Column Detail

This is the delivery date that the final vehicle preference applies to.
40

HOUR_PATTERN
Optional ? :Yes ; Varchar (24) ;() ;

; Uppercase ? :No ;

Contains a string of length 24, each char in the string represents one hour in
a day and is either Y for receiving or N for not-receiving.
50

RECEIVING_WINDOW_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a receiving window.


60

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 161 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: FOI
Display Title :

Table Name : FOLDERINFO

Description :

Folder definitions (templates, images, etc)

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

FOLDERINFOID

NOT NULL

NUMBER (38)

20

DATATYPE

NULL

VARCHAR2 (16)

30

FILTER

NULL

VARCHAR2 (32)

40

PARENTID

NULL

NUMBER (38)

50

FOLDERNAME

NULL

VARCHAR2 (64)

60

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_FOLDERINFO

FOLDERINFOID

Column Detail
10

FOLDERINFOID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

DATATYPE
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Data type (template, etc)


30

FILTER
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Filter string to select subsets


40

PARENTID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Key in this table of parent


50

FOLDERNAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Name of folder, or null


60

ENTERPRISE_ID
Oracle Designer Report : cktci

14 May

2008

Page 162 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page 163 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: FVF
Display Title :

Table Name : FPE_VOL_FORECAST

Description :

This table holds Full Pallet Equivalent forecast volume information


which specifies the days on which order forecasts are sent to a
delivery group, and the duration of the forecast each time it is sent.
AIP does not currently support FPE volume forecasts.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

START_DATE

NOT NULL

DATE

30

END_DATE

NOT NULL

DATE

40

DAY_OF_WEEK

NOT NULL

NUMBER (1)

50

FORECAST_DURATION

NULL

NUMBER (2)

60

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_FPE_VOL_FORECAST

DELIVERY_GROUP_ID
START_DATE
END_DATE
DAY_OF_WEEK

Foreign Keys
FVF_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_FPE_VOL_FORECAST_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 164 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


30

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


40

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
50

FORECAST_DURATION
Optional ? :Yes ; Number (2) ;() ;

; Uppercase ? :No ;

Contains the number represents the duration in weeks for the forecast sent on
the day of weeek.
60

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 165 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: HOW
Display Title :

Table Name : HOME_WAREHOUSE

Description :

This table holds home warehouses of stores in profiles.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROFILE_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

STORE_ID

NOT NULL

NUMBER (12)

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_HOME_WAREHOUSE

PROFILE_ID
STORE_ID

Foreign Keys
HOW_PRO_FK
PROFILE_ID references
Transferable ? Yes
Mandatory ?
Yes

PROFILE.PROFILE_ID
Update Rule : Restricted
Delete Rule : Cascades

HOW_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
HOW_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

PROFILE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 166 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

Column

Index Type

HOME_WAREHOUSE_I1

10

STOCKING_POINT_ID

NOT UNIQUE

HOME_WAREHOUSE_I2

10

STORE_ID

NOT UNIQUE

Column Detail

Contains the number to uniquely identify a profile.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


valid warehouse of the profile identified by profile_id.
30

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


40

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 167 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IMA
Display Title :

Table Name : IMAGES

Description :

Image

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

IMAGEID

NOT NULL

NUMBER (38)

20

IMAGENAME

NULL

VARCHAR2 (50)

30

IMAGEDESCRIPTION

NULL

VARCHAR2 (255)

40

IMAGEWIDTH

NULL

NUMBER (38)

50

IMAGEHEIGHT

NULL

NUMBER (38)

60

IMAGEFILE

NULL

VARCHAR2 (255)

70

MODIFICATIONTIME

NULL

NUMBER (38)

80

DEPARTMENTID

NULL

NUMBER (38)

90

SEASONID

NULL

NUMBER (38)

100

IMAGETYPE

NULL

NUMBER (38)

110

IMAGESUBTYPE

NULL

NUMBER (38)

120

ENTERPRISE_ID

NULL

NUMBER (38)

130

STORAGE_INFO

NULL

NUMBER (38)

140

LOCAL_NAME

NULL

VARCHAR2 (255)

Primary Key
Name

Column

PK_IMAGES

IMAGEID

Column Detail
10

IMAGEID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

IMAGENAME
Optional ? :Yes ; Varchar2 (50) ;() ;

; Uppercase ? :No ;

Short name for list display


30

IMAGEDESCRIPTION
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 168 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Texttual description
40

IMAGEWIDTH
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Image dimensions
50

IMAGEHEIGHT

60

IMAGEFILE

Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

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

; Uppercase ? :No ;

Local file containing image (may use binary large objects one day)
70

MODIFICATIONTIME

80

DEPARTMENTID

Optional ? :Yes ; Number (38) ;() ;

Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

; Uppercase ? :No ; Default Value :0 ;

Now department and


90

SEASONID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

season specific
100

IMAGETYPE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

normal image, labal image, presentation, etc.


110

IMAGESUBTYPE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Meaning depends on main type


120

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

130

; Uppercase ? :No ; Default Value :0 ;

STORAGE_INFO
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Infcormation on file type, etc


140

LOCAL_NAME
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

Local file name

Oracle Designer Report : cktci

14 May

2008

Page 169 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ICC
Display Title : Intalert Commodity

Table Name : INTALERT_COMMODITY

Description :

Staging table for sku level alerts

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY

NULL

VARCHAR2 (20)

20

FLAG

NULL

VARCHAR2 (1)

Column Detail
10

COMMODITY
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
20

FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Flag

Oracle Designer Report : cktci

14 May

2008

Page 170 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : INTERFACE_BANDED_COMMODITY

Description :

Alias
: IBY
Display Title : Interface Banded Commodity

Staging table for banded commodity measure on COMMODITY table

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY

NULL

VARCHAR2 (20)

20

BANDED

NULL

VARCHAR2 (24)

Column Detail
10

COMMODITY
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
20

BANDED
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

Banded commodity flag

Oracle Designer Report : cktci

14 May

2008

Page 171 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : INTERFACE_BOOLEAN_CONVERTER

Description :

Alias
: IBR
Display Title : Interface Boolean Converter

Converts boolean values to RPAS boolean indicators

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

FROM_CHAR

NULL

CHAR ()

20

TO_CHAR

NULL

CHAR ()

Column Detail
10

FROM_CHAR
Optional ? :Yes ; Char () ;() ;

; Uppercase ? :No ;

Oracle indicator
20

TO_CHAR
Optional ? :Yes ; Char () ;() ;

; Uppercase ? :No ;

RPAS indicator

Oracle Designer Report : cktci

14 May

2008

Page 172 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ICR
Display Title : Interface Closed Orders

Table Name : INTERFACE_CLOSED_ORDERS

Description :

This table will hold closed purchase order and transfer numbers. RMS
will communicate this information to DM Online via RETL.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ORDER_NUMBER

NOT NULL

NUMBER (10)

20

ORDER_TYPE

NOT NULL

VARCHAR2 (1)

Column Detail
10

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

; Uppercase ? :No ;

Contains an eight digit RMS purchase order number or a 10 digit RMS tranfer
number.
20

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

; Uppercase ? :No ;

If the order_number column contains an RMS purchase order number, this column
will contain P. If the order_number column contains an RMS purchase order
number, this column will contain T

Oracle Designer Report : cktci

14 May

2008

Page 173 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : INTERFACE_COMMODITY

Description :

Alias
: ICY
Display Title : Interface Commodity

Staging table for loading PROD.dat into COMMODITY,


COMMODITY_PACK_SIZE, DMG_ASSIGNMENT,
COMMODITY_GROUP, COMMODITY_GROUP_2, DEPARTMENT, PRODUCT_TYPE and
DIVISION tables

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_CODE

NULL

VARCHAR2 (20)

20

COMMODITY_DESC

NULL

VARCHAR2 (100)

30

COMMODITY_FLAG

NULL

VARCHAR2 (1)

40

DEMAND_GROUP_CODE

NULL

VARCHAR2 (20)

50

DEMAND_GROUP_DESC

NULL

VARCHAR2 (60)

60

DEMAND_GROUP_FLAG

NULL

VARCHAR2 (1)

70

SKU_CODE

NULL

VARCHAR2 (20)

80

SKU_DESC

NULL

VARCHAR2 (60)

90

SKU_FLAG

NULL

VARCHAR2 (1)

130

SEGMENT_CODE

NULL

VARCHAR2 (20)

140

SEGMENT_DESC

NULL

VARCHAR2 (60)

150

SEGMENT_FLAG

NULL

VARCHAR2 (1)

160

SUB_CAT_CODE

NULL

VARCHAR2 (20)

170

SUB_CAT_DESC

NULL

VARCHAR2 (60)

180

SUB_CAT_FLAG

NULL

VARCHAR2 (1)

190

CAT_CODE

NULL

VARCHAR2 (20)

200

CAT_DESC

NULL

VARCHAR2 (60)

210

CAT_FLAG

NULL

VARCHAR2 (1)

220

SUPER_CAT_CODE

NULL

VARCHAR2 (20)

230

SUPER_CAT_DESC

NULL

VARCHAR2 (60)

240

SUPER_CAT_FLAG

NULL

VARCHAR2 (1)

250

BUSINESS_UNIT_CODE

NULL

VARCHAR2 (20)

260

BUSINESS_UNIT_DESC

NULL

VARCHAR2 (60)

270

BUSINESS_UNIT_FLAG

NULL

VARCHAR2 (1)

280

COMPANY_CODE

NULL

VARCHAR2 (20)

290

COMPANY_DESC

NULL

VARCHAR2 (60)

Oracle Designer Report : cktci

14 May

2008

Page 174 of 509

Table Definition
Container :

AIP 13.0

Version :

Col.Seq. Column

Nulls ?

Type

300

COMPANY_FLAG

NULL

VARCHAR2 (1)

340

SKU_TYPE_CODE

NULL

VARCHAR2 (20)

350

SKU_TYPE_DESC

NULL

VARCHAR2 (100)

360

SKU_TYPE_FLAG

NULL

VARCHAR2 (1)

370

SKU_GROUPING_1_CODE

NULL

VARCHAR2 (20)

380

SKU_GROUPING_1_DESC

NULL

VARCHAR2 (60)

390

SKU_GROUPING_1_FLAG

NULL

VARCHAR2 (1)

430

PACK_TYPE

NULL

VARCHAR2 (6)

Index Summary
Seq.

Name
INTERFACE_COMMODITY_I1

Column

Index Type

SKU_CODE

NOT UNIQUE

Column Detail
10

COMMODITY_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKPS position
20

COMMODITY_DESC
Optional ? :Yes ; Varchar2 (100) ;() ;

; Uppercase ? :No ;

SKPS label
30

COMMODITY_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
40

DEMAND_GROUP_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

DMGP position
50

DEMAND_GROUP_DESC
Optional ? :Yes ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

DMGP label
60

DEMAND_GROUP_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
70

SKU_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
80

SKU_DESC
Optional ? :Yes ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 175 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

SKU label
90

SKU_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
130

SEGMENT_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Deprecated
140

SEGMENT_DESC
Optional ? :Yes ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

Deprecated
150

SEGMENT_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
160

SUB_CAT_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Deprecated
170

SUB_CAT_DESC
Optional ? :Yes ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

Deprecated
180

SUB_CAT_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
190

CAT_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

DEPT position
200

CAT_DESC
Optional ? :Yes ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

DEPT label
210

CAT_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
220

SUPER_CAT_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Deprecated
230

SUPER_CAT_DESC
Optional ? :Yes ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

Deprecated

Oracle Designer Report : cktci

14 May

2008

Page 176 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
240

SUPER_CAT_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
250

BUSINESS_UNIT_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Deprecated
260

BUSINESS_UNIT_DESC
Optional ? :Yes ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

Deprecated
270

BUSINESS_UNIT_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
280

COMPANY_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Deprecated
290

COMPANY_DESC
Optional ? :Yes ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

Deprecated
300

COMPANY_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
340

SKU_TYPE_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKUT position
350

SKU_TYPE_DESC
Optional ? :Yes ; Varchar2 (100) ;() ;

; Uppercase ? :No ;

SKUT label
360

SKU_TYPE_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
370

SKU_GROUPING_1_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKUG position
380

SKU_GROUPING_1_DESC
Optional ? :Yes ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

SKUG label
390

SKU_GROUPING_1_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 177 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Delimiter
430

PACK_TYPE
Optional ? :Yes ; Varchar2 (6) ;() ;

; Uppercase ? :No ;

Contains the pack type associated with commodity/pack_size. Valid values


include: 'INNER', 'CASE', 'PALLET', 'EACH', 'OTHER'.

Oracle Designer Report : cktci

14 May

2008

Page 178 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ICD
Display Title : Interface Commodity Day

Table Name : INTERFACE_COMMODITY_DAY

Description :

staging table for sku/day level alerts

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DAY

NULL

VARCHAR2 (9)

20

COMMODITY

NULL

VARCHAR2 (20)

30

FLAG

NULL

VARCHAR2 (1)

Column Detail
10

DAY
Optional ? :Yes ; Varchar2 (9) ;() ;

; Uppercase ? :No ;

DAY position
20

COMMODITY
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
30

FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Flag

Oracle Designer Report : cktci

14 May

2008

Page 179 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IDR
Display Title : Interface Day Converter

Table Name : INTERFACE_DAY_CONVERTER

Description :

Converts RPAS DOW to Oracle day of week

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NUM_DAY

NULL

NUMBER (1)

20

CHAR_DAY

NULL

VARCHAR2 (3)

Column Detail
10

NUM_DAY
Optional ? :Yes ; Number (1) ;() ;

; Uppercase ? :No ;

Integer day of week


20

CHAR_DAY
Optional ? :Yes ; Varchar2 (3) ;() ;

; Uppercase ? :No ;

RPAS day of week abbreviation

Oracle Designer Report : cktci

14 May

2008

Page 180 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IDU
Display Title : Interface Delivery Unit

Table Name : INTERFACE_DELIVERY_UNIT

Description :

Staging table for DELIVERY_UNIT

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DU_CODE

NULL

VARCHAR2 (16)

20

CONFIRMATION_DATE

NULL

VARCHAR2 (8)

30

IDEAL_DATE

NULL

VARCHAR2 (8)

40

SUPPLIER

NULL

VARCHAR2 (24)

50

SKU_PACK

NULL

VARCHAR2 (24)

60

FPE

NULL

VARCHAR2 (8)

70

QUANTITY

NULL

VARCHAR2 (8)

80

WEIGHT

NULL

VARCHAR2 (8)

90

STACKABILITY

NULL

VARCHAR2 (8)

100

PRIORITY

NULL

VARCHAR2 (8)

110

ADR

NULL

VARCHAR2 (8)

120

VEHICLE_CODE

NULL

VARCHAR2 (8)

Column Detail
10

DU_CODE
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Delivery unit ID
20

CONFIRMATION_DATE
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Confirmation date
30

IDEAL_DATE
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Ideal delivery date


40

SUPPLIER
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 181 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

SPLR position
50

SKU_PACK
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

SKPS position
60

FPE
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

FPE
70

QUANTITY
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Quantity
80

WEIGHT
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Weight
90

STACKABILITY
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Stackability
100

PRIORITY
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Priority
110

ADR
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Adr
120

VEHICLE_CODE
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Vehicle ID

Oracle Designer Report : cktci

14 May

2008

Page 182 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IDY
Display Title : Interface Direct Supply

Table Name : INTERFACE_DIRECT_SUPPLY

Description :

Staging table for direct supplied on SUPPLIER table

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER

NULL

VARCHAR2 (20)

20

FLAG

NULL

VARCHAR2 (1)

Column Detail
10

SUPPLIER
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SPLR position
20

FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Direct supplied flag

Oracle Designer Report : cktci

14 May

2008

Page 183 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IDD
Display Title : Interface Discontinued

Table Name : INTERFACE_DISCONTINUED

Description :

Staging table for discontinued alert

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_PACK_SIZE

NULL

VARCHAR2 (20)

20

FLAG

NULL

VARCHAR2 (1)

Column Detail
10

COMMODITY_PACK_SIZE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKPS position
20

FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Discontinued flag

Oracle Designer Report : cktci

14 May

2008

Page 184 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IHD
Display Title : Interface Horizon Date
Lookup

Table Name :
INTERFACE_HORIZON_DATE_LOOKUP

Description :

Days in the interface export horizion

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column
10

LOOKUP

Nulls ?

Type

NULL

DATE

Column Detail
10

LOOKUP
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

date

Oracle Designer Report : cktci

14 May

2008

Page 185 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IHP
Display Title : Interface Hour Lookup

Table Name : INTERFACE_HOUR_LOOKUP

Description :

Available hours in a day

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NULL

NUMBER (2)

LOOKUP

Column Detail
10

LOOKUP
Optional ? :Yes ; Number (2) ;() ;

; Uppercase ? :No ;

Hour

Oracle Designer Report : cktci

14 May

2008

Page 186 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IMD
Display Title : Interface Missing Data

Table Name : INTERFACE_MISSING_DATA

Description :

Staging table for missing data alert

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DAY

NULL

VARCHAR2 (9)

20

WAREHOUSE

NULL

VARCHAR2 (20)

30

COMMODITY_PACK_SIZE

NULL

VARCHAR2 (20)

40

FLAG

NULL

VARCHAR2 (1)

Column Detail
10

DAY
Optional ? :Yes ; Varchar2 (9) ;() ;

; Uppercase ? :No ;

DAY position
20

WAREHOUSE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

WH position
30

COMMODITY_PACK_SIZE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKPS position
40

FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Flag

Oracle Designer Report : cktci

14 May

2008

Page 187 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: INP
Display Title : Interface New Pack Size

Table Name : INTERFACE_NEW_PACK_SIZE

Description :

Staging table for new SKPS alerts

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_PACK_SIZE

NULL

VARCHAR2 (20)

20

FLAG

NULL

VARCHAR2 (1)

Column Detail
10

COMMODITY_PACK_SIZE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKPS position
20

FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Flag

Oracle Designer Report : cktci

14 May

2008

Page 188 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: INS
Display Title : Interface New Store

Table Name : INTERFACE_NEW_STORE

Description :

Staging table for new store alert

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE

NULL

VARCHAR2 (20)

20

FLAG

NULL

VARCHAR2 (1)

Column Detail
10

STORE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

STR position
20

FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Flag

Oracle Designer Report : cktci

14 May

2008

Page 189 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: INE
Display Title : Interface New Warehouse

Table Name : INTERFACE_NEW_WAREHOUSE

Description :

Staging table for new warehouse alert

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

WAREHOUSE

NULL

VARCHAR2 (20)

20

FLAG

NULL

VARCHAR2 (1)

Column Detail
10

WAREHOUSE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

WH position
20

FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Flag

Oracle Designer Report : cktci

14 May

2008

Page 190 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IOSD
Display Title : Interface Off Sale Date

Table Name : INTERFACE_OFF_SALE_DATE

Description :

Contains the off sale date for a given store/SKU combination extracted
from RMS.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RMS_STORE

NOT NULL

VARCHAR2 (20)

20

RMS_SKU

NOT NULL

VARCHAR2 (20)

30

EFFECTIVE_DATE

NOT NULL

DATE

Column Detail
10

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

; Uppercase ? :No ;

Contains the RMS identifier of the store.


20

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

; Uppercase ? :No ;

Contains the RMS identifier of the SKU.


30

EFFECTIVE_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the date at which the SKU goes off sale at the store.

Oracle Designer Report : cktci

14 May

2008

Page 191 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ISD
Display Title : Interface On Sale Date

Table Name : INTERFACE_ON_SALE_DATE

Description :

Contains on-sale date for a given store/sku combination extracted from


RMS.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RMS_STORE

NOT NULL

VARCHAR2 (20)

20

RMS_SKU

NOT NULL

VARCHAR2 (20)

30

EFFECTIVE_DATE

NOT NULL

DATE

Column Detail
10

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

; Uppercase ? :No ;

Contains the RMS identifier for the store.


20

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

; Uppercase ? :No ;

Contains the RMS identifier of the SKU.


30

EFFECTIVE_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the date at which the SKU goes on sale at the store.

Oracle Designer Report : cktci

14 May

2008

Page 192 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IPR
Display Title : Interface Parameters

Table Name : INTERFACE_PARAMETERS

Description :

Parameters used to assist with export

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

LAST_EXPORT

NULL

NUMBER ()

20

LAST_EXPORT_WIP_IND

NOT NULL

VARCHAR2 (1)

30

LAST_MAX_LOOKUP

NOT NULL

DATE

Check Constraints
Name

Where Validate Clause

CHK_INTER_PARAM_LAST_EXP_WIP

LAST_EXPORT_WIP_IND in ('Y','N')

Column Detail
10

LAST_EXPORT
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

timestamp of the last export to RPAS


20

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

; Uppercase ? :No ; Default Value :Y ;

Contains the value of WIP_IND on SYSTEM_PARAMETERS as of the previous export.


This parameter is referenced in the export process only.
30

LAST_MAX_LOOKUP
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

The last day of the planning horizon from the last batch run.
as max(lookup) from the INTERFACE_HORIZON_DATE_LOOKUP table.

Oracle Designer Report : cktci

This is obtained

14 May

2008

Page 193 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IPD
Display Title : Interface Prepriced

Table Name : INTERFACE_PREPRICED

Description :

Staging table for prepriced commodity measure

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_PACK_SIZE

NULL

VARCHAR2 (20)

20

IS_PRE_PRICED

NULL

VARCHAR2 (1)

Column Detail
10

COMMODITY_PACK_SIZE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKPS position
20

IS_PRE_PRICED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Pre-priced flag

Oracle Designer Report : cktci

14 May

2008

Page 194 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IRY
Display Title : Interface Received Qty

Table Name : INTERFACE_RECEIVED_QTY

Description :

The delivery date associated with the order number/destination/SKU.


This date represents the original intended delivery date and may
differ from the date upon which the SKU was actually received. This
value is not currently used by AIP Online.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ORDER_NUMBER

NOT NULL

VARCHAR2 (10)

20

ORDER_TYPE

NOT NULL

VARCHAR2 (1)

30

RMS_SKU_NUMBER

NOT NULL

VARCHAR2 (25)

35

RMS_ORDER_MULTIPLE

NOT NULL

NUMBER (8)

37

RMS_PACK_QUANTITY

NOT NULL

NUMBER (8)

40

STORE_CODE

NULL

VARCHAR2 (20)

50

STOCKING_POINT_NUMBER

NULL

VARCHAR2 (20)

60

DELIVERY_DATE

NOT NULL

DATE

70

RECEIVED_QTY

NOT NULL

NUMBER (8)

Column Detail
10

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

; Uppercase ? :No ;

Contains an eight digit RMS purchase order number or a 10 digit RMS tranfer
number.
20

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

; Uppercase ? :No ;

If the order_number column contains an RMS purchase order number, this column
will contain P. If the order_number column contains an RMS purchase order
number, this column will contain T.
30

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

; Uppercase ? :No ;

Contains the RMS SKU number that is associated with a commodity_id/pack_size


combination on the COMMODITY_MAPPING_TABLE.
35

RMS_ORDER_MULTIPLE
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Order quantities must be a multiple of this value. When the RMS SKU is a simple

Oracle Designer Report : cktci

14 May

2008

Page 195 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

pack, this value will always be 1. When the RMS SKU is not a pack, this value
will equal the PACK_SIZE.
37

RMS_PACK_QUANTITY
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Indicates if the RMS SKU is a simple pack. For simple packs, this value will be
nonzero and will equal the PACK_SIZE. For non packs, this value will always be
zero.
40

STORE_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

If the item was received at a store, this column will contain the RMS store
number. Either store_code or stocking_point_number must be populated, but never
both.
50

STOCKING_POINT_NUMBER
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

If the item was received at an RMS warehouse ('stocking point' is the DM Online
terminology for 'warehouse'), this column will contain the RMS warehouse
number. Either store_code or stocking_point_number must be populated, but never
both.
60

DELIVERY_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

The delivery date associated with the order number/destination/SKU. Note that
this date is used to find the associated data in DM Online. This delivery date
therefore represents the original intended delivery date and may differ from
the date upon which the SKU was actually received.
70

RECEIVED_QTY
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

The quantity received, expressed in eaches.

Oracle Designer Report : cktci

14 May

2008

Page 196 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ISP
Display Title : Interface Sku Map

Table Name : INTERFACE_SKU_MAP

Description :

Staging table for COMMODITY_MAPPING

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RMS_SKU

NULL

VARCHAR2 (20)

20

ORDER_MULTIPLE

NULL

VARCHAR2 (8)

30

PACK_QUANTITY

NULL

VARCHAR2 (8)

40

AIP_SKU_PACK

NULL

VARCHAR2 (24)

Column Detail
10

RMS_SKU
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

RMS SKU
20

ORDER_MULTIPLE
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Order multiple
30

PACK_QUANTITY
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Pack quantity
40

AIP_SKU_PACK
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

AIP SKPS

Oracle Designer Report : cktci

14 May

2008

Page 197 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ISL
Display Title : Interface Sku Prf Lnk

Table Name : INTERFACE_SKU_PRF_LINK

Description :

Staging table for ASSIGNED_COMMODITY

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NOTIONAL_DATE

NULL

VARCHAR2 (9)

20

COMMODITY

NULL

VARCHAR2 (20)

30

PROFILE

NULL

VARCHAR2 (24)

Column Detail
10

NOTIONAL_DATE
Optional ? :Yes ; Varchar2 (9) ;() ;

; Uppercase ? :No ;

DAY position
20

COMMODITY
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
30

PROFILE
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

PRF position

Oracle Designer Report : cktci

14 May

2008

Page 198 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : INTERFACE_SPLR_SCHLOC_DMG

Description :

Alias
: ISG
Display Title : Interface Splr Schloc Dmg

Staging table for alerts at splr/scheduleing location/day

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER

NULL

VARCHAR2 (20)

20

SCHED_LOC

NULL

VARCHAR2 (20)

30

DEMAND_GROUP

NULL

VARCHAR2 (20)

40

FLAG

NULL

VARCHAR2 (1)

Column Detail
10

SUPPLIER
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SPLR position
20

SCHED_LOC
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

WH / PCC position
30

DEMAND_GROUP
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

DMGP position
40

FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Flag

Oracle Designer Report : cktci

14 May

2008

Page 199 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ISC
Display Title : Interface Stacking
Converter

Table Name :
INTERFACE_STACKING_CONVERTER

Description :

Converts stacking flag characters to RPAS indicators

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

FROM_CHAR

NULL

CHAR ()

20

TO_CHAR

NULL

CHAR ()

Column Detail
10

FROM_CHAR
Optional ? :Yes ; Char () ;() ;

; Uppercase ? :No ;

Oracle indicator
20

TO_CHAR
Optional ? :Yes ; Char () ;() ;

; Uppercase ? :No ;

Oracle indicator

Oracle Designer Report : cktci

14 May

2008

Page 200 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : INTERFACE_STORE

Description :

Alias
: IFS
Display Title : Interface Store

Staging table for loading LOC.dat into STORE table

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_CODE

NULL

VARCHAR2 (20)

20

STORE_DESC

NULL

VARCHAR2 (60)

30

STORE_FLAG

NULL

VARCHAR2 (1)

40

SITE_CODE

NULL

VARCHAR2 (20)

50

SITE_DESC

NULL

VARCHAR2 (40)

60

SITE_FLAG

NULL

VARCHAR2 (1)

70

REGION_CODE

NULL

VARCHAR2 (20)

80

REGION_DESC

NULL

VARCHAR2 (40)

90

REGION_FLAG

NULL

VARCHAR2 (1)

100

ZONE_CODE

NULL

VARCHAR2 (20)

110

ZONE_DESC

NULL

VARCHAR2 (40)

120

ZONE_FLAG

NULL

VARCHAR2 (1)

130

CHAIN_CODE

NULL

VARCHAR2 (20)

140

CHAIN_DESC

NULL

VARCHAR2 (40)

150

CHAIN_FLAG

NULL

VARCHAR2 (1)

160

COMPANY_CODE

NULL

VARCHAR2 (20)

170

COMPANY_DESC

NULL

VARCHAR2 (40)

180

COMPANY_FLAG

NULL

VARCHAR2 (1)

190

TV_REGION_CODE

NULL

VARCHAR2 (4)

200

TV_REGION_DESC

NULL

VARCHAR2 (24)

210

TV_REGION_FLAG

NULL

VARCHAR2 (1)

220

WEATHER_REGION_CODE

NULL

VARCHAR2 (4)

230

WEATHER_REGION_DESC

NULL

VARCHAR2 (24)

240

WEATHER_REGION_FLAG

NULL

VARCHAR2 (1)

250

MARKETING_REGION_CODE

NULL

VARCHAR2 (4)

260

MARKETING_REGION_DESC

NULL

VARCHAR2 (24)

270

MARKETING_REGION_FLAG

NULL

VARCHAR2 (1)

280

STORE_FORMAT_CODE

NULL

VARCHAR2 (20)

Oracle Designer Report : cktci

14 May

2008

Page 201 of 509

Table Definition
Container :

AIP 13.0

Version :

Col.Seq. Column

Nulls ?

Type

290

STORE_FORMAT_DESC

NULL

VARCHAR2 (40)

300

STORE_FORMAT_FLAG

NULL

VARCHAR2 (1)

310

DEFAULT_WH

NULL

VARCHAR2 (20)

320

DEFAULT_WH_CSC

NULL

VARCHAR2 (20)

Column Detail
10

STORE_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

STR position
20

STORE_DESC
Optional ? :Yes ; Varchar2 (60) ;() ;

; Uppercase ? :No ;

STR label
30

STORE_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
40

SITE_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Deprecated
50

SITE_DESC
Optional ? :Yes ; Varchar2 (40) ;() ;

; Uppercase ? :No ;

Deprecated
60

SITE_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
70

REGION_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Deprecated
80

REGION_DESC
Optional ? :Yes ; Varchar2 (40) ;() ;

; Uppercase ? :No ;

Deprecated
90

REGION_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
100

ZONE_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Deprecated
110

ZONE_DESC

Oracle Designer Report : cktci

14 May

2008

Page 202 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Deprecated
120

ZONE_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
130

CHAIN_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Deprecated
140

CHAIN_DESC
Optional ? :Yes ; Varchar2 (40) ;() ;

; Uppercase ? :No ;

Deprecated
150

CHAIN_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
160

COMPANY_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Deprecated
170

COMPANY_DESC
Optional ? :Yes ; Varchar2 (40) ;() ;

; Uppercase ? :No ;

Deprecated
180

COMPANY_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
190

TV_REGION_CODE
Optional ? :Yes ; Varchar2 (4) ;() ;

; Uppercase ? :No ;

Deprecated
200

TV_REGION_DESC
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

Deprecated
210

TV_REGION_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
220

WEATHER_REGION_CODE
Optional ? :Yes ; Varchar2 (4) ;() ;

; Uppercase ? :No ;

Deprecated
230

WEATHER_REGION_DESC
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 203 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Deprecated
240

WEATHER_REGION_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
250

MARKETING_REGION_CODE
Optional ? :Yes ; Varchar2 (4) ;() ;

; Uppercase ? :No ;

Deprecated
260

MARKETING_REGION_DESC
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

Deprecated
270

MARKETING_REGION_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
280

STORE_FORMAT_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SFMT position
290

STORE_FORMAT_DESC
Optional ? :Yes ; Varchar2 (40) ;() ;

; Uppercase ? :No ;

SFMT label
300

STORE_FORMAT_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
310

DEFAULT_WH
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

store default warehouse


320

DEFAULT_WH_CSC
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

store default warehouse customer service center

Oracle Designer Report : cktci

14 May

2008

Page 204 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : INTERFACE_STORE_COMMODITY

Description :

Alias
: ISY
Display Title : Interface Store Commodity

Staging table for sku/store level alerts

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE

NULL

VARCHAR2 (20)

20

COMMODITY

NULL

VARCHAR2 (20)

30

FLAG

NULL

VARCHAR2 (1)

Column Detail
10

STORE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

STR position
20

COMMODITY
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
30

FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Flag

Oracle Designer Report : cktci

14 May

2008

Page 205 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ISR
Display Title : Interface Store Orders

Table Name : INTERFACE_STORE_ORDERS

Description :

Staging table for STORE_ORDER

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY

NULL

VARCHAR2 (20)

20

PACK_SIZE

NULL

VARCHAR2 (4)

30

STORE

NULL

VARCHAR2 (20)

40

DAY

NULL

VARCHAR2 (12)

50

RELEASE_DATE

NULL

VARCHAR2 (12)

60

SUPPLIER

NULL

VARCHAR2 (20)

70

RECEIPT_PLAN

NULL

VARCHAR2 (20)

80

ORDER_PACK_SIZE

NULL

VARCHAR2 (20)

Column Detail
10

COMMODITY
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
20

PACK_SIZE
Optional ? :Yes ; Varchar2 (4) ;() ;

; Uppercase ? :No ;

Pack size
30

STORE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

STR position
40

DAY
Optional ? :Yes ; Varchar2 (12) ;() ;

; Uppercase ? :No ;

DAY position
50

RELEASE_DATE
Optional ? :Yes ; Varchar2 (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 206 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Release date
60

SUPPLIER
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SPLR position
70

RECEIPT_PLAN
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Receipt plan
80

ORDER_PACK_SIZE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Pack size

Oracle Designer Report : cktci

14 May

2008

Page 207 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ISE
Display Title : Interface Store Source

Table Name : INTERFACE_STORE_SOURCE

Description :

Staging talble for STORE_SOURCE table

Notes :

partition by hash

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NOTIONAL_DATE

NULL

VARCHAR2 (9)

20

STORE

NULL

VARCHAR2 (20)

30

COMMODITY

NULL

VARCHAR2 (20)

40

STR_SOURCE

NULL

VARCHAR2 (24)

Column Detail
10

NOTIONAL_DATE
Optional ? :Yes ; Varchar2 (9) ;() ;

; Uppercase ? :No ;

DAY position
20

STORE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

STR position
30

COMMODITY
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
40

STR_SOURCE
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

Store source

Oracle Designer Report : cktci

14 May

2008

Page 208 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : INTERFACE_STORE_TRANSFERS

Description :

Alias
: IST
Display Title : Interface Store Transfers

Staging table for STORE_ORDER

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY

NULL

VARCHAR2 (20)

20

PACK_SIZE

NULL

VARCHAR2 (4)

30

STORE

NULL

VARCHAR2 (20)

50

DELIVERY_DATE

NULL

VARCHAR2 (12)

60

RELEASE_DATE

NULL

VARCHAR2 (12)

70

STORE_SOURCE

NULL

VARCHAR2 (20)

80

DCRP

NULL

VARCHAR2 (12)

Column Detail
10

COMMODITY
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
20

PACK_SIZE
Optional ? :Yes ; Varchar2 (4) ;() ;

; Uppercase ? :No ;

Pack size
30

STORE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

STR position
50

DELIVERY_DATE
Optional ? :Yes ; Varchar2 (12) ;() ;

; Uppercase ? :No ;

Delivery date
60

RELEASE_DATE
Optional ? :Yes ; Varchar2 (12) ;() ;

; Uppercase ? :No ;

Release date

Oracle Designer Report : cktci

14 May

2008

Page 209 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
70

STORE_SOURCE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Store source
80

DCRP
Optional ? :Yes ; Varchar2 (12) ;() ;

; Uppercase ? :No ;

Detailed receipt plan

Oracle Designer Report : cktci

14 May

2008

Page 210 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: INR
Display Title : Interface Supplier

Table Name : INTERFACE_SUPPLIER

Description :

Staging table for loading SPLR.dat into SUPPLIER table

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER_CODE

NULL

VARCHAR2 (20)

20

SUPPLIER_NAME

NULL

VARCHAR2 (40)

25

SHIP_TO

NULL

VARCHAR2 (6)

30

SUPPLIER_FLAG

NULL

VARCHAR2 (1)

Column Detail
10

SUPPLIER_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SPLR position
20

SUPPLIER_NAME
Optional ? :Yes ; Varchar2 (40) ;() ;

; Uppercase ? :No ;

SPLR label
25

SHIP_TO
Optional ? :Yes ; Varchar2 (6) ;() ;

; Uppercase ? :No ;

Indicates what types of destinations the supplier ships to. This information is
used to determine the scheduling locations associated with delivery groups.
'XD_RG' -- supplier ships to warehouses with wh_type of 'XD_RG' 'XDCS' -supplier ships to warehouses with wh_type of 'XD_RG'. They in turn ship to all
warehouses with a wh_type of 'CS_RG' or 'CS_NT'. 'CS_RG' -- supplier ships to
warehouses with wh_type of 'CS_RG'. 'XD_GS' -- supplier ships to warehouses
with wh_type of 'XD_GS'. 'ALL' -- supplier ships to all warehouses with a
warehouse type of 'XD_RG' or 'CS_RG'. 'STR' -- supplier ships directly to the
store. No delivery group is needed.
30

SUPPLIER_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter

Oracle Designer Report : cktci

14 May

2008

Page 211 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IVD
Display Title : Interface Value Added

Table Name : INTERFACE_VALUE_ADDED

Description :

Staging table for value added measure on COMMODITY table

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY

NULL

VARCHAR2 (20)

20

VALUE_ADDED

NULL

VARCHAR2 (24)

Column Detail
10

COMMODITY
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
20

VALUE_ADDED
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

Value added flag

Oracle Designer Report : cktci

14 May

2008

Page 212 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IVE
Display Title : Interface Vehicle

Table Name : INTERFACE_VEHICLE

Description :

Staging table for VEHICLES

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

VEHICLE_CODE

NULL

VARCHAR2 (8)

20

SCHEDULE_LOC

NULL

VARCHAR2 (24)

30

DELIVERY_GROUP

NULL

VARCHAR2 (24)

40

CONFIRMATION_DATE

NULL

VARCHAR2 (8)

50

SCHEDULE_DATE

NULL

VARCHAR2 (8)

60

SLOT

NULL

VARCHAR2 (16)

70

PRIORITY

NULL

VARCHAR2 (8)

80

EXCEPTIONS

NULL

VARCHAR2 (8)

90

FULL_VEHICLE

NULL

VARCHAR2 (1)

Column Detail
10

VEHICLE_CODE
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Vehicle ID
20

SCHEDULE_LOC
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

WHCH / PCC position


30

DELIVERY_GROUP
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

DGR / PCDG position


40

CONFIRMATION_DATE
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Confirmation date
50

SCHEDULE_DATE

Oracle Designer Report : cktci

14 May

2008

Page 213 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Scheduled date
60

SLOT
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

SLT position
70

PRIORITY
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Priority
80

EXCEPTIONS
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Exception code
90

FULL_VEHICLE
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Is full vehicle flag

Oracle Designer Report : cktci

14 May

2008

Page 214 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IVP
Display Title : Interface Vehicle Lookup

Table Name : INTERFACE_VEHICLE_LOOKUP

Description :

Available vehicle numbers

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NULL

NUMBER (2)

LOOKUP

Column Detail
10

LOOKUP
Optional ? :Yes ; Number (2) ;() ;

; Uppercase ? :No ;

Vehicle number

Oracle Designer Report : cktci

14 May

2008

Page 215 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IWE
Display Title : Interface Warehouse

Table Name : INTERFACE_WAREHOUSE

Description :

Staging table for loading WHSE.dat into STOCKING_POINT table

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

CHAMBER_CODE

NULL

VARCHAR2 (20)

20

CHAMBER_DESC

NULL

VARCHAR2 (40)

30

CHAMBER_FLAG

NULL

VARCHAR2 (1)

40

WAREHOUSE_CODE

NULL

VARCHAR2 (20)

50

WAREHOUSE_DESC

NULL

VARCHAR2 (40)

55

WH_TYPE

NULL

VARCHAR2 (6)

60

WAREHOUSE_FLAG

NULL

VARCHAR2 (1)

Column Detail
10

CHAMBER_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

WHCH position
20

CHAMBER_DESC
Optional ? :Yes ; Varchar2 (40) ;() ;

; Uppercase ? :No ;

WHCH label
30

CHAMBER_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter
40

WAREHOUSE_CODE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

WH position
50

WAREHOUSE_DESC
Optional ? :Yes ; Varchar2 (40) ;() ;

; Uppercase ? :No ;

WH label
55

WH_TYPE
Optional ? :Yes ; Varchar2 (6) ;() ;

; Uppercase ? :No ;

The value that indicates which type the warehouse is. Current types include
include 'XD_RG' for Crossdock, 'CS_RG' for CSCs, 'XD_GS' for Global Sourcing,
Oracle Designer Report : cktci

14 May

2008

Page 216 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

and 'CS_NT' for Non-Traditional.


is not maintained for chambers.
60

This value is only valid for warehouses and

WAREHOUSE_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Delimiter

Oracle Designer Report : cktci

14 May

2008

Page 217 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : INTERFACE_WHSE_PROMO_END

Description :

Alias
: IWD
Display Title : Interface Whse Promo End

Staging table for WAREHOUSE_PROMOTIONAL_DATES table

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE

NULL

VARCHAR2 (20)

20

SCHED_LOC

NULL

VARCHAR2 (20)

30

COMMODITY

NULL

VARCHAR2 (20)

40

SELECTED_DATE

NULL

VARCHAR2 (8)

Column Detail
10

STORE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

STR position
20

SCHED_LOC
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

WH position
30

COMMODITY
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
40

SELECTED_DATE
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Promotional start date

Oracle Designer Report : cktci

14 May

2008

Page 218 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : INTERFACE_WHSE_PROMO_START

Description :

Alias
: IPS
Display Title : Interface Whse Promo Start

Staging table for WAREHOUSE_PROMOTIONAL_DATES table

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE

NULL

VARCHAR2 (20)

20

SCHED_LOC

NULL

VARCHAR2 (20)

30

COMMODITY

NULL

VARCHAR2 (20)

40

SELECTED_DATE

NULL

VARCHAR2 (8)

Column Detail
10

STORE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

STR position
20

SCHED_LOC
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

WH position
30

COMMODITY
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKU position
40

SELECTED_DATE
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Promotional end date

Oracle Designer Report : cktci

14 May

2008

Page 219 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : INTERFACE_WH_RANGING_STS

Description :

Alias
: IWT
Display Title : Interface Wh Ranging Sts

Staging table for RANGED_COMMODITY_PACK_SIZE

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NOTIONAL_DATE

NULL

VARCHAR2 (9)

20

SCHED_LOC

NULL

VARCHAR2 (20)

30

SKU_PACK

NULL

VARCHAR2 (20)

40

RANGING_STATUS

NULL

VARCHAR2 (8)

Column Detail
10

NOTIONAL_DATE
Optional ? :Yes ; Varchar2 (9) ;() ;

; Uppercase ? :No ;

DAY position
20

SCHED_LOC
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

WH position
30

SKU_PACK
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKPS position
40

RANGING_STATUS
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Ranging status

Oracle Designer Report : cktci

14 May

2008

Page 220 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ICE
Display Title : I Commodity Attr Type

Table Name : I_COMMODITY_ATTR_TYPE

Description :

Staging table contains batch imported commodity attribute type


definition.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ATTR_TYPE

NOT NULL

VARCHAR2 (6)

20

ATTR_TYPE_DESC

NOT NULL

VARCHAR2 (40)

Column Detail
10

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

; Uppercase ? :No ;

unique identifier of commodity attribute type.


20

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

; Uppercase ? :No ;

commodity attribute type description

Oracle Designer Report : cktci

14 May

2008

Page 221 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ICP
Display Title : I Commodity Pack Attr

Table Name : I_COMMODITY_PACK_ATTR

Description :

Staging table contains batch imported commodity attribute values for


given commodity, pack size and commodity attribute type.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_CODE

NOT NULL

VARCHAR2 (20)

20

ORDER_MULTIPLE

NOT NULL

NUMBER (4)

30

PACK_QUANTITY

NOT NULL

NUMBER (4)

40

ATTR_TYPE

NOT NULL

VARCHAR2 (6)

50

VALUE

NOT NULL

VARCHAR2 (40)

Column Detail
10

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

; Uppercase ? :No ;

Unique identifier of commodity


20

ORDER_MULTIPLE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

supplier pack size for a commodity


30

PACK_QUANTITY
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

number of items in a formal pack


40

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

; Uppercase ? :No ;

identifies a commodity attribute type


50

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

; Uppercase ? :No ;

value for the commodity attribute

Oracle Designer Report : cktci

14 May

2008

Page 222 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IDE
Display Title : I Direct Store Format
Packsize

Table Name :
I_DIRECT_STORE_FORMAT_PACKSIZE

Description :

staging table contains default supplier-to-store commodity pack sizes


at store format level from external source. The table is used to
facilitate batch loading process.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_FORMAT_CODE

NOT NULL

VARCHAR2 (20)

20

COMMODITY_CODE

NOT NULL

VARCHAR2 (20)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

SUPPLIER_CODE

NOT NULL

VARCHAR2 (20)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

Column Detail
10

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

; Uppercase ? :No ;

Unique identifier of store format


20

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

; Uppercase ? :No ;

unique identifier of commodity


30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

supply pack size for the commodity


40

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

; Uppercase ? :No ;

unique identifier of supplier as the supply source


50

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

First date the commodity pack size in effective


60

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Last date the commodity pack size in effective


Oracle Designer Report : cktci

14 May

2008

Page 223 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IDSP
Display Title : I Direct Store Pack Size

Table Name : I_DIRECT_STORE_PACK_SIZE

Description :

Contains supplier-to-store default commodity pack size at the store


level (referred to as the exception level since store is more
granular than store_format). This staging table holds data from an
external source and is used to facilitate batch loading process.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_CODE

NOT NULL

VARCHAR2 (20)

20

COMMODITY_CODE

NOT NULL

VARCHAR2 (20)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

SUPPLIER_CODE

NOT NULL

VARCHAR2 (20)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

Column Detail
10

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

; Uppercase ? :No ;

unique identifier of store


20

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

; Uppercase ? :No ;

unique identifier of commodity


30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

supply pack size for the commodity


40

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

; Uppercase ? :No ;

unique identifier of supplier as the supply source


50

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

First date the commodity pack size in effective


60

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 224 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Last date the commodity pack size in effective

Oracle Designer Report : cktci

14 May

2008

Page 225 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : I_HOME_WAREHOUSE

Table Name : I_HOME_WAREHOUSE

Description :

Interface table for Home_Warehouse. Contains Home_Warehouse data


communicated from external systems.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_CODE

NOT NULL

VARCHAR2 (20)

20

PROFILE_CODE

NOT NULL

VARCHAR2 (20)

30

STOCKING_POINT_NUMBER

NOT NULL

VARCHAR2 (24)

Column Detail
10

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

; Uppercase ? :No ;

Contains the store code that is communicated with external systems. This value
will contain a prefix of 'S'.
20

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

; Uppercase ? :No ;

Contains the profile code that is communicated with external systems. For
direct-supplied profiles created by AIP Online automation, the profile code
will be identical to the profile_id. For warehouse-supplied profiles created by
AIP Batch, the profile code will contain the supplier code of the supplier that
triggered creation of the profile.
30

STOCKING_POINT_NUMBER
Optional ? :No ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

Contains the stocking point number that, in the case of warehouses, is


communicated with external systems. For warehouses, this value will have a
prefix of 'W'.

Oracle Designer Report : cktci

14 May

2008

Page 226 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : I_MISSING_DATA_ALERT_TEMP

Table Name : I_MISSING_DATA_ALERT_TEMP

Description :

Holds I_MISSING_DATA_ALERT_TEMP

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ALERT_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_NUMBER

NOT NULL

VARCHAR2 (20)

30

COMMODITY_CODE

NOT NULL

VARCHAR2 (20)

40

PACK_SIZE

NOT NULL

NUMBER (4)

50

DAY

NOT NULL

VARCHAR2 (9)

Column Detail
10

ALERT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Holds ALERT_ID
20

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

; Uppercase ? :No ;

Holds STOCKING_POINT_NUMBER
30

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

; Uppercase ? :No ;

Holds COMMODITY_CODE
40

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Holds PACK_SIZE
50

DAY
Optional ? :No ; Varchar2 (9) ;() ;

; Uppercase ? :No ;

Holds DATE

Oracle Designer Report : cktci

14 May

2008

Page 227 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : I_NEW_SISTER_STOCKING_POINT

Description :

Alias
: INT
Display Title : I New Sister Stocking Point

staging table contains new sister stocking point alert information

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

EXISTING_STOCKING_POINT_NUMBER

NOT NULL

VARCHAR2 (20)

20

NEW_STOCKING_POINT_NUMBER

NOT NULL

VARCHAR2 (20)

Column Detail
10

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

; Uppercase ? :No ;

unique identifier of an existing stocking point, or the copied from stocking


point.
20

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

; Uppercase ? :No ;

Identifies an new stocking point created by copying the existing stocking point

Oracle Designer Report : cktci

14 May

2008

Page 228 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: INSS
Display Title : I New Sister Store

Table Name : I_NEW_SISTER_STORE

Description :

staging table contains new sister store alert information

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

EXISTING_STORE_CODE

NOT NULL

VARCHAR2 (10)

20

NEW_STORE_CODE

NOT NULL

VARCHAR2 (10)

Column Detail
10

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

; Uppercase ? :No ;

Uniquely identifies an existing store that is to be copied to generate a new


store.
20

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

; Uppercase ? :No ;

Identifies a new store created by copying the existing store.

Oracle Designer Report : cktci

14 May

2008

Page 229 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: INSR
Display Title : I New Supplier

Table Name : I_NEW_SUPPLIER

Description :

AIP online staging table containing new suppliers identified and sent
by RPAS

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NOT NULL

VARCHAR2 (20)

SUPPLIER_CODE

Column Detail
10

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

; Uppercase ? :No ;

Unique identifier of new supplier

Oracle Designer Report : cktci

14 May

2008

Page 230 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: INCO
Display Title : I Non Contents Order

Table Name : I_NON_CONTENTS_ORDER

Description :

Staging table containing into-warehouse purchase order information


channeled from external system to AIP online (Web) system via batch
process

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_DATE

NOT NULL

VARCHAR2 (9)

20

SOURCE_CODE

NOT NULL

VARCHAR2 (20)

30

SCHEDULE_LOC

NOT NULL

VARCHAR2 (20)

40

SKU_PACK

NOT NULL

VARCHAR2 (20)

50

CONFIRMATION_DATE

NOT NULL

VARCHAR2 (8)

60

QUANTITY

NOT NULL

NUMBER (8)

Column Detail
10

DELIVERY_DATE
Optional ? :No ; Varchar2 (9) ;() ;

; Uppercase ? :No ;

indicates the order delivery date


20

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

; Uppercase ? :No ;

Uniquely identifies the supplier for the po


30

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

; Uppercase ? :No ;

Identifies the po destination stocking point.The schedule_loc takes the form of


concatenate parent stocking_point_number and child stocking_point_number. For
N-tier the parent is a warehouse and child a chamber, and the chamber is the po
destination.
40

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

; Uppercase ? :No ;

Identifies a commodity pack size. It is concatenated commodity_code and


pack_size, separated by an UNDERSCORE.
50

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

; Uppercase ? :No ;

Date the order is comfirmed

Oracle Designer Report : cktci

14 May

2008

Page 231 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
60

QUANTITY
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

order quantity

Oracle Designer Report : cktci

14 May

2008

Page 232 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : I Non Contents Order
Forecast

Table Name :
I_NON_CONTENTS_ORDER_FORECAST

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

30

SCHEDULE_LOC

NOT NULL

VARCHAR2 (20)

35

DELIVERY_DATE

NOT NULL

VARCHAR2 (9)

37

SOURCE_CODE

NOT NULL

VARCHAR2 (20)

38

QUANTITY

NOT NULL

NUMBER (8)

40

SKU_PACK

NOT NULL

VARCHAR2 (20)

Column Detail
30

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

35

DELIVERY_DATE
Optional ? :No ; Varchar2 (9) ;() ;

37

; Uppercase ? :No ;

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

38

; Uppercase ? :No ;

QUANTITY
Optional ? :No ; Number (8) ;() ;

40

; Uppercase ? :No ;

; Uppercase ? :No ;

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 233 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: IPE
Display Title : I Profile

Table Name : I_PROFILE

Description :

Staging table containing new profiles channeled from external system


to AIP online (Web) system via batch process.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROFILE_CODE

NOT NULL

VARCHAR2 (20)

20

PROFILE_NAME

NOT NULL

VARCHAR2 (28)

Column Detail
10

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

; Uppercase ? :No ;

Uniquely identifies a profile


20

PROFILE_NAME
Optional ? :No ; Varchar2 (28) ;() ;

; Uppercase ? :No ;

Contains the profile description

Oracle Designer Report : cktci

14 May

2008

Page 234 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : I Profile Order Cycle

Table Name : I_PROFILE_ORDER_CYCLE

Description :

Staging table containing new profile/order cycle assignments channeled


from external system to AIP online (Web) system via batch.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NOTIONAL_DATE

NOT NULL

VARCHAR2 (9)

20

PROFILE_CODE

NOT NULL

VARCHAR2 (20)

30

STORE_ORDER_CYCLE_CODE

NOT NULL

VARCHAR2 (24)

Column Detail
10

NOTIONAL_DATE
Optional ? :No ; Varchar2 (9) ;() ;

; Uppercase ? :No ;

The start date of the profile/order cycle assignment


20

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

; Uppercase ? :No ;

Uniquely identifies the profile


30

STORE_ORDER_CYCLE_CODE
Optional ? :No ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

Uniquely identifies the store order cycle

Oracle Designer Report : cktci

14 May

2008

Page 235 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ISST
Display Title : I Stister Stocking Point

Table Name : I_SISTER_STOCKING_POINT

Description :

staging table contains sister stocking point relations. Sister


stocking point refers to creating a new stocking point by copying an
existing stocking point.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

20

NEW_STOCKING_POINT_NUMBER

NOT NULL

VARCHAR2 (20)

25

EXISTING_STOCKING_POINT_NUMBER

NOT NULL

VARCHAR2 (20)

30

NEW_STOCKING_POINT_OPEN_DATE

NOT NULL

DATE

Column Detail
20

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

; Uppercase ? :No ;

new stocking point created by copying the existing stocking point


25

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

; Uppercase ? :No ;

uniquq identifier of an existing stocking point, or the copied from stocking


point.
30

NEW_STOCKING_POINT_OPEN_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

date the new stocking point opens

Oracle Designer Report : cktci

14 May

2008

Page 236 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ISS
Display Title : I Sister Store

Table Name : I_SISTER_STORE

Description :

Staging table ontaining sister-store (creating a new store by copying


an existing store) associations imported from an external system.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

15

NEW_STORE_CODE

NOT NULL

VARCHAR2 (20)

22

EXISTING_STORE_CODE

NOT NULL

VARCHAR2 (20)

30

NEW_STORE_OPEN_DATE

NOT NULL

DATE

Column Detail
15

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

; Uppercase ? :No ;

Identifies a new store created by copying the existing store.


22

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

; Uppercase ? :No ;

Uniquely identifies an existing store that is to be copied to generate a new


store.
30

NEW_STORE_OPEN_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the opening date of the new store.

Oracle Designer Report : cktci

14 May

2008

Page 237 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ISF
Display Title : I Store Format Pack Size

Table Name : I_STORE_FORMAT_PACK_SIZE

Description :

staging table contains default warehouse-to-store commodity pack size


at store format level from external source. The table is used to
facilitate batch loading process.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_FORMAT_CODE

NOT NULL

VARCHAR2 (20)

20

COMMODITY_CODE

NOT NULL

VARCHAR2 (20)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

STOCKING_POINT_NUMBER

NOT NULL

VARCHAR2 (20)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

Column Detail
10

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

; Uppercase ? :No ;

unique identifier of store format


20

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

; Uppercase ? :No ;

unique identifier of commodity


30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

supply pack size for the commodity


40

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

; Uppercase ? :No ;

unique identifier of stocking point as the supply source


50

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

First date the commodity pack size in effective


60

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Last date for the commodity pack size in effective

Oracle Designer Report : cktci

14 May

2008

Page 238 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ISPS
Display Title : I Store Pack Size

Table Name : I_STORE_PACK_SIZE

Description :

Contains warehouse-to-store default commodity pack size at the store


level (referred to as the 'exception' level since store is more
granular than store_format). This staging table holds data from an
external source and is used to facilitate batch loading process.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_CODE

NOT NULL

VARCHAR2 (20)

20

COMMODITY_CODE

NOT NULL

VARCHAR2 (20)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

STOCKING_POINT_NUMBER

NOT NULL

VARCHAR2 (20)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

Column Detail
10

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

; Uppercase ? :No ;

unique identifier of store


20

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

; Uppercase ? :No ;

unique identifier of commodity


30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

supply pack size for the commodity


40

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

; Uppercase ? :No ;

unique identifier of stocking point as the supply source


50

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

First date the commodity pack size in effective


60

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 239 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

First date the commodity pack size in effective

Oracle Designer Report : cktci

14 May

2008

Page 240 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ISK
Display Title : Interface Skips Splr Links

Table Name :
I_SUPPLIER_COMMODITY_PACK_SIZE

Description :

Staging table for SUPPLIER_COMMODITY_PACK_SIZE table

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER

NULL

VARCHAR2 (20)

20

COMMODITY_PACK_SIZE

NULL

VARCHAR2 (20)

30

FLAG

NULL

VARCHAR2 (1)

Column Detail
10

SUPPLIER
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SPLR position
20

COMMODITY_PACK_SIZE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

SKPS position
30

FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Linking flag

Oracle Designer Report : cktci

14 May

2008

Page 241 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : I Valid Warehouse

Table Name : I_VALID_WAREHOUSE

Description :

Staging table containing new profile/warehouse assignments channeled


from external system to AIP online (Web) system via batch process.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_NUMBER

NOT NULL

VARCHAR2 (20)

20

PROFILE_CODE

NOT NULL

VARCHAR2 (20)

Column Detail
10

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

; Uppercase ? :No ;

Uniquely identifies the warehouse


20

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

; Uppercase ? :No ;

Uniquely identifies the profile

Oracle Designer Report : cktci

14 May

2008

Page 242 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: KTG
Display Title :

Table Name : KEEP_TOGETHER_GROUP

Description :

These are groupings of one or more vendors within a Delivery Group


whose orders should be kept together on the minimum possible number of
vehicles

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

KEEP_TOGETHER_GROUP_ID

NOT NULL

NUMBER (12)

20

KEEP_TOGETHER_GROUP_CODE

NOT NULL

VARCHAR2 (16)

30

KEEP_TOGETHER_GROUP_NAME

NOT NULL

VARCHAR2 (64)

40

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_KEEP_TOGETHER_GROUP

KEEP_TOGETHER_GROUP_ID

Foreign Keys
KTG_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Seq.

Name
KEEP_TOGETHER_GROUP_I1

10

Column

Index Type

DELIVERY_GROUP_ID

NOT UNIQUE

Column Detail
10

KEEP_TOGETHER_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a keep together group.


20

KEEP_TOGETHER_GROUP_CODE

Oracle Designer Report : cktci

14 May

2008

Page 243 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :No ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Contains the code of a keep together group.


30

KEEP_TOGETHER_GROUP_NAME
Optional ? :No ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of a keep together group.


40

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 244 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: KTA
Display Title :

Table Name : KTG_ASSIGNMENT

Description :

This table holds suppliers assigned to keep together groups.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

KEEP_TOGETHER_GROUP_ID

NOT NULL

NUMBER (12)

20

SUPPLIER_ID

NOT NULL

NUMBER (10)

30

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_KTG_ASSIGNMENT

KEEP_TOGETHER_GROUP_ID
SUPPLIER_ID
STOCKING_POINT_ID

Foreign Keys
KTA_KTG_FK
KEEP_TOGETHER_GROUP_ID references
KEEP_TOGETHER_GROUP.KEEP_TOGETHER_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
KTA_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
KTA_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 245 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

Column

Index Type

KTG_ASSIGNMENT_I1

10

STOCKING_POINT_ID

NOT UNIQUE

KTG_ASSIGNMENT_I2

10

SUPPLIER_ID

NOT UNIQUE

Column Detail
10

KEEP_TOGETHER_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a keep together group.


20

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

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


30

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


Warehouse-chamber.
40

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 246 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: MAL
Display Title :

Table Name : MAIL

Description :

Mail messsage definitions.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

MAILID

NOT NULL

NUMBER (38)

20

LOOKUP

NULL

VARCHAR2 (32)

30

SHORTNAME

NULL

VARCHAR2 (50)

40

DESCRIPTION

NULL

VARCHAR2 (255)

50

SUBJECT

NULL

VARCHAR2 (64)

60

MAILTEXT

NULL

VARCHAR2 (255)

70

MAILTO

NULL

NUMBER (38)

80

GROUPID

NULL

NUMBER (38)

90

GROUPLOOKUP

NULL

VARCHAR2 (32)

100

MAILTYPE

NULL

NUMBER (38)

110

APPLICATION

NULL

NUMBER (38)

120

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_MAIL

MAILID

Column Detail
10

MAILID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

LOOKUP
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Key used by servlet to lookup message info


30

SHORTNAME
Optional ? :Yes ; Varchar2 (50) ;() ;

40

; Uppercase ? :No ;

DESCRIPTION
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 247 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
50

SUBJECT
Optional ? :Yes ; Varchar2 (64) ;() ;

60

; Uppercase ? :No ;

MAILTEXT
Optional ? :Yes ; Varchar2 (255) ;() ;

70

MAILTO
Optional ? :Yes ; Number (38) ;() ;

80

; Uppercase ? :No ;

; Uppercase ? :No ; Default Value :0 ;

GROUPID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

ID of mail used for grouping this message type


90

GROUPLOOKUP
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Lookup code instead of GroupID


100

MAILTYPE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

0 for standard mail, 1 for group


110

APPLICATION
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

0 for generic, otherwise application name


120

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page 248 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: MIN
Display Title :

Table Name : MAILINSERTS

Description :

Standard inserts for mail messages.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

INSERTCODE

NULL

NUMBER (38)

20

INSERTNAME

NULL

VARCHAR2 (50)

30

INSERTABBREV

NOT NULL

VARCHAR2 (16)

40

APPLICATION

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_MAILINSERTS

INSERTABBREV
APPLICATION

Column Detail
10

INSERTCODE
Optional ? :Yes ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

INSERTNAME
Optional ? :Yes ; Varchar2 (50) ;() ;

30

INSERTABBREV
Optional ? :No ; Varchar2 (16) ;() ;

40

; Uppercase ? :No ;

; Uppercase ? :No ;

APPLICATION
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

0 for all, otherwise application number

Oracle Designer Report : cktci

14 May

2008

Page 249 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: NEG
Display Title :

Table Name : NETWORK_GROUP

Description :

A network group is a grouping of profiles/warehouses used for


monitoring the quantities of SKUs that are flowing through the
physical network. One profile can only be in one network group at any
given point in time (unless there are warehouse exceptions within a
profile). A network group can contain many profiles/warehouses.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NETWORK_GROUP_ID

NOT NULL

NUMBER (12)

20

NETWORK_GROUP_CODE

NOT NULL

VARCHAR2 (4)

30

NETWORK_GROUP_NAME

NULL

VARCHAR2 (64)

40

PLANNING_GROUP_ID

NOT NULL

NUMBER (12)

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_NETWORK_GROUP

NETWORK_GROUP_ID

Foreign Keys
NEG_PLG_FK
PLANNING_GROUP_ID references PLANNING_GROUP.PLANNING_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Name

Seq.

NETWORK_GROUP_I1

10

Column

Index Type

PLANNING_GROUP_ID

NOT UNIQUE

Column Detail
10

NETWORK_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a network group.


Oracle Designer Report : cktci

14 May

2008

Page 250 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
20

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

; Uppercase ? :No ;

Contains the code of a network group.


30

NETWORK_GROUP_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of a network group.


40

PLANNING_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a planning group.


50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 251 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: NPSDT
Display Title : NEW_PACK_SIZE_DEST_TEMP

Table Name : NEW_PACK_SIZE_DEST_TEMP

Description :

This is INDEX ORGANIZED table that is used to store new pack size
destination chambers

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? Yes

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (8)

Primary Key
Name

Column

PK_NEW_PACK_SIZE_DEST_TEMP

DEMAND_GROUP_ID
STOCKING_POINT_ID

Column Detail
10

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

20

; Uppercase ? :No ;

STOCKING_POINT_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 252 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: NPSST
Display Title : NEW_PACK_SIZE_SOURCE_TEMP

Table Name : NEW_PACK_SIZE_SOURCE_TEMP

Description :

This is INDEX ORGANIZED table that is used to store new pack size
sources.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? Yes

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

20

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

30

SOURCE_ID

NOT NULL

NUMBER (8)

Primary Key
Name

Column

PK_NEW_PACK_SIZE_SOURCE_TEMP

DEMAND_GROUP_ID
SOURCE_TYPE
SOURCE_ID

Column Detail
10

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

20

; Uppercase ? :No ;

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

30

; Uppercase ? :No ;

SOURCE_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 253 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: NPST
Display Title : NEW_PACK_SIZE_TEMP

Table Name : NEW_PACK_SIZE_TEMP

Description :

This is INDEX ORGANIZED table that is used to store new pack size data
in IDs

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? Yes

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_ID

NOT NULL

NUMBER (8)

20

PACK_SIZE

NOT NULL

NUMBER (4)

30

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

40

PRODUCT_TYPE_ID

NOT NULL

NUMBER (12)

Primary Key
Name

Column

PK_NEW_PACK_SIZE_TEMP

COMMODITY_ID
PACK_SIZE

Column Detail
10

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

20

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

30

; Uppercase ? :No ;

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

40

; Uppercase ? :No ;

; Uppercase ? :No ;

PRODUCT_TYPE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 254 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : NON_CONTENTS_ORDER

Description :

Alias
: NCR
Display Title : Non Contents Order

Contains into-warehouse purchase orders and transfers. This table is


populated via RETL from the warehouse replenishment module. Non
contents orders are those orders for which a retailer cannot specify
the physical contents of specific truck/cargo carrier.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NON_CONTENTS_ORDER_ID

NOT NULL

NUMBER (12)

20

STATUS

NOT NULL

VARCHAR2 (1)

30

SOURCE_ID

NOT NULL

NUMBER (12)

35

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

40

DELIVERY_DATE

NOT NULL

DATE

50

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

60

PARENT_ID

NULL

NUMBER (12)

70

DELIVERY_GROUP_ID

NULL

NUMBER (12)

80

COMMODITY_ID

NOT NULL

NUMBER (8)

90

PACK_SIZE

NOT NULL

NUMBER (4)

95

QUANTITY

NOT NULL

NUMBER (8)

100

RECEIVED_QTY

NULL

NUMBER (8)

105

SUP_PERF_QTY

NULL

NUMBER (8)

110

CONFIRMATION_DATE

NULL

DATE

120

COMMUNICATION_STATUS

NULL

NUMBER (2)

140

ORDER_MULTIPLE_EXP

NOT NULL

VARCHAR2 (1)

150

COLLECTION_DATE

NULL

DATE

160

RELEASE_DATE

NULL

DATE

170

RELEASE_RUN_ID

NULL

NUMBER (12)

180

ORDER_NUMBER

NULL

NUMBER (10)

200

VALIDATION_FAILURE_IND

NOT NULL

VARCHAR2 (1)

205

GENERATION_METHOD

NOT NULL

NUMBER (1)

207

LAST_UPDATE_USERNAME

NULL

VARCHAR2 (16)

208

QUANTITY_DELTA

NULL

NUMBER (8)

210

TIMESTAMP

NULL

NUMBER (38)

Oracle Designer Report : cktci

14 May

2008

Page 255 of 509

Table Definition
Container :

AIP 13.0

Version :

Primary Key
Name

Column

PK_NON_CONTENTS_ORDER

NON_CONTENTS_ORDER_ID

Foreign Keys
NCR_CPS_FK
COMMODITY_ID references COMMODITY_PACK_SIZE.COMMODITY_ID
PACK_SIZE references COMMODITY_PACK_SIZE.PACK_SIZE
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Delete Rule : Restricted
Yes
NCR_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Delete Rule : Cascades
No
NCR_NCR_FK
PARENT_ID references
Transferable ? Yes
Mandatory ?
No

NON_CONTENTS_ORDER.NON_CONTENTS_ORDER_ID
Update Rule : Restricted
Delete Rule : Cascades

NCR_RER_FK
RELEASE_RUN_ID references
Transferable ? Yes
Mandatory ?
No

RELEASE_RUN.RELEASE_RUN_ID
Update Rule : Restricted
Delete Rule : Cascades

NCR_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Delete Rule : Cascades
Yes
Check Constraints
Name

Where Validate Clause

CHK_NON_CONT_ORDER_GEN_METHOD

GENERATION_METHOD in (0, 1)

CHK_NON_CONT_ORDER_ORDER_MULT

ORDER_MULTIPLE_EXP in ('Y','N')

CHK_NON_CONT_ORDER_SOURCE_TYPE

SOURCE_TYPE in ('V',

CHK_NON_CONT_ORDER_STATUS

status in ('U','O','V','C')

'W')

Column Detail
10

NON_CONTENTS_ORDER_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a non-contents order.


Oracle Designer Report : cktci

14 May

2008

Page 256 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Seq.

Name

Column

Index Type

NON_CONTENTS_ORDER_I1

10

COMMODITY_ID

NOT UNIQUE

NON_CONTENTS_ORDER_I1

12

PACK_SIZE

NOT UNIQUE

NON_CONTENTS_ORDER_I3

10

PARENT_ID

NOT UNIQUE

NON_CONTENTS_ORDER_I4

10

RELEASE_RUN_ID

NOT UNIQUE

NON_CONTENTS_ORDER_I5

10

STOCKING_POINT_ID

NOT UNIQUE

NON_CONTENTS_ORDER_I7

ORDER_NUMBER

NOT UNIQUE

NON_CONTENTS_ORDER_I8

DELIVERY_DATE

NOT UNIQUE

NON_CONTENTS_ORDER_I9

SOURCE_ID

NOT UNIQUE

NON_CONTENTS_ORDER_I9

SOURCE_TYPE

NOT UNIQUE

Column Detail
20

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

; Uppercase ? :No ; Default Value :U ;

indicates the status of the into-warehouse inventory movement. Valid values


include:
'U' - unreleased
(default)
'O' - open
'V' - overdue
'C' - closed
30

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains either a supplier_id from the supplier table or a stocking_point_id


from the stocking_point table.
35

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

; Uppercase ? :No ;

Contains the source type, where 'V' = Vendor (synonymous with Supplier) and 'W'
= Warehouse.
40

DELIVERY_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains delivery date.


50

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse-chamber.
60

PARENT_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a non-contents order. This column is


only used by direct orders.
Oracle Designer Report : cktci

14 May

2008

Page 257 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
70

DELIVERY_GROUP_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


80

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


90

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


95

QUANTITY
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number of quantity of a non-contents order.


100

RECEIVED_QTY
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

contains the number of units that have been received at the destination.
105

SUP_PERF_QTY
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

indicates the status of the into-warehouse inventory movement. Valid values


include:
'U' - unreleased
(default)
'O' - open
'V' - overdue
'C' - closed
110

CONFIRMATION_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains confirmation date.


120

COMMUNICATION_STATUS
Optional ? :Yes ; Number (2) ;() ;

; Uppercase ? :No ;

Contains communication status.


140

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

; Uppercase ? :No ;

Indicates if the quantity is an exception of order multiple.


150

COLLECTION_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains collection date.


160

RELEASE_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains the intended release date upon which the purchase order/transfer
information will be
communicated to the merchandising system. Rows having a release_date = VDATE
but a
Oracle Designer Report : cktci

14 May

2008

Page 258 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

validation_failure_ind of 'Y' will NOT be released by the automated release


process
170

RELEASE_RUN_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a release run.


180

ORDER_NUMBER
Optional ? :Yes ; Number (10) ;() ;

; Uppercase ? :No ;

Contains a string of order number.


200

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

; Uppercase ? :No ; Default Value :N ;

Indicates if validation is successful or not.


205

GENERATION_METHOD
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Contains a zero if the order is system generated or a 1 if the order is user


generated online.
207

LAST_UPDATE_USERNAME
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Contains the username of the last user to update the row. This will be used to
track changes made in the online screens.
208

QUANTITY_DELTA
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

This column will hold a quantity change value. The value is a sum value of the
changes made to the 'quantity' column, until the point it is communicated to
the merchandising system. It is the job of the process updating the 'quantity'
column to calculate the change in quanity occurring and to add it to any value
in this column. Once the quantity change is communicated to the merchandising
system the quantity will be re-set to null.
210

TIMESTAMP
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 259 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: NDD
Display Title :

Table Name : NON_DELIVERY_DATE

Description :

This table holds all non-delivery dates. Non-delivery dates are set
at the corporate level. Non-delivery dates apply to all warehouses-except when an exception exists--and define the dates that warehouses
are not able to receive shipments. Warehouse replenishment plans will
not be generated for non-delivery days because they are not considered
'Avaialbe to Plan' days.
Exceptions to corporate non-delivery dates will always take precedence
allowing orders to be genreated for those delivery dates.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NON_DELIVERY_DATE

NOT NULL

DATE

20

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_NON_DELIVERY_DATE

NON_DELIVERY_DATE

Column Detail
10

NON_DELIVERY_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a date which Purchase Orders and Transfers cannot be delivered into
warehouses.
20

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 260 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : NON_DELIVERY_DATE_EXCEPTION

Description :

Alias
: NDX
Display Title :

This table holds all exceptions to corporate non-delivery dates. Nondelivery dates apply to all warehouses and define the dates that
warehouses are not able to receive shipments. Warehouse replenishment
plans will not be generated for non-delivery days because they are not
considered 'Avaialbe to Plan' days.
The exception serves to override the non-delivery date thus allowing
orders to be generated for delivery on the corporate non-delivery
date.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

EXCEPTION_DATE

NOT NULL

DATE

20

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

30

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_NON_DELIVERY_DATE_EXCEPT

EXCEPTION_DATE
DELIVERY_GROUP_ID

Foreign Keys
NDX_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Seq.

Name
NON_DELIVERY_DATE_EXCEPT_I1

10

Column

Index Type

DELIVERY_GROUP_ID

NOT UNIQUE

Column Detail
10

EXCEPTION_DATE

Oracle Designer Report : cktci

14 May

2008

Page 261 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the non-delivery date that the exception applies to.


20

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group. Purchase Orders and
Transfers may be generated for any delivery group assignment values that are
effective for the delivery group/exception date.
30

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 262 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: NOD
Display Title :

Table Name : NON_ORDER_DATE

Description :

This table holds all non-order dates. Non-order dates are set at the
corporate level. Non-order dates apply to all warehouse's sources-except when an exception exists--and define the dates that nothing can
be ordered.
Exceptions to corporate non-order dates will always take precedence
allowing orders to be genreated for those delivery dates which have an
order date (release date) on the non-order date.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NON_ORDER_DATE

NOT NULL

DATE

20

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_NON_ORDER_DATE

NON_ORDER_DATE

Column Detail
10

NON_ORDER_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a date which is non-order date. A non-order date is a date that


orders cannot be communicated (released) to their source.
20

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 263 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : NON_ORDER_DATE_EXCEPTION

Description :

Alias
: NOX
Display Title :

This table holds non-order date exceptions.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

EXCEPTION_DATE

NOT NULL

DATE

20

ORDER_GROUP_ID

NOT NULL

NUMBER (12)

30

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_NON_ORDER_DATE_EXCEPTION

EXCEPTION_DATE
ORDER_GROUP_ID

Foreign Keys
NOX_OGR_FK
ORDER_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

ORDER_GROUP.ORDER_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Seq.

Name

10

NON_ORDER_DATE_EXCEPTION_I1

Column

Index Type

ORDER_GROUP_ID

NOT UNIQUE

Column Detail
10

EXCEPTION_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the non-order date that the exception applies to.


20

ORDER_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify an order group. The order group
contains source/demand group/destinations that can be planned on any Available

Oracle Designer Report : cktci

14 May

2008

Page 264 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

To Plan day whose warehouse schedule lead time results in a release date equal
to the non-order exception date.
30

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 265 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ONR
Display Title :

Table Name : ON_RECEIPT_1ST_2ND_TIER

Description :

This table holds receipt-to-availability lead times. The receipt-toavailability lead time indicates the number of days (0 or 1) the
warehouse needs, upon receipt of a SKU, to transfer the SKU out of the
warehouse.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

RECEIPT_TO_AVAIL_LEAD_TIME

NOT NULL

VARCHAR2 (1)

60

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_ON_RECEIPT_1ST_2ND_TIER

DEMAND_GROUP_ID
STOCKING_POINT_ID
START_DATE
END_DATE

Foreign Keys
ONR_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

ONR_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail
10

DEMAND_GROUP_ID

Oracle Designer Report : cktci

14 May

2008

Page 266 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_ON_RECEIPT_1_2_LEAD_TIME

receipt_to_avail_lead_time IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

ON_RECEIPT_1ST_2ND_TIER_I1

10

STOCKING_POINT_ID

NOT UNIQUE

ON_RECEIPT_1ST_2ND_TIER_I2

TIMESTAMP

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group. The receipt to


availability lead time will be applied to all SKU-pack sizes in the demand
group.
20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be


warehouse.
30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;
Contains an end date.

50

; Uppercase ? :No ;

This is always system high date.

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

; Uppercase ? :No ;

Contains a char for receipt to availability lead time, Y for 1 and N for 0.
60

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 267 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ONS
Display Title : ON_SUPPLY_OFF_SUPPLY

Table Name : ON_SUPPLY_OFF_SUPPLY

Description :

Holds ON_SUPPLY_OFF_SUPPLY data

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? Yes

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

ON_SALE_DATE

NOT NULL

DATE

40

OFF_SALE_DATE

NOT NULL

DATE

50

ON_SUPPLY_DATE

NOT NULL

DATE

60

OFF_SUPPLY_DATE

NOT NULL

DATE

70

TIMESTAMP

NOT NULL

NUMBER (13)

Primary Key
Name

Column

PK_ON_SUPPLY_OFF_SUPPLY

STORE_ID
COMMODITY_ID
ON_SUPPLY_DATE
OFF_SUPPLY_DATE

Foreign Keys
ONS_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

ONS_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 268 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Seq.

Name

ON_SUPPLY_OFF_SUPPLY_I1

Column

Index Type

COMMODITY_ID

NOT UNIQUE

Column Detail
20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

30

ON_SALE_DATE
Optional ? :No ; Date ;() ;

40

; Uppercase ? :No ;

OFF_SUPPLY_DATE
Optional ? :No ; Date ;() ;

70

; Uppercase ? :No ;

ON_SUPPLY_DATE
Optional ? :No ; Date ;() ;

60

; Uppercase ? :No ;

OFF_SALE_DATE
Optional ? :No ; Date ;() ;

50

; Uppercase ? :No ;

; Uppercase ? :No ;

TIMESTAMP
Optional ? :No ; Number (13) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 269 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: OCY
Display Title :

Table Name : ORDER_CYCLE

Description :

This table holds all warehouse order cycles. An order cycle is a


collection of lead times covering a 7 day, 14 day, or 28 day period.
The cycle is repeated ever 7, 14, or 28 days as determined by the
ORDER_CYCLE_LENGTH.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ORDER_CYCLE_ID

NOT NULL

NUMBER (12)

20

ORDER_CYCLE_CODE

NOT NULL

VARCHAR2 (5)

30

ORDER_CYCLE_NAME

NULL

VARCHAR2 (64)

40

ORDER_CYCLE_LENGTH

NOT NULL

NUMBER ()

50

COLLECTION_LEAD_TIME

NULL

NUMBER (3)

60

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_ORDER_CYCLE

ORDER_CYCLE_ID

Other Unique Keys


Name

Column

UK_ORDER_CYCLE

ORDER_CYCLE_CODE

Column Detail
10

ORDER_CYCLE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify an order cycle.


20

ORDER_CYCLE_CODE
Optional ? :No ; Varchar2 (5) ;() ;

; Uppercase ? :No ;

Contains the code of an order cycle.


30

ORDER_CYCLE_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 270 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the name of an order cycle.


40

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

; Uppercase ? :No ;

Contains the number of days in an order cycle. Valid values are 7, 14, or 28.
50

COLLECTION_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of collection lead time in days.


60

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 271 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: OCL
Display Title :

Table Name : ORDER_CYCLE_LEAD_TIME

Description :

This table holds lead times of all warehouse order cycles. Each day
that has a lead time is a potential replenishment day. Replenishment
plans (orders) cannot be generated for delivery on days that do not
have lead times.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ORDER_CYCLE_ID

NOT NULL

NUMBER (12)

20

ORDER_CYCLE_SEQ

NOT NULL

NUMBER ()

30

ORDER_LEAD_TIME

NULL

NUMBER (3)

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_ORDER_CYCLE_LEAD_TIME

ORDER_CYCLE_ID
ORDER_CYCLE_SEQ

Foreign Keys
OCL_OCY_FK
ORDER_CYCLE_ID references
Transferable ? Yes
Mandatory ?
Yes

ORDER_CYCLE.ORDER_CYCLE_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

ORDER_CYCLE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify an order cycle.


20

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

; Uppercase ? :No ;

Contains the cycle day-of-week. Depending on the


ORDER_CYCLE.ORDER_CYCLE_LENGTH the day-of-week can range between 1 and 7, 14,
or 28.
The order cycle day-of-week is calculated based on a system wide cycle start
Oracle Designer Report : cktci

14 May

2008

Page 272 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

date of January 2, 2000.


30

ORDER_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;
Contains order lead time in days.

40

; Uppercase ? :No ;
A value of -1 indicates no lead time.

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 273 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ODD
Display Title : Order Definition

Table Name : ORDER_DEFINITION

Description :

In AIP Online orders are held at order detail level, i.e. order line
item level. When an order number is generated, it is generated at
order header level. This table holds the information which specifies
how order line items are rounded up to order headers.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEST_TYPE

NOT NULL

VARCHAR2 (1)

20

ORDER_TYPE

NOT NULL

VARCHAR2 (1)

30

USE_SOURCE

NOT NULL

VARCHAR2 (1)

40

USE_COMMODITY

NOT NULL

VARCHAR2 (1)

50

USE_PACK_SIZE

NOT NULL

VARCHAR2 (1)

60

USE_DEST

NOT NULL

VARCHAR2 (1)

70

USE_DELIVERY_DATE

NOT NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_ORDER_DEFINITION

DEST_TYPE
ORDER_TYPE

Check Constraints
Name

Where Validate Clause

CHK_ORDER_DEF_DEST_TYPE

DEST_TYPE in ('S','W')

CHK_ORDER_DEF_ORDER_TYPE

ORDER_TYPE in ('P','T')

CHK_ORDER_DEF_USE_COMMODITY

USE_COMMODITY in ('Y','N')

CHK_ORDER_DEF_USE_DELIVERY_DAT

USE_DELIVERY_DATE in ('Y','N')

CHK_ORDER_DEF_USE_DEST

USE_DEST in ('Y','N')

CHK_ORDER_DEF_USE_PACK_SIZE

USE_PACK_SIZE in ('Y','N')

CHK_ORDER_DEF_USE_SOURCE

USE_SOURCE in ('Y','N')

Column Detail
10
Oracle Designer Report : cktci

14 May

2008

Page 274 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
DEST_TYPE
Optional ? :No ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates an order supply destination type, S for store and W for warehouse.
20

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

; Uppercase ? :No ;

Indicates an order type, P for purchase order and T for transfer.


30

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

; Uppercase ? :No ;

Indicates if supply sources are used in order header roundup.


40

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

; Uppercase ? :No ;

Indicates if commodities are used in order header roundup.


50

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

; Uppercase ? :No ;

Indicates if pack sizes used in order header roundup.


60

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

; Uppercase ? :No ;

Indicates if supply destinations are used in order header roundup.


70

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

; Uppercase ? :No ;

Indicates if delivery dates are used in order header roundup.

Oracle Designer Report : cktci

14 May

2008

Page 275 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: OGR
Display Title :

Table Name : ORDER_GROUP

Description :

This table holds all order groups. An order group is a collection of


products that share the same order cycle from their sources.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ORDER_GROUP_ID

NOT NULL

NUMBER (12)

20

ORDER_GROUP_CODE

NULL

VARCHAR2 (8)

30

ORDER_GROUP_NAME

NULL

VARCHAR2 (64)

40

TIER

NOT NULL

NUMBER (1)

50

ORDER_CYCLE_ID

NOT NULL

NUMBER (12)

70

SOURCE_ID

NULL

NUMBER (12)

80

SOURCE_TYPE

NULL

VARCHAR2 (1)

85

AUTOMATION_IND

NOT NULL

VARCHAR2 (1)

90

GENERATION_METHOD

NOT NULL

NUMBER (1)

100

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_ORDER_GROUP

ORDER_GROUP_ID

Foreign Keys
OGR_OCY_FK
ORDER_CYCLE_ID references
Transferable ? Yes
Mandatory ?
Yes

ORDER_CYCLE.ORDER_CYCLE_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

ORDER_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify an order group.


20

ORDER_GROUP_CODE

Oracle Designer Report : cktci

14 May

2008

Page 276 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_ORDER_GROUP_AUTO_IND

AUTOMATION_IND in ('Y','N')

CHK_ORDER_GROUP_GEN_METHOD

GENERATION_METHOD in (0,1)

CHK_ORDER_GROUP_SOURCE_TYPE

SOURCE_TYPE in ('V','W')

CHK_ORDER_GROUP_TIER

tier = 1

Index Summary
Name

Seq.

Column

Index Type

ORDER_GROUP_I1

10

ORDER_CYCLE_ID

NOT UNIQUE

ORDER_GROUP_I2

TIMESTAMP

NOT UNIQUE

ORDER_GROUP_I3

SOURCE_ID

NOT UNIQUE

Column Detail

Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Contains the code of an order group.


30

ORDER_GROUP_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of an order group.


40

TIER
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains the number to identify the tier of an order group.


always contain 1 for 1st tier.
50

This field will

ORDER_CYCLE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify an order cycle.


70

SOURCE_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify the warehouse or supplier that is acting as
the source for an order at a given point in time.
80

SOURCE_TYPE
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

This is the value that indicates what type the supply source is.
values are either V (Vendor) or W (Warehouse).
85
Oracle Designer Report : cktci

Current

14 May

2008

Page 277 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
AUTOMATION_IND
Optional ? :No ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates whether the assignment of demand groups will be automated for this
order group. Valid values are 'Y' and 'N'.
90

GENERATION_METHOD
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ; Default Value :1 ;

Automation indicator. A value of '0' indicates the order group is system


generated and a '1' indicates a user generated order group.
100

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 278 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: OGA
Display Title :

Table Name : ORDER_GROUP_ASSIGNMENT

Description :

This table holds demand groups assigned to order groups.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ORDER_GROUP_ID

NOT NULL

NUMBER (12)

20

SOURCE_ID

NOT NULL

NUMBER (12)

25

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

30

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

40

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

70

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_ORDER_GROUP_ASSIGNMENT

SOURCE_ID
SOURCE_TYPE
DEMAND_GROUP_ID
STOCKING_POINT_ID
START_DATE

Column Detail
10

ORDER_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify an order group.


20

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the stocking point ID (from the STOCKING_POINT table) or the supplier
ID (from the SUPPLIER table) that is sourcing the order group/demand
group/destination stocking point.
25

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

; Uppercase ? :No ; Default Value :V ;

Contains the source type, where 'V' = Vendor (synonymous with Supplier) and 'W'

Oracle Designer Report : cktci

14 May

2008

Page 279 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
OGA_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

OGA_OGR_FK
ORDER_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

ORDER_GROUP.ORDER_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

OGA_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_ORD_GRP_ASSIG_SOURCE_TYPE

SOURCE_TYPE in ('V','W')

Index Summary
Seq.

Name

Column

Index Type

ORDER_GROUP_ASSIGNMENT_I1

10

DEMAND_GROUP_ID

NOT UNIQUE

ORDER_GROUP_ASSIGNMENT_I1

30

STOCKING_POINT_ID

NOT UNIQUE

ORDER_GROUP_ASSIGNMENT_I2

10

START_DATE

NOT UNIQUE

ORDER_GROUP_ASSIGNMENT_I2

20

END_DATE

NOT UNIQUE

ORDER_GROUP_ASSIGNMENT_I3

10

STOCKING_POINT_ID

NOT UNIQUE

ORDER_GROUP_ASSIGNMENT_I5

TIMESTAMP

NOT UNIQUE

Column Detail

= Warehouse.
30

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group.


40

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 280 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the number to uniquely identify a stocking point, which must be a


Warehouse-chamber.
50

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the first delivery date that the order group assignment and
corresponding order cycle apply to.
60

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the last day on which the order group assignment is effective. This
value will always be the System High Date. Currently effective order group
assignments are therefore identified using the start date only.
70

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 281 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : ORDER_GROUP_STOCKING_POINT

Description :

Alias
: OGT
Display Title : Order Group Stocking Point

This table holds scheduling locations (warehouse-chambers) assigned to


order groups by the automatic order group creation process.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ORDER_GROUP_STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

ORDER_GROUP_ID

NOT NULL

NUMBER (12)

30

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

40

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_ORDER_GROUP_STOCKING_POINT

ORDER_GROUP_STOCKING_POINT_ID

Foreign Keys
OGT_OGR_FK
ORDER_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

ORDER_GROUP.ORDER_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

OGT_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Name

Seq.

Column

Index Type

ORDER_GROUP_STOCKING_POINT_I1

STOCKING_POINT_ID

NOT UNIQUE

ORDER_GROUP_STOCKING_POINT_I2

ORDER_GROUP_ID

UNIQUE

ORDER_GROUP_STOCKING_POINT_I2

STOCKING_POINT_ID

UNIQUE

Oracle Designer Report : cktci

14 May

2008

Page 282 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

ORDER_GROUP_STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This system-generated key uniquely identifies the row.


20

ORDER_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify an order group.


30

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify a stocking point.


be a warehouse chamber.
40

The stocking point will

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 283 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: OMU
Display Title :

Table Name : ORDER_MULTIPLE

Description :

The number of SKU-packs you must order from the source. You must order
in multiples of this number.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

SOURCE_ID

NOT NULL

NUMBER (12)

25

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

30

COMMODITY_ID

NOT NULL

NUMBER (8)

40

PACK_SIZE

NOT NULL

NUMBER (4)

50

ORDER_MULTIPLE

NOT NULL

NUMBER (8)

60

START_DATE

NOT NULL

DATE

70

END_DATE

NOT NULL

DATE

80

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_ORDER_MULTIPLE

STOCKING_POINT_ID
SOURCE_ID
SOURCE_TYPE
COMMODITY_ID
PACK_SIZE
START_DATE
END_DATE

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse-chamber.
20

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify the warehouse or supplier that is acting as
the source for an order at a given point in time.

Oracle Designer Report : cktci

14 May

2008

Page 284 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
OMU_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

OMU_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_ORDER_MULTIPLE_SOURCE_TYPE

SOURCE_TYPE in ('V','W')

Index Summary
Name

Seq.

Column

Index Type

ORDER_MULTIPLE_I1

10

COMMODITY_ID

NOT UNIQUE

ORDER_MULTIPLE_I3

TIMESTAMP

NOT UNIQUE

Column Detail
25

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

; Uppercase ? :No ;

Indicates supply source type. Where V=supplier (vendor) W=stocking point


(warehouse)
30

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


40

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


50

ORDER_MULTIPLE
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the integer of order multiple.


60

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.

Oracle Designer Report : cktci

14 May

2008

Page 285 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
70

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


80

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 286 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: ODN
Display Title : Order Number

Table Name : ORDER_NUMBER

Description :

This table is used for order number generation. A next order number
can be derived from the current_value and this new order number must
be between low_value and high_value.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ORDER_TYPE

NOT NULL

VARCHAR2 (1)

20

HIGH_VALUE

NOT NULL

NUMBER (12)

30

LOW_VALUE

NOT NULL

NUMBER (12)

40

CURRENT_VALUE

NOT NULL

NUMBER (12)

Primary Key
Name

Column

PK_ORDER_TYPE

ORDER_TYPE

Check Constraints
Name

Where Validate Clause

CHK_ORDER_NUMBER_ORDER_TYPE

ORDER_TYPE in ('P','T')

Column Detail
10

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

; Uppercase ? :No ;

Indicates an order type, P for purchase order and T for transfer.


20

HIGH_VALUE
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains a number of maximum order number.


30

LOW_VALUE
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains a number of minimum order number.


40

CURRENT_VALUE
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 287 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains a number of current order number.

Oracle Designer Report : cktci

14 May

2008

Page 288 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: OPD
Display Title : Order Purge Period

Table Name : ORDER_PURGE_PERIOD

Description :

Orders can be classified into store orders and warehouse orders


according to their destinations. The destinations of store orders are
store while the destinations of warehouse orders are warehouses.
Orders can also be classified into purchase orders or transfers
according to their supply sources. Purchase orders are supplied by
suppliers while transfers are supplied by warehouses. This table holds
the purge period of each type of orders. The purge period defines the
number of days after closure that the purchase order or transfer will
be deleted from AIP.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

20

ORDER_TYPE

NOT NULL

VARCHAR2 (1)

30

PURGE_PERIOD

NOT NULL

NUMBER (3)

Primary Key
Name

Column

PK_ORDER_PURGE_PERIOD

ORDER_TYPE

Check Constraints
Name

Where Validate Clause

CHK_ORD_PURGE_PER_ORDER_TYPE

ORDER_TYPE in ('P','T')

Column Detail
20

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

; Uppercase ? :No ;

Indicates an order type, P for purchase order and T for transfer.


30

PURGE_PERIOD
Optional ? :No ; Number (3) ;() ;

; Uppercase ? :No ;

Contains an integer of days to specify how long a type of orders will be held
in AIP Online. If todays date minus the delivery date is greater than purge
period, then the order will be purged from AIP Online database.

Oracle Designer Report : cktci

14 May

2008

Page 289 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: OSP
Display Title : Order Search Temp

Table Name : ORDER_SEARCH_TEMP

Description :

This table will hold the distinct set of order numbers that have at
least one line item matching the user's search criteria. The table
can contain order numbers from both the non_contents_order and the
store_order tables. Order data will subsequently be retrieved using
order_number/order_type combinations on this table.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ORDER_NUMBER

NULL

VARCHAR2 (10)

20

ORDER_TYPE

NULL

VARCHAR2 (1)

Column Detail
10

ORDER_NUMBER
Optional ? :Yes ; Varchar2 (10) ;() ;

; Uppercase ? :No ;

Holds a distinct list of order numbers which have at least one item matching
the user search criteria.
20

ORDER_TYPE
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

This column indicates whether the corresponding order number represents a


Transfer or a Purchase Order. Valid values include 'P' -purchase order, or 'T'
- transfer

Oracle Designer Report : cktci

14 May

2008

Page 290 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PCL
Display Title :

Table Name : PALETTECOLOURS

Description :

Colours.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NEWCOLOURID

NOT NULL

NUMBER (38)

20

COLOURNAME

NULL

VARCHAR2 (64)

30

COLOURCODE

NULL

VARCHAR2 (32)

40

RGB

NULL

NUMBER (38)

50

SEASONLIST

NULL

VARCHAR2 (255)

60

SCOPE

NULL

VARCHAR2 (64)

70

ENTERPRISE_ID

NULL

NUMBER (38)

Primary Key
Name

Column

PK_PALETTECOLOURS

NEWCOLOURID

Column Detail
10

NEWCOLOURID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

COLOURNAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Name
30

COLOURCODE
Optional ? :Yes ; Varchar2 (32) ;() ;

40

; Uppercase ? :No ;

RGB
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

RGB value
50

SEASONLIST
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

Empty/NS (,) or list of seasons with this colour


60
Oracle Designer Report : cktci

14 May

2008

Page 291 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
SCOPE
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Usually either department number or division key


70

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Oracle Designer Report : cktci

14 May

2008

Page 292 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PMU
Display Title :

Table Name : PALLET_MULTIPLE

Description :

Contains pallet multiple information for at the


source/commodity/pack_size/destintation/date range level, where the
source can be a supplier or warehouse. The pallet multiple defines the
number of cases that comprise a full pallet. When load building
trucks the number of cases available to be loaded can be compared
against the pallet multiple to determine the number of resulting full
pallets and/or the number of cases in a partial pallet.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

15

SOURCE_ID

NOT NULL

NUMBER (12)

16

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

17

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

COMMODITY_ID

NOT NULL

NUMBER (8)

40

PACK_SIZE

NOT NULL

NUMBER (4)

50

PALLET_MULTIPLE

NOT NULL

NUMBER (8)

60

START_DATE

NOT NULL

DATE

70

END_DATE

NOT NULL

DATE

80

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_PALLET_MULTIPLE

SOURCE_ID
SOURCE_TYPE
STOCKING_POINT_ID
COMMODITY_ID
PACK_SIZE
START_DATE
END_DATE

Column Detail
15

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains either a supplier_id from the supplier table or a stocking_point_id


from the stocking_point table. Only warehouse stocking points are valid.
16
Oracle Designer Report : cktci

14 May

2008

Page 293 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
PMU_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

PMU_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_PALLET_MULTIPLE_SOURCE_TYP

SOURCE_TYPE in ('V','W')

Index Summary
Seq.

Name

Column

Index Type

PALLET_MULTIPLE_I1

10

COMMODITY_ID

NOT UNIQUE

PALLET_MULTIPLE_I3

TIMESTAMP

NOT UNIQUE

Column Detail
SOURCE_TYPE
Optional ? :No ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Contains the source type, where 'V' = Vendor (synonymous with Supplier) and 'W'
= Warehouse.
17

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


scheduling location.
30

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


40

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


50

PALLET_MULTIPLE
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the integer of pallet multiple.


Oracle Designer Report : cktci

14 May

2008

Page 294 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
60

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


70

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


80

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 295 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PSE
Display Title :

Table Name : PLACEMENT_SCHEDULE_EXC

Description :

This table holds store placement schedule exceptions.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

PLACEMENT_LEAD_TIME

NULL

NUMBER (3)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

TIMESTAMP

NOT NULL

NUMBER (38)

70

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_PLACEMENT_SCHEDULE_EXC

STORE_ID
COMMODITY_ID
START_DATE
END_DATE

Foreign Keys
PSE_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

PSE_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 296 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_PLACEMENT_SCHED_EXC_IS_DEL

is_deleted IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

PLACEMENT_SCHEDULE_EXC_I1

10

COMMODITY_ID

NOT UNIQUE

PLACEMENT_SCHEDULE_EXC_I2

TIMESTAMP

NOT UNIQUE

Column Detail

Contains the number to uniquely identify a store.


20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

PLACEMENT_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of placement lead time in days. To be effective the


exception placement lead time should be greater than the store order cycle lead
time.
40

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the delivery date that the exception is effective.


not valid if IS_DELETED = 'Y'.
50

The exception is

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the last delivery date (inclusive) that the exception is effective.
The exception is not valid if IS_DELETED = 'Y'.
60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
70

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if this exception has been deleted.


null. Null is equal to 'N'.

Valid values are 'Y', 'N', or

Oracle Designer Report : cktci

14 May

2008

Page 297 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PLG
Display Title :

Table Name : PLANNING_GROUP

Description :

A planning group is a network group or collection of network groups.


Planning groups enable
Network controllers to have a high level view of the volumes flowing
through the supply
chain and identify any capacity issues at warehouses.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PLANNING_GROUP_ID

NOT NULL

NUMBER (12)

20

PLANNING_GROUP_CODE

NOT NULL

VARCHAR2 (4)

30

PLANNING_GROUP_NAME

NULL

VARCHAR2 (64)

40

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_PLANNING_GROUP

PLANNING_GROUP_ID

Column Detail
10

PLANNING_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a planning group.


20

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

; Uppercase ? :No ;

Contains the code of a planning group.


30

PLANNING_GROUP_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of a planning group.


40

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 298 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : PLANNING_HORIZON_DEFAULT

Description :

Alias
: PHD
Display Title :

This table holds default planning horizons which are at Class level.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEPARTMENT_ID

NOT NULL

NUMBER (38)

20

PLANNING_HORIZON

NULL

NUMBER (3)

30

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_PLANNING_HORIZON_DEFAULT

DEPARTMENT_ID

Column Detail
10

DEPARTMENT_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a row in the DEPARTMENTS table.


20

PLANNING_HORIZON
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of planning horizon that is in days.


30

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 299 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : PLANNING_HORIZON_SKU

Table Name : PLANNING_HORIZON_SKU

Description :

This table holds the planning horizon length for every SKU

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? Yes

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_ID

NOT NULL

NUMBER (8)

20

PLANNING_HORIZON

NOT NULL

NUMBER (3)

30

LAST_MAX_LOOKUP

NOT NULL

DATE

Primary Key
Name

Column

PK_PLANNING_HORIZON_SKU

COMMODITY_ID

Column Detail
10

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Uniquely identifies a commodity


20

PLANNING_HORIZON
Optional ? :No ; Number (3) ;() ;

; Uppercase ? :No ;

Planning horizon in number of days


30

LAST_MAX_LOOKUP
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Last_max_lookup is the SKU level maximum lookup setpoint of the last export
run.

Oracle Designer Report : cktci

14 May

2008

Page 300 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PHR
Display Title :

Table Name : PLANNING_HORIZON_STORE

Description :

This table holds store exception planning horizons which are at sku
(commodity) level.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

COMMODITY_ID

NOT NULL

NUMBER (8)

20

PLANNING_HORIZON

NULL

NUMBER (3)

30

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_PLANNING_HORIZON_STORE

COMMODITY_ID

Foreign Keys
PHR_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


20

PLANNING_HORIZON
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of planning horizon that is in days.


30

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 301 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : PO_MFQUEUE

Description :

Alias
: PME
Display Title : Po Mfqueue

Rows on this table indicate that a purchase order creation or


modification message should be published to external systems. The
table will contain reference information such as the order number and
key values, if applicable. Key values are used to uniquely identify a
row on the STORE_ORDER or NON_CONTENTS_ORDER table. The stateless
session bean that processes rows on this table will delete them once
the associated information has been sent to the RIB.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SEQ_NO

NULL

NUMBER (15)

20

ORDER_NUMBER

NOT NULL

NUMBER (10)

30

STORE_ORDER_ID

NULL

NUMBER (12)

40

NON_CONTENTS_ORDER_ID

NULL

NUMBER (12)

50

MESSAGE_TYPE

NOT NULL

VARCHAR2 (15)

55

STATUS

NOT NULL

VARCHAR2 (1)

60

THREAD_NO

NULL

NUMBER (4)

70

FAMILY

NULL

VARCHAR2 (30)

80

CUSTOM_MESSAGE_TYPE

NULL

VARCHAR2 (1)

90

PUB_STATUS

NULL

VARCHAR2 (1)

100

TRANSACTION_NUMBER

NULL

NUMBER (10)

110

TRANSACTION_TIME_STAMP

NOT NULL

DATE

120

FILE_INTERFACE_IND

NULL

VARCHAR2 (1)

130

NOT_BEFORE_DATE

NULL

DATE

140

NOT_AFTER_DATE

NULL

DATE

Check Constraints
Name

Where Validate Clause

CHK_PO_MFQUEUE_FILE_INTER_IND

FILE_INTERFACE_IND IN ('Y','N')

CHK_PO_MFQUEUE_STATUS

STATUS in ('A', 'C')

Column Detail
10

SEQ_NO

Oracle Designer Report : cktci

14 May

2008

Page 302 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

PO_MFQUEUE_I1

Column

Index Type

ORDER_NUMBER

NOT UNIQUE

Column Detail

Optional ? :Yes ; Number (15) ;() ;

; Uppercase ? :No ;

The sequence in which the record was placed in the table. Used to order the
publication of messages to the RIB.
20

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

; Uppercase ? :No ;

Unique identifier of a purchase order. This value will always be populated


30

STORE_ORDER_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Uniquely identifies of a row on the STORE_ORDER table. This key value will
only be populated if the event being published concerns a single row.
40

NON_CONTENTS_ORDER_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Uniquely identifies of a row on the NON_CONTENTS_ORDER table. This key value


will only be populated if the event being published concerns a single row.
50

MESSAGE_TYPE
Optional ? :No ; Varchar2 (15) ;() ;

; Uppercase ? :No ;

Describes the action in AIP that is causing the message to be published to


external systems.
55

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

; Uppercase ? :No ; Default Value :A ;

This column indicates if the purchase order has been completely cancelled in
AIP. The only current means of order cancellation in AIP is via the Order
Maintenance screen. If, for each line item on a purchase order, the user sets
the order quantity to zero, the order must be cancelled in RMS. RMS does not
support approved purchase orders with no quantity.
Note that if a purchase
order has been partially received, users can reduce order quantity for all line
items on a PO to equal the received quantity. This can be referred to as
'cancelling all open quantity'. However, the PO is not cancelled in this case,
since there is still a positive total order quantity.
60

THREAD_NO
Optional ? :Yes ; Number (4) ;() ;

; Uppercase ? :No ;

The thread on which the business transaction will be published. This value is
not currently used by AIP and will not be populated.
70

FAMILY
Optional ? :Yes ; Varchar2 (30) ;() ;

; Uppercase ? :No ;

The functional area the transaction belongs to. This value is not currently
used by AIP and will not be populated.
80

CUSTOM_MESSAGE_TYPE

Oracle Designer Report : cktci

14 May

2008

Page 303 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

This value is not currently used by AIP and will not be populated.
90

PUB_STATUS
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

This value is not currently used by AIP and will not be populated.
100

TRANSACTION_NUMBER
Optional ? :Yes ; Number (10) ;() ;

; Uppercase ? :No ;

This value is not currently used by AIP and will not be populated.
110

TRANSACTION_TIME_STAMP
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Will hold the time (expressed as a date) the record was created.
120

FILE_INTERFACE_IND
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ; Default Value :N ;

Specifies that orders are sent via a message bus system, like the RIB, when set
to 'N' and sent via flat files, like RETL extracts, when set to 'Y'.
130

NOT_BEFORE_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Represents the MIN delivery date among all non-closed order lines for the given
order_number.
140

NOT_AFTER_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Represents the MAX delivery date among all non-closed order lines for the given
order_number.

Oracle Designer Report : cktci

14 May

2008

Page 304 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PTY
Display Title :

Table Name : PRODUCT_TYPE

Description :

This table holds all product types. Product types are defined by the
merchandising system and loaded into AIP via RETL.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PRODUCT_TYPE_ID

NOT NULL

NUMBER (12)

20

PRODUCT_TYPE_CODE

NULL

VARCHAR2 (8)

30

PRODUCT_TYPE

NULL

VARCHAR2 (64)

40

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_PRODUCT_TYPE

PRODUCT_TYPE_ID

Column Detail
10

PRODUCT_TYPE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a product type.


20

PRODUCT_TYPE_CODE
Optional ? :Yes ; Varchar2 (8) ;() ;

; Uppercase ? :No ;

Contains the code of a product type.


30

PRODUCT_TYPE
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of a product type.


40

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 305 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PRO
Display Title :

Table Name : PROFILE

Description :

A Profile is a group of SKUs stocked in a set of warehouses and


supplied to stores using the same
order cycle. This table holds all warehouse profiles and direct
supply profiles. If the value of the column supplier_id is NULL, then
the profile is a warehouse profile. Otherwise the profile is a direct
supply profile.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROFILE_ID

NOT NULL

NUMBER (12)

20

PROFILE_CODE

NOT NULL

VARCHAR2 (16)

30

PROFILE_NAME

NOT NULL

VARCHAR2 (64)

40

SUPPLIER_ID

NULL

NUMBER (10)

50

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_PROFILE

PROFILE_ID

Other Unique Keys


Name

Column

UK_PROFILE

PROFILE_CODE

Foreign Keys
PRO_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
No

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

PROFILE_ID

Oracle Designer Report : cktci

14 May

2008

Page 306 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

PROFILE_I1

10

Column

Index Type

SUPPLIER_ID

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a profile.


20

PROFILE_CODE
Optional ? :No ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Contains the profile code that is communicated with external systems. For
direct-supplied profiles created by AIP Online automation, the profile code
will be identical to the profile_id. For warehouse-supplied profiles created by
AIP Batch, the profile code will contain the supplier code of the supplier that
triggered creation of the profile.
30

PROFILE_NAME
Optional ? :No ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of a profile.


40

SUPPLIER_ID
Optional ? :Yes ; Number (10) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 307 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PNG
Display Title :

Table Name : PROFILE_NETWORK_GROUP

Description :

This table holds network groups assigned to warehouse profiles.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROFILE_ID

NOT NULL

NUMBER (12)

20

NETWORK_GROUP_ID

NOT NULL

NUMBER (12)

30

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

40

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_PROFILE_NETWORK_GROUP

PROFILE_ID
STOCKING_POINT_ID

Foreign Keys
PNG_NEG_FK
NETWORK_GROUP_ID references NETWORK_GROUP.NETWORK_GROUP_ID
Update Rule : Restricted
Transferable ? Yes
Mandatory ?
Yes
Delete Rule : Cascades
PNG_PRO_FK
PROFILE_ID references
Transferable ? Yes
Mandatory ?
Yes

PROFILE.PROFILE_ID
Update Rule : Restricted
Delete Rule : Cascades

PNG_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Update Rule : Restricted
Transferable ? Yes
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail
10

PROFILE_ID

Oracle Designer Report : cktci

14 May

2008

Page 308 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

Column

Index Type

PROFILE_NETWORK_GROUP_I1

10

NETWORK_GROUP_ID

NOT UNIQUE

PROFILE_NETWORK_GROUP_I2

10

STOCKING_POINT_ID

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a profile, which must be a warehouse


profile.
20

NETWORK_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a network group.


30

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


valid warehouse of the profile identified by profile_id.
40

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 309 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: POC
Display Title :

Table Name : PROFILE_ORDER_CYCLE

Description :

This table holds store order cycles assigned to profiles.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROFILE_ID

NOT NULL

NUMBER (12)

20

STORE_ORDER_CYCLE_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_PROFILE_ORDER_CYCLE

PROFILE_ID
STORE_ORDER_CYCLE_ID
START_DATE
END_DATE

Foreign Keys
POC_PRO_FK
PROFILE_ID references
Transferable ? Yes
Mandatory ?
Yes

PROFILE.PROFILE_ID
Update Rule : Restricted
Delete Rule : Cascades

POC_SOC_FK
STORE_ORDER_CYCLE_ID references
STORE_ORDER_CYCLE.STORE_ORDER_CYCLE_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail
10

PROFILE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 310 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

Column

Index Type

PROFILE_ORDER_CYCLE_I1

10

STORE_ORDER_CYCLE_ID

NOT UNIQUE

PROFILE_ORDER_CYCLE_I2

TIMESTAMP

NOT UNIQUE

Column Detail

Contains the number to uniquely identify a profile.


20

STORE_ORDER_CYCLE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store order cycle.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 311 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PPX
Display Title :

Table Name :
PROFILE_PLACEMENT_SCHEDULE_EXC

Description :

This table holds profile placement schedule exceptions.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROFILE_ID

NOT NULL

NUMBER (12)

20

PLACEMENT_LEAD_TIME

NULL

NUMBER (3)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER (38)

60

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_PROFILE_PLACEMENT_SCHEDU

PROFILE_ID
START_DATE
END_DATE

Foreign Keys
PPX_PRO_FK
PROFILE_ID references
Transferable ? Yes
Mandatory ?
Yes

PROFILE.PROFILE_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_PROFILE_PLACE_SCHED_IS_DEL

is_deleted IN ('Y', 'N')

Column Detail
10

PROFILE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a profile.

Oracle Designer Report : cktci

14 May

2008

Page 312 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

PROFILE_PLACEMENT_SCHED_EXC_I1

Column

Index Type

TIMESTAMP

NOT UNIQUE

Column Detail
20

PLACEMENT_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of placement lead time in days.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
60

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if this record has been deleted.

Oracle Designer Report : cktci

14 May

2008

Page 313 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PRX
Display Title :

Table Name :
PROFILE_RELEASE_SCHEDULE_EXC

Description :

This table holds profile release schedule exceptions.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROFILE_ID

NOT NULL

NUMBER (12)

20

RELEASE_LEAD_TIME

NULL

NUMBER (3)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER (38)

60

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_PROFILE_RELEASE_SCHEDULE

PROFILE_ID
START_DATE
END_DATE

Foreign Keys
PRX_PRO_FK
PROFILE_ID references
Transferable ? Yes
Mandatory ?
Yes

PROFILE.PROFILE_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_PROFILE_REL_SCHED_IS_DEL

is_deleted IN ('Y', 'N')

Column Detail
10

PROFILE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a profile.

Oracle Designer Report : cktci

14 May

2008

Page 314 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

PROFILE_RELEASE_SCHED_EXC_I1

Column

Index Type

TIMESTAMP

NOT UNIQUE

Column Detail
20

RELEASE_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of release lead time in days.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
60

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 315 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : PROFILE_STORE_RELEASE_EXC

Description :

Alias
: PSX
Display Title :

This table holds profile/store release schedule exceptions

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROFILE_ID

NOT NULL

NUMBER (12)

20

STORE_ID

NOT NULL

NUMBER (12)

30

STORE_ORDER_CYCLE_ID

NOT NULL

NUMBER (12)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

TIMESTAMP

NOT NULL

NUMBER (38)

70

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_PROFILE_STORE_RELEASE_EX

PROFILE_ID
STORE_ID
START_DATE
END_DATE

Column Detail
10

PROFILE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a profile.


20

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


30

STORE_ORDER_CYCLE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store order cycle.


40

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


Oracle Designer Report : cktci

14 May

2008

Page 316 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
PSX_PRO_FK
PROFILE_ID references
Transferable ? Yes
Mandatory ?
Yes

PROFILE.PROFILE_ID
Update Rule : Restricted
Delete Rule : Cascades

PSX_SOC_FK
STORE_ORDER_CYCLE_ID references
STORE_ORDER_CYCLE.STORE_ORDER_CYCLE_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
PSX_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_PROFILE_STORE_REL_IS_DEL

is_deleted IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

PROFILE_STORE_RELEASE_EX_I1

10

STORE_ORDER_CYCLE_ID

NOT UNIQUE

PROFILE_STORE_RELEASE_EX_I2

10

STORE_ID

NOT UNIQUE

PROFILE_STORE_RELEASE_EX_I3

TIMESTAMP

NOT UNIQUE

Column Detail
50

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
70

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if this record has been deleted.

Oracle Designer Report : cktci

14 May

2008

Page 317 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PSF
Display Title :

Table Name : PUSH_SINGLES_FLAG

Description :

Indicates whether or not the warehouse is allowed to carry singles


inventory into the next day. AIP runs the Stockless Reconciliation
algorithm to distribute the excess singles inventory 'fairly' among
destinations. You can define default and exception handling for SKUpacks.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

DEPARTMENT_ID

NOT NULL

NUMBER (38)

30

PUSH_SINGLES_FLAG

NOT NULL

VARCHAR2 (1)

40

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_PUSH_SINGLES_FLAG

STOCKING_POINT_ID
DEPARTMENT_ID

Foreign Keys
PSF_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_PUSH_SINGLES_FLAG

push_singles_flag IN ('Y', 'N')

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 318 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the number to uniquely identify a stocking point, which must be a


warehouse.
20

DEPARTMENT_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a department.


30

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

; Uppercase ? :No ;

Indicates whether singles inventory can remain in the warehouse overnight.


Valid values are 'Y' or 'N'.
40

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 319 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: PFC
Display Title :

Table Name : PUSH_SINGLES_FLAG_EXC

Description :

Indicates that the warehouse is not allowed to carry singles inventory


into the next day. AIP runs the Stockless Reconciliation algorithm to
distribute the excess singles inventory 'fairly' among destinations.
You can define default and exception handling
for SKU-packs.
Exceptions, when defined, are always used in place of the default.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

PUSH_SINGLES_FLAG

NOT NULL

VARCHAR2 (1)

40

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_PUSH_SINGLES_FLAG_EXC

STOCKING_POINT_ID
COMMODITY_ID

Foreign Keys
PFC_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

PFC_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 320 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_PUSH_SINGLES_FLAG_EXC_PSF

push_singles_flag IN ('Y', 'N')

Index Summary
Name

Seq.

PUSH_SINGLES_FLAG_EXC_I1

10

Column

Index Type

COMMODITY_ID

NOT UNIQUE

Column Detail

Contains the number to uniquely identify a stocking point, which must be a


warehouse.
20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

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

; Uppercase ? :No ;

Indicates whether singles inventory can remain in the warehouse overnight.


Valid values are 'Y' or 'N'.
40

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 321 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : RANGED_COMMODITY_PACK_SIZE

Description :

Alias
: RCP
Display Title :

This table holds the information about which commodity pack sizes are
ranged at which warehouses.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

IS_SEASONAL

NULL

VARCHAR2 (1)

50

RANGING_STATUS

NULL

NUMBER (1)

60

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_RANGED_COMMODITY_PACK_SI

STOCKING_POINT_ID
COMMODITY_ID
PACK_SIZE

Foreign Keys
RCP_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

RCP_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_RANGED_CPS_IS_SEASONAL

is_seasonal IN ('Y', 'N')

Oracle Designer Report : cktci

14 May

2008

Page 322 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

Column

Index Type

RANGED_COMMODITY_PACK_SI_I1

10

COMMODITY_ID

NOT UNIQUE

RANGED_COMMODITY_PACK_SI_I1

20

PACK_SIZE

NOT UNIQUE

RANGED_COMMODITY_PACK_SI_I1

30

RANGING_STATUS

NOT UNIQUE

RANGED_COMMODITY_PACK_SI_I2

TIMESTAMP

NOT UNIQUE

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse.
20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


40

IS_SEASONAL
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if the ranging is seasonal. This is from Batch but used nowhere.
50

RANGING_STATUS
Optional ? :Yes ; Number (1) ;() ;

; Uppercase ? :No ;

Contains the number of ranging status, 0 for unranged,1 for profile-ranged, 2


for exception-ranged, 3 for pending-deranged, 4 for deranged.
60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 323 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : RDC_STORE_RECONCIL_FLAG_EXC

Description :

Alias
: RSR
Display Title :

This table holds warehouse reconciliation flag exceptions. This flag


indicates whether or not reconciliation should be performed for the
warehouse source.
Exceptions, when defined, are always used in place of the default
defined in the STOCKING_POINT table.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

30

RECONCILIATION_FLAG

NOT NULL

VARCHAR2 (1)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

TIMESTAMP

NOT NULL

NUMBER (38)

70

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_RDC_STORE_REC_FLAG_EXC

STOCKING_POINT_ID
DEMAND_GROUP_ID
START_DATE
END_DATE

Foreign Keys
RSR_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

RSR_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades

Oracle Designer Report : cktci

14 May

2008

Page 324 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_RDC_STORE_R_FLAG_EXC_FLAG

reconciliation_flag IN ('Y', 'N')

CHK_RDC_STORE_R_FLAG_EXC_IS_DE

is_deleted IN ('Y', 'N')

Index Summary
Name

Seq.

Column

Index Type

RDC_STORE_REC_FLAG_EXC_I1

10

DEMAND_GROUP_ID

NOT UNIQUE

RDC_STORE_REC_FLAG_EXC_I2

TIMESTAMP

NOT UNIQUE

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a 1sttier warehouse chamber.
20

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group.


30

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

; Uppercase ? :No ;

Contains if reconciliation flag is set.


40

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


50

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
70

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if this record has been deleted.

Oracle Designer Report : cktci

14 May

2008

Page 325 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: RWI
Display Title :

Table Name : RECEIVING_WINDOW

Description :

A receiving window contains a number of receiving slots (not


necessarily contiguous) that have been grouped together, because the
slots have some common receiving characteristic. This
collection of slots can be referred to by name when setting delivery
preferences.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RECEIVING_WINDOW_ID

NOT NULL

NUMBER (8)

20

RECEIVING_WINDOW_NUMBER

NULL

VARCHAR2 (2)

30

RECEIVING_WINDOW_NAME

NULL

VARCHAR2 (32)

40

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_RECEIVING_WINDOW

RECEIVING_WINDOW_ID

Other Unique Keys


Name

Column

UK_RECEIVING_WINDOW

RECEIVING_WINDOW_NUMBER

Column Detail
10

RECEIVING_WINDOW_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a receiving window.


20

RECEIVING_WINDOW_NUMBER
Optional ? :Yes ; Varchar2 (2) ;() ;

; Uppercase ? :No ;

Contains the number or code of a receiving window.


30

RECEIVING_WINDOW_NAME
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Contains the name of a receiving window.


Oracle Designer Report : cktci

14 May

2008

Page 326 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
40

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 327 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : RECEIVING_WINDOW_ASSIGNMENT

Description :

Alias
: RWA
Display Title :

This table holds warehouse-chambers assigned to receiving windows.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RECEIVING_WINDOW_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_RECEIVING_WINDOW_ASSIGNM

RECEIVING_WINDOW_ID
STOCKING_POINT_ID

Foreign Keys
RWA_RWI_FK
RECEIVING_WINDOW_ID
Transferable ? Yes
Mandatory ?
Yes

references RECEIVING_WINDOW.RECEIVING_WINDOW_ID
Update Rule : Restricted
Delete Rule : Cascades

RWA_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Seq.

Name
RECEIVING_WINDOW_ASSIGNM_I1

10

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
10

RECEIVING_WINDOW_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 328 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the number to uniquely identify a receiving window.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


scheduling location.
30

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 329 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: RWD
Display Title :

Table Name :
RECEIVING_WINDOW_TIMES_DEFAULT

Description :

This table holds day-of-week default receiving windows defined for a


warehouse-chamber.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RECEIVING_WINDOW_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

HOUR_PATTERN

NULL

VARCHAR2 (24)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

DAY_OF_WEEK

NOT NULL

NUMBER (1)

70

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_RECEIVING_WINDOW_TIMES_DEF

RECEIVING_WINDOW_ID
STOCKING_POINT_ID
DAY_OF_WEEK
START_DATE
END_DATE

Foreign Keys
RWD_RWI_FK
RECEIVING_WINDOW_ID
Transferable ? Yes
Mandatory ?
Yes

references RECEIVING_WINDOW.RECEIVING_WINDOW_ID
Update Rule : Restricted
Delete Rule : Cascades

RWD_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 330 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_RECV_WINDOW_TIMES_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

Index Summary
Name

Seq.

RECEIVING_WINDOW_TIMES_DEF_I1

10

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
10

RECEIVING_WINDOW_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a receiving window.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse-chamber.
30

HOUR_PATTERN
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

Contains a string of length 24, each char in the string represents one hour in
a day and is either Y for receiving or N for not-receiving.
40

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


50

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


60

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
70

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 331 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : RECEIVING_WINDOW_TIMES_EXC

Description :

Alias
: RWX
Display Title :

This table holds date exceptions of receiving windows for a warehousechamber.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RECEIVING_WINDOW_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

HOUR_PATTERN

NULL

VARCHAR2 (24)

40

EXCEPTION_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_RECEIVING_WINDOW_TIMES_E

RECEIVING_WINDOW_ID
STOCKING_POINT_ID
EXCEPTION_DATE

Foreign Keys
RWX_RWI_FK
RECEIVING_WINDOW_ID
Transferable ? Yes
Mandatory ?
Yes

references RECEIVING_WINDOW.RECEIVING_WINDOW_ID
Update Rule : Restricted
Delete Rule : Cascades

RWX_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Name
RECEIVING_WINDOW_TIMES_EXC_I1

Seq.
10

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
Oracle Designer Report : cktci

14 May

2008

Page 332 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

RECEIVING_WINDOW_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a receiving window.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


scheduling location.
30

HOUR_PATTERN
Optional ? :Yes ; Varchar2 (24) ;() ;

; Uppercase ? :No ;

Contains a string of length 24, each char in the string represents one hour in
a day and is either Y for receiving or N for not-receiving.
40

EXCEPTION_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an exception date.


50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 333 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: RER
Display Title :

Table Name : RELEASE_RUN

Description :

This table holds all release runs. AIP currently only supports a
single release run. All Purchase Orders and Transfers are released in
a single, morning release run.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RELEASE_RUN_ID

NOT NULL

NUMBER (12)

20

RELEASE_RUN_CODE

NOT NULL

VARCHAR2 (16)

30

RELEASE_RUN_NAME

NULL

VARCHAR2 (64)

40

IS_DEFAULT

NOT NULL

VARCHAR2 (1)

50

BATCH_RUN_ID

NOT NULL

NUMBER (12)

60

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_RELEASE_RUN

RELEASE_RUN_ID

Foreign Keys
RER_BAR_FK
BATCH_RUN_ID references
Transferable ? Yes
Mandatory ?
Yes

BATCH_RUN.BATCH_RUN_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_RELEASE_RUN_IS_DEFAULT

is_default IN ('Y', 'N')

Column Detail
10

RELEASE_RUN_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a release run.

Oracle Designer Report : cktci

14 May

2008

Page 334 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

RELEASE_RUN_I1

10

Column

Index Type

BATCH_RUN_ID

NOT UNIQUE

Column Detail
20

RELEASE_RUN_CODE
Optional ? :No ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Contains the code of a release run.


30

RELEASE_RUN_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of a release run.


40

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

; Uppercase ? :No ;

Indicates if this release run is default one.


50

BATCH_RUN_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a batch run.


60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 335 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: RES
Display Title :

Table Name : RELEASE_SCHEDULE_EXC

Description :

This table holds exceptions to the store order cycle release lead
time.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

RELEASE_LEAD_TIME

NULL

NUMBER (3)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

TIMESTAMP

NOT NULL

NUMBER (38)

70

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_RELEASE_SCHEDULE_EXC

STORE_ID
COMMODITY_ID
START_DATE
END_DATE

Foreign Keys
RES_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

RES_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

STORE_ID

Oracle Designer Report : cktci

14 May

2008

Page 336 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_RELEASE_SCHED_EXC_IS_DEL

is_deleted IN ('Y', 'N')

Index Summary
Name

Seq.

Column

Index Type

RELEASE_SCHEDULE_EXC_I1

10

COMMODITY_ID

NOT UNIQUE

RELEASE_SCHEDULE_EXC_I2

TIMESTAMP

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

RELEASE_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of release lead time in days.


40

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


50

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
70

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if this record has been deleted.

Oracle Designer Report : cktci

14 May

2008

Page 337 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: RBK
Display Title : Restart Bookmark

Table Name : RESTART_BOOKMARK

Description :

When a restart/recovery program thread is currently active, its state


is started or aborted, a record for it will exist on the
restart_bookmark table. Restart/recovery initialization logic inserts
the record into the table for a program thread.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RESTART_NAME

NOT NULL

VARCHAR2 (50)

20

THREAD_VAL

NOT NULL

NUMBER (10)

30

BOOKMARK_STRING

NULL

VARCHAR2 (255)

40

APPLICATION_IMAGE

NULL

VARCHAR2 (1000)

50

OUT_FILE_STRING

NULL

VARCHAR2 (255)

60

NON_FATAL_ERR_FLAG

NULL

VARCHAR2 (1)

70

NUM_COMMITS

NULL

NUMBER (12)

80

AVG_TIME_BTWN_COMMITS

NULL

NUMBER (12)

Primary Key
Name

Column

PK_RESTART_BOOKMARK

RESTART_NAME
THREAD_VAL

Column Detail
10

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

; Uppercase ? :No ;

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

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

; Uppercase ? :No ;

This field contains the thread number that defines the subset of data the given
restart name processed.
30

BOOKMARK_STRING
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

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

APPLICATION_IMAGE
Oracle Designer Report : cktci

14 May

2008

Page 338 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

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

OUT_FILE_STRING
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

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

NON_FATAL_ERR_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

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

NUM_COMMITS
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

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

AVG_TIME_BTWN_COMMITS
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

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

Oracle Designer Report : cktci

14 May

2008

Page 339 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : RESTART_CONTROL

Table Name : RESTART_CONTROL

Description :

This table is the master table in the restart/recovery table set. One
record will exist on this table for each batch program that is run
with restart/recovery logic in place. The restart/recovery process
uses this table to determine the total number of threads used for each
batch program as well as the driver for the threading (multiprocessing) logic.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROGRAM_NAME

NOT NULL

VARCHAR2 (25)

20

PROGRAM_DESC

NULL

VARCHAR2 (120)

30

DRIVER_NAME

NOT NULL

VARCHAR2 (25)

40

NUM_THREADS

NOT NULL

NUMBER (10)

50

UPDATE_ALLOWED

NOT NULL

VARCHAR2 (2)

60

PROCESS_FLAG

NOT NULL

VARCHAR2 (1)

70

COMMIT_MAX_CTR

NOT NULL

NUMBER (6)

Primary Key
Name

Column

PK_RESTART_CONTROL

PROGRAM_NAME

Column Detail
10

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

; Uppercase ? :No ;

This field contains the batch program name.


20

PROGRAM_DESC
Optional ? :Yes ; Varchar2 (120) ;() ;

; Uppercase ? :No ;

This field contains a description of the batch program.


30

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

; Uppercase ? :No ;

This field contains the driver name which will define the types of values fed
to the driving cursor. Each driver name uses a different cursor, which are
Oracle Designer Report : cktci

14 May

2008

Page 340 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

defined in the restart views.


40

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

; Uppercase ? :No ;

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

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

; Uppercase ? :No ;

This field indicates whether the user can update thread numbers or if it is
done programmatically.
60

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

; Uppercase ? :No ;

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

COMMIT_MAX_CTR
Optional ? :No ; Number (6) ;() ;

; Uppercase ? :No ;

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

Oracle Designer Report : cktci

14 May

2008

Page 341 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: RPH
Display Title : RESTART_PROGRAM_HISTORY

Table Name : RESTART_PROGRAM_HISTORY

Description :

The restart_program_history table will contain one record for every


successfully completed program thread with restart/recovery logic.
Upon the successful completion of a program thread, its record on the
restart_program_status table will be updated

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RESTART_NAME

NOT NULL

VARCHAR2 (50)

20

THREAD_VAL

NOT NULL

NUMBER (10)

30

START_TIME

NOT NULL

DATE

40

PROGRAM_NAME

NOT NULL

VARCHAR2 (25)

50

NUM_THREADS

NOT NULL

NUMBER (10)

60

COMMIT_MAX_CTR

NOT NULL

NUMBER (6)

70

RESTART_TIME

NULL

DATE

80

FINISH_TIME

NOT NULL

DATE

90

SHADOW_PID

NULL

NUMBER (15)

100

SUCCESS_FLAG

NULL

VARCHAR2 (1)

110

NON_FATAL_ERR_FLAG

NULL

VARCHAR2 (1)

120

NUM_COMMITS

NULL

NUMBER (12)

130

AVG_TIME_BTWN_COMMITS

NULL

NUMBER (12)

Primary Key
Name

Column

PK_RESTART_PROGRAM_HISTORY

RESTART_NAME
THREAD_VAL
START_TIME

Column Detail
10

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

; Uppercase ? :No ;

This field contains the restart name for the program. Generally this field
will be the same as the program name, but this field could contain additional
information about the thread it is running for as well.
20

THREAD_VAL
Oracle Designer Report : cktci

14 May

2008

Page 342 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

This field contains the thread number that defines the subset of data the given
restart name will process.
30

START_TIME
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

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

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

; Uppercase ? :No ;

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

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

; Uppercase ? :No ;

Total number of threads (batch program processed) will be initiated for a given
batch program during a given batch cycle. Will be used to determine what
combination of total thread numbers and maximum logical units of work will be
ideal fo
60

COMMIT_MAX_CTR
Optional ? :No ; Number (6) ;() ;

; Uppercase ? :No ;

This field contains the numeric maximum value for the counter before a commit
occurs.
70

RESTART_TIME
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

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

FINISH_TIME
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

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

SHADOW_PID
Optional ? :Yes ; Number (15) ;() ;

; Uppercase ? :No ;

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

SUCCESS_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

This field indicates whether the process finished successfully.


110

NON_FATAL_ERR_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

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

NUM_COMMITS
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

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

Oracle Designer Report : cktci

The possible

14 May

2008

Page 343 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
130

AVG_TIME_BTWN_COMMITS
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

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

Oracle Designer Report : cktci

14 May

2008

Page 344 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: RPS
Display Title : RESTART_PROGRAM_STATUS

Table Name : RESTART_PROGRAM_STATUS

Description :

This table holds record keeping information about current program


processes. The number of rows for a program on the status table will
be equal to its num_threads value on the restart_control table. The
table is modified during restart/recovery

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

RESTART_NAME

NOT NULL

VARCHAR2 (50)

20

THREAD_VAL

NOT NULL

NUMBER (10)

30

START_TIME

NULL

DATE

40

PROGRAM_NAME

NOT NULL

VARCHAR2 (25)

50

PROGRAM_STATUS

NOT NULL

VARCHAR2 (25)

60

RESTART_FLAG

NULL

VARCHAR2 (1)

70

RESTART_TIME

NULL

DATE

80

FINISH_TIME

NULL

DATE

90

CURRENT_PID

NULL

NUMBER (15)

100

CURRENT_OPERATOR_ID

NULL

VARCHAR2 (20)

110

ERR_MESSAGE

NULL

VARCHAR2 (255)

120

CURRENT_ORACLE_SID

NULL

NUMBER (15)

130

CURRENT_SHADOW_PID

NULL

NUMBER (15)

Primary Key
Name

Column

PK_RESTART_PROGRAM_STATUS

RESTART_NAME
THREAD_VAL

Column Detail
10

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

; Uppercase ? :No ;

This field contains the restart name for the program. Generally this field
will be the same as the program name, but this field could contain additional
information about the thread it is running for as well.
20

THREAD_VAL

Oracle Designer Report : cktci

14 May

2008

Page 345 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

This field contains the thread number that defines the subset of data the given
restart name will process.
30

START_TIME
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

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

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

; Uppercase ? :No ;

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

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

; Uppercase ? :No ;

This field contains the valid status for the program.


60

Valid values are:

RESTART_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

This field contains the value of the restart flag. This field is automatically
set to 'N' after an abend. It must be manually set to 'Y' for the program to
restart.
70

RESTART_TIME
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

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

FINISH_TIME
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

This programs contains the date and time the program last finished.
90

CURRENT_PID
Optional ? :Yes ; Number (15) ;() ;

; Uppercase ? :No ;

This field contains the UNIX process ID that started the program.
100

CURRENT_OPERATOR_ID
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

This field contains the UNIX operator name that started the program.
110

ERR_MESSAGE
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

This field contains the record that caused the program abort and the associated
error message.
120

CURRENT_ORACLE_SID
Optional ? :Yes ; Number (15) ;() ;

; Uppercase ? :No ;

This field contains the Oracle SID for the session associated with the current
process.
130

CURRENT_SHADOW_PID
Optional ? :Yes ; Number (15) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 346 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

This field contains the O/S process ID for the shadow process associated with
the current process. It is used to locate the session trace file when a
process is not finished successfully.

Oracle Designer Report : cktci

14 May

2008

Page 347 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : SECONDARY_SOURCE

Table Name : SECONDARY_SOURCE

Description :

A secondary source is a source that should be used to provide


inventory in the event of a shortage caused by the original source's
inability to meet the unconstrained demand placed upon it.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SECONDARY_SOURCE_ID

NOT NULL

NUMBER (12)

20

DEMAND_GROUP_ID

NOT NULL

NUMBER (9)

30

DESTINATION_ID

NOT NULL

NUMBER (12)

40

DESTINATION_TYPE

NOT NULL

VARCHAR2 (1)

50

SOURCE_ID

NOT NULL

NUMBER (12)

60

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

70

PRIORITY

NOT NULL

NUMBER (2)

80

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SECONDARY_SOURCE

SECONDARY_SOURCE_ID

Other Unique Keys


Name

Column

UK1_SECONDARY_SOURCE

DEMAND_GROUP_ID
DESTINATION_ID
DESTINATION_TYPE
SOURCE_ID
SOURCE_TYPE
DEMAND_GROUP_ID
DESTINATION_ID
DESTINATION_TYPE
PRIORITY

UK2_SECONDARY_SOURCE

Column Detail
10

SECONDARY_SOURCE_ID

Oracle Designer Report : cktci

14 May

2008

Page 348 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SSE_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Restricted

Check Constraints
Name

Where Validate Clause

CHK_SECONDARY_SOURCE_DEST_TYPE

DESTINATION_TYPE IN ('W')

CHK_SECONDARY_SOURCE_PRIORITY

PRIORITY BETWEEN 0 AND 9

CHK_SECONDARY_SOURCE_SRC_TYPE

SOURCE_TYPE IN ('V','W')

Column Detail

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

; Uppercase ? :No ;

This is the unique key that identifies a secondary source record.


sequenced.
20

This key is

DEMAND_GROUP_ID
Optional ? :No ; Number (9) ;() ;

; Uppercase ? :No ;

Identifies a demand group that contains at least one SKU pack available from
the source.
30

DESTINATION_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Identifies a warehouse that an order will be delivered into at a given point in


time.
40

DESTINATION_TYPE
Optional ? :No ; Varchar2 (1) ;() ;
Indicates the destination type.

50

; Uppercase ? :No ;

Current values include W (Warehouse).

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify the warehouse or supplier that is acting as
the source for an order at a given point in time.
60

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

; Uppercase ? :No ;

Contains the source type, where 'V' = Vendor (synonymous with Supplier) and 'W'
= Warehouse
70

PRIORITY
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Identifies the priority of acceptable secondary sources


80

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 349 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 350 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : SET_MISSING_PACK_A_TEMP

Table Name : SET_MISSING_PACK_A_TEMP

Description :

Global temporary table for use in set_missing_pack_size procedure

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SOURCE_ID

NOT NULL

NUMBER (12)

20

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

30

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

40

COMMODITY_ID

NOT NULL

NUMBER (8)

50

PACK_SIZE

NOT NULL

NUMBER (4)

Primary Key
Name

Column

PK_SET_MISSING_PACK_A_TEMP

SOURCE_ID
SOURCE_TYPE
STOCKING_POINT_ID
COMMODITY_ID
PACK_SIZE

Column Detail
10

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains a valid supply source


20

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

; Uppercase ? :No ;

Source type
30

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains a valid destination stocking point


40

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains a commodity id
50

PACK_SIZE

Oracle Designer Report : cktci

14 May

2008

Page 351 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Pack size

Oracle Designer Report : cktci

14 May

2008

Page 352 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : SET_MISSING_PACK_B_TEMP

Table Name : SET_MISSING_PACK_B_TEMP

Description :

Global temporary table for the set_missing_pack_size procedure

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SOURCE_ID

NOT NULL

NUMBER (12)

20

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

30

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

40

COMMODITY_ID

NOT NULL

NUMBER (8)

50

PACK_SIZE

NOT NULL

NUMBER (4)

Primary Key
Name

Column

PK_SET_MISSING_PACK_B_TEMP

SOURCE_ID
SOURCE_TYPE
STOCKING_POINT_ID
COMMODITY_ID
PACK_SIZE

Column Detail
10

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains a valid source


20

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

; Uppercase ? :No ;

Source type
30

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains a valid destination stocking point


40

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains a commodity
50

PACK_SIZE

Oracle Designer Report : cktci

14 May

2008

Page 353 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Pack Size

Oracle Designer Report : cktci

14 May

2008

Page 354 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SHI
Display Title :

Table Name : SHIFT

Description :

A shift is a collection of one or more slots. A shift also defines


the maximum number of boards or pallets that can be accomodated for
the entire shift. The maximum is equal to or less than the sum of the
slots' maximum boards/pallets.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SHIFT_ID

NOT NULL

NUMBER (12)

20

SHIFT_NAME

NULL

VARCHAR2 (64)

30

MAX_PALLET

NULL

NUMBER (5)

40

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SHIFT

SHIFT_ID

Column Detail
10

SHIFT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a shift.


20

SHIFT_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of a shift.


30

MAX_PALLET
Optional ? :Yes ; Number (5) ;() ;

; Uppercase ? :No ;

Contains the number of the maximum pallet capacity of a shift.


40

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 355 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SHD
Display Title :

Table Name : SHIFT_DEFAULT

Description :

Shifts are assigned to one or more days-of-week or exception dates,


and destination warehouse-chambers. This table holds day-of-week
default shift assignments for warehouse-chambers.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

SHIFT_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

SEQ

NOT NULL

NUMBER (2)

60

DAY_OF_WEEK

NOT NULL

NUMBER (1)

70

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SHIFT_DEFAULT

STOCKING_POINT_ID
SHIFT_ID
START_DATE
END_DATE
SEQ
DAY_OF_WEEK

Foreign Keys
SHD_SHI_FK
SHIFT_ID references
Transferable ? Yes
Mandatory ?
Yes

SHIFT.SHIFT_ID
Update Rule : Restricted
Delete Rule : Cascades

SHD_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 356 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_SHIFT_DEFAULT_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

Index Summary
Name

Seq.

SHIFT_DEFAULT_I1

10

Column

Index Type

SHIFT_ID

NOT UNIQUE

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse-chamber.
20

SHIFT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a shift.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the first delivery date that the shift can be applied to.
40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date. The end date is always system high date unless a day-ofweek default is deleted. When a day-of-week default is deleted the end date is
set.
50

SEQ
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Defines the chronological order of the shifts for a day-of-week/stocking point.


The order is defined by the earliest slot time in the shift.
60

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
70

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 357 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SHE
Display Title :

Table Name : SHIFT_EXCEPTION

Description :

Shifts are assigned to one or more days-of-week or exception dates,


and destination warehouse-chambers. This table holds shift date
exception assignments for warehouse-chambers.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

SHIFT_ID

NOT NULL

NUMBER (8)

30

SEQ

NOT NULL

NUMBER (2)

40

RECEIVING_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SHIFT_EXCEPTION

STOCKING_POINT_ID
SHIFT_ID
RECEIVING_DATE
SEQ

Foreign Keys
SHE_SHI_FK
SHIFT_ID references
Transferable ? Yes
Mandatory ?
Yes

SHIFT.SHIFT_ID
Update Rule : Restricted
Delete Rule : Cascades

SHE_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Name
SHIFT_EXCEPTION_I1

Seq.
10

Column

Index Type

SHIFT_ID

NOT UNIQUE

Oracle Designer Report : cktci

14 May

2008

Page 358 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse-chamber.
20

SHIFT_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a shift.


30

SEQ
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Defines the chronological order of the shifts for a day-of-week/stocking point.


The order is defined by the earliest slot time in the shift.
40

RECEIVING_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the delivery date that the exception applies to.


50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 359 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: STT
Display Title : Ship To Wh Type Dest

Table Name : SHIP_TO_WH_TYPE_DEST

Description :

This table contains destination level information for ship


to/warehouse type mapping. These ship to/warehouse type associations
are used in automatic creation of delivery groups and order groups to
determine which scheduling locations will be assigned. They are also
used in automatic assignment of new demand groups to system-generated
delivery groups and order groups.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SHIP_TO_WH_TYPE_DEST_ID

NOT NULL

NUMBER (12)

20

SHIP_TO_WH_TYPE_SOURCE_ID

NOT NULL

NUMBER (12)

30

WH_TYPE

NOT NULL

VARCHAR2 (6)

Primary Key
Name

Column

PK_SHIP_TO_WH_TYPE_DEST

SHIP_TO_WH_TYPE_DEST_ID

Foreign Keys
STT_STE_FK
SHIP_TO_WH_TYPE_SOURCE_ID references
SHIP_TO_WH_TYPE_SOURCE.SHIP_TO_WH_TYPE_SOURCE_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Restricted
Check Constraints
Name

Where Validate Clause

CHK_SHIP_TO_WH_TYPE_DEST_WH_TY

WH_TYPE in ('XD_RG','CS_RG','XD_GS','CS_NT')

Column Detail
10

SHIP_TO_WH_TYPE_DEST_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This key uniquely identifies the row.

Oracle Designer Report : cktci

14 May

2008

Page 360 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Seq.

Name
SHIP_TO_WH_TYPE_DEST_I1

Column

Index Type

SHIP_TO_WH_TYPE_SOURCE_ID

NOT UNIQUE

Column Detail
20

SHIP_TO_WH_TYPE_SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This key uniquely identifies a ship to/warehouse type source row.


30

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

; Uppercase ? :No ;

The value that indicates which type the warehouse is. Valid values include
'XD_RG' for Crossdock, 'CS_RG' for CSCs, 'XD_GS' for Global Sourcing, and
'CS_NT' for Non-Traditional.

Oracle Designer Report : cktci

14 May

2008

Page 361 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: STE
Display Title : Ship To Wh Type Source

Table Name : SHIP_TO_WH_TYPE_SOURCE

Description :

This table contains source level information for ship to/warehouse


type mapping. The associations between ship to values and warehouse
types are used in automatic creation of delivery groups and order
groups to determine which scheduling locations will be assigned. They
are also used in automatic assignment of new demand groups to systemgenerated delivery groups and order groups. If a warehouse type is
specified, the association is used for warehouse-sourced delivery
groups and order groups.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SHIP_TO_WH_TYPE_SOURCE_ID

NOT NULL

NUMBER (12)

20

SHIP_TO

NOT NULL

VARCHAR2 (6)

30

WH_TYPE

NULL

VARCHAR2 (6)

Primary Key
Name

Column

PK_SHIP_TO_WH_TYPE_SOURCE

SHIP_TO_WH_TYPE_SOURCE_ID

Check Constraints
Name

Where Validate Clause

CHK_SHIP_TO_WH_TYP_SRC_SHIP_TO

SHIP_TO in
('XD_RG','CS_RG','XD_GS','XDDCS','XDFCS','CS_ST'
,'STR')
WH_TYPE in ('XD_RG','CS_RG','XD_GS','CS_NT')

CHK_SHIP_TO_WH_TYP_SRC_WH_TYPE
Column Detail
10

SHIP_TO_WH_TYPE_SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This key uniquely identifies the row.


20

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

; Uppercase ? :No ;

Indicates what types of destinations the supplier ships to. Valid values
include 'XD_RG', 'CS_RG', 'XD_GS', 'XDDCS', 'XDFCS', and 'STR'

Oracle Designer Report : cktci

14 May

2008

Page 362 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
30

WH_TYPE
Optional ? :Yes ; Varchar2 (6) ;() ;

; Uppercase ? :No ;

The value that indicates which type the warehouse is. Valid values include
'XD_RG' for Crossdock, 'CS_RG' for CSCs, 'XD_GS' for Global Sourcing, and
'CS_NT' for Non-Traditional.

Oracle Designer Report : cktci

14 May

2008

Page 363 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : SINGLES_ENABLED_COMMODITY

Description :

Alias
: SEC
Display Title :

Indicates whether the Store can receive individual units (singles) of


the SKU.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

SINGLES_ENABLED_FLAG

NOT NULL

VARCHAR2 (1)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SINGLES_ENABLED_COMMODIT

STORE_ID
COMMODITY_ID
START_DATE
END_DATE

Foreign Keys
SEC_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

SEC_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

STORE_ID

Oracle Designer Report : cktci

14 May

2008

Page 364 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_SINGLES_ENABLED_COMM_FLAG

singles_enabled_flag IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

SINGLES_ENABLED_COMMODITY_I1

10

COMMODITY_ID

NOT UNIQUE

SINGLES_ENABLED_COMMODITY_I2

TIMESTAMP

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

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

; Uppercase ? :No ;

Indicates if a commodity (SKU)/store is singles enabled.


or 'N'.
40

Valid values are 'Y'

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


50

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 365 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SLO
Display Title :

Table Name : SLOT

Description :

A slot is a point in time in which vehicles can make deliveries at a


warehouse. When you define the
slot at the warehouse, you also indicate the amount of boards or
pallets and vehicles that
can be accommodated during the time period.
A slot can be assigned to a particular exception date, or day-of-week
but the slot time may not fall on that calendar day. This is allowed
because a notinal day may span more than one calendar day. The
notional day that the slot time falls on is captured in the user
interface and saved with the slot.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SLOT_ID

NOT NULL

NUMBER (12)

20

START_TIME

NOT NULL

NUMBER (5)

30

SEQ

NOT NULL

NUMBER (2)

40

IS_TODAY

NOT NULL

VARCHAR2 (1)

50

MAX_PALLET

NULL

NUMBER (5)

60

MAX_VEHICLE

NULL

NUMBER (5)

70

SHIFT_ID

NOT NULL

NUMBER (12)

80

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SLOT

SLOT_ID

Foreign Keys
SLO_SHI_FK
SHIFT_ID references
Transferable ? Yes
Mandatory ?
Yes

SHIFT.SHIFT_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail
10

SLOT_ID
Oracle Designer Report : cktci

14 May

2008

Page 366 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_SLOT_IS_TODAY

is_today IN ('Y', 'N')

Index Summary
Name

Seq.

SLOT_I1

10

Column

Index Type

SHIFT_ID

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a slot.


20

START_TIME
Optional ? :No ; Number (5) ;() ;

; Uppercase ? :No ;

Containts the number of start time which is in seconds of a day.


30

SEQ
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Contains the chronological order of a slot in a shift. The order is defined by


the START_TIME where the earliest START_TIME in the shift has the lowest seq
(sequence) value.
40

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

; Uppercase ? :No ;

Indicates if the notional day of a slot is the same as the calendar day. Valid
values are 'Y' or 'N'. When the value is 'Y' the slot time falls on the
calendar day. When the value is 'N' the slot START_TIME falls on the previous
calendar day.
50

MAX_PALLET
Optional ? :Yes ; Number (5) ;() ;

; Uppercase ? :No ;

Contains the number of the maximum pallet capacity of a slot.


60

MAX_VEHICLE
Optional ? :Yes ; Number (5) ;() ;

; Uppercase ? :No ;

Contains the number of the maximum vehicle capacity of a slot.


70

SHIFT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a shift.


80

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and

Oracle Designer Report : cktci

14 May

2008

Page 367 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 368 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SSB
Display Title : Source Split Tb

Table Name : SOURCE_SPLIT_TB

Description :

This table contains the time balanced split percentage assigned to a


source (supplier or warehouse) for delivery into a warehouse for a
particular time period and demand group. The split percentages are
used to determine how the desired order quantity due into a warehouse
should be divided up among the sources.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SOURCE_SPLIT_TB_ID

NOT NULL

NUMBER (12)

20

DEMAND_GROUP_ID

NOT NULL

NUMBER (9)

30

DESTINATION_ID

NOT NULL

NUMBER (12)

40

DESTINATION_TYPE

NOT NULL

VARCHAR2 (1)

50

SOURCE_ID

NOT NULL

NUMBER (12)

55

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

70

SPLIT_PERCENT

NOT NULL

NUMBER (3, 2)

75

ORDER_HISTORY

NOT NULL

NUMBER (12)

80

START_DATE

NOT NULL

DATE

90

END_DATE

NOT NULL

DATE

100

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SOURCE_SPLIT_TB

SOURCE_SPLIT_TB_ID

Column Detail
10

SOURCE_SPLIT_TB_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This is the unique key that uniquely identifies a supply source split.
key is sequenced.
20

This

DEMAND_GROUP_ID
Optional ? :No ; Number (9) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify a demand group that contains the SKU packs
that are available from the source at a given point in time.

Oracle Designer Report : cktci

14 May

2008

Page 369 of 509

Table Definition
Container :

AIP 13.0

Version :

Other Unique Keys


Name

Column

UK_SOURCE_SPLIT_TB

DEMAND_GROUP_ID
DESTINATION_ID
DESTINATION_TYPE
SOURCE_ID
SOURCE_TYPE
START_DATE
DEMAND_GROUP_ID
DESTINATION_ID
DESTINATION_TYPE
SOURCE_ID
SOURCE_TYPE
END_DATE

UK_SOURCE_SPLIT_TB_1

Foreign Keys
SSB_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_SOURCE_SPLIT_TB_DES_TYPE

DESTINATION_TYPE in ('W')

CHK_SOURCE_SPLIT_TB_SOURC_TYPE

SOURCE_TYPE in ('V', 'W')

CHK_SOURCE_SPLIT_TB_SPLIT_PERC

SPLIT_PERCENT between 0.01 and 1.00

Column Detail
30

DESTINATION_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify a warehouse that an order will be delivered
into at a given point in time.
40

DESTINATION_TYPE
Optional ? :No ; Varchar2 (1) ;() ;
Indicates the destination type.

50

; Uppercase ? :No ;

Current values include W (Warehouse).

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify the warehouse or supplier that is acting as
the source for an order at a given point in time.
55

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 370 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the source type, where 'V' = Vendor (synonymous with Supplier) and 'W'
= Warehouse.
70

SPLIT_PERCENT
Optional ? :No ; Number (3, 2) ;() ;

; Uppercase ? :No ;

The percentage of the order for a particular demand group that should be
delivered by the particular source to a particular destination at a given point
in time. The values can be between and inclusive of 0.01 and 1.00.
75

ORDER_HISTORY
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ; Default Value :0 ;

This column stores the accrued released unit orders with delivery dates between
the start and end date for the specified source, demand group and warehouse
location.
80

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

The date in which the split percentage becomes effective.


90

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

The last day in which the split percentage is still valid.


100

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 371 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SFL
Display Title :

Table Name : STACKING_FLAG

Description :

Stacking flags determine whether cases of merchandise can be stacked


on top of one another. Valid values are 0, 1, or 2. 0 represents
Yes, 1 represent Same, 2 represents No.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

35

SOURCE_ID

NOT NULL

NUMBER (12)

36

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

37

COMMODITY_ID

NOT NULL

NUMBER (8)

40

PACK_SIZE

NOT NULL

NUMBER (4)

45

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

50

STACKING_FLAG

NULL

NUMBER (1)

60

START_DATE

NOT NULL

DATE

70

END_DATE

NOT NULL

DATE

80

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STACKING_FLAG

SOURCE_ID
SOURCE_TYPE
STOCKING_POINT_ID
COMMODITY_ID
PACK_SIZE
START_DATE
END_DATE

Column Detail
35

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains either a supplier_id from the supplier table or a stocking_point_id


from the stocking_point table. Only warehouse stocking points are valid.
36

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

; Uppercase ? :No ;

Contains the source type, where 'V' = Vendor (synonymous with Supplier) and 'W'

Oracle Designer Report : cktci

14 May

2008

Page 372 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SFL_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

SFL_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_STACKING_FLAG

stacking_flag IN (0, 1, 2)

CHK_STACKING_FLAG_SOURCE_TYPE

SOURCE_TYPE in ('V','W')

Index Summary
Name

Seq.

STACKING_FLAG_I1

10

Column

Index Type

COMMODITY_ID

NOT UNIQUE

Column Detail

= Warehouse.
37

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


40

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


45

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


scheduling location.
50

STACKING_FLAG
Optional ? :Yes ; Number (1) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Contains the number of stacking flag, 0 for Yes and NA, 1 for Same, 2 for for
NO. The default value is 0.
60

START_DATE

Oracle Designer Report : cktci

14 May

2008

Page 373 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


70

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the end date, which will always be System High Date.
80

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 374 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SPV
Display Title :

Table Name :
STOCKED_PRODUCT_VOL_FORECAST

Description :

This table holds stocked product forecast volume information which


specifies the days on which order forecasts are sent to a supplier,
and the duration of the forecast each time it is sent. AIP does not
currently support communication of forecasted orders to suppliers.
Orders are commited at the time of communication to the source.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER_ID

NOT NULL

NUMBER (10)

20

START_DATE

NOT NULL

DATE

30

END_DATE

NOT NULL

DATE

40

DAY_OF_WEEK

NOT NULL

NUMBER (1)

50

FORECAST_DURATION

NULL

NUMBER (2)

60

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STOCKED_PRODUCT_VOL_FORE

SUPPLIER_ID
START_DATE
END_DATE
DAY_OF_WEEK

Foreign Keys
SPV_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_STOCKED_PROD_VOL_FCAST_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 375 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

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

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


20

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


30

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


40

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
50

FORECAST_DURATION
Optional ? :Yes ; Number (2) ;() ;

; Uppercase ? :No ;

Contains the number represents the duration in weeks for the forecast sent on
the day of weeek.
60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 376 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SPO
Display Title :

Table Name : STOCKING_POINT

Description :

This table holds stocking point information. A stocking point could be


a warehouse, or a warehouse-chamber. The parent-child relationships
exist among stocking points, i.e. a warehouse could assigned multiple
warehouse-chambers. A warehouse-chamber is also called a scheduling
location. Warehouses are imported from external systems while
warehouse chambers are created in AIP online.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_NAME

NULL

VARCHAR2 (64)

30

STOCKING_POINT_NUMBER

NOT NULL

VARCHAR2 (20)

40

STOCKING_POINT_SHORT_CODE

NULL

VARCHAR2 (64)

50

STOCKING_POINT_TYPE

NOT NULL

NUMBER (1)

52

WH_TYPE

NULL

VARCHAR2 (6)

55

SYSTEM_ONLY_IND

NOT NULL

VARCHAR2 (1)

57

SURROGATE_STOCKING_POINT_ID

NULL

NUMBER (12)

70

TIER

NOT NULL

NUMBER (1)

80

TWO_STAGE_ORDERING_FLAG

NULL

VARCHAR2 (1)

90

OWNERSHIP

NULL

VARCHAR2 (1)

100

IS_PRIMARY

NULL

VARCHAR2 (1)

110

PCC_TYPE

NULL

NUMBER (1)

120

STATUS_ID

NULL

NUMBER (2)

130

IS_SINGLE_ENABLED

NULL

VARCHAR2 (1)

140

CAPACITY_TYPE

NULL

NUMBER (1)

150

RECONCILIATION_FLAG

NULL

VARCHAR2 (1)

160

PARENT_STOCKING_POINT_ID

NULL

NUMBER (12)

165

OPEN_DATE

NULL

DATE

167

COPIED_FROM_STOCKING_POINT_ID

NULL

NUMBER (12)

168

COPY_DATE

NULL

DATE

170

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key

Oracle Designer Report : cktci

14 May

2008

Page 377 of 509

Table Definition
Container :

AIP 13.0

Version :

Name

Column

PK_STOCKING_POINT

STOCKING_POINT_ID

Foreign Keys
SPO_SPO_FK
PARENT_STOCKING_POINT_ID
Transferable ? Yes
Mandatory ?
No

references STOCKING_POINT.STOCKING_POINT_ID
Update Rule : Restricted
Delete Rule : Restricted

SPO_SPO_FK2
SURROGATE_STOCKING_POINT_ID references
STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
No
Delete Rule : Restricted
SPO_SPS_FK
STATUS_ID references
Transferable ? Yes
Mandatory ?
No

STOCKING_POINT_STATUS.STATUS_ID
Update Rule : Restricted
Delete Rule : Restricted

Check Constraints
Name

Where Validate Clause

CHK_STOCKING_POINT_CAP_TYPE

capacity_type IN (0, 1)

CHK_STOCKING_POINT_IN_SINGLE

is_single_enabled IN ('Y', 'N')

CHK_STOCKING_POINT_IS_PRIMARY

is_primary IN ('Y', 'N')

CHK_STOCKING_POINT_OWNERSHIP

ownership IN ('Y', 'N')

CHK_STOCKING_POINT_PCC_TYPE

pcc_type IN (1, 2, 3)

CHK_STOCKING_POINT_RECON_FLAG

reconciliation_flag IN ('Y', 'N')

CHK_STOCKING_POINT_SP_TYPE

stocking_point_type IN (1, 2)

CHK_STOCKING_POINT_SYS_ONLY_ID

SYSTEM_ONLY_IND in ('Y', 'N')

CHK_STOCKING_POINT_TIER

tier = 1

CHK_STOCKING_POINT_TWO_STAGE

two_stage_ordering_flag IN ('Y', 'N')

CHK_STOCKING_POINT_WH_TYPE

WH_TYPE IN ('XD_RG', 'CS_RG', 'XD_GS', 'CS_NT')

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point.


20

STOCKING_POINT_NAME

Oracle Designer Report : cktci

14 May

2008

Page 378 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Seq.

Name

Column

Index Type

STOCKING_POINT_I1

10

PARENT_STOCKING_POINT_ID

NOT UNIQUE

STOCKING_POINT_I2

10

STATUS_ID

NOT UNIQUE

STOCKING_POINT_I3

STOCKING_POINT_NUMBER

NOT UNIQUE

STOCKING_POINT_I4

WH_TYPE

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the name of a stocking point.


30

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

; Uppercase ? :No ;

Contains the stocking point number that, in the case of warehouses, is


communicated with external systems. For warehouses, this value will have a
prefix of 'W'.
40

STOCKING_POINT_SHORT_CODE
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the short code of a stocking point.


50

STOCKING_POINT_TYPE
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

This internal value indicates whether the stocking point is a warehouse or


warehouse-chamber. The value 1 represents a warehouse-chamber, 2 represents a
warehouse.
52

WH_TYPE
Optional ? :Yes ; Varchar2 (6) ;() ;

; Uppercase ? :No ;

This value is externally defined and indicates which type the warehouse is.
Current types include include 'XD_RG' for Crossdock, 'CS_RG' for Customer
Service Centers, 'XD_GS' for Global Sourcing, and 'CS_NT' for Non-Traditional.
This value is only valid for warehouses and is not maintained for chambers.
55

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

; Uppercase ? :No ; Default Value :N ;

indicates whether the stocking point is a system-only warehouse. System-only


warehouses are used to support replenishment of stores directly from tier 2 PCC
Warehouses. System-only warehouses must be entered into the system as tier 1
warehouses. A tier 2 PCC warehouse may then be associated with the system-only
warehouse. When into-store orders sourced from system-only warehouses are
released to RMS, the source value will be replaced with the associated tier 2
PCC warehouse. System only warehouses are not supported in an N-tier
environment.
57

SURROGATE_STOCKING_POINT_ID

Oracle Designer Report : cktci

14 May

2008

Page 379 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

contains the tier 2 PCC warehouse associated with a tier 1 system only
warehouse. This column will only be populated when system_only_ind = Y.
70

TIER
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains the number to identify the tier of a stocking point, 1 for the 1sttier, 2 for the 2nd-tier. Tier has been deprecated with the migration of AIP
to N-tier. This value will always be 1.
80

TWO_STAGE_ORDERING_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if a replenishment plan will be made or not in a stocking point. It


is only applicable to 2nd-tier sites. This flag is deprecated with the
migration to N-tier.
90

OWNERSHIP
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if a stocking point is retailer owned or supplier owned. It is only


applicable to 2nd-tier warehouses. AIP does not currently support ownership.
100

IS_PRIMARY
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if a stocking point is a primary warehouse. It is only applicable to


2nd-tier warehouse.
110

PCC_TYPE
Optional ? :Yes ; Number (1) ;() ;

; Uppercase ? :No ;

Contains the type of a 2nd-tier warehouse, 1 for PCC, 2 for BOND, 3 for BONDLying-Out.
120

STATUS_ID
Optional ? :Yes ; Number (2) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point status.


applicable to warehouse-chambers.
130

It is only

IS_SINGLE_ENABLED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

The default Indicator of whether a warhouse-chamber can break packs to send


individual units of its commodities (SKU).
140

CAPACITY_TYPE
Optional ? :Yes ; Number (1) ;() ;

; Uppercase ? :No ;

Contains the receiving capacity type of a stocking point, 0 for full pallet
equivalent (fpe) and 1 for boards. The capacity type is only defined at the
warehouse-chamber level.

Oracle Designer Report : cktci

14 May

2008

Page 380 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
150

RECONCILIATION_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

The default indicator of whether or not reconciliation should be performed for


the warehouse-chamber source.
160

PARENT_STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify the parent stocking point of a


stocking point. It is only applicable to 1st-tier warehouse chambers.
165

OPEN_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

The date the warehouse opens.


167

COPIED_FROM_STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

identifies an existing stocking point warehouse whose attributes and properties


are copied to the new stocking point warehouse
168

COPY_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

date copying occurred.


170

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 381 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SPC
Display Title :

Table Name :
STOCKING_POINT_CAPACITY_TYPE

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

START_DATE

NOT NULL

DATE

30

END_DATE

NOT NULL

DATE

40

CAPACITY_TYPE

NOT NULL

NUMBER (1)

50

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STOCKING_POINT_CAP_TYPE

STOCKING_POINT_ID
START_DATE
END_DATE

Foreign Keys
SPC_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_SP_CAP_TYPE_CAP_TYPE

capacity_type IN (0, 1)

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

20

START_DATE
Optional ? :No ; Date ;() ;

30

; Uppercase ? :No ;

; Uppercase ? :No ;

END_DATE

Oracle Designer Report : cktci

14 May

2008

Page 382 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :No ; Date ;() ;


40

; Uppercase ? :No ;

CAPACITY_TYPE
Optional ? :No ; Number (1) ;() ;

50

; Uppercase ? :No ;

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 383 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SPS
Display Title :

Table Name : STOCKING_POINT_STATUS

Description :

This table holds the valid statuses for the warehouse chamber. The
allowed statuses are: 1 for NEW, 2 for WRP, 3 for WIP, 4 for RELEASE,
5 for CLOSING DOWN, and 6 for CLOSED.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STATUS_ID

NOT NULL

NUMBER (2)

20

STATUS_CODE

NOT NULL

VARCHAR2 (32)

30

STATUS_NAME

NULL

VARCHAR2 (32)

Primary Key
Name

Column

PK_STOCKING_POINT_STATUS

STATUS_ID

Other Unique Keys


Name

Column

UK_STOCKING_POINT_STATUS

STATUS_CODE

Column Detail
10

STATUS_ID
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a status, and possible value is 1, 2,


3, 4, 5, 6
20

STATUS_CODE
Optional ? :No ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Contains the code of a status, and possible value is NEW, WRP, WIP, RELEASE,
CLOSING, CLOSED.
30

STATUS_NAME
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Contains the name of a status.

Oracle Designer Report : cktci

14 May

2008

Page 384 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SIN
Display Title :

Table Name : STOCKLESS_INDICATOR_EXC

Description :

This table holds stockless indicator exception values for a stocking


point (warehouse)/demand group/date. The stockless indicator values
in this table are exceptions to the defaults set in the
WAREHOUSE_CHAMBER_PRODUCT_TYPE table.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

15

STOCKLESS_INDICATOR_EXC_ID

NOT NULL

NUMBER (12)

17

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

IS_STOCKLESS

NOT NULL

VARCHAR2 (1)

60

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STOCKLESS_INDICATOR_EXC

STOCKLESS_INDICATOR_EXC_ID

Other Unique Keys


Name

Column

UK_STOCKLESS_INDICATOR_EXC

STOCKING_POINT_ID
DEMAND_GROUP_ID
START_DATE
STOCKING_POINT_ID
DEMAND_GROUP_ID
END_DATE

UK_STOCKLESS_INDICATOR_EXC_1

Column Detail
15

STOCKLESS_INDICATOR_EXC_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The key that uniquely identifies a stockless indicator exception.


sequenced.

Oracle Designer Report : cktci

This key is

14 May

2008

Page 385 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SIN_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

SIN_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_STOCKLESS_IND_IS_STOCKLESS

is_stockless IN ('Y', 'N')

Index Summary
Name

Seq.

Column

Index Type

STOCKLESS_INDICATOR_EXC_I1

10

DEMAND_GROUP_ID

NOT UNIQUE

STOCKLESS_INDICATOR_EXC_I2

TIMESTAMP

NOT UNIQUE

Column Detail
17

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point.


valid.
20

Only warehouses are

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

The date on which the stockless indicator exception becomes effective.


40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

The last date on which the stockless indicator exception is still valid.
50

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

; Uppercase ? :No ;

Indicates if the demand group is run stockless at the warehouse. If the value
is Y this indicates that SKU pack sizes of the given demand group are not
Oracle Designer Report : cktci

14 May

2008

Page 386 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

stored day-to-day at the warehouse.


60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 387 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SVF
Display Title :

Table Name :
STOCKLESS_PRODUCT_VOL_FORECAST

Description :

This table holds stockless product forecast volume information which


specifies the days on which order forecasts are sent to a supplier,
and the duration of the forecast each time it is sent. AIP does not
currently support communication of forecasts to suppliers. All orders
are committed once communicated to the source.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER_ID

NOT NULL

NUMBER (10)

20

START_DATE

NOT NULL

DATE

30

END_DATE

NOT NULL

DATE

40

DAY_OF_WEEK

NOT NULL

NUMBER (1)

50

FORECAST_DURATION

NULL

NUMBER (2)

60

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STOCKLESS_PRODUCT_VOL_FO

SUPPLIER_ID
START_DATE
END_DATE
DAY_OF_WEEK

Foreign Keys
SVF_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_STOCKLESS_PRODUCT_VOL_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 388 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

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

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


20

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


30

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


40

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
50

FORECAST_DURATION
Optional ? :Yes ; Number (2) ;() ;

; Uppercase ? :No ;

Contains the number represents the duration in weeks for the forecast sent on
the day of weeek.
60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 389 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SVP
Display Title :

Table Name : STOCKLESS_VEHICLE_PREF

Description :

This table holds day-of-week default of the stockless vehicle


preferences for delivey groups. The Stockless preferences apply to
products that are identified as stockless. When the vehicle contains
stockless products the vehicle scheduling follows the stockless
preference hours when they are defined. If no stockless preferences
are defined, the normal vehicle preferences will apply.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

DAY_OF_WEEK

NOT NULL

NUMBER (1)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

HOUR_PATTERN

NULL

VARCHAR (24)

70

RECEIVING_WINDOW_ID

NULL

NUMBER (12)

80

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STOCKLESS_VEHICLE_PREF

DELIVERY_GROUP_ID
STOCKING_POINT_ID
DAY_OF_WEEK
START_DATE
END_DATE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse-chamber.

Oracle Designer Report : cktci

14 May

2008

Page 390 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SVP_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
SVP_RWI_FK
RECEIVING_WINDOW_ID
Transferable ? Yes
Mandatory ?
No

references RECEIVING_WINDOW.RECEIVING_WINDOW_ID
Update Rule : Restricted
Delete Rule : Cascades

SVP_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_STOCKLESS_VEHICLE_PREF_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

Index Summary
Seq.

Name

Column

Index Type

STOCKLESS_VEHICLE_PREF_I1

10

RECEIVING_WINDOW_ID

NOT UNIQUE

STOCKLESS_VEHICLE_PREF_I2

10

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
30

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
40

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the first deilvery date that the preferences can be applied.
50

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


60

HOUR_PATTERN
Optional ? :Yes ; Varchar (24) ;() ;

; Uppercase ? :No ;

Contains a string of length 24, each char in the string represents one hour in
Oracle Designer Report : cktci

14 May

2008

Page 391 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

a day and is either Y for receiving or N for not-receiving.


70

RECEIVING_WINDOW_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a receiving window.


80

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 392 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : STOCKLESS_VEHICLE_PREF_EXC

Description :

Alias
: SVX
Display Title :

This table holds date exceptions of the stockless vehicle preferences


for delivey groups. The Stockless preferences apply to products that
are identified as stockless. When the vehicle contains stockless
products the vehicle scheduling follows the stockless preference hours
when they are defined. If no stockless preferences are defined, the
normal vehicle preferences will apply.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

EXCEPTION_DATE

NOT NULL

DATE

40

HOUR_PATTERN

NULL

VARCHAR (24)

50

RECEIVING_WINDOW_ID

NULL

NUMBER (12)

60

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STOCKLESS_VEHICLE_PREF_E

DELIVERY_GROUP_ID
STOCKING_POINT_ID
EXCEPTION_DATE

Column Detail
10

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


scheduling location.
30

EXCEPTION_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an exception date.


40
Oracle Designer Report : cktci

14 May

2008

Page 393 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SVX_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
SVX_RWI_FK
RECEIVING_WINDOW_ID
Transferable ? Yes
Mandatory ?
No

references RECEIVING_WINDOW.RECEIVING_WINDOW_ID
Update Rule : Restricted
Delete Rule : Cascades

SVX_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Name

Seq.

Column

Index Type

STOCKLESS_VEHICLE_PREF_EXC_I1

10

RECEIVING_WINDOW_ID

NOT UNIQUE

STOCKLESS_VEHICLE_PREF_EXC_I2

10

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
HOUR_PATTERN
Optional ? :Yes ; Varchar (24) ;() ;

; Uppercase ? :No ;

Contains a string of length 24, each char in the string represents one hour in
a day and is either Y for receiving or N for not-receiving.
50

RECEIVING_WINDOW_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a receiving window.


60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 394 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SRF
Display Title :

Table Name :
STOP_RECEIVING_DATE_1ST_TIER

Description :

This table holds stopping receiving dates for 1st-tier warehouses.


AIP Online does not currently support user entered Stop-receiving
dates.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

30

STOP_RECEIVING_DATE

NOT NULL

DATE

40

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STOP_REC_DATE_1ST_TIER

STOCKING_POINT_ID
DEMAND_GROUP_ID
STOP_RECEIVING_DATE

Foreign Keys
SRF_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

SRF_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Name
STOP_REC_DATE_1ST_TIER_I1

Seq.
10

Column

Index Type

DEMAND_GROUP_ID

NOT UNIQUE

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 395 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a 1sttier warehouse.
20

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group.


30

STOP_RECEIVING_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the date of stopping receiving.


40

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 396 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SRS
Display Title :

Table Name :
STOP_RECEIVING_DATE_2ND_TIER

Description :

This table holds stopping receiving dates for 2nd-tier sites. AIP
Online does not currently support user entered stop-receiving dates.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

SUPPLIER_ID

NOT NULL

NUMBER (10)

30

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

40

STOP_RECEIVING_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STOP_REC_DATE_2ND_TIER

STOCKING_POINT_ID
SUPPLIER_ID
DEMAND_GROUP_ID
STOP_RECEIVING_DATE

Foreign Keys
SRS_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

SRS_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
SRS_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Oracle Designer Report : cktci

14 May

2008

Page 397 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

Column

Index Type

STOP_REC_DATE_2ND_TIER_I1

10

DEMAND_GROUP_ID

NOT UNIQUE

STOP_REC_DATE_2ND_TIER_I2

10

SUPPLIER_ID

NOT UNIQUE

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a 2ndtier site.
20

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

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


30

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group.


40

STOP_RECEIVING_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the date of stopping receiving.


50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 398 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: STO
Display Title :

Table Name : STORE

Description :

This table holds all stores.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

STORE_CODE

NOT NULL

VARCHAR2 (20)

30

STORE_NAME

NULL

VARCHAR2 (64)

40

STORE_FORMAT_ID

NOT NULL

NUMBER (12)

50

PRIORITY

NOT NULL

NUMBER (38)

60

DEFAULT_STOCKING_POINT_ID

NULL

NUMBER (12)

70

DEFAULT_STOCKING_POINT_CSC_ID

NULL

NUMBER (12)

80

OPEN_DATE

NULL

DATE

85

COPIED_FROM_STORE_ID

NULL

NUMBER (12)

90

COPY_DATE

NULL

DATE

100

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STORE

STORE_ID

Column Detail
10

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


20

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

; Uppercase ? :No ;

Contains the store code that is communicated with external systems. This value
will contain a prefix of 'S'.
30

STORE_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of a store.

Oracle Designer Report : cktci

14 May

2008

Page 399 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
STO_SFO_FK
STORE_FORMAT_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE_FORMAT.STORE_FORMAT_ID
Update Rule : Restricted
Delete Rule : Restricted

STO_SPO_FK
DEFAULT_STOCKING_POINT_ID references
STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
No
Delete Rule : Restricted
STO_SPO_FK2
DEFAULT_STOCKING_POINT_CSC_ID references
STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
No
Delete Rule : Restricted
Index Summary
Name

Seq.

Column

Index Type
NOT UNIQUE

STORE_I1

10

STORE_FORMAT_ID

STORE_I2

DEFAULT_STOCKING_POINT_CSC NOT UNIQUE


_ID

STORE_I3

DEFAULT_STOCKING_POINT_ID

NOT UNIQUE

STORE_I4

STORE_CODE

NOT UNIQUE

Column Detail
40

STORE_FORMAT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify the store format.


50

PRIORITY
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the number of store priority, 1 for Super High, 2 for High, 3 for
Normal. The store's priority determines it's ranking for receiving stock in a
Stockless or shortage situation.
60

DEFAULT_STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify the warehouse that is the default warehouse
for the store.
70

DEFAULT_STOCKING_POINT_CSC_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify the CSC warehouse that is the default for

Oracle Designer Report : cktci

14 May

2008

Page 400 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

the store. This field is typically populated in the situation where the store
is a 'virtual' store setup merely for replenishment purposes. The 'virtual'
store is representative of the CSC warehouse which ships directly to customers.
The value is used when automatically setting the store source value for a new
SKU at the store. It may also be used as search criteria in the DM Online
application.
80

OPEN_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Date store opens


85

COPIED_FROM_STORE_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Identifies an existing store (also known as sister store)


properties are copied to the new store.
90

whose attibutes and

COPY_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Date copying occurred


100

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 401 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SCD
Display Title :

Table Name : STORE_CALENDAR_DEFAULT

Description :

This table holds default store receiving schedule.


the days that the store can receive deliveries.

This identifies

Store Calendar defaults and exceptions are defined by the user in the
DM Online application.
Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

PRODUCT_TYPE_ID

NOT NULL

NUMBER (12)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

RECEIVING_PATTERN

NULL

VARCHAR2 (7)

60

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STORE_CALENDAR_DEFAULT

STORE_ID
PRODUCT_TYPE_ID
START_DATE
END_DATE

Foreign Keys
SCD_PTY_FK
PRODUCT_TYPE_ID references
Transferable ? Yes
Mandatory ?
Yes

PRODUCT_TYPE.PRODUCT_TYPE_ID
Update Rule : Restricted
Delete Rule : Restricted

SCD_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 402 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

Column

Index Type

STORE_CALENDAR_DEFAULT_I1

10

PRODUCT_TYPE_ID

NOT UNIQUE

STORE_CALENDAR_DEFAULT_I2

TIMESTAMP

NOT UNIQUE

Column Detail
10

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


20

PRODUCT_TYPE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a product type.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;
Contains an end date.

50

; Uppercase ? :No ;

This is always system high date.

RECEIVING_PATTERN
Optional ? :Yes ; Varchar2 (7) ;() ;

; Uppercase ? :No ;

Contains a string of length 7, each char in the string represents one day and
is either Y for receiving or N for not-receiving.
60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 403 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : STORE_CALENDAR_EXCEPTION

Description :

Alias
: SCE
Display Title :

This table holds exception store receiving schedule.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

PRODUCT_TYPE_ID

NOT NULL

NUMBER (12)

30

RECEIVING_DATE

NOT NULL

DATE

40

IS_RECEIVING

NOT NULL

VARCHAR2 (1)

50

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STORE_CALENDAR_EXCEPTION

STORE_ID
PRODUCT_TYPE_ID
RECEIVING_DATE

Foreign Keys
SCE_PTY_FK
PRODUCT_TYPE_ID references
Transferable ? Yes
Mandatory ?
Yes

PRODUCT_TYPE.PRODUCT_TYPE_ID
Update Rule : Restricted
Delete Rule : Restricted

SCE_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_STORE_CALENDAR_EXC_IS_RECV

is_receiving IN ('Y', 'N')

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 404 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

STORE_CALENDAR_EXCEPTION_I1

10

Column

Index Type

PRODUCT_TYPE_ID

NOT UNIQUE

Column Detail
10

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


20

PRODUCT_TYPE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a product type.


30

RECEIVING_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an exception receiving date.


40

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

; Uppercase ? :No ;

Indicates if to receiving.
50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 405 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SDS
Display Title :

Table Name : STORE_DMG_SUBSTITUTION

Description :

This table holds demand group substitution for stores.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

SUBSTITUTION_FLAG

NOT NULL

VARCHAR2 (1)

60

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STORE_DMG_SUBSTITUTION

STORE_ID
COMMODITY_ID
START_DATE
END_DATE

Foreign Keys
SDS_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

SDS_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_STORE_DMG_SUBSTITUTION

substitution_flag IN ('Y', 'N')

Oracle Designer Report : cktci

14 May

2008

Page 406 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

STORE_DMG_SUBSTITUTION_I1

10

Column

Index Type

COMMODITY_ID

NOT UNIQUE

Column Detail
10

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


40

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


50

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

; Uppercase ? :No ;

Indicates if to substitute
60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 407 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SFO
Display Title :

Table Name : STORE_FORMAT

Description :

This table holds all store formats. Store format describes the basic
layout of the store and the manner in which product is merchandised in
a store. Stores in which product is merchandised in the same way are
said to have the same store format.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_FORMAT_ID

NOT NULL

NUMBER (12)

20

STORE_FORMAT_CODE

NOT NULL

VARCHAR2 (20)

30

STORE_FORMAT_NAME

NOT NULL

VARCHAR2 (64)

40

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STORE_FORMAT

STORE_FORMAT_ID

Column Detail
10

STORE_FORMAT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store format.


20

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

; Uppercase ? :No ;

Contains the code of a store format.


30

STORE_FORMAT_NAME
Optional ? :No ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the name of a store format.


40

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 408 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SFP
Display Title :

Table Name : STORE_FORMAT_PACK_SIZE

Description :

This table holds default warehouse-to-store ordering pack-size.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_FORMAT_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

70

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STORE_FORMAT_PACK_SIZE

STORE_FORMAT_ID
COMMODITY_ID
STOCKING_POINT_ID
START_DATE
END_DATE

Column Detail
10

STORE_FORMAT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store format.


20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


40

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 409 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SFP_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

SFP_SFO_FK
STORE_FORMAT_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE_FORMAT.STORE_FORMAT_ID
Update Rule : Restricted
Delete Rule : Restricted

SFP_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Seq.

Name

Column

Index Type

STORE_FORMAT_PACK_SIZE_I1

10

COMMODITY_ID

NOT UNIQUE

STORE_FORMAT_PACK_SIZE_I2

10

STOCKING_POINT_ID

NOT UNIQUE

STORE_FORMAT_PACK_SIZE_I3

TIMESTAMP

NOT UNIQUE

Column Detail

Contains the number to uniquely identify a stocking point, which must be a


warehouse.
50

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


60

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


70

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 410 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SOR
Display Title : Store Order

Table Name : STORE_ORDER

Description :

Contains into-store purchase orders and transfers. This table is


populated via RETL from SRP (store replenishment planning).

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ORDER_ID

NOT NULL

NUMBER (12)

20

STATUS

NOT NULL

VARCHAR2 (1)

30

STORE_ID

NOT NULL

NUMBER (12)

40

SUPPLIER_ID

NULL

NUMBER (10)

50

STOCKING_POINT_ID

NULL

NUMBER (12)

60

COMMODITY_ID

NOT NULL

NUMBER (8)

70

PACK_SIZE

NOT NULL

NUMBER (4)

80

DELIVERY_DATE

NOT NULL

DATE

85

CASE_VOLUME

NULL

NUMBER (8)

87

RECEIVED_QTY

NULL

NUMBER (8)

90

SUP_PERF_QTY

NULL

NUMBER (8)

100

HOLD_STATUS

NOT NULL

VARCHAR2 (1)

110

WITHIN_DAY_SOURCE

NULL

NUMBER (12)

120

RELEASE_RUN_ID

NULL

NUMBER (12)

130

RELEASE_DATE

NULL

DATE

135

ORDER_NUMBER

NULL

NUMBER (10)

140

VALIDATION_FAILURE_IND

NOT NULL

VARCHAR2 (1)

145

GENERATION_METHOD

NOT NULL

NUMBER (1)

146

FUTURE_RELEASE_IND

NOT NULL

VARCHAR2 (1)

147

LAST_UPDATE_USERNAME

NULL

VARCHAR2 (16)

148

CASE_VOLUME_DELTA

NULL

NUMBER (8)

150

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STORE_ORDER

STORE_ORDER_ID

Oracle Designer Report : cktci

14 May

2008

Page 411 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SOR_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

SOR_RER_FK
RELEASE_RUN_ID references
Transferable ? Yes
Mandatory ?
No

RELEASE_RUN.RELEASE_RUN_ID
Update Rule : Restricted
Delete Rule : Cascades

SOR_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
No
Delete Rule : Cascades
SOR_SPO_FK2
WITHIN_DAY_SOURCE references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
No
Delete Rule : Cascades
SOR_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

SOR_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
No

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_STORE_ORDER_FUT_REL_IND

FUTURE_RELEASE_IND IN ('Y','N')

CHK_STORE_ORDER_GEN_METHOD

GENERATION_METHOD in (0, 1)

CHK_STORE_ORDER_HOLD_STATUS

HOLD_STATUS in ('Y','N')

CHK_STORE_ORDER_STATUS

STATUS IN ('U','O','V','C')

Column Detail
10

STORE_ORDER_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store order.


20
Oracle Designer Report : cktci

14 May

2008

Page 412 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Seq.

Name

Column

Index Type

STORE_ORDER_I1

10

COMMODITY_ID

NOT UNIQUE

STORE_ORDER_I1

12

PACK_SIZE

NOT UNIQUE

STORE_ORDER_I3

10

STOCKING_POINT_ID

NOT UNIQUE

STORE_ORDER_I5

10

SUPPLIER_ID

NOT UNIQUE

STORE_ORDER_I6

ORDER_NUMBER

NOT UNIQUE

STORE_ORDER_I7

DELIVERY_DATE

NOT UNIQUE

STORE_ORDER_I8

STORE_ID

NOT UNIQUE

Column Detail
STATUS
Optional ? :No ; Varchar2 (1) ;() ;

; Uppercase ? :No ; Default Value :U ;

indicates the status of the into-store inventory movement. Valid values


include:
'U' - unreleased (default)
'O' - open
'V' - overdue
'C' - closed
30

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


40

SUPPLIER_ID
Optional ? :Yes ; Number (10) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


50

STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a 1sttier warehouse.
60

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


70

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


80

DELIVERY_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains delivery date.


85

CASE_VOLUME

Oracle Designer Report : cktci

14 May

2008

Page 413 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number of case volumne.


87

RECEIVED_QTY
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

the number of units that have been received at the destination.


90

SUP_PERF_QTY
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

When quantity is decreased due to supplier unavailability, this column will


contain the total number of units subtracted. This column will only be
populated for purchase orders.
100

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

; Uppercase ? :No ;

Indicates if to hold this store order (not release).


110

WITHIN_DAY_SOURCE
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which is the new
supplier source of this store and must be a 1st-tier warehouse.
120

RELEASE_RUN_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a release run.


130

RELEASE_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains the intended release date upon which the purchase order/transfer
information will be
communicated to the merchandising system. Rows having a release_date = VDATE
but a
validation_failure_ind of 'Y' will NOT be released by the automated release
process
135

ORDER_NUMBER
Optional ? :Yes ; Number (10) ;() ;

; Uppercase ? :No ;

Contains a string of order number.


140

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

; Uppercase ? :No ; Default Value :N ;

Indicates if validation is successful or not.


145

GENERATION_METHOD
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Contains a zero if the order is system generated, or a 1 if the order is user


generated online.
146

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

; Uppercase ? :No ; Default Value :N ;

This column indicates whether the order is to be released on a future date.


Oracle Designer Report : cktci

If

14 May

2008

Page 414 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

the value is 'Y', the order will be released some time in the future. If the
value is 'N', the order has either already been released or will be released
today.
147

LAST_UPDATE_USERNAME
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Contains the username of the last user to update the row. This will be used to
track changes made in the online screens.
148

CASE_VOLUME_DELTA
Optional ? :Yes ; Number (8) ;() ;

; Uppercase ? :No ;

This column will hold a quantity change value.


changes made to the 'case_volume' column, until
the merchandising system. It is the job of the
'case_volume' column to calculate the change in
to any value in this column. Once the quantity
merchandising system the case volume delta will
150

The value is a sum value of the


the point it is communicated to
process updating the
quanity occurring and to add it
change is communicated to the
be re-set to null.

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 415 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SOC
Display Title :

Table Name : STORE_ORDER_CYCLE

Description :

This table holds all store order cycles. An order cycle is a


collection of lead times covering a 7 day, 14 day, or 28 day period.
The cycle is repeated ever 7, 14, or 28 days as determined by the
STORE_ORDER_CYCLE_LENGTH.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ORDER_CYCLE_ID

NOT NULL

NUMBER (12)

20

STORE_ORDER_CYCLE_CODE

NOT NULL

VARCHAR2 (16)

30

STORE_ORDER_CYCLE_NAME

NULL

VARCHAR2 (32)

40

STORE_ORDER_CYCLE_LENGTH

NOT NULL

NUMBER ()

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_STORE_ORDER_CYCLE

STORE_ORDER_CYCLE_ID

Check Constraints
Name

Where Validate Clause

CHK_STORE_ORDER_CYC_OC_LENGTH

store_order_cycle_length IN (7, 14, 28, 366)

Column Detail
10

STORE_ORDER_CYCLE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store order cycle.


20

STORE_ORDER_CYCLE_CODE
Optional ? :No ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Contains the code of a store order cycle.


30

STORE_ORDER_CYCLE_NAME
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Contains the name of a store order cycle.

Oracle Designer Report : cktci

14 May

2008

Page 416 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
40

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

; Uppercase ? :No ;

Contains the length of the order cycle in days, 7 for one week, 14 for one
fortnigth, 28 for 4 weeks.
50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 417 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : STORE_ORDER_CYCLE_LEAD_TIME

Description :

Alias
: SOL
Display Title :

This table holds the placement lead times and release lead times of
all store order cycles.
The placement lead time is the number of days prior to the delivery
date that the order can no longer be changed. Thus, the placement lead
time must be equal to or longer than the release lead time. Changes to
the order through batch stops at the set number of days before
releasing the order to the supplier.
The release lead time is the number of days prior to the delivery date
that an order must be communicated to the source, either a supplier or
a warehouse.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ORDER_CYCLE_ID

NOT NULL

NUMBER (12)

20

STORE_ORDER_CYCLE_SEQ

NOT NULL

NUMBER ()

30

RELEASE_LEAD_TIME

NULL

NUMBER (3)

40

PLACEMENT_LEAD_TIME

NULL

NUMBER (3)

50

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_STORE_ORDER_CYCLE_LEAD_T

STORE_ORDER_CYCLE_ID
STORE_ORDER_CYCLE_SEQ

Foreign Keys
SOL_SOC_FK
STORE_ORDER_CYCLE_ID references
STORE_ORDER_CYCLE.STORE_ORDER_CYCLE_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail
10

STORE_ORDER_CYCLE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 418 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the number to uniquely identify a store order cycle.


20

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

; Uppercase ? :No ;

Contains the cycle day-of-week. Depending on the


STORE_ORDER_CYCLE.STORE_ORDER_CYCLE_LENGTH the day-of-week can range between 1
and 7, 14, or 28.
The order cycle day-of-week is calculated based on a system wide cycle start
date of January 2, 2000.
30

RELEASE_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of release lead time in days.


40

PLACEMENT_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of placement lead time in days.


50

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 419 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SSX
Display Title :

Table Name : STORE_PACK_SIZE

Description :

This table holds exception warehouse-to-store ordering pack-size.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

70

TIMESTAMP

NOT NULL

NUMBER (38)

80

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_STORE_PACK_SIZE

STORE_ID
COMMODITY_ID
PACK_SIZE
STOCKING_POINT_ID
START_DATE
END_DATE

Column Detail
10

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


40

STOCKING_POINT_ID
Oracle Designer Report : cktci

14 May

2008

Page 420 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SSX_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

SSX_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
SSX_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_STORE_PACK_SIZE_IS_DEL

is_deleted IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

STORE_PACK_SIZE_I1

10

COMMODITY_ID

NOT UNIQUE

STORE_PACK_SIZE_I2

10

STOCKING_POINT_ID

NOT UNIQUE

STORE_PACK_SIZE_I3

TIMESTAMP

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a 1sttier warehouse.
50

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


60

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


70

TIMESTAMP
Oracle Designer Report : cktci

14 May

2008

Page 421 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
80

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if this record has been deleted.

Oracle Designer Report : cktci

14 May

2008

Page 422 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SSR
Display Title :

Table Name :
STORE_SKU_RELEASE_SCHEDULE_EXC

Description :

This table contains exceptions to the store order cycle that would
normally be used when ordering a SKU into the store.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

STORE_ORDER_CYCLE_ID

NOT NULL

NUMBER (12)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

TIMESTAMP

NOT NULL

NUMBER (38)

70

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_STORE_SKU_REL_SCHED_EXC

STORE_ID
COMMODITY_ID
START_DATE
END_DATE

Column Detail
10

STORE_ID
Optional ? :No ; Number (12) ;() ;

20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

30

; Uppercase ? :No ;

; Uppercase ? :No ;

STORE_ORDER_CYCLE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains a number that uniquely identifies a store order cycle.


40

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the first delivery date that the order cycle exception applies.
exception is not applicable or valid if IS_DELETED = 'Y'.

Oracle Designer Report : cktci

The

14 May

2008

Page 423 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SSR_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

SSR_SOC_FK
STORE_ORDER_CYCLE_ID references
STORE_ORDER_CYCLE.STORE_ORDER_CYCLE_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
SSR_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_STORE_SKU_REL_SCHED_IS_DEL

is_deleted IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

STORE_SKU_REL_SCHED_EXC_I1

10

COMMODITY_ID

NOT UNIQUE

STORE_SKU_REL_SCHED_EXC_I2

10

STORE_ORDER_CYCLE_ID

NOT UNIQUE

STORE_SKU_REL_SCHED_EXC_I3

TIMESTAMP

NOT UNIQUE

Column Detail
50

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the last delivery date that the order cycle exception applies
(inclusive).
60

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
70

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Determines if the exception has been deleted by the user.


Oracle Designer Report : cktci

Valid values are 'Y'

14 May

2008

Page 424 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

or 'N'.

Oracle Designer Report : cktci

14 May

2008

Page 425 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SSO
Display Title :

Table Name : STORE_SOURCE

Description :

This table holds the information about which source will supply which
commodities (SKUs) to which stores on which dates. The source of a
store can be either a supplier or a warehouse.

Notes :

partition by hash

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STORE_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NULL

NUMBER (12)

30

SUPPLIER_ID

NULL

NUMBER (10)

40

COMMODITY_ID

NOT NULL

NUMBER (8)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

70

DAY_OF_WEEK

NOT NULL

NUMBER (1)

75

SINGLE_MULTI_SOURCE_IND

NOT NULL

NUMBER (1)

80

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_STORE_SOURCE

STORE_ID
COMMODITY_ID
DAY_OF_WEEK
START_DATE
END_DATE

Column Detail
10

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


20

STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a 1sttier warehouse.

Oracle Designer Report : cktci

14 May

2008

Page 426 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SSO_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

SSO_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
No
Delete Rule : Cascades
SSO_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

SSO_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
No

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_STORE_SOURCE_DOW

day_of_week IN (0, 1, 2, 3, 4, 5, 6)

Index Summary
Name

Seq.

Column

Index Type

STORE_SOURCE_I4

TIMESTAMP

NOT UNIQUE

STORE_SOURCE_I6

SINGLE_MULTI_SOURCE_IND

NOT UNIQUE

Column Detail
30

SUPPLIER_ID
Optional ? :Yes ; Number (10) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


40

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


50

START_DATE

Oracle Designer Report : cktci

14 May

2008

Page 427 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


60

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


70

DAY_OF_WEEK
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains a day of week, 0 for Sunday, 1 for Monday, ..., 6 for Saturday.
75

SINGLE_MULTI_SOURCE_IND
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ; Default Value :0 ;

A value of 1 indicates that there is only one source for a given sku/store.
Value 2 indicates there are more than 1 sources but only 1 week pattern is
defined. Value 0 represents all remaining combinations. 0 is also the default
value.
80

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 428 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SDG
Display Title :

Table Name : SUBSTITUTE_DEMAND_GROUP

Description :

This table holds hard allocation substitution. DM Online does not


currently support user entered hard allocation substitution.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

20

SUBSTITUTE_DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

30

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SUBSTITUTE_DEMAND_GROUP

DEMAND_GROUP_ID
SUBSTITUTE_DEMAND_GROUP_ID

Foreign Keys
SDG_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

SDG_DGP_FK2
SUBSTITUTE_DEMAND_GROUP_ID
Transferable ? Yes
Mandatory ?
Yes

references DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Seq.

Name
SUBSTITUTE_DEMAND_GROUP_I1

10

Column

SUBSTITUTE_DEMAND_GROUP_ID NOT UNIQUE

Column Detail
10

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

Index Type

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 429 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the number to uniquely identify a demand group.


20

SUBSTITUTE_DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group.


30

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 430 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SUF
Display Title :

Table Name : SUFFIX

Description :

This is a help table used during import.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NOT NULL

VARCHAR (1)

SUFFIX

Primary Key
Name

Column

PK_SUFFIX

SUFFIX

Column Detail
10

SUFFIX
Optional ? :No ; Varchar (1) ;() ;

; Uppercase ? :No ;

Contains a suffix character.

Oracle Designer Report : cktci

14 May

2008

Page 431 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SUE
Display Title : Suffixes

Table Name : SUFFIXES

Description :

Available suffixes for demand group and commodity group codes

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

NULL

CHAR (1)

SUFFIX

Column Detail
10

SUFFIX
Optional ? :Yes ; Char (1) ;() ;

; Uppercase ? :No ;

suffix character

Oracle Designer Report : cktci

14 May

2008

Page 432 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SUP
Display Title :

Table Name : SUPPLIER

Description :

This table holds all suppliers.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER_ID

NOT NULL

NUMBER (10)

20

SUPPLIER_CODE

NOT NULL

VARCHAR2 (20)

30

SUPPLIER_NAME

NOT NULL

VARCHAR2 (32)

35

SHIP_TO

NULL

VARCHAR2 (6)

40

CONTACT_NAME

NULL

VARCHAR (30)

50

CONTACT_PHONE

NULL

VARCHAR2 (20)

60

CONTACT_FAX

NULL

VARCHAR (20)

70

CONTACT_EMAIL

NULL

VARCHAR2 (100)

80

IS_DIRECT_SUPPLY

NULL

VARCHAR2 (1)

90

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SUPPLIER

SUPPLIER_ID

Check Constraints
Name

Where Validate Clause

CHK_SUPPLIER_IS_DIRECT_SUPPLY

is_direct_supply IN ('Y', 'N')

CHK_SUPPLIER_SHIP_TO

SHIP_TO in
('XD_RG','CS_RG','XD_GS','XDDCS','CS_ST','STR','
XDFCS')

Index Summary
Name
SUPPLIER_I1

Seq.
0

Column

Index Type

SUPPLIER_CODE

NOT UNIQUE

Oracle Designer Report : cktci

14 May

2008

Page 433 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

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

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


20

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

; Uppercase ? :No ;

Contains the code of a supplier.


30

SUPPLIER_NAME
Optional ? :No ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Contains the name of a supplier.


35

SHIP_TO
Optional ? :Yes ; Varchar2 (6) ;() ;

; Uppercase ? :No ;

Indicates what types of destinations the supplier ships to. This information is
used to determine the scheduling locations associated with automatically
generated delivery groups and order groups. 'XD_RG' -- supplier ships to
warehouses with wh_type of 'XD_RG'
'XDFCS' -- supplier ships to warehouses with wh_type of 'XD_RG'. They in turn
ship to all warehouses with a wh_type of 'CS_RG' or 'CS_NT'.
'CS_RG' -- supplier ships to warehouses with wh_type of 'CS_RG'.
'XD_GS' -- supplier ships to warehouses with wh_type of 'XD_GS'.
'XDDCS' -- supplier ships to all warehouses with a warehouse type of 'XD_RG' or
'CS_RG'.
'CS_ST' -- supplier ships to warehouses with a wh_type of CS_RG, and stores.
'STR' -- supplier ships directly to the store. No delivery group or order
groupis needed.
This field is used in combination with the tables SHIP_TO_WH_TYPE_SOURCE and
SHIP_TO_WH_TYPE_DEST.
40

CONTACT_NAME
Optional ? :Yes ; Varchar (30) ;() ;

; Uppercase ? :No ;

Contains the contact name of a supplier.


50

CONTACT_PHONE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Contains the contact phone of a supplier.


60

CONTACT_FAX
Optional ? :Yes ; Varchar (20) ;() ;

; Uppercase ? :No ;

Contains the contact fax of a supplier.


70

CONTACT_EMAIL
Optional ? :Yes ; Varchar2 (100) ;() ;

; Uppercase ? :No ;

Contains the contact email of a supplier.


80

IS_DIRECT_SUPPLY
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ; Default Value :N ;

Indicates if a supplier can supply commodities (SKUs) directly to the store.


90

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 434 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 435 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SCL
Display Title : Supplier Class Lock

Table Name : SUPPLIER_CLASS_LOCK

Description :

This table contains supplier locks at the class level. The supplier
lock indicates the number of weeks inside of which orders sourced by
the supplier are locked and cannot be changed by the system.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER_CLASS_LOCK_ID

NOT NULL

NUMBER (12)

20

SUPPLIER_ID

NOT NULL

NUMBER (10)

30

CLASS_ID

NOT NULL

NUMBER (12)

40

LOCKED_WEEKS

NOT NULL

NUMBER (2)

50

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SUPPLIER_CLASS_LOCK

SUPPLIER_CLASS_LOCK_ID

Other Unique Keys


Name

Column

UK_SUPPLIER_CLASS_LOCK

SUPPLIER_ID
CLASS_ID

Foreign Keys
SCL_DPT_FK
CLASS_ID references
Transferable ? Yes
Mandatory ?
Yes

DEPARTMENTS.DEPARTMENTID
Update Rule : Restricted
Delete Rule : Restricted

SCL_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Restricted

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 436 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_SUPPLIER_CLASS_LOCK_WEEKS

LOCKED_WEEKS >0

Index Summary
Name

Seq.

SUPPLIER_CLASS_LOCK_I1

Column

Index Type

CLASS_ID

NOT UNIQUE

Column Detail
10

SUPPLIER_CLASS_LOCK_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This system-generated key uniquely identifies the row.


20

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

; Uppercase ? :No ;

The surrogate key used to identify the supplier that the lock is applied to.
30

CLASS_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify a class that has the lock applied to all of
its commodities that do not already have a lock at the commodity level.
40

LOCKED_WEEKS
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

The number of weeks inside of which orders are locked and cannot be changed by
the system.
50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 437 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SCK
Display Title : Supplier Commodity Lock

Table Name : SUPPLIER_COMMODITY_LOCK

Description :

This table contains supplier locks at the commodity level. The


supplier lock indicates the number of weeks inside of which orders
sourced by the supplier are locked and cannot be changed by the
system.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER_COMMODITY_LOCK_ID

NOT NULL

NUMBER (12)

20

SUPPLIER_ID

NOT NULL

NUMBER (10)

30

COMMODITY_ID

NOT NULL

NUMBER (8)

40

LOCKED_WEEKS

NOT NULL

NUMBER (2)

50

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SUPPLIER_COMMODITY_LOCK

SUPPLIER_COMMODITY_LOCK_ID

Other Unique Keys


Name

Column

UK_SUPPLIER_COMMODITY_LOCK

SUPPLIER_ID
COMMODITY_ID

Foreign Keys
SCK_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Restricted

SCK_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Restricted

Oracle Designer Report : cktci

14 May

2008

Page 438 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_SUPPLIER_COMM_LOCK_WEEKS

LOCKED_WEEKS >0

Index Summary
Name

Seq.

SUPPLIER_COMMODITY_LOCK_I1

Column

Index Type

COMMODITY_ID

NOT UNIQUE

Column Detail
10

SUPPLIER_COMMODITY_LOCK_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

This system-generated key uniquely identifies the row.


20

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

; Uppercase ? :No ;

The surrogate key used to identify the supplier that the lock is applied to.
30

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify the commodity that the lock is applied to.
40

LOCKED_WEEKS
Optional ? :No ; Number (2) ;() ;

; Uppercase ? :No ;

The number of weeks inside of which orders are locked and cannot be changed by
the system.
50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 439 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SCP
Display Title :

Table Name :
SUPPLIER_COMMODITY_PACK_SIZE

Description :

This table holds all commodity pack sizes that suppliers can supply.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER_ID

NOT NULL

NUMBER (10)

20

COMMODITY_ID

NOT NULL

NUMBER (8)

30

PACK_SIZE

NOT NULL

NUMBER (4)

40

KEEP_TOGETHER_FLAG

NULL

VARCHAR2 (1)

50

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SUPPLIER_COM_PACK_SIZE

SUPPLIER_ID
COMMODITY_ID
PACK_SIZE

Foreign Keys
SCP_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

SCP_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_SCP_KEEP_TOGETHER_FLAG

keep_together_flag IN ('Y', 'N')

Column Detail
Oracle Designer Report : cktci

14 May

2008

Page 440 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

Column

Index Type

SUPPLIER_COM_PACK_SIZE_I1

10

COMMODITY_ID

NOT UNIQUE

SUPPLIER_COM_PACK_SIZE_I1

20

PACK_SIZE

NOT UNIQUE

Column Detail
10

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

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


20

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


40

KEEP_TOGETHER_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if a commodity pack size supplied by a supplier is kept together


50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 441 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SLC
Display Title :

Table Name : SUPPLIER_LOCATION

Description :

Supplier location contains information for EDI upload to supplier


sources. AIP does not currently support EDI upload.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER_LOCATION_ID

NOT NULL

NUMBER (12)

20

SUPPLIER_ID

NOT NULL

NUMBER (10)

30

LOCATION_NUMBER

NOT NULL

VARCHAR2 (3)

40

LOCATION_DESCRIPTION

NOT NULL

VARCHAR2 (128)

50

GLOBAL_CONTACT

NOT NULL

VARCHAR2 (1)

60

CONTACT_NAME

NULL

VARCHAR2 (64)

70

TITLE

NULL

VARCHAR2 (64)

80

COMPANY

NOT NULL

VARCHAR2 (64)

90

CONTACT_PHONE

NULL

VARCHAR2 (20)

100

CONTACT_FAX

NULL

VARCHAR2 (20)

110

CONTACT_EMAIL

NULL

VARCHAR2 (100)

120

ADDRESS1

NOT NULL

VARCHAR2 (64)

130

ADDRESS2

NULL

VARCHAR2 (64)

140

ADDRESS3

NULL

VARCHAR2 (64)

150

ADDRESS4

NULL

VARCHAR2 (64)

160

CITY

NULL

VARCHAR2 (64)

170

REGION

NULL

VARCHAR2 (64)

180

COUNTRY

NULL

VARCHAR2 (64)

190

POST_CODE

NULL

VARCHAR2 (10)

200

EDI_ADDRESS

NULL

VARCHAR2 (64)

210

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SUPPLIER_LOCATION

SUPPLIER_LOCATION_ID

Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 442 of 509

Table Definition
Container :

AIP 13.0

Version :

Other Unique Keys


Name

Column

UK_SUPPLIER_LOCATION

SUPPLIER_ID
LOCATION_NUMBER

Foreign Keys
SLC_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_SUPPLIER_LOCATION_GLOBAL

global_contact IN ('Y', 'N')

Column Detail
10

SUPPLIER_LOCATION_ID
Optional ? :No ; Number (12) ;() ;

20

; Uppercase ? :No ;

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

30

; Uppercase ? :No ;

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

40

; Uppercase ? :No ;

LOCATION_DESCRIPTION
Optional ? :No ; Varchar2 (128) ;() ;

50

; Uppercase ? :No ;

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

60

; Uppercase ? :No ;

CONTACT_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

70

; Uppercase ? :No ;

TITLE
Optional ? :Yes ; Varchar2 (64) ;() ;

80

; Uppercase ? :No ;

COMPANY
Optional ? :No ; Varchar2 (64) ;() ;

90

; Uppercase ? :No ;

CONTACT_PHONE
Optional ? :Yes ; Varchar2 (20) ;() ;

100

CONTACT_FAX
Optional ? :Yes ; Varchar2 (20) ;() ;

110

; Uppercase ? :No ;

; Uppercase ? :No ;

CONTACT_EMAIL
Optional ? :Yes ; Varchar2 (100) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 443 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
120

ADDRESS1
Optional ? :No ; Varchar2 (64) ;() ;

130

; Uppercase ? :No ;

ADDRESS2
Optional ? :Yes ; Varchar2 (64) ;() ;

140

ADDRESS3
Optional ? :Yes ; Varchar2 (64) ;() ;

150

; Uppercase ? :No ;

EDI_ADDRESS
Optional ? :Yes ; Varchar2 (64) ;() ;

210

; Uppercase ? :No ;

POST_CODE
Optional ? :Yes ; Varchar2 (10) ;() ;

200

; Uppercase ? :No ;

COUNTRY
Optional ? :Yes ; Varchar2 (64) ;() ;

190

; Uppercase ? :No ;

REGION
Optional ? :Yes ; Varchar2 (64) ;() ;

180

; Uppercase ? :No ;

CITY
Optional ? :Yes ; Varchar2 (64) ;() ;

170

; Uppercase ? :No ;

ADDRESS4
Optional ? :Yes ; Varchar2 (64) ;() ;

160

; Uppercase ? :No ;

; Uppercase ? :No ;

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 444 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SPF
Display Title :

Table Name : SUPPLIER_PERFORMANCE

Description :

This table holds historic supplier performances. The latest ones are
held in non_contents_order and delivery_unit.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DATA_ID

NULL

NUMBER (12)

20

DATA_TYPE

NULL

NUMBER (1)

30

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

40

SUPPLIER_ID

NOT NULL

NUMBER (10)

50

COMMODITY_ID

NOT NULL

NUMBER (8)

60

PACK_SIZE

NOT NULL

NUMBER (4)

70

DELIVERY_DATE

NOT NULL

DATE

80

SUPPLIER_PERFORMANCE

NULL

NUMBER (5)

Other Unique Keys


Name

Column

UK_SUPPLIER_PERFORMANCE

STOCKING_POINT_ID
SUPPLIER_ID
COMMODITY_ID
PACK_SIZE
DELIVERY_DATE
DATA_ID
DATA_TYPE

Column Detail
10

DATA_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify either a non_contents_order_id or


delivery_unit_id.
20

DATA_TYPE
Optional ? :Yes ; Number (1) ;() ;

; Uppercase ? :No ;

Contains an integer of data type, 0 for non_contents_order, 1 for


delivery_unit.

Oracle Designer Report : cktci

14 May

2008

Page 445 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SPF_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

SPF_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
SPF_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Name

Seq.

Column

Index Type

SUPPLIER_PERFORMANCE_I1

10

COMMODITY_ID

NOT UNIQUE

SUPPLIER_PERFORMANCE_I2

10

SUPPLIER_ID

NOT UNIQUE

Column Detail
30

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


scheduling locatioin.
40

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

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


50

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


60

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


70

DELIVERY_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains delivery date.


80

SUPPLIER_PERFORMANCE
Optional ? :Yes ; Number (5) ;() ;

; Uppercase ? :No ;

Contains the performance of the supplier of a non contents order or delivery


Oracle Designer Report : cktci

14 May

2008

Page 446 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

unit.

Oracle Designer Report : cktci

14 May

2008

Page 447 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : SUPPLIER_PROMOTIONAL_DATES

Description :

Alias
: SPD
Display Title :

DM Online does not currently support user entered or modified supplier


promotional dates.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROMOTIONAL_RANGE_ID

NOT NULL

NUMBER (12)

20

SUPPLIER_ID

NOT NULL

NUMBER (10)

30

STORE_ID

NOT NULL

NUMBER (12)

40

COMMODITY_ID

NOT NULL

NUMBER (8)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

70

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key
Name

Column

PK_SUPPLIER_PROMOTIONAL_DATES

PROMOTIONAL_RANGE_ID

Other Unique Keys


Name

Column

UK_SUPPLIER_PROMOTIONAL_DATES

SUPPLIER_ID
STORE_ID
COMMODITY_ID
START_DATE
END_DATE

Column Detail
10

PROMOTIONAL_RANGE_ID
Optional ? :No ; Number (12) ;() ;

20

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

30

; Uppercase ? :No ;

; Uppercase ? :No ;

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 448 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
SPD_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

SPD_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

SPD_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Seq.

Name

Column

Index Type

SUPPLIER_PROMOTIONAL_DATES_I1

10

COMMODITY_ID

NOT UNIQUE

SUPPLIER_PROMOTIONAL_DATES_I2

10

STORE_ID

NOT UNIQUE

Column Detail
40

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

50

START_DATE
Optional ? :No ; Date ;() ;

60

; Uppercase ? :No ;

END_DATE
Optional ? :No ; Date ;() ;

70

; Uppercase ? :No ;

; Uppercase ? :No ;

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 449 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : SUPPLY_SOURCE_LOCATION

Description :

Alias
: SLN
Display Title :

This table holds supply source locations. A supply source is either a


supplier or a 2nd-tier site. If supplier_id is not null and
stocking_point_id is null, then the supply source location is for the
supplier. Otherwise if supplier_id is null and stocking_point_is is
not null, then the supply source location is for the 2nd-tier site.
Some supply source locations of a supplier may be imported from
external systems.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLY_SOURCE_LOCATION_ID

NOT NULL

NUMBER (12)

20

SUPPLIER_ID

NULL

NUMBER (12)

30

STOCKING_POINT_ID

NULL

NUMBER (12)

40

LOCATION_NUMBER

NOT NULL

VARCHAR2 (3)

50

LOCATION_DESCRIPTION

NOT NULL

VARCHAR2 (128)

60

GLOBAL_CONTACT

NOT NULL

VARCHAR2 (1)

70

CONTACT_NAME

NULL

VARCHAR2 (64)

80

TITLE

NULL

VARCHAR2 (64)

90

COMPANY

NOT NULL

VARCHAR2 (64)

100

CONTACT_PHONE

NULL

VARCHAR2 (20)

110

CONTACT_FAX

NULL

VARCHAR2 (20)

120

CONTACT_EMAIL

NULL

VARCHAR2 (100)

130

ADDRESS1

NOT NULL

VARCHAR2 (64)

140

ADDRESS2

NULL

VARCHAR2 (64)

150

ADDRESS3

NULL

VARCHAR2 (64)

160

ADDRESS4

NULL

VARCHAR2 (64)

170

CITY

NULL

VARCHAR2 (64)

180

REGION

NULL

VARCHAR2 (64)

190

COUNTRY

NULL

VARCHAR2 (64)

200

POST_CODE

NULL

VARCHAR2 (10)

210

EDI_ADDRESS

NULL

VARCHAR2 (64)

220

TIMESTAMP

NOT NULL

NUMBER (38)

Primary Key

Oracle Designer Report : cktci

14 May

2008

Page 450 of 509

Table Definition
Container :

AIP 13.0

Version :

Name

Column

PK_SUPPLY_SOURCE_LOCATION

SUPPLY_SOURCE_LOCATION_ID

Foreign Keys
SLN_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Delete Rule : Cascades
No
SLN_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
No

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_SUPPLY_SOURCE_LOC_GLOBAL

global_contact IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

SUPPLY_SOURCE_LOCATION_I1

10

STOCKING_POINT_ID

NOT UNIQUE

SUPPLY_SOURCE_LOCATION_I2

10

SUPPLIER_ID

NOT UNIQUE

Column Detail
10

SUPPLY_SOURCE_LOCATION_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a supply source location.


20

SUPPLIER_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a supplier.


30

STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a 2ndtier site.
40

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 451 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the number or code of a supply source location.


50

LOCATION_DESCRIPTION
Optional ? :No ; Varchar2 (128) ;() ;

; Uppercase ? :No ;

Contains the description of a supply source location.


60

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

; Uppercase ? :No ;

Indicates if a supply source location is a global contact.


70

CONTACT_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the contact name of a supply source location.


80

TITLE
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the contact title of a supply source location.


90

COMPANY
Optional ? :No ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the company name of a supply source location.


100

CONTACT_PHONE
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Contains the contact phone of a supply source location.


110

CONTACT_FAX
Optional ? :Yes ; Varchar2 (20) ;() ;

; Uppercase ? :No ;

Contains the contact fax of a supply source location.


120

CONTACT_EMAIL
Optional ? :Yes ; Varchar2 (100) ;() ;

; Uppercase ? :No ;

Contains the contact email of a supply source location.


130

ADDRESS1
Optional ? :No ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the address line 1 of a supply source location.


140

ADDRESS2
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the address line 2 of a supply source location.


150

ADDRESS3
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the address line 3 of a supply source location.


160

ADDRESS4
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the address line 4 of a supply source location.


Oracle Designer Report : cktci

14 May

2008

Page 452 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
170

CITY
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the city of a supply source location.


180

REGION
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the region of a supply source location.


190

COUNTRY
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the country of a supply source location.


200

POST_CODE
Optional ? :Yes ; Varchar2 (10) ;() ;

; Uppercase ? :No ;

Contains the post code of a supply source location.


210

EDI_ADDRESS
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the EDI address line 2 of a supply source location.


220

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 453 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : SUP_PLACEMENT_SCHEDULE_EXC

Description :

Alias
: SPX
Display Title :

This table holds exceptions to the default store order cycle placement
lead time. This exception applies to SKU/store/days that are supplied
by the selected supplier.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER_ID

NOT NULL

NUMBER (10)

20

PLACEMENT_LEAD_TIME

NULL

NUMBER (3)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER (38)

60

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_SUP_PLACEMENT_SCHED_EXC

SUPPLIER_ID
START_DATE
END_DATE

Foreign Keys
SPX_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_SUP_PLACE_SCHED_EXC_IS_DEL

is_deleted IN ('Y', 'N')

Column Detail
10

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 454 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

SUP_PLACEMENT_SCHEDULE_EXC_I1

Column

Index Type

TIMESTAMP

NOT UNIQUE

Column Detail

Contains the number to uniquely identify a supplier.


20

PLACEMENT_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of the placement lead time exception in days.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the first delivery date that the exception applies.


not applicable or valid if IS_DELETED = 'Y'.
40

The exception is

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the last delivery date that the exception can be applied (inclusive).
50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
60

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if the exception is no longer effective for the selected start and
end date. Valid values are 'Y' or 'N'. If the value is 'Y' the exception will
not override the default store order cycle on the selected dates.

Oracle Designer Report : cktci

14 May

2008

Page 455 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : SUP_RELEASE_SCHEDULE_EXC

Description :

Alias
: SRX
Display Title :

This table holds exceptions to the default store order cycle release
lead time. This exception applies to SKU/store/days that are supplied
by the selected supplier.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SUPPLIER_ID

NOT NULL

NUMBER (10)

20

RELEASE_LEAD_TIME

NULL

NUMBER (3)

30

START_DATE

NOT NULL

DATE

40

END_DATE

NOT NULL

DATE

50

TIMESTAMP

NOT NULL

NUMBER (38)

60

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_SUP_RELEASE_SCHEDULE_EXC

SUPPLIER_ID
START_DATE
END_DATE

Foreign Keys
SRX_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_SUP_REL_SCHD_EXC_IS_DEL

is_deleted IN ('Y', 'N')

Column Detail
10

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 456 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

SUP_RELEASE_SCHEDULE_EXC_I1

Column

Index Type

TIMESTAMP

NOT UNIQUE

Column Detail

Contains the number to uniquely identify a supplier.


20

RELEASE_LEAD_TIME
Optional ? :Yes ; Number (3) ;() ;

; Uppercase ? :No ;

Contains the number of release lead time in days.


30

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the first delivery date that the exception applies.


not applicable or valid if IS_DELETED = 'Y'.
40

The exception is

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the last delivery date that the exception can be applied (inclusive).
50

TIMESTAMP
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
60

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if the exception is no longer effective for the selected start and
end date. Valid values are 'Y' or 'N'. If the value is 'Y' the exception will
not override the default store order cycle on the selected dates.

Oracle Designer Report : cktci

14 May

2008

Page 457 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: SPR
Display Title : System Parameters

Table Name : SYSTEM_PARAMETERS

Description :

This table will hold various AIP system settings and will be populated
during implementation.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PARAMETER_ID

NOT NULL

NUMBER (3)

20

NAME

NOT NULL

VARCHAR2 (50)

30

VALUE

NOT NULL

VARCHAR2 (256)

40

DESCRIPTION

NULL

VARCHAR2 (256)

Primary Key
Name

Column

PK_SYSTEM_PARAMETERS

PARAMETER_ID

Other Unique Keys


Name

Column

UK_SYSTEM_PARAMETERS

NAME

Column Detail
10

PARAMETER_ID
Optional ? :No ; Number (3) ;() ;

; Uppercase ? :No ;

Contains a system-generated number to uniquely identify the row.


20

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

; Uppercase ? :No ;

Contains the name of the parameter.


30

VALUE
Optional ? :No ; Varchar2 (256) ;() ;

; Uppercase ? :No ;

Contains the value associated with the parameter.


40

DESCRIPTION
Optional ? :Yes ; Varchar2 (256) ;() ;

; Uppercase ? :No ;

Contains a description of the parameter and its usage.

Oracle Designer Report : cktci

14 May

2008

Page 458 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: TER
Display Title :

Table Name : TERMS

Description :

Standard terms.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

TERMINDEX

NOT NULL

NUMBER (38)

20

TERMNAME

NULL

VARCHAR2 (32)

30

SINGULAR

NULL

VARCHAR2 (32)

40

PLURAL

NULL

VARCHAR2 (50)

50

DESCRIPTION

NULL

VARCHAR2 (255)

60

ENTERPRISE_ID

NULL

NUMBER (38)

70

LANGUAGE_CODE

NULL

VARCHAR2 (32)

80

LOCAL_NAME

NULL

VARCHAR2 (64)

Primary Key
Name

Column

PK_TERMS

TERMINDEX

Column Detail
10

TERMINDEX
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Unique index for this record


20

TERMNAME
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Lookup name
30

SINGULAR
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Single form
40

PLURAL
Optional ? :Yes ; Varchar2 (50) ;() ;

; Uppercase ? :No ;

Optional plural form


50

DESCRIPTION
Oracle Designer Report : cktci

14 May

2008

Page 459 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Information for administrator


60

ENTERPRISE_ID
Optional ? :Yes ; Number (38) ;() ;

70

; Uppercase ? :No ; Default Value :0 ;

LANGUAGE_CODE
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Language code (null implies default)


80

LOCAL_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Display name in local language

Oracle Designer Report : cktci

14 May

2008

Page 460 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: TME
Display Title : Tsf Mfqueue

Table Name : TSF_MFQUEUE

Description :

Rows will be placed on this table to indicate that a transfer creation


or modification message should be published to external systems. The
table will contain reference information such as the transfer number
and key values, if applicable. Key values are used to uniquely
identify a row on the STORE_ORDER or NON_CONTENTS_ORDER table. The
stateless session bean that processes rows on this table will delete
them once the associated information has been sent to the RIB.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SEQ_NO

NULL

NUMBER (15)

20

TSF_NUMBER

NOT NULL

NUMBER (10)

30

STORE_ORDER_ID

NULL

NUMBER (12)

40

NON_CONTENTS_ORDER_ID

NULL

NUMBER (12)

50

MESSAGE_TYPE

NOT NULL

VARCHAR2 (15)

60

THREAD_NO

NULL

NUMBER (4)

70

FAMILY

NULL

VARCHAR2 (30)

80

CUSTOM_MESSAGE_TYPE

NULL

VARCHAR2 (1)

90

PUB_STATUS

NULL

VARCHAR2 (1)

100

TRANSACTION_NUMBER

NULL

NUMBER (10)

110

TRANSACTION_TIME_STAMP

NOT NULL

DATE

120

FILE_INTERFACE_IND

NULL

VARCHAR2 (1)

Check Constraints
Name

Where Validate Clause

CHK_TST_MFQUEUE_FILE_INTER_IND

FILE_INTERFACE_IND IN ('Y','N')

Index Summary
Name
TSF_MFQUEUE_I1

Seq.
0

Column

Index Type

TSF_NUMBER

NOT UNIQUE

Oracle Designer Report : cktci

14 May

2008

Page 461 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
10

SEQ_NO
Optional ? :Yes ; Number (15) ;() ;

; Uppercase ? :No ;

The sequence in which the record was placed in the table. Used to order the
publication of messages to the RIB.
20

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

; Uppercase ? :No ;

Unique identifier of a transfer. This value will always be populated.


30

STORE_ORDER_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Uniquely identifies of a row on the STORE_ORDER table. This key value will
only be populated if the event being published concerns a single row.
40

NON_CONTENTS_ORDER_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Uniquely identifies of a row on the NON_CONTENTS_ORDER table. This key value


will only be populated if the event being published concerns a single row.
50

MESSAGE_TYPE
Optional ? :No ; Varchar2 (15) ;() ;

; Uppercase ? :No ;

Describes the action in AIP that is causing the message to be published to


external systems.
60

THREAD_NO
Optional ? :Yes ; Number (4) ;() ;

; Uppercase ? :No ;

The thread on which the business transaction will be published. This value is
not currently used by AIP and will not be populated.
70

FAMILY
Optional ? :Yes ; Varchar2 (30) ;() ;

; Uppercase ? :No ;

The functional area the transaction belongs to. This value is not currently
used by AIP and will not be populated.
80

CUSTOM_MESSAGE_TYPE
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

This value is not currently used by AIP and will not be populated.
90

PUB_STATUS
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

This value is not currently used by AIP and will not be populated.
100

TRANSACTION_NUMBER
Optional ? :Yes ; Number (10) ;() ;

; Uppercase ? :No ;

This value is not currently used by AIP and will not be populated.
110

TRANSACTION_TIME_STAMP
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Will hold the time (expressed as a date) the record was created.
120

FILE_INTERFACE_IND

Oracle Designer Report : cktci

14 May

2008

Page 462 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ; Default Value :N ;

Specifies that orders are sent via a message bus system, like the RIB, when set
to 'N' and sent via flat files, like RETL extracts, when set to 'Y'.

Oracle Designer Report : cktci

14 May

2008

Page 463 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : TWO_STAGE_ORDERING_FLAG_EXC

Description :

Alias
: TSO
Display Title :

This table holds two stage ordering flag exceptions. DM Online no


longer supports the two-stage ordering flag with the migration to Ntier.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

30

SUPPLIER_ID

NOT NULL

NUMBER (10)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

TWO_STAGE_ORDERING_FLAG

NOT NULL

VARCHAR2 (1)

70

TIMESTAMP

NOT NULL

NUMBER ()

80

IS_DELETED

NULL

VARCHAR2 (1)

Primary Key
Name

Column

PK_TWO_STAGE_ORD_FLAG_EXC

STOCKING_POINT_ID
DEMAND_GROUP_ID
SUPPLIER_ID
START_DATE
END_DATE

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a 2ndtier site.
20

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group.


30

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

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 464 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
TSO_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

TSO_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
TSO_SUP_FK
SUPPLIER_ID references
Transferable ? Yes
Mandatory ?
Yes

SUPPLIER.SUPPLIER_ID
Update Rule : Restricted
Delete Rule : Cascades

Check Constraints
Name

Where Validate Clause

CHK_TWO_STAGE_ORD_FLAG_FLAG

two_stage_ordering_flag IN ('Y', 'N')

CHK_TWO_STAGE_ORD_FLAG_IS_DEL

is_deleted IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

TWO_STAGE_ORD_FLAG_EXC_I1

10

DEMAND_GROUP_ID

NOT UNIQUE

TWO_STAGE_ORD_FLAG_EXC_I2

10

SUPPLIER_ID

NOT UNIQUE

TWO_STAGE_ORD_FLAG_EXC_I3

TIMESTAMP

NOT UNIQUE

Column Detail

Contains the number to uniquely identify a supplier.


40

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


50

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


60

TWO_STAGE_ORDERING_FLAG

Oracle Designer Report : cktci

14 May

2008

Page 465 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Indicates if a replenishment plan will be made or not in a 2nd-tier site.


70

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.
80

IS_DELETED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if this record has been deleted.

Oracle Designer Report : cktci

14 May

2008

Page 466 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: VAW
Display Title :

Table Name : VALID_WAREHOUSE

Description :

This table holds all warehouses that are assigned to a profile.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROFILE_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_VALID_WAREHOUSE

PROFILE_ID
STOCKING_POINT_ID

Foreign Keys
VAW_PRO_FK
PROFILE_ID references
Transferable ? Yes
Mandatory ?
Yes

PROFILE.PROFILE_ID
Update Rule : Restricted
Delete Rule : Cascades

VAW_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Index Summary
Seq.

Name
VALID_WAREHOUSE_I1

10

Column

Index Type

STOCKING_POINT_ID

NOT UNIQUE

Column Detail
10

PROFILE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 467 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the number to uniquely identify a profile.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse.
30

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 468 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : VEHICLE

Description :

Alias
: VEH
Display Title :

This table holds all vehicles. Vehicles are an output of Warehouse


Inbound Planning for contents ordering. AIP does not currenlty
support contents ordering.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

VEHICLE_ID

NOT NULL

NUMBER (12)

20

VEHICLE_CODE

NULL

VARCHAR2 (64)

30

ASN_KEY

NULL

VARCHAR2 (64)

40

PRIORITY

NOT NULL

NUMBER ()

50

ACTION_REQUIRED_DATE

NULL

DATE

60

READY_DATE

NULL

DATE

70

ON_QUAY_DATE

NULL

DATE

80

IN_TRANSIT_DATE

NULL

DATE

90

CONFIRMATION_DATE

NULL

DATE

100

IDEAL_DELIVERY_DATE

NOT NULL

DATE

110

COMMUNICATION_STATUS

NULL

NUMBER (2)

120

RELEASE_DATE

NULL

DATE

130

RELEASE_RUN_ID

NULL

NUMBER (12)

140

GENERATION_METHOD

NOT NULL

NUMBER (1)

150

IS_MODIFIED_TODAY

NOT NULL

VARCHAR2 (1)

160

FORECAST_WEIGHT

NULL

NUMBER ()

170

CONFIRMED_WEIGHT

NULL

NUMBER ()

180

FORECAST_FPE

NULL

NUMBER ()

190

CONFIRMED_FPE

NULL

NUMBER ()

200

FORECAST_BOARDS

NULL

NUMBER ()

210

CONFIRMED_BOARDS

NULL

NUMBER ()

220

IS_STOCKLESS

NOT NULL

VARCHAR2 (1)

230

IS_PCC_RECONCILED

NULL

VARCHAR2 (1)

240

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

250

DELIVERY_GROUP_ID

NOT NULL

NUMBER (12)

260

BOOKING_REF_NO

NULL

NUMBER ()

270

DELIVERY_DATE

NULL

DATE

Oracle Designer Report : cktci

14 May

2008

Page 469 of 509

Table Definition
Container :

AIP 13.0

Version :

Col.Seq. Column

Nulls ?

Type

280

IS_FIXED_BOOKING

NOT NULL

VARCHAR2 (1)

290

IS_FULL_BOOKING

NOT NULL

VARCHAR2 (1)

300

SLOT_START_TIME

NULL

NUMBER (5)

310

SLOT_IS_TODAY

NULL

VARCHAR2 (1)

320

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_VEHICLE

VEHICLE_ID

Other Unique Keys


Name

Column

UK_VEHICLE
UK_VEHICLE0

VEHICLE_CODE
ASN_KEY

Foreign Keys
VEH_DGR_FK
DELIVERY_GROUP_ID references DELIVERY_GROUP.DELIVERY_GROUP_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
VEH_RER_FK
RELEASE_RUN_ID references
Transferable ? Yes
Mandatory ?
No

RELEASE_RUN.RELEASE_RUN_ID
Update Rule : Restricted
Delete Rule : Cascades

VEH_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail
10

VEHICLE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a vehicle.


20

VEHICLE_CODE
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains the code of a vehicle.

Oracle Designer Report : cktci

14 May

2008

Page 470 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_VEHICLE_GENERATION_METHOD

generation_method IN (0, 1)

CHK_VEHICLE_IS_FIXED_BOOKING

is_fixed_booking IN ('Y', 'N')

CHK_VEHICLE_IS_FULL_BOOKING

is_full_booking IN ('Y', 'N')

CHK_VEHICLE_IS_MODIFIED_TODAY

is_modified_today IN ('Y', 'N')

CHK_VEHICLE_IS_PCC_RECONCILED

is_pcc_reconciled IN ('Y', 'N')

CHK_VEHICLE_IS_STOCKLESS

is_stockless IN ('Y', 'N')

CHK_VEHICLE_SLOT_IS_TODAY

slot_is_today IN ('Y', 'N')

Index Summary
Name

Seq.

Column

Index Type

VEHICLE_I1

10

STOCKING_POINT_ID

NOT UNIQUE

VEHICLE_I1

20

DELIVERY_DATE

NOT UNIQUE

VEHICLE_I1

30

SLOT_START_TIME

NOT UNIQUE

VEHICLE_I1

40

SLOT_IS_TODAY

NOT UNIQUE

VEHICLE_I2

10

SLOT_START_TIME

NOT UNIQUE

VEHICLE_I2

20

SLOT_IS_TODAY

NOT UNIQUE

VEHICLE_I3

10

DELIVERY_GROUP_ID

NOT UNIQUE

VEHICLE_I4

10

RELEASE_RUN_ID

NOT UNIQUE

Column Detail
30

ASN_KEY
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Contains a string of ASN key.


40

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

; Uppercase ? :No ;

Contains a number of priority.


50

ACTION_REQUIRED_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains action required date.


60

READY_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains ready date.

Oracle Designer Report : cktci

14 May

2008

Page 471 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
70

ON_QUAY_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains on-quay date.


80

IN_TRANSIT_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains transit date.


90

CONFIRMATION_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains confirmation date.


100

IDEAL_DELIVERY_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains ideal delivery date.


110

COMMUNICATION_STATUS
Optional ? :Yes ; Number (2) ;() ;

; Uppercase ? :No ;

Contains communication status.


120

RELEASE_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains release date.


130

RELEASE_RUN_ID
Optional ? :Yes ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a release run.


140

GENERATION_METHOD
Optional ? :No ; Number (1) ;() ;

; Uppercase ? :No ;

Contains the number of how this vehicle is generated, 0 for system generated
and 1 for manual generated.
150

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

; Uppercase ? :No ;

Indicates if this vehicle is modified today.


160

FORECAST_WEIGHT
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Contains the number of forecast weight.


170

CONFIRMED_WEIGHT
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Contains the number of confirmed weight.


180

FORECAST_FPE
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Contains the number of forecast full pallet equivalent (fpe).


190

CONFIRMED_FPE
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 472 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Contains the number of confirmed full pallet equivalent (fpe).


200

FORECAST_BOARDS
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Contains the number of forecast boards.


210

CONFIRMED_BOARDS
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Contains the number of confirmed boards.


220

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

; Uppercase ? :No ;

Indicates if a vehicle contains stockless delivery unit.


230

IS_PCC_RECONCILED
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if pcc-reconciled is set.


240

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


scheduling locatioin.
250

DELIVERY_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a delivery group.


260

BOOKING_REF_NO
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Contains booking reference number.


270

DELIVERY_DATE
Optional ? :Yes ; Date ;() ;

; Uppercase ? :No ;

Contains delivery date.


280

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

; Uppercase ? :No ;

Indicates if booking is fixed booking.


290

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

; Uppercase ? :No ;

Indicates if booking is full booking.


300

SLOT_START_TIME
Optional ? :Yes ; Number (5) ;() ;

; Uppercase ? :No ;

Containts the number of start time which is in seconds of a day.


310

SLOT_IS_TODAY
Optional ? :Yes ; Varchar2 (1) ;() ;

; Uppercase ? :No ;

Indicates if the notional day of a slot is the same as the calendar day.
Oracle Designer Report : cktci

14 May

2008

Page 473 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
320

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 474 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: VEX
Display Title :

Table Name : VEHICLE_EXCEPTION

Description :

This table holds all vehicle exceptions.


Vehicles are an output of
Warehouse Inbound Planning for contents ordering. AIP does not
currenlty support contents ordering.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

VEHICLE_ID

NOT NULL

NUMBER (12)

20

EXCEPTION_CODE_ID

NOT NULL

NUMBER (12)

30

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_VEHICLE_EXCEPTION

VEHICLE_ID
EXCEPTION_CODE_ID

Foreign Keys
VEX_EXC_FK
EXCEPTION_CODE_ID references EXCEPTION_CODE.EXCEPTION_CODE_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Restricted
VEX_VEH_FK
VEHICLE_ID references
Transferable ? Yes
Mandatory ?
Yes

VEHICLE.VEHICLE_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Name

Seq.

VEHICLE_EXCEPTION_I1

10

Column

Index Type

EXCEPTION_CODE_ID

NOT UNIQUE

Column Detail
10

VEHICLE_ID

Oracle Designer Report : cktci

14 May

2008

Page 475 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a vehicle.


20

EXCEPTION_CODE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a vehicle exception code.


30

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 476 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: WCP
Display Title :

Table Name :
WAREHOUSE_CHAMBER_PRODUCT_TYPE

Description :

This table holds product types (SKU types) assigned to warehouse


chambers.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

15

WH_CHAMBER_PRODUCT_TYPE_ID

NOT NULL

NUMBER (12)

17

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

PRODUCT_TYPE_ID

NOT NULL

NUMBER (12)

25

IS_STOCKLESS

NOT NULL

VARCHAR2 (1)

30

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_WH_CHAMBER_PROD_TYPE

WH_CHAMBER_PRODUCT_TYPE_ID

Other Unique Keys


Name

Column

UK_WH_CHAMBER_PRODUCT_TYPE

STOCKING_POINT_ID
PRODUCT_TYPE_ID

Foreign Keys
WCP_PTY_FK
PRODUCT_TYPE_ID references
Transferable ? Yes
Mandatory ?
Yes

PRODUCT_TYPE.PRODUCT_TYPE_ID
Update Rule : Restricted
Delete Rule : Restricted

WCP_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Column Detail

Oracle Designer Report : cktci

14 May

2008

Page 477 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_WH_CHAMBER_PRDT_IS_STOCK

IS_STOCKLESS in ('Y','N')

Index Summary
Name

Seq.

WH_CHAMBER_PROD_TYPE_I1

10

Column

Index Type

PRODUCT_TYPE_ID

NOT UNIQUE

Column Detail
15

WH_CHAMBER_PRODUCT_TYPE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The key that uniquely identifies a product type assigned to a warehouse


chamber. This key is sequenced.
17

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point.


chambers are valid.
20

Only warehouse-

PRODUCT_TYPE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a product type.


25

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

; Uppercase ? :No ; Default Value :N ;

Indicates if the product type is run stockless at the chamber. If the value is
'Y' this indicates that SKU pack sizes of the given product type are not stored
day-to-day at the chamber.
30

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 478 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: WCF
Display Title :

Table Name : WAREHOUSE_COUPLED_FLAG

Description :

The coupled indicator allows you to join the orders arriving from the
warehouse and supplier orders for selected SKUs, allowing you to plan
for the stock that will arrive to the store. When a supplier
order is coupled with a warehouse order, the warehouse order can not
be re-planned once the
supplier order has been placed. The supplier order cannot be replanned to reflect the new
quantity needed by the warehouse to fulfill all of the demand required
by the stores.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

25

COMMODITY_ID

NOT NULL

NUMBER (8)

30

IS_COUPLED

NOT NULL

VARCHAR2 (1)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_WAREHOUSE_COUPLED_FLAG

STOCKING_POINT_ID
COMMODITY_ID
START_DATE
END_DATE

Foreign Keys
WCF_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

WCF_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Oracle Designer Report : cktci

14 May

2008

Page 479 of 509

Table Definition
Container :

AIP 13.0

Version :

Check Constraints
Name

Where Validate Clause

CHK_WAREHOUSE_COUPLED_FLG_IS_C

is_coupled IN ('Y', 'N')

Index Summary
Seq.

Name

Column

Index Type

WAREHOUSE_COUPLED_FLAG_I1

10

COMMODITY_ID

NOT UNIQUE

WAREHOUSE_COUPLED_FLAG_I2

TIMESTAMP

NOT UNIQUE

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse-chamber.
25

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


30

IS_COUPLED
Optional ? :No ; Varchar2 (1) ;() ;
Coupled indicator.

40

; Uppercase ? :No ;

Valid values are 'Y' or 'N'.

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


50

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


60

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 480 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : WAREHOUSE_ORDERABLE_UNIT

Description :

Alias
: WOU
Display Title :

This table holds the SKU-pack size that should be ordered when
replenishing the warhouse.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

SOURCE_ID

NOT NULL

NUMBER (12)

25

SOURCE_TYPE

NOT NULL

VARCHAR2 (1)

30

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

40

START_DATE

NOT NULL

DATE

50

END_DATE

NOT NULL

DATE

60

COMMODITY_ID

NOT NULL

NUMBER (8)

70

PACK_SIZE

NOT NULL

NUMBER (4)

80

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_WAREHOUSE_ORDERABLE_UNIT

STOCKING_POINT_ID
SOURCE_ID
SOURCE_TYPE
DEMAND_GROUP_ID
START_DATE

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse.
20

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

The surrogate key used to identify the warehouse or supplier that is acting as
the source for an order at a given point in time.
25

SOURCE_TYPE

Oracle Designer Report : cktci

14 May

2008

Page 481 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
WOU_CPS_FK
COMMODITY_ID references COMMODITY_PACK_SIZE.COMMODITY_ID
PACK_SIZE references COMMODITY_PACK_SIZE.PACK_SIZE
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Restricted
WOU_DGP_FK
DEMAND_GROUP_ID references
Transferable ? Yes
Mandatory ?
Yes

DEMAND_GROUP.DEMAND_GROUP_ID
Update Rule : Restricted
Delete Rule : Cascades

WOU_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
Check Constraints
Name

Where Validate Clause

CHK_WAREH_ORD_UNIT_SOUR_TYPE

SOURCE_TYPE in ('V','W')

Index Summary
Seq.

Name

Column

Index Type

WAREHOUSE_ORDERABLE_UNIT_I1

10

COMMODITY_ID

NOT UNIQUE

WAREHOUSE_ORDERABLE_UNIT_I2

10

DEMAND_GROUP_ID

NOT UNIQUE

WAREHOUSE_ORDERABLE_UNIT_I4

TIMESTAMP

NOT UNIQUE

WAREHOUSE_ORDERABLE_UNIT_I5

COMMODITY_ID

NOT UNIQUE

WAREHOUSE_ORDERABLE_UNIT_I5

PACK_SIZE

NOT UNIQUE

WAREHOUSE_ORDERABLE_UNIT_I6

PACK_SIZE

NOT UNIQUE

WAREHOUSE_ORDERABLE_UNIT_I7

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

Indicates supply source type. Where V=supplier (vendor) W=stocking point


(warehouse)
30

DEMAND_GROUP_ID

Oracle Designer Report : cktci

14 May

2008

Page 482 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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

; Uppercase ? :No ;

Contains the number to uniquely identify a demand group.


40

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


50

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

This column will always contain the system high date.


60

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


70

PACK_SIZE
Optional ? :No ; Number (4) ;() ;

; Uppercase ? :No ;

Contains the pack size of a commodity.


80

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 483 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : WAREHOUSE_PROMOTIONAL_DATES

Description :

Alias
: WPD
Display Title :

This table holds all promotional start and end dates for Warehouses.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

PROMOTIONAL_RANGE_ID

NOT NULL

NUMBER (12)

20

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

30

STORE_ID

NOT NULL

NUMBER (12)

40

COMMODITY_ID

NOT NULL

NUMBER (8)

50

START_DATE

NOT NULL

DATE

60

END_DATE

NOT NULL

DATE

70

TIMESTAMP

NOT NULL

NUMBER ()

Primary Key
Name

Column

PK_WAREHOUSE_PROM_DATES

PROMOTIONAL_RANGE_ID

Other Unique Keys


Name

Column

UK_WAREHOUSE_PROM_DATES

STOCKING_POINT_ID
STORE_ID
COMMODITY_ID
START_DATE
END_DATE

Column Detail
10

PROMOTIONAL_RANGE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a warehouse promotional range.


20

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a stocking point, which must be a


warehouse.

Oracle Designer Report : cktci

14 May

2008

Page 484 of 509

Table Definition
Container :

AIP 13.0

Version :

Foreign Keys
WPD_COY_FK
COMMODITY_ID references
Transferable ? Yes
Mandatory ?
Yes

COMMODITY.COMMODITY_ID
Update Rule : Restricted
Delete Rule : Cascades

WPD_SPO_FK
STOCKING_POINT_ID references STOCKING_POINT.STOCKING_POINT_ID
Transferable ? Yes
Update Rule : Restricted
Mandatory ?
Yes
Delete Rule : Cascades
WPD_STO_FK
STORE_ID references
Transferable ? Yes
Mandatory ?
Yes

STORE.STORE_ID
Update Rule : Restricted
Delete Rule : Cascades

Index Summary
Name

Seq.

Column

Index Type

WAREHOUSE_PROM_DATES_I1

10

COMMODITY_ID

NOT UNIQUE

WAREHOUSE_PROM_DATES_I2

10

STORE_ID

NOT UNIQUE

Column Detail
30

STORE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a store.


40

COMMODITY_ID
Optional ? :No ; Number (8) ;() ;

; Uppercase ? :No ;

Contains the number to uniquely identify a commodity.


50

START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains a start date.


60

END_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains an end date.


70

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

; Uppercase ? :No ;

Contains the difference in milliseconds between the last update time and
midnight, January 1, 1970 UTC.

Oracle Designer Report : cktci

14 May

2008

Page 485 of 509

Table Definition
Container :

AIP 13.0

Version :

Table Name : WH_TYPE_INITIAL_PACK_TYPE

Description :

Alias
: WTE
Display Title : Wh Type Initial Pack Type

These warehouse type/pack type associations are used when new


commodity/warehouse associations are created in the system. For a
commodity, a given pack_type (such as 'CASE') will map to a particular
pack size (e.g. 12). The warehouse orderable unit will be set to the
appropriate pack size (based on the pack type) that is associated with
the warehouse's warehouse type.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

WH_TYPE_INITIAL_PACK_TYPE_ID

NOT NULL

NUMBER (12)

20

WH_TYPE

NOT NULL

VARCHAR2 (6)

30

PACK_TYPE

NOT NULL

VARCHAR2 (6)

40

PROCESS_TYPE

NOT NULL

VARCHAR2 (6)

Primary Key
Name

Column

PK_WH_TYPE_INITIAL_PACK_TYPE

WH_TYPE_INITIAL_PACK_TYPE_ID

Other Unique Keys


Name

Column

UK_WH_TYPE_INITIAL_PACK_TYPE

WH_TYPE
PACK_TYPE
PROCESS_TYPE

Check Constraints
Name

Where Validate Clause

CHK_WH_TYPE_INT_PT_PACK_TYPE
CHK_WH_TYPE_INT_PT_PROCES_TYPE

PACK_TYPE in ( 'EACH', 'INNER', 'CASE',


'PALLET', 'OTHER')
PROCESS_TYPE in ('WOU','OM')

CHK_WH_TYPE_INT_PT_WH_TYPE

WH_TYPE in ('XD_RG', 'CS_RG', 'XD_GS', 'CS_NT')

Column Detail
10

WH_TYPE_INITIAL_PACK_TYPE_ID
Oracle Designer Report : cktci

14 May

2008

Page 486 of 509

Table Definition
Container :

AIP 13.0

Version :

Index Summary
Name

Seq.

WH_TYPE_INITIAL_PACK_TYPE_I1

Column

Index Type

PACK_TYPE

NOT UNIQUE

Column Detail

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

; Uppercase ? :No ;

System-generated number that uniquely identifies a row.


20

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

; Uppercase ? :No ;

The value that indicates which type the warehouse is. Current types include
include 'XD_RG' for Crossdock, 'CS_RG' for CSCs, 'XD_GS' for Global Sourcing,
and 'CS_NT' for Non-Traditional. This value is only valid for warehouses and
is not maintained for chambers.
30

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

; Uppercase ? :No ;

Contains the pack type.


40

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

; Uppercase ? :No ;

This field indicates which process will use the row. Currently the automated
warehouse orderable unit and automated order multiple default processes both
need wh_type/pack_type mapping information. This value allows the mapping used
by these processes to differ. Valid values include 'WOU' and 'OM'.

Oracle Designer Report : cktci

14 May

2008

Page 487 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title : WOU_MAX_DATES

Table Name : WOU_MAX_DATES

Description :

This global temporary table will hold max start dates for
source/demand group/warehouse combinations on the
WAREHOUSE_ORDERABLE_UNIT table. This table is provided to expedite
performance. Because the contents of this table are programmatically
controlled and will not be persistent beyond one session, source type
will always be known. At any given point the table will only contain
sources of a particular type.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NOT NULL

NUMBER (12)

20

SOURCE_ID

NOT NULL

NUMBER (12)

30

DEMAND_GROUP_ID

NOT NULL

NUMBER (12)

40

MAX_START_DATE

NOT NULL

DATE

Index Summary
Seq.

Name

Column

Index Type

WOU_MAX_DATES_I1

STOCKING_POINT_ID

NOT UNIQUE

WOU_MAX_DATES_I1

SOURCE_ID

NOT UNIQUE

WOU_MAX_DATES_I1

DEMAND_GROUP_ID

NOT UNIQUE

WOU_MAX_DATES_I1

NOT UNIQUE

Column Detail
10

STOCKING_POINT_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains a warehouse ID.


20

SOURCE_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains a warehouse or supplier ID.


30

DEMAND_GROUP_ID
Optional ? :No ; Number (12) ;() ;

; Uppercase ? :No ;

Contains a demand group ID.

Oracle Designer Report : cktci

14 May

2008

Page 488 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
40

MAX_START_DATE
Optional ? :No ; Date ;() ;

; Uppercase ? :No ;

Contains the maximum start date found on the WAREHOUSE_ORDERABLE_UNIT table for
the source/demand group/warehouse where the start date is <= sysdate and the
end date is >= sysdate.

Oracle Designer Report : cktci

14 May

2008

Page 489 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: WAD
Display Title :

Table Name : WT_ADMINS

Description :

System administrators.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ADMIN_ID

NOT NULL

NUMBER (38)

20

USERNAME

NULL

VARCHAR2 (32)

30

PASSWORD

NULL

VARCHAR2 (128)

40

ADMIN_LEVEL

NULL

NUMBER (38)

50

FIRSTNAME

NULL

VARCHAR2 (50)

60

LASTNAME

NULL

VARCHAR2 (50)

70

CONTACT_INFO

NULL

VARCHAR2 (2000)

80

EMAIL_ADDRESS

NULL

VARCHAR2 (64)

Primary Key
Name

Column

PK_WT_ADMINS

ADMIN_ID

Column Detail
10

ADMIN_ID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

USERNAME
Optional ? :Yes ; Varchar2 (32) ;() ;

30

; Uppercase ? :No ;

PASSWORD
Optional ? :Yes ; Varchar2 (128) ;() ;

40

ADMIN_LEVEL
Optional ? :Yes ; Number (38) ;() ;

50

; Uppercase ? :No ; Default Value :0 ;

FIRSTNAME
Optional ? :Yes ; Varchar2 (50) ;() ;

60

; Uppercase ? :No ;

; Uppercase ? :No ;

LASTNAME
Optional ? :Yes ; Varchar2 (50) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 490 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
70

CONTACT_INFO
Optional ? :Yes ; Varchar2 (2000) ;() ;

80

; Uppercase ? :No ;

EMAIL_ADDRESS
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

This is separate in case we ever want to mail admins automagically

Oracle Designer Report : cktci

14 May

2008

Page 491 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: WEN
Display Title :

Table Name : WT_ENTERPRISES

Description :

Enterprises

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

ENTERPRISE_ID

NOT NULL

NUMBER (38)

20

ENTERPRISE_CODE

NULL

VARCHAR2 (16)

30

LOOKUP_CODE

NULL

VARCHAR2 (16)

40

CATEGORY_ID

NULL

NUMBER (38)

50

ETYPE_ID

NULL

NUMBER (38)

60

COMPANY_NAME

NULL

VARCHAR2 (64)

70

LOOKUP_NAME

NULL

VARCHAR2 (64)

80

CONTACT_EMAIL

NULL

VARCHAR2 (64)

90

COMPANY_COUNTRY

NULL

NUMBER (38)

100

INITIAL_ADMIN_ID

NULL

NUMBER (38)

110

ADDRESS_INFO

NULL

VARCHAR2 (2000)

120

SERVICE_LIST

NULL

VARCHAR2 (2000)

Primary Key
Name

Column

PK_WT_ENTERPRISES

ENTERPRISE_ID

Column Detail
10

ENTERPRISE_ID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ; Default Value :0 ;

ENTERPRISE_CODE
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Identiyfing code, try to keep secret


30

LOOKUP_CODE
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Lower case version


40

CATEGORY_ID

Oracle Designer Report : cktci

14 May

2008

Page 492 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Industry type
50

ETYPE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Company type
60

COMPANY_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

70

; Uppercase ? :No ;

LOOKUP_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Lower case version of name


80

CONTACT_EMAIL
Optional ? :Yes ; Varchar2 (64) ;() ;

90

COMPANY_COUNTRY
Optional ? :Yes ; Number (38) ;() ;

100

; Uppercase ? :No ;

; Uppercase ? :No ; Default Value :0 ;

INITIAL_ADMIN_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

ID of initial administrator
110

ADDRESS_INFO
Optional ? :Yes ; Varchar2 (2000) ;() ;

120

; Uppercase ? :No ;

SERVICE_LIST
Optional ? :Yes ; Varchar2 (2000) ;() ;

; Uppercase ? :No ;

List of enabled enterprise services

Oracle Designer Report : cktci

14 May

2008

Page 493 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: WSV
Display Title :

Table Name : WT_SERVICES

Description :

Services.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

SERVICE_ID

NOT NULL

NUMBER (38)

20

SERVICE_ORDERING

NULL

NUMBER (38)

30

SERVICE_NAME

NULL

VARCHAR2 (64)

40

SERVICE_KEY

NULL

VARCHAR2 (16)

50

SERVICE_STATE

NULL

NUMBER (38)

60

ACTIVE_URL

NULL

VARCHAR2 (255)

70

INACTIVE_URL

NULL

VARCHAR2 (255)

80

FREE_DAYS

NULL

NUMBER (38)

90

MONTHLY_CHARGE

NULL

FLOAT ()

100

SERVICE_TYPE

NULL

NUMBER (38)

110

ADMIN_URL

NULL

VARCHAR2 (255)

Primary Key
Name

Column

PK_WT_SERVICES

SERVICE_ID

Column Detail
10

SERVICE_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

usual primary key


20

SERVICE_ORDERING
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Used to order in displays


30

SERVICE_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

display name
40

SERVICE_KEY

Oracle Designer Report : cktci

14 May

2008

Page 494 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

shorthand for lookups


50

SERVICE_STATE
Optional ? :Yes ; Number (38) ;() ;

60

; Uppercase ? :No ; Default Value :0 ;

ACTIVE_URL
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

URL or action for registered users


70

INACTIVE_URL
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

URL or action for inactive service


80

FREE_DAYS
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Free days
90

MONTHLY_CHARGE
Optional ? :Yes ; Float () ;() ;

; Uppercase ? :No ; Default Value :0 ;

In local currency
100

SERVICE_TYPE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

0 for personal, 1 for enterprise


110

ADMIN_URL
Optional ? :Yes ; Varchar2 (255) ;() ;

; Uppercase ? :No ;

URL or action for system administration

Oracle Designer Report : cktci

14 May

2008

Page 495 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: WSU
Display Title :

Table Name : WT_SRVUSERTYPES

Description :

User/roles permissions definitions.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

USERTYPE_ID

NOT NULL

NUMBER (38)

20

SERVICE_ID

NULL

NUMBER (38)

30

TYPE_KEY

NULL

VARCHAR2 (32)

40

TYPE_DESCRIPTION

NULL

VARCHAR2 (64)

50

TYPE_TYPE

NULL

NUMBER (38)

60

DEFAULT_ON

NULL

NUMBER (38)

Primary Key
Name

Column

PK_WT_SRVUSERTYPES

USERTYPE_ID

Column Detail
10

USERTYPE_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Usual key
20

SERVICE_ID
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Owning service
30

TYPE_KEY
Optional ? :Yes ; Varchar2 (32) ;() ;

; Uppercase ? :No ;

Lookup code
40

TYPE_DESCRIPTION
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Text description
50

TYPE_TYPE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

0 for local, 1 for partner


Oracle Designer Report : cktci

14 May

2008

Page 496 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
60

DEFAULT_ON
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

non-zero if enabled by default

Oracle Designer Report : cktci

14 May

2008

Page 497 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: WTY
Display Title :

Table Name : WT_TYPES

Description :

Global type data.

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

TYPE_ID

NOT NULL

NUMBER (38)

20

TYPENAME

NULL

VARCHAR2 (16)

30

TYPEVALUE

NULL

VARCHAR2 (64)

40

APPLICATION_USE

NULL

NUMBER (38)

Primary Key
Name

Column

PK_WT_TYPES

TYPE_ID

Column Detail
10

TYPE_ID
Optional ? :No ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Usual key
20

TYPENAME
Optional ? :Yes ; Varchar2 (16) ;() ;

; Uppercase ? :No ;

Groups by type (category, etc)


30

TYPEVALUE
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

The display value


40

APPLICATION_USE
Optional ? :Yes ; Number (38) ;() ;

; Uppercase ? :No ; Default Value :0 ;

Application specific use code

Oracle Designer Report : cktci

14 May

2008

Page 498 of 509

Table Definition
Container :

AIP 13.0

Table Name : WT_USERS

Version :
Alias
: WUS
Display Title :

Volumes
Start Rows :

End Rows :

Storage
Index-organized ? No

Column Summary
Col.Seq. Column

Nulls ?

Type

10

USER_ID

NOT NULL

NUMBER (38)

20

USERNAME

NULL

VARCHAR2 (16)

30

REAL_USERNAME

NULL

VARCHAR2 (16)

40

PASSWORD

NULL

VARCHAR2 (16)

50

FIRSTNAME

NULL

VARCHAR2 (32)

60

LASTNAME

NULL

VARCHAR2 (32)

70

REAL_EMAIL

NULL

VARCHAR2 (64)

80

LOOKUP_EMAIL

NULL

VARCHAR2 (64)

90

CATEGORY_ID

NULL

NUMBER (38)

100

TYPE_ID

NULL

NUMBER (38)

110

USER_STATE

NULL

NUMBER (38)

120

REGISTRATIONDA

NULL

NUMBER (38)

130

RANDOMKEY

NULL

NUMBER (38)

140

TIMEOUT_STATE

NULL

NUMBER (38)

150

ETYPE_ID

NULL

NUMBER (38)

160

COMPANY_NAME

NULL

VARCHAR2 (64)

170

ADDRESS_INFO

NULL

VARCHAR2 (2000)

180

MISCCHARS1

NULL

VARCHAR2 (128)

190

MISCCHARS2

NULL

VARCHAR2 (128)

200

MISCCHARS3

NULL

VARCHAR2 (128)

210

MISCCHARS4

NULL

VARCHAR2 (128)

220

MISCCHARS5

NULL

VARCHAR2 (128)

230

MISCINT1

NULL

NUMBER (38)

240

MISCINT2

NULL

NUMBER (38)

250

MISCINT3

NULL

NUMBER (38)

260

MISCINT4

NULL

NUMBER (38)

270

MISCINT5

NULL

NUMBER (38)

280

LISTING_ID

NULL

NUMBER ()

Primary Key
Oracle Designer Report : cktci

14 May

2008

Page 499 of 509

Table Definition
Container :

AIP 13.0

Version :

Name

Column

PK_WT_USERS

USER_ID

Column Detail
10

USER_ID
Optional ? :No ; Number (38) ;() ;

20

; Uppercase ? :No ;

USERNAME
Optional ? :Yes ; Varchar2 (16) ;() ;

30

; Uppercase ? :No ;

REAL_USERNAME
Optional ? :Yes ; Varchar2 (16) ;() ;

40

; Uppercase ? :No ;

PASSWORD
Optional ? :Yes ; Varchar2 (16) ;() ;

50

; Uppercase ? :No ;

FIRSTNAME
Optional ? :Yes ; Varchar2 (32) ;() ;

60

; Uppercase ? :No ;

LASTNAME
Optional ? :Yes ; Varchar2 (32) ;() ;

70

; Uppercase ? :No ;

REAL_EMAIL
Optional ? :Yes ; Varchar2 (64) ;() ;

80

; Uppercase ? :No ;

LOOKUP_EMAIL
Optional ? :Yes ; Varchar2 (64) ;() ;

90

; Uppercase ? :No ;

CATEGORY_ID
Optional ? :Yes ; Number (38) ;() ;

100

; Uppercase ? :No ;

TYPE_ID
Optional ? :Yes ; Number (38) ;() ;

110

; Uppercase ? :No ;

USER_STATE
Optional ? :Yes ; Number (38) ;() ;

120

; Uppercase ? :No ;

REGISTRATIONDA
Optional ? :Yes ; Number (38) ;() ;

130

; Uppercase ? :No ;

RANDOMKEY
Optional ? :Yes ; Number (38) ;() ;

140

; Uppercase ? :No ;

TIMEOUT_STATE
Optional ? :Yes ; Number (38) ;() ;

150

; Uppercase ? :No ;

ETYPE_ID
Optional ? :Yes ; Number (38) ;() ;

160

; Uppercase ? :No ;

COMPANY_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 500 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail
170

ADDRESS_INFO
Optional ? :Yes ; Varchar2 (2000) ;() ;

180

MISCCHARS1
Optional ? :Yes ; Varchar2 (128) ;() ;

190

; Uppercase ? :No ;

MISCINT2
Optional ? :Yes ; Number (38) ;() ;

250

; Uppercase ? :No ;

MISCINT3
Optional ? :Yes ; Number (38) ;() ;

260

; Uppercase ? :No ;

MISCINT4
Optional ? :Yes ; Number (38) ;() ;

270

; Uppercase ? :No ;

MISCINT5
Optional ? :Yes ; Number (38) ;() ;

280

; Uppercase ? :No ;

MISCINT1
Optional ? :Yes ; Number (38) ;() ;

240

; Uppercase ? :No ;

MISCCHARS5
Optional ? :Yes ; Varchar2 (128) ;() ;

230

; Uppercase ? :No ;

MISCCHARS4
Optional ? :Yes ; Varchar2 (128) ;() ;

220

; Uppercase ? :No ;

MISCCHARS3
Optional ? :Yes ; Varchar2 (128) ;() ;

210

; Uppercase ? :No ;

MISCCHARS2
Optional ? :Yes ; Varchar2 (128) ;() ;

200

; Uppercase ? :No ;

; Uppercase ? :No ;

LISTING_ID
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 501 of 509

Table Definition
Container :

AIP 13.0

View Name : BOOKING

Version :
Alias
: BO2
Display Title : Booking2

Oracle Designer Report : cktci

14 May

2008

Page 502 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title :

View Name : PARENT_STOCKING_POINT

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NULL

NUMBER (12)

20

STOCKING_POINT_NAME

NULL

VARCHAR2 (64)

30

STOCKING_POINT_NUMBER

NULL

VARCHAR2 (6)

40

STOCKING_POINT_SHORT_CODE

NULL

VARCHAR2 (64)

50

STOCKING_POINT_TYPE

NULL

NUMBER (1)

70

TIER

NULL

NUMBER (1)

80

TWO_STAGE_ORDERING_FLAG

NULL

VARCHAR2 (1)

90

OWNERSHIP

NULL

VARCHAR2 (1)

100

IS_PRIMARY

NULL

VARCHAR2 (1)

110

PCC_TYPE

NULL

NUMBER (1)

120

STATUS_ID

NULL

NUMBER (2)

130

IS_SINGLE_ENABLED

NULL

VARCHAR2 (1)

140

CAPACITY_TYPE

NULL

NUMBER (1)

150

PARENT_STOCKING_POINT_ID

NULL

NUMBER (12)

160

TIMESTAMP

NULL

NUMBER ()

Column Detail
10

STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

20

; Uppercase ? :No ;

STOCKING_POINT_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

30

STOCKING_POINT_NUMBER
Optional ? :Yes ; Varchar2 (6) ;() ;

40

; Uppercase ? :No ;

STOCKING_POINT_SHORT_CODE
Optional ? :Yes ; Varchar2 (64) ;() ;

50

; Uppercase ? :No ;

TIER
Optional ? :Yes ; Number (1) ;() ;

80

; Uppercase ? :No ;

TWO_STAGE_ORDERING_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

90

; Uppercase ? :No ;

OWNERSHIP
Optional ? :Yes ; Varchar2 (1) ;() ;

100

; Uppercase ? :No ;

STOCKING_POINT_TYPE
Optional ? :Yes ; Number (1) ;() ;

70

; Uppercase ? :No ;

; Uppercase ? :No ;

IS_PRIMARY

Oracle Designer Report : cktci

14 May

2008

Page 503 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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


110

; Uppercase ? :No ;

PCC_TYPE
Optional ? :Yes ; Number (1) ;() ;

120

; Uppercase ? :No ;

STATUS_ID
Optional ? :Yes ; Number (2) ;() ;

130

; Uppercase ? :No ;

IS_SINGLE_ENABLED
Optional ? :Yes ; Varchar2 (1) ;() ;

140

CAPACITY_TYPE
Optional ? :Yes ; Number (1) ;() ;

150

; Uppercase ? :No ;

PARENT_STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

160

; Uppercase ? :No ;

; Uppercase ? :No ;

TIMESTAMP
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 504 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title :

View Name : SCHEDULING_LOCATION

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NULL

NUMBER (12)

20

STOCKING_POINT_NAME

NULL

VARCHAR2 (64)

30

STOCKING_POINT_NUMBER

NULL

VARCHAR2 (6)

40

STOCKING_POINT_SHORT_CODE

NULL

VARCHAR2 (64)

50

STOCKING_POINT_TYPE

NULL

NUMBER (1)

70

TIER

NULL

NUMBER (1)

80

TWO_STAGE_ORDERING_FLAG

NULL

VARCHAR2 (1)

90

OWNERSHIP

NULL

VARCHAR2 (1)

100

IS_PRIMARY

NULL

VARCHAR2 (1)

110

PCC_TYPE

NULL

NUMBER (1)

120

STATUS_ID

NULL

NUMBER (2)

130

IS_SINGLE_ENABLED

NULL

VARCHAR2 (1)

140

CAPACITY_TYPE

NULL

NUMBER (1)

150

PARENT_STOCKING_POINT_ID

NULL

NUMBER (12)

160

TIMESTAMP

NULL

NUMBER ()

Column Detail
10

STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

20

; Uppercase ? :No ;

STOCKING_POINT_NAME
Optional ? :Yes ; Varchar2 (64) ;() ;

30

STOCKING_POINT_NUMBER
Optional ? :Yes ; Varchar2 (6) ;() ;

40

; Uppercase ? :No ;

STOCKING_POINT_SHORT_CODE
Optional ? :Yes ; Varchar2 (64) ;() ;

50

; Uppercase ? :No ;

TIER
Optional ? :Yes ; Number (1) ;() ;

80

; Uppercase ? :No ;

TWO_STAGE_ORDERING_FLAG
Optional ? :Yes ; Varchar2 (1) ;() ;

90

; Uppercase ? :No ;

OWNERSHIP
Optional ? :Yes ; Varchar2 (1) ;() ;

100

; Uppercase ? :No ;

STOCKING_POINT_TYPE
Optional ? :Yes ; Number (1) ;() ;

70

; Uppercase ? :No ;

; Uppercase ? :No ;

IS_PRIMARY

Oracle Designer Report : cktci

14 May

2008

Page 505 of 509

Table Definition
Container :

AIP 13.0

Version :

Column Detail

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


110

; Uppercase ? :No ;

PCC_TYPE
Optional ? :Yes ; Number (1) ;() ;

120

; Uppercase ? :No ;

STATUS_ID
Optional ? :Yes ; Number (2) ;() ;

130

; Uppercase ? :No ;

IS_SINGLE_ENABLED
Optional ? :Yes ; Varchar2 (1) ;() ;

140

CAPACITY_TYPE
Optional ? :Yes ; Number (1) ;() ;

150

; Uppercase ? :No ;

PARENT_STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

160

; Uppercase ? :No ;

; Uppercase ? :No ;

TIMESTAMP
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 506 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
:
Display Title :

View Name :
SCHEDULING_LOCATION_RANGED_CPS

Column Summary
Col.Seq. Column

Nulls ?

Type

10

STOCKING_POINT_ID

NULL

NUMBER (12)

20

COMMODITY_ID

NULL

NUMBER (8)

30

PACK_SIZE

NULL

NUMBER (4)

40

IS_SEASONAL

NULL

VARCHAR2 (1)

50

RANGING_STATUS

NULL

NUMBER (1)

60

TIMESTAMP

NULL

NUMBER ()

Column Detail
10

STOCKING_POINT_ID
Optional ? :Yes ; Number (12) ;() ;

20

; Uppercase ? :No ;

COMMODITY_ID
Optional ? :Yes ; Number (8) ;() ;

30

; Uppercase ? :No ;

PACK_SIZE
Optional ? :Yes ; Number (4) ;() ;

40

; Uppercase ? :No ;

IS_SEASONAL
Optional ? :Yes ; Varchar2 (1) ;() ;

50

RANGING_STATUS
Optional ? :Yes ; Number (1) ;() ;

60

; Uppercase ? :No ;

; Uppercase ? :No ;

TIMESTAMP
Optional ? :Yes ; Number () ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

14 May

2008

Page 507 of 509

Table Definition
Container :

AIP 13.0

Version :

View Name : SOURCE_STOCKING_POINT

Alias
: SS2
Display Title : Source Stocking Point2

Oracle Designer Report : cktci

14 May

2008

Page 508 of 509

Table Definition
Container :

AIP 13.0

Version :
Alias
: VRE
Display Title : V Restart Store

View Name : V_RESTART_STORE

Column Summary
Col.Seq. Column

Nulls ?

Type

10

DRIVER_NAME

NULL

VARCHAR2 (240)

20

NUM_THREADS

NULL

VARCHAR2 (240)

30

DRIVER_VALUE

NULL

VARCHAR2 (240)

40

THREAD_VAL

NULL

VARCHAR2 (240)

Column Detail
10

DRIVER_NAME
Optional ? :Yes ; Varchar2 (240) ;() ;

20

NUM_THREADS
Optional ? :Yes ; Varchar2 (240) ;() ;

30

; Uppercase ? :No ;

DRIVER_VALUE
Optional ? :Yes ; Varchar2 (240) ;() ;

40

; Uppercase ? :No ;

; Uppercase ? :No ;

THREAD_VAL
Optional ? :Yes ; Varchar2 (240) ;() ;

; Uppercase ? :No ;

Oracle Designer Report : cktci

Oracle Designer
TABLE DEFINITION
End of Report

Oracle Designer

Report

: SEQUENCE DEFINITION

Filename

: C:\temp\ddl\ckosq.pdf

Run by

: RTKDBA

Report Date : 23 May

2008

Total Pages : 10

Parameter Values
Workarea
Container
Container Version
Recurse Sub-Containers
ORACLE Sequence Name
Sequence Created
On/After
On/Before
and

:
:
:
:
:

GLOBAL SHARED WORKAREA


AIP 13.0
N
%

:
: 23 May

2008

:
: 23 May

2008

Sequence Changed
On/After
On/Before

23 May

2008

Container :

AIP 13.0

Page 2 of 10

Sequence Definition
Version :

Cache
Order Order

Sequence

Database

Increment Cycle

*SEQ_COMMODITY_ATTR_TYPE

RETEK

999999999
999

*SEQ_COMMODITY_PACK_ATTR

RETEK

999999999
999

*SEQ_COMMODITY_ATTR_VALUE RETEK

999999999
999

*SEQ_SUPPLIER_COMMODITY_L RETEK
OCK

999999999
999

*SEQ_SUPPLIER_CLASS_LOCK

RETEK

999999999
999

*SEQ_ENT_OBJECTSTORE

RETEK

*SEQ_ORDER_GROUP_STOCKING RETEK
_POINT

999999999
999

*SEQ_ORDER_GROUP_CODE

RETEK

99999

*SEQ_WH_CHAMBER_PRODUCT_T RETEK
YPE

999999999
999

20

Minimum Maximum

(*) Denotes Container Owns Sequence


Oracle Designer Report : ckosq

Start
Seq At

Comment

23 May

2008

Sequence

Page 3 of 10

Sequence Definition

Database

Increment Cycle

Cache
Order Order

Minimum Maximum

Start
Seq At

*SEQ_STOCKLESS_INDICATOR_ RETEK
EXC

999999999
999

*SEQ_ALERT_DEFINITION

RETEK

999999999
999

*SEQ_ENT_USERS

RETEK

20

*SEQ_SUPPLIER_PROMOTIONAL RETEK
_DATES

20

*SEQ_ENT_SEASONS

RETEK

20

*SEQ_COMMODITY

RETEK

20

100000

*SEQ_ORDER_CYCLE

RETEK

20

*SEQ_COMMUNICATION

RETEK

20

*SEQ_ENT_AUDIT

RETEK

20

*SEQ_ENT_LOCATIONS

RETEK

20

(*) Denotes Container Owns Sequence


Oracle Designer Report : ckosq

Comment

23 May

2008

Page 4 of 10

Sequence Definition

Minimum Maximum

Start
Seq At

20

20

20

20

RETEK

20

100000

*SEQ_STOCKING_POINT

RETEK

20

*SEQ_STORE_ORDER_CYCLE

RETEK

20

*SEQ_SHIFT

RETEK

20

*SEQ_VEHICLE_EXCEPTIONS

RETEK

20

*SEQ_SLOT

RETEK

20

*SEQ_RECEIVING_WINDOW

RETEK

20

Cache
Order Order

Sequence

Database

Increment Cycle

*SEQ_WT_SRVUSERTYPES

RETEK

*SEQ_PLANNING_GROUP

RETEK

*SEQ_DIVISIONS

RETEK

*SEQ_MAIL

RETEK

*SEQ_DEMAND_GROUP

(*) Denotes Container Owns Sequence


Oracle Designer Report : ckosq

Comment

23 May

2008

Page 5 of 10

Sequence Definition

Minimum Maximum

Start
Seq At

20

100000

20

20

102

20

RETEK

20

445

*SEQ_PALETTECOLOURS

RETEK

20

11

*SEQ_COUNTRIES

RETEK

20

200

*SEQ_NETWORK_GROUP

RETEK

20

*SEQ_ENT_PARAMVALUES

RETEK

20

102

*SEQ_WT_ADMINS

RETEK

20

*SEQ_SUPPLY_SOURCE_LOCATI RETEK
ON

20

100000

Cache
Order Order

Sequence

Database

Increment Cycle

*SEQ_PURCHASE_ORDER

RETEK

*SEQ_ALERT

RETEK

*SEQ_ENT_PARAMETERS

RETEK

*SEQ_VEHICLE

RETEK

*SEQ_TERMS

999999999 1
999

(*) Denotes Container Owns Sequence


Oracle Designer Report : ckosq

Comment

23 May

2008

Page 6 of 10

Sequence Definition

Minimum Maximum

Start
Seq At

20

100000

20

20

20

100000

RETEK

20

*SEQ_STORE

RETEK

20

*SEQ_KEEP_TOGETHER_GROUP

RETEK

20

*SEQ_NON_CONTENTS_ORDER

RETEK

20

100000

*SEQ_DELIVERY_GROUP

RETEK

20

100000

*SEQ_WT_SERVICES

RETEK

20

*SEQ_SUPPLIER_LOCATION

RETEK

20

100000

Cache
Order Order

Sequence

Database

Increment Cycle

*SEQ_SUPPLIER

RETEK

*SEQ_BATCH_RUN

RETEK

*SEQ_FOLDERINFO

RETEK

*SEQ_COMMODITY_GROUP

RETEK

*SEQ_DEPARTMENTS

(*) Denotes Container Owns Sequence


Oracle Designer Report : ckosq

Comment

23 May

2008

Page 7 of 10

Sequence Definition

Minimum Maximum

Start
Seq At

20

20

20

102

20

RETEK

20

*SEQ_DLG_VEHICLE_ATTRIBUT RETEK
E

20

*SEQ_WT_ENTERPRISES

RETEK

20

27

*SEQ_IMAGES

RETEK

20

*SEQ_RELEASE_RUN

RETEK

20

*SEQ_BOOKING

RETEK

20

100000

*SEQ_WH_PROMOTIONAL_DATES RETEK

20

Cache
Order Order

Sequence

Database

Increment Cycle

*SEQ_PROFILE

RETEK

*SEQ_ENT_LOCKS

RETEK

*SEQ_WT_TYPES

RETEK

*SEQ_ORDER_GROUP

RETEK

*SEQ_ENT_PHASES

(*) Denotes Container Owns Sequence


Oracle Designer Report : ckosq

Comment

23 May

2008

Page 8 of 10

Sequence Definition

Minimum Maximum

Start
Seq At

20

20

Cache
Order Order

Sequence

Database

Increment Cycle

*SEQ_DELIVERY_UNIT

RETEK

*SEQ_ENT_PARTNERS

RETEK

*SEQ_ALERT_DEFINITION_DES RETEK
C

999999999
999

*SEQ_ALERT_DETAIL

RETEK

999999999
999

*SEQ_ALERT_STATUS_DESC

RETEK

999999999
999

*SEQ_SYSTEM_PARAMETERS

RETEK

999

*SEQ_STORE_ORDER

RETEK

20

*SEQ_PRODUCT_TYPE

RETEK

20

*SEQ_STORE_FORMAT

RETEK

20

*SEQ_PO_MFQUEUE

RETEK

999999999 1
999999

(*) Denotes Container Owns Sequence


Oracle Designer Report : ckosq

Comment

23 May

2008

Sequence

Database

*SEQ_TSF_MFQUEUE

RETEK

*SEQ_SOURCE_SPLIT_TB

RETEK

Increment Cycle

*SEQ_WH_TYPE_INITIAL_PACK RETEK
_TYPE

*SEQ_SECONDARY_SOURCE

Page 9 of 10

Sequence Definition

RETEK

Cache
Order Order

Minimum Maximum

Start
Seq At

999999999 1
999999

999999999
999

999999999 1
999

20

(*) Denotes Container Owns Sequence


Oracle Designer Report : ckosq

Comment

Oracle Designer
SEQUENCE DEFINITION
End of Report

Oracle Designer

Report

: VIEW/MATERIALIZED VIEW DEFINITION

Filename

Run by

: RTKDBA

C:\temp\ddl\ckvwdef.pdf

Report Date : 23 May

2008

Total Pages : 12

Parameter Values
Workarea
Container Name
Container Version
Recurse Sub-Containers
Materialized View Name
View Name
Materialized Views
Views

:
:
:
:
:
:
:
:

GLOBAL SHARED WORKAREA


AIP 13.0
N
%
%
Yes
Yes

Views/Materialized Views Created


On/After
On/Before

:
:

23 May

2008

Views/Materialized Views Changed


On/After
:
On/Before :
23 May

2008

and

23 May

Container :

2008

View/Materialized View Definition

AIP 13.0

Page

Version :

View
Name
Type

: V_RESTART_STORE
: View

Alias

: VRE

Object Type:
Column Prefix:
Display Title: V Restart Store
Comment
:
Free Format Select Text?

Yes

Select Text
SELECT distinct rc.driver_name driver_name,
rc.num_threads num_threads,
s.store_id driver_value,
restart_thread_return(s.store_id, rc.num_threads) thread_val
from restart_control rc,
store s
where rc.driver_name = 'STORE';

View Column

Datatype

DRIVER_NAME
NUM_THREADS
DRIVER_VALUE
THREAD_VAL

VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2

Avg.

Max.

Dp. Base Column

240
240
240
240

Oracle Designer Report : ckvwdef

Base Table

Expression

2 of 12

23 May

2008

Container :

View/Materialized View Definition

AIP 13.0

Page

Version :

View
Name
Type

: SCHEDULING_LOCATION
: View

Alias

Object Type:
Column Prefix:
Display Title:
Comment
:
Free Format Select Text?
Where/Validation Condition

No

stocking_point_type=1 OR stocking_point_type=3
Base Table Name
STOCKING_POINT

Alias

Used in Sub-Query?
No

View Column

Datatype

Avg.

Max.

Dp. Base Column

STOCKING_POINT_ID

NUMBER

12

STOCKING_POINT_ID

STOCKING_POINT_NAME

VARCHAR2

64

STOCKING_POINT_NAME

STOCKING_POINT_NUMBER

VARCHAR2

STOCKING_POINT_NUMBER

STOCKING_POINT_SHORT_CODE

VARCHAR2

64

STOCKING_POINT_TYPE

NUMBER

STOCKING_POINT_SHORT_C
ODE
STOCKING_POINT_TYPE

TIER

NUMBER

TIER

TWO_STAGE_ORDERING_FLAG

VARCHAR2

OWNERSHIP

VARCHAR2

TWO_STAGE_ORDERING_FLA
G
OWNERSHIP

IS_PRIMARY

VARCHAR2

IS_PRIMARY

Oracle Designer Report : ckvwdef

Base Table
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT

Expression

3 of 12

23 May

2008

Container :

AIP 13.0

View/Materialized View Definition


Version :

View
PCC_TYPE

NUMBER

PCC_TYPE

STATUS_ID

NUMBER

STATUS_ID

IS_SINGLE_ENABLED

VARCHAR2

IS_SINGLE_ENABLED

CAPACITY_TYPE

NUMBER

CAPACITY_TYPE

PARENT_STOCKING_POINT_ID

NUMBER

12

TIMESTAMP

NUMBER

PARENT_STOCKING_POINT_
ID
TIMESTAMP

Oracle Designer Report : ckvwdef

AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT

Page

4 of 12

23 May

2008

Container :

View/Materialized View Definition

AIP 13.0

Page

Version :

View
Name
Type

: SCHEDULING_LOCATION_RANGED_CPS
: View

Alias

Object Type:
Column Prefix:
Display Title:
Comment
:
Free Format Select Text?
Where/Validation Condition

No

rcps.stocking_point_id=sp.parent_stocking_point_id
and sp.tier=1
Base Table Name
RANGED_COMMODITY_PACK_SIZE
STOCKING_POINT

Alias
RCPS
SP

Used in Sub-Query?
No
No

View Column

Datatype

Avg.

Max.

Dp. Base Column

STOCKING_POINT_ID

NUMBER

12

COMMODITY_ID

NUMBER

COMMODITY_ID

PACK_SIZE

NUMBER

PACK_SIZE

IS_SEASONAL

VARCHAR2

IS_SEASONAL

RANGING_STATUS

NUMBER

RANGING_STATUS

TIMESTAMP

NUMBER

STOCKING_POINT_ID

TIMESTAMP

Oracle Designer Report : ckvwdef

Base Table
AIP
13.0/STOCKING_POINT
AIP
13.0/RANGED_COMMODITY_
PACK_SIZE
AIP
13.0/RANGED_COMMODITY_
PACK_SIZE
AIP
13.0/RANGED_COMMODITY_
PACK_SIZE
AIP
13.0/RANGED_COMMODITY_
PACK_SIZE
AIP
13.0/RANGED_COMMODITY_
PACK_SIZE

Expression

5 of 12

23 May

2008

Container :

View/Materialized View Definition

AIP 13.0

Page

Version :

View
Name
Type

: PARENT_STOCKING_POINT
: View

Alias

Object Type:
Column Prefix:
Display Title:
Comment
:
Free Format Select Text?
Where/Validation Condition

No

stocking_point_type=2 OR stocking_point_type=4
Base Table Name
STOCKING_POINT

Alias

Used in Sub-Query?
No

View Column

Datatype

Avg.

Max.

Dp. Base Column

STOCKING_POINT_ID

NUMBER

12

STOCKING_POINT_ID

STOCKING_POINT_NAME

VARCHAR2

64

STOCKING_POINT_NAME

STOCKING_POINT_NUMBER

VARCHAR2

STOCKING_POINT_NUMBER

STOCKING_POINT_SHORT_CODE

VARCHAR2

64

STOCKING_POINT_TYPE

NUMBER

STOCKING_POINT_SHORT_C
ODE
STOCKING_POINT_TYPE

TIER

NUMBER

TIER

TWO_STAGE_ORDERING_FLAG

VARCHAR2

OWNERSHIP

VARCHAR2

TWO_STAGE_ORDERING_FLA
G
OWNERSHIP

IS_PRIMARY

VARCHAR2

IS_PRIMARY

Oracle Designer Report : ckvwdef

Base Table
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT

Expression

6 of 12

23 May

2008

Container :

AIP 13.0

View/Materialized View Definition


Version :

View
PCC_TYPE

NUMBER

PCC_TYPE

STATUS_ID

NUMBER

STATUS_ID

IS_SINGLE_ENABLED

VARCHAR2

IS_SINGLE_ENABLED

CAPACITY_TYPE

NUMBER

CAPACITY_TYPE

PARENT_STOCKING_POINT_ID

NUMBER

12

TIMESTAMP

NUMBER

PARENT_STOCKING_POINT_
ID
TIMESTAMP

Oracle Designer Report : ckvwdef

AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT
AIP
13.0/STOCKING_POINT

Page

7 of 12

23 May

Container :

2008

View/Materialized View Definition

AIP 13.0

Version :

View
Name
Type

: BOOKING
: View

Alias

: BO2

Object Type:
Column Prefix:
Display Title: Booking2
Comment
:
Free Format Select Text?

Yes

Select Text
SELECT distinct rc.driver_name driver_name,
rc.num_threads num_threads,
s.store_id driver_value,
restart_thread_return(s.store_id, rc.num_threads) thread_val
from restart_control rc,
store s
where rc.driver_name = 'STORE';
VEH.VEHICLE_ID VEHICLE_ID
,VEH.VEHICLE_CODE VEHICLE_CODE
,VEH.ASN_KEY ASN_KEY
,VEH.PRIORITY PRIORITY
,VEH.ACTION_REQUIRED_DATE ACTION_REQUIRED_DATE
,VEH.READY_DATE READY_DATE
,VEH.ON_QUAY_DATE ON_QUAY_DATE
,VEH.IN_TRANSIT_DATE IN_TRANSIT_DATE
,VEH.CONFIRMATION_DATE CONFIRMATION_DATE
,VEH.IDEAL_DELIVERY_DATE IDEAL_DELIVERY_DATE
,VEH.COMMUNICATION_STATUS COMMUNICATION_STATUS
,VEH.RELEASE_DATE RELEASE_DATE
,VEH.RELEASE_RUN_ID RELEASE_RUN_ID
,VEH.GENERATION_METHOD GENERATION_METHOD
,VEH.IS_MODIFIED_TODAY IS_MODIFIED_TODAY
,VEH.FORECAST_WEIGHT FORECAST_WEIGHT
,VEH.CONFIRMED_WEIGHT CONFIRMED_WEIGHT
,VEH.FORECAST_FPE FORECAST_FPE
,VEH.CONFIRMED_FPE CONFIRMED_FPE
,VEH.FORECAST_BOARDS FORECAST_BOARDS
,VEH.CONFIRMED_BOARDS CONFIRMED_BOARDS

Oracle Designer Report : ckvwdef

Page

8 of 12

23 May

Container :

2008

AIP 13.0

View/Materialized View Definition

Page

Version :

View
Select Text
,VEH.IS_STOCKLESS IS_STOCKLESS
,VEH.IS_PCC_RECONCILED IS_PCC_RECONCILED
,VEH.STOCKING_POINT_ID STOCKING_POINT_ID
,VEH.DELIVERY_GROUP_ID DELIVERY_GROUP_ID
,VEH.BOOKING_REF_NO BOOKING_REF_NO
,VEH.DELIVERY_DATE DELIVERY_DATE
,VEH.IS_FIXED_BOOKING IS_FIXED_BOOKING
,VEH.IS_FULL_BOOKING IS_FULL_BOOKING
,VEH.SLOT_START_TIME SLOT_START_TIME
,VEH.SLOT_IS_TODAY SLOT_IS_TODAY
,VEH.TIMESTAMP TIMESTAMP
,SHI.SHIFT_ID SHIFT_ID
,SLO.SLOT_ID SLOT_ID
FROM SHIFT_DEFAULT SHFD
,SHIFT SHI
,SLOT SLO
,VEHICLE VEH
WHERE shfd.stocking_point_id=veh.stocking_point_id
AND shfd.start_date=(SELECT MAX(shfdx.start_date)
FROM shift_default shfdx
WHERE shfdx.stocking_point_id=veh.stocking_point_id
AND trunc(shfdx.start_date)<=trunc(veh.delivery_date)
AND trunc(shfdx.end_date)>=trunc(veh.delivery_date)
AND shfdx.day_of_week=MOD(TO_NUMBER(TO_CHAR(veh.delivery_date, 'D')) + (7 TO_NUMBER(TO_CHAR(TO_DATE('01/04/1970', 'MM/DD/YYYY'), 'D'))), 7))
AND TRUNC(shfd.end_date)>=TRUNC(veh.delivery_date)
AND shfd.day_of_week=MOD(TO_NUMBER(TO_CHAR(veh.delivery_date, 'D')) + (7 - TO_NUMBER(TO_CHAR(TO_DATE('01/04/1970',
'MM/DD/YYYY'), 'D'))), 7)
AND shfd.shift_id=shi.shift_id
AND shi.shift_id=slo.shift_id
AND slo.start_time=veh.slot_start_time
AND slo.is_today=veh.slot_is_today
AND NOT EXISTS (SELECT shfe.shift_id
FROM shift_exception shfe
WHERE shfe.stocking_point_id=veh.stocking_point_id
AND TRUNC(shfe.receiving_date)=TRUNC(veh.delivery_date))

Oracle Designer Report : ckvwdef

9 of 12

23 May

Container :

2008

View/Materialized View Definition

AIP 13.0

Version :

View
Name
Type

: SOURCE_STOCKING_POINT
: View

Alias

: SS2

Object Type:
Column Prefix:
Display Title: Source Stocking Point2
Comment
:
Free Format Select Text?

Yes

Select Text
SPO.STOCKING_POINT_ID STOCKING_POINT_ID
,SPO.STOCKING_POINT_NAME STOCKING_POINT_NAME
,SPO.STOCKING_POINT_NUMBER STOCKING_POINT_NUMBER
,SPO.STOCKING_POINT_SHORT_CODE STOCKING_POINT_SHORT_CODE
,SPO.STOCKING_POINT_TYPE STOCKING_POINT_TYPE
,SPO.TIER TIER
,SPO.TWO_STAGE_ORDERING_FLAG TWO_STAGE_ORDERING_FLAG
,SPO.OWNERSHIP OWNERSHIP
,SPO.IS_PRIMARY IS_PRIMARY
,SPO.PCC_TYPE PCC_TYPE
,SPO.STATUS_ID STATUS_ID
,SPO.IS_SINGLE_ENABLED IS_SINGLE_ENABLED
,SPO.CAPACITY_TYPE CAPACITY_TYPE
,SPO.PARENT_STOCKING_POINT_ID PARENT_STOCKING_POINT_ID
,SPO.WH_TYPE WH_TYPE
,SPO.TIMESTAMP TIMESTAMP
FROM STOCKING_POINT SPO
WHERE (stocking_point_type=2
AND tier=1
AND EXISTS (SELECT spx.stocking_point_id
FROM stocking_point spx
WHERE spx.parent_stocking_point_id=spo.stocking_point_id
AND spx.status_id IN (2, 3, 4, 5)))
OR (stocking_point_type=4
AND tier=2
AND EXISTS (SELECT spx.stocking_point_id
FROM stocking_point spx
WHERE spx.parent_stocking_point_id=spo.stocking_point_id
AND spx.is_primary='Y'

Oracle Designer Report : ckvwdef

Page

10 of 12

23 May

Container :

2008

AIP 13.0

View/Materialized View Definition


Version :

View
Select Text
AND spx.status_id IN (2, 3, 4, 5)))

Oracle Designer Report : ckvwdef

Page

11 of 12

Oracle Designer
VIEW/MATERIALIZED VIEW DEFINITION REPORT
End of Report

You might also like