oracle retail invoice matching data model release 12.0.4 ... · oracle® invoice matching data...

281
Oracle ® Retail Invoice Matching Data Model Release 12.0.4 June 2007

Upload: lythuan

Post on 17-Apr-2018

248 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

Oracle® Retail Invoice Matching

Data Model Release 12.0.4

June 2007

Page 2: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

Oracle® Invoice Matching Data Model, Release 12.0.4

Copyright © 2007, Oracle. All rights reserved.

Primary Author: 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 agency-specific 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, third-party 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.

Page 3: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

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 i-net Crystal-Clear™ developed and licensed by I-NET Software Inc. of Berlin, Germany, to Oracle and imbedded in the Oracle Retail Central Office and Oracle Retail Back Office applications.

(x) 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.

(xi) 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.

Page 4: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST
Page 5: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

Preface Oracle Retail data models can contain Relational Integrity Diagrams and Data Definition Language (DDL). 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 Definition Language (DDL) 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 Invoice Matching Release 12.0.4 documentation set: Oracle Retail Invoice Matching Installation Guide Oracle Retail Invoice Matching Release Notes

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

Page 6: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

Review Patch Documentation For a base release (".0" release, such as 12.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.

Page 7: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_BUSINESS_ROLES_REASON_CODES

BUSINESS_ROLE_ID

REASON_CODE_ID

IM_BUSINESS_ROLES_LOC

BUSINESS_ROLE_ID

LOCATION

LOC_TYPE

IM_BUSINESS_ROLES_DEPT

ROLE_ID

DEPT

CLASS

IM_REASON_CODES

REASON_CODE_TYPE

REASON_CODE_ID

REASON_CODE_DESC

ACTION

COMMENT_REQUIRED_IND

HINT_COMMENT

DELETE_IND

IM_BUSINESS_ROLE_MEMBER

USER_ID

BUSINESS_ROLE_ID

IM_BUSINESS_ROLES

BUSINESS_ROLE_ID

BUSINESS_ROLE_NAME

INVOICE_ENTRY

EDI_REVIEW

INVOICE_MATCHING

COST_REVIEW

QTY_REVIEW

COST_DISCREPANCY

QTY_DISCREPANCY

GROUP_ENTRY

SYSTEM_OPTIONS

SUPPLIER_OPTIONS

USER_ROLE_MAINTENANCE

REASON_CODE_MAINTENANCE

GENERAL_LEDGER_MAINTENANCE

TOLERANCE_MAINTENANCE

DOCUMENT_ENTRY

INVOICE_DELETE

GROUP_ENTRY_APPROVAL

ACCOUNTS_PAYABLE_REVIEW

DEAL_DOCUMENT_APPROVAL

VAT_DISCREPANCY

Diagram : DD_ADMINTitle : ReIM Admin

IBR_IBE_FK

IBD_IBE_FK

IBC_IBE_FK

IBS_IBE_FK

IBS_IRE_FK

Page 8: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_BUS_ROLES_REASON_CODES_LOCK

LOCK_DATETIME

LOCK_CREATE_ID

IM_SUPPLIER_GROUP_MEMBERS

GROUP_ID

SUPPLIER_ID

IM_SUPPLIER_GROUPS

GROUP_ID

TOTAL_QTY_REQUIRED_IND

MATCH_TOTAL_QTY_IND

IM_SYSTEM_OPTIONS_LOCK

LOCK_DATETIME

LOCK_CREATE_ID

IM_SUPPLIER_OPTIONS_LOCK

SUPPLIER

LOCK_DATETIME

LOCK_CREATE_ID

IM_BUSINESS_ROLES_LOCK

LOCK_DATETIME

LOCK_CREATE_ID

IM_SYSTEM_OPTIONS

DEBIT_MEMO_SEND_DAYS

CLOSE_OPEN_RECEIPT_DAYS

COST_RESOLUTION_DUE_DAYS

QTY_RESOLUTION_DUE_DAYS

DOC_HIST_DAYS

DEBIT_MEMO_PREFIX_COST

DEBIT_MEMO_PREFIX_QTY

DEBIT_MEMO_PREFIX_VAT

CREDIT_MEMO_PREFIX_COST

CREDIT_MEMO_PREFIX_QTY

CREDIT_NOTE_REQ_PREFIX_COST

CREDIT_NOTE_REQ_PREFIX_QTY

CREDIT_NOTE_REQ_PREFIX_VAT

POST_DATED_DOC_DAYS

MAX_TOLERANCE_PCT

DAYS_BEFORE_DUE_DATE

DEFAULT_PAY_NOW_TERMS

VAT_IND

CALC_TOLERANCE

VAT_VALIDATION_TYPE

VAT_DOCUMENT_CREATION_LVL

DEFAULT_VAT_HEADER

VAT_RESOLUTION_DUE_DAYS

CALC_TOLERANCE_IND

IM_SUPPLIER_OPTIONS

SUPPLIER

SEND_DEBIT_MEMO

MANUALLY_PAID_IND

USE_INVOICE_TERMS_IND

ROG_DATE_ALLOWED_IND

AP_REVIEWER

CLOSE_OPEN_SHIPMENT_DAYS

MATCH_RCPTS_OTHER_SUPPS_IND

QTY_DISC_DAY_BEFORE_RTE

Page 9: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_QTY_DISCREPANCY_CNR_HIST

QTY_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

IM_COST_DISCREPANCY_CNR_HIST

COST_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

IM_QTY_DISCREPANCY_CNR

QTY_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

IM_QTY_DISCREPANCY_ROLE_HIST

QTY_DISCREPANCY_ID

BUSINESS_ROLE_ID

RESOLUTION_DATE

IM_QTY_DISCREPANCY_ROLE

QTY_DISCREPANCY_ID

BUSINESS_ROLE_ID

IM_QTY_DISCREPANCY_RECEIPT_HIS

QTY_DISCREPANCY_ID

RECEIPT_ID

IM_QTY_DISCREPANCY_RECEIPT

QTY_DISCREPANCY_ID

RECEIPT_ID

IM_QTY_DISCREPANCY_HIST

QTY_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

ROUTING_DATE

RESOLVE_BY_DATE

QTY_INVOICED

AP_REVIEWER

RESOLUTION_DATE

IM_QTY_DISCREPANCY

QTY_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

ROUTING_DATE

RESOLVE_BY_DATE

QTY_INVOICED

AP_REVIEWER

DOC_TYPE

RESOLUTION_QTY

Diagram : DD_DISCREPANCIESTitle : ReIM Discrepancies

IQR_IQD_FK

ITR_IQD_FK

IQS_IQH_FK

ITH_IQH_FK

IQC_IQD_FK

Page 10: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_COST_DISCREPANCY_CNR

COST_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

IM_DOC_DETAIL_REASON_CODES

IM_DOC_DETAIL_REASON_CODES_ID

DOC_ID

ITEM

REASON_CODE_ID

STATUS

COST_MATCHED

QTY_MATCHED

ADJUSTED_UNIT_COST

ADJUSTED_QTY

VAT_CODE

VAT_RATE

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

VAT_MATCHED

IM_DOC_DETAIL_COMMENTS

COMMENT_ID

COMMENT_TYPE

TEXT

CREATE_ID

CREATE_DATETIME

DOC_ID

ITEM

DISCREPANCY_TYPE

REASON_CODE_ID

DEBIT_REASON_CODE

IM_RESOLUTION_ACTION

DOC_ID

ITEM

REASON_CODE

ACTION

QUANTITY

UNIT_COST

EXTENDED_COST

STATUS

SHIPMENT

IM_REVERSAL_RESOLUTION_ACTION

DOC_ID

ITEM

REASON_CODE

DEBIT_REASON_CODE

TYPE

ACTION

QUANTITY

UNIT_COST

EXTENDED_COST

STATUS

IM_RECEIVER_UNIT_ADJUST

SHIPMENT

ITEM

SEQ_NO

ADJUSTED_ITEM_QTY

COMMENTS

REASON_CODE

USER_ID

LOCATION

IM_RECEIVER_COST_ADJUST

ORDER_NO

ITEM

LOCATION

SUPPLIER

ADJUSTED_UNIT_COST

CURRENCY_CODE

COMMENTS

TYPE

REASON_CODE

USER_ID

SHIPMENT

IM_COST_DISCREPANCY_HIST

COST_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

CURRENCY_CODE

ROUTING_DATE

RESOLVE_BY_DATE

DOC_UNIT_COST

DOC_TOTAL_COST

DEPT

CLASS

BUSINESS_ROLE_ID

CASH_DSCNT_IND

AP_REVIEWER

RESOLUTION_DATE

IM_COST_DISCREPANCY

COST_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

CURRENCY_CODE

ROUTING_DATE

RESOLVE_BY_DATE

DOC_UNIT_COST

DOC_TOTAL_COST

DEPT

CLASS

BUSINESS_ROLE_ID

CASH_DSCNT_IND

AP_REVIEWER

DOC_TYPE

RESOLUTION_COST

ICC_IDI_FK

Page 11: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_INVOICE_DETAIL_ALLOWANCE

DOC_ID

ITEM

ALLOWANCE_CODE

ALLOWANCE_AMOUNT

VAT_CODE

VAT_RATE

IM_DOC_HEAD_COMMENTS

COMMENT_ID

COMMENT_TYPE

TEXT

CREATE_ID

CREATE_DATETIME

DOC_ID

IM_DOC_DETAIL_REASON_CODES

IM_DOC_DETAIL_REASON_CODES_ID

DOC_ID

ITEM

REASON_CODE_ID

STATUS

COST_MATCHED

QTY_MATCHED

ADJUSTED_UNIT_COST

ADJUSTED_QTY

VAT_CODE

VAT_RATE

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

VAT_MATCHED

IM_DOC_DETAIL_COMMENTS

COMMENT_ID

COMMENT_TYPE

TEXT

CREATE_ID

CREATE_DATETIME

DOC_ID

ITEM

DISCREPANCY_TYPE

REASON_CODE_ID

DEBIT_REASON_CODE

IM_DOC_NON_MERCH

DOC_ID

NON_MERCH_CODE

NON_MERCH_AMT

VAT_CODE

VAT_RATE

IM_DOC_HEAD_LOCK

DOC_ID

LOCK_DATETIME

LOCK_CREATE_ID

IM_DOC_HEAD

DOC_ID

TYPE

STATUS

ORDER_NO

LOCATION

LOC_TYPE

TOTAL_DISCOUNT

GROUP_ID

PARENT_ID

DOC_DATE

CREATE_DATE

CREATE_ID

VENDOR_TYPE

VENDOR

EXT_DOC_ID

EDI_UPLOAD_IND

EDI_DOWNLOAD_IND

TERMS

TERMS_DSCNT_PCT

DUE_DATE

PAYMENT_METHOD

MATCH_ID

MATCH_DATE

APPROVAL_ID

APPROVAL_DATE

PRE_PAID_IND

PRE_PAID_ID

POST_DATE

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

MANUALLY_PAID_IND

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

LAST_UPDATE_ID

LAST_DATETIME

FREIGHT_TYPE

REF_DOC

REF_AUTH_NO

COST_PRE_MATCH

DETAIL_MATCHED

BEST_TERMS

BEST_TERMS_SOURCE

BEST_TERMS_DATE

BEST_TERMS_DATE_SOURCE

VARIANCE_WITHIN_TOLERANCE

RESOLUTION_ADJUSTED_TOTAL_COST

RESOLUTION_ADJUSTED_TOTAL_QTY

CONSIGNMENT_IND

DEAL_ID

RTV_IND

DISCOUNT_DATE

DEAL_TYPE

TOTAL_COST_INC_VAT

VAT_DISC_CREATE_DATE

IM_INVOICE_DETAIL

DOC_ID

ITEM

UNIT_COST

INVOICE_QTY

RESOLUTION_ADJUSTED_UNIT_COST

RESOLUTION_ADJUSTED_QTY

STATUS

COST_MATCHED

QTY_MATCHED

COST_VARIANCE_WITHIN_TOLERANCE

QTY_VARIANCE_WITHIN_TOLERANCE

ADJUSTMENT_PENDING

VAT_CODE

VAT_RATE

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

VAT_DISCREPANCY_IND

Diagram : DD_DOCUMENTTitle : ReIM Documents

IOD_IDD_FK

IDL_IDD_FK

IDH_IDD_FK

IDO_IDD_FK

DRC_IDD_FK

IHC_IDD_FK

IDA_IOD_FK

Page 12: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_RECEIPT_LOCK

RECEIPT_ID

LOCK_DATETIME

LOCK_CREATE_ID

IM_ITEM_VAT_AUDIT

ITEM

DOC_ID

VAT_CODE

VAT_RATE

VAT_CODE_USED

VAT_RATE_USED

CREATE_ID

CREATE_DATETIME

IM_DOC_VAT

DOC_ID

VAT_CODE

VAT_RATE

VAT_BASIS

IM_TERMS_RANKING

TERMS

RANKING

IM_DOC_GROUP_LIST_LOCK

GROUP_ID

LOCK_DATETIME

LOCK_CREATE_ID

IM_DOC_GROUP_LIST

GROUP_ID

CREATE_DATE

CREATE_ID

STATUS

CONTROL_REC_COUNT

CONTROL_TOTAL_COST

CURRENCY_CODE

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

IDK_IDT_FK

Page 13: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_EDI_REJECT_DOC_NON_MERCH

DOC_ID

NON_MERCH_CODE

NON_MERCH_AMT

UPDATE_ID

IM_EDI_REJECT_DOC_LOCK

DOC_ID

LOCK_DATETIME

LOCK_CREATE_ID

IM_EDI_REJECT_DOC_HEAD

DOC_ID

TYPE

ORDER_NO

LOCATION

LOC_TYPE

TOTAL_DISCOUNT

DOC_DATE

VENDOR_TYPE

VENDOR

EXT_DOC_ID

TERMS

TERMS_DSCNT_PCT

DUE_DATE

PAYMENT_METHOD

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

PAID_IND

MULTI_LOC

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

FREIGHT_TYPE

ERROR_COLUMN_ID

REJECT_REASON_CODE

REF_DOC

UPDATE_ID

IM_EDI_REJECT_DOC_DETAIL_ALLOW

DOC_ID

DOC_DETAIL_ID

ITEM

ALLOWANCE_CODE

ALLOWANCE_AMOUNT

UPDATE_ID

IM_EDI_REJECT_DOC_DETAIL

DOC_ID

ITEM

ITEM_SUPPLEMENT

DOC_UNIT_COST

DOC_QTY

ORIG_DOC_UNIT_COST

ORIG_DOC_QTY

COST_DSCRPNCY_IND

QTY_DSCRPNCY_IND

ERROR_COLUMN_ID

DOC_DETAIL_ID

UPDATE_ID

Diagram : DD_EDIREJECTSTitle : ReIM Edirejects

IEA_IEO_FK

IEO_IER_FK

IEN_IER_FK

Page 14: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_EDI_RJT_DOC_NM_AUDIT

AUDIT_KEY

DOC_ID

NON_MERCH_CODE

NON_MERCH_AMT

UPDATE_ID

UPDATE_DATE

IM_EDI_RJT_DOC_HEAD_AUDIT

AUDIT_KEY

DOC_ID

TYPE

ORDER_NO

LOCATION

LOC_TYPE

TOTAL_DISCOUNT

DOC_DATE

VENDOR_TYPE

VENDOR

EXT_DOC_ID

TERMS

TERMS_DSCNT_PCT

DUE_DATE

PAYMENT_METHOD

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

PAID_IND

MULTI_LOC

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

FREIGHT_TYPE

ERROR_COLUMN_ID

REJECT_REASON_CODE

REF_DOC

UPDATE_ID

UPDATE_DATE

IM_EDI_RJT_DOC_DTL_AUDIT

AUDIT_KEY

DOC_ID

ITEM

ITEM_SUPPLEMENT

DOC_UNIT_COST

DOC_QTY

ORIG_DOC_UNIT_COST

ORIG_DOC_QTY

COST_DSCRPNCY_IND

QTY_DSCRPNCY_IND

ERROR_COLUMN_ID

DOC_DETAIL_ID

UPDATE_ID

UPDATE_DATE

IM_EDIRJT_DOCDTL_ALW_AUDIT

AUDIT_KEY

DOC_ID

DOC_DETAIL_ID

ITEM

ALLOWANCE_CODE

ALLOWANCE_AMOUNT

UPDATE_ID

UPDATE_DATE

Page 15: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_ALT_VIEW_GL_CROSS_REF

CROSS_REF_TYPE

CODE

SEGMENT1_VALUE

SEGMENT2_VALUE

SEGMENT3_VALUE

SEGMENT4_VALUE

SEGMENT5_VALUE

SEGMENT6_VALUE

SEGMENT7_VALUE

SEGMENT8_VALUE

SEGMENT9_VALUE

SEGMENT10_VALUE

IM_GL_OPTIONS

OPTIONS_NO

SEGMENT_NO

DYNAMIC_IND

IM_GL_CROSS_REF

ACCOUNT_TYPE

ACCOUNT_CODE

SEGMENT_NO

SEGMENT_VALUE

IM_FINANCIALS_STAGE_ERROR

SEQ_NO

TRAN_CODE

DEBIT_CREDIT_IND

DOC_ID

DOC_DATE

RECEIPT_ID

RECEIPT_DATE

VENDOR_TYPE

VENDOR

ORDER_NO

CURRENCY_CODE

AMOUNT

BEST_TERMS

BEST_TERMS_DATE

MANUALLY_PAID_IND

PRE_PAID_IND

CREATE_ID

CREATE_DATETIME

SEGMENT_1

SEGMENT_2

SEGMENT_3

SEGMENT_4

SEGMENT_5

SEGMENT_6

SEGMENT_7

SEGMENT_8

SEGMENT_9

SEGMENT_10

ERR_MESSAGE

SUPPORT_ERR_MESSAGE

IM_FINANCIALS_STAGE

SEQ_NO

TRAN_CODE

DEBIT_CREDIT_IND

DOC_ID

PARENT_ID

DOC_DATE

RECEIPT_ID

RECEIPT_DATE

VENDOR_TYPE

VENDOR

ORDER_NO

CURRENCY_CODE

AMOUNT

BEST_TERMS

BEST_TERMS_DATE

MANUALLY_PAID_IND

PRE_PAID_IND

CREATE_ID

CREATE_DATETIME

SEGMENT_1

SEGMENT_2

SEGMENT_3

SEGMENT_4

SEGMENT_5

SEGMENT_6

SEGMENT_7

SEGMENT_8

SEGMENT_9

SEGMENT_10

VAT_CODE

VAT_RATE

DEAL_ID

LOCAL_CURRENCY

INCOME_LOCAL_CURRENCY

TOTAL_COST_INC_VAT

EXT_DOC_ID

EXCHANGE_RATE

EXCHANGE_RATE_TYPE

IM_DYNAMIC_SEGMENT_LOC

LOCATION

LOC_SEGMENT

COMPANY_SEGMENT

IM_DYNAMIC_SEGMENT_DEPT_CLASS

DEPT

CLASS

DEPT_SEGMENT

CLASS_SEGMENT

Diagram : DD_FINANCIALSINFTitle : ReIM Financialsinf

IGC_IGO_FK

Page 16: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_CN_SUMMARY_MATCH_HIS

MATCH_ID

DOC_ID

IM_QTY_DISCREPANCY

QTY_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

ROUTING_DATE

RESOLVE_BY_DATE

QTY_INVOICED

AP_REVIEWER

DOC_TYPE

RESOLUTION_QTY

IM_INVOICE_DETAIL

DOC_ID

ITEM

UNIT_COST

INVOICE_QTY

RESOLUTION_ADJUSTED_UNIT_COST

RESOLUTION_ADJUSTED_QTY

STATUS

COST_MATCHED

QTY_MATCHED

COST_VARIANCE_WITHIN_TOLERANCE

QTY_VARIANCE_WITHIN_TOLERANCE

ADJUSTMENT_PENDING

VAT_CODE

VAT_RATE

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

VAT_DISCREPANCY_IND

IM_PARTIALLY_MATCHED_RECEIPTS

SHIPMENT

ITEM

QTY_MATCHED

IM_DETAIL_MATCH_RCPT_HISTORY

MATCH_ID

RECEIPT_ID

ITEM

IM_DETAIL_MATCH_INVC_HISTORY

MATCH_ID

INVOICE_ID

ITEM

IM_DETAIL_MATCH_HISTORY

MATCH_ID

AUTO_MATCHED

EXACT_MATCH

IM_AUTOMATCH_METRICS

RUN_ID

RUN_DATE

NUM_OF_EXACT_MATCH_INVOICES

NUM_OF_IN_TOLERANCE_INVOICES

NUM_OF_INVOICES_PROCESSED

Diagram : DD_MATCHINGTitle : Matching Data Diagram

IEI_IDM_FK

IDR_IDM_FK

IEI_IOD_FK

Page 17: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_DOC_HEAD

DOC_ID

TYPE

STATUS

ORDER_NO

LOCATION

LOC_TYPE

TOTAL_DISCOUNT

GROUP_ID

PARENT_ID

DOC_DATE

CREATE_DATE

CREATE_ID

VENDOR_TYPE

VENDOR

EXT_DOC_ID

EDI_UPLOAD_IND

EDI_DOWNLOAD_IND

TERMS

TERMS_DSCNT_PCT

DUE_DATE

PAYMENT_METHOD

MATCH_ID

MATCH_DATE

APPROVAL_ID

APPROVAL_DATE

PRE_PAID_IND

PRE_PAID_ID

POST_DATE

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

MANUALLY_PAID_IND

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

LAST_UPDATE_ID

LAST_DATETIME

FREIGHT_TYPE

REF_DOC

REF_AUTH_NO

COST_PRE_MATCH

DETAIL_MATCHED

BEST_TERMS

BEST_TERMS_SOURCE

BEST_TERMS_DATE

BEST_TERMS_DATE_SOURCE

VARIANCE_WITHIN_TOLERANCE

RESOLUTION_ADJUSTED_TOTAL_COST

RESOLUTION_ADJUSTED_TOTAL_QTY

CONSIGNMENT_IND

DEAL_ID

RTV_IND

DISCOUNT_DATE

DEAL_TYPE

TOTAL_COST_INC_VAT

VAT_DISC_CREATE_DATE

IM_COST_DISCREPANCY

COST_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

CURRENCY_CODE

ROUTING_DATE

RESOLVE_BY_DATE

DOC_UNIT_COST

DOC_TOTAL_COST

DEPT

CLASS

BUSINESS_ROLE_ID

CASH_DSCNT_IND

AP_REVIEWER

DOC_TYPE

RESOLUTION_COST

IM_SUMMARY_MATCH_RCPT_HISTORY

MATCH_ID

RECEIPT_ID

IM_SUMMARY_MATCH_INVC_HISTORY

MATCH_ID

INVOICE_ID

IM_SUMMARY_MATCH_HISTORY

MATCH_ID

AUTO_MATCHED

EXACT_MATCH

IIR_IMS_FK

IRR_IMS_FK

IDI_IDD_FK

IOD_IDD_FK

IQD_IDD_FK

IIR_IDD_FK

ICN_IDD_FK

Page 18: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_CN_DETAIL_MATCH_HIS

MATCH_ID

DOC_ID

ITEM

REASON_CODE_ID

IM_MANUAL_GROUP_RECEIPTS

GROUP_ID

SHIPMENT

IM_MANUAL_GROUP_INVOICES

GROUP_ID

INVOICE_ID

IM_MANUAL_GROUPS

GROUP_ID

IMI_IMG_FK

IMC_IMG_FK

Page 19: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_PARENT_INVOICE_VAT

PARENT_ID

VAT_CODE

VAT_RATE

VAT_BASIS

IM_PARENT_INVOICE_LOCK

PARENT_ID

LOCK_DATETIME

LOCK_CREATE_ID

IM_PARENT_NON_MERCH

PARENT_ID

NON_MERCH_CODE

NON_MERCH_AMT

VAT_CODE

VAT_RATE

IM_PARENT_INVOICE_DETAIL

PARENT_ID

ITEM

UNIT_COST

INVOICE_QTY

IM_PARENT_INVOICE

PARENT_ID

SPLIT_IND

ORDER_NO

LOCATION

LOC_TYPE

SUPPLIER

EXT_DOC_ID

TERMS

TERMS_DSCNT_PCT

DOC_DATE

DUE_DATE

PAYMENT_METHOD

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

MANUALLY_PAID_IND

FREIGHT_TYPE

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

CREATE_DATE

CREATE_ID

EDI_UPLOAD_IND

Diagram : DD_PARENTINVOICESTitle : Parent Invoices Data Diagram

IPN_IPI_FK IPD_IPI_FK

Page 20: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_RECEIPT_ITEM_POSTING

SEQ_NO

RECEIPT_ID

ITEM_ID

QTY_MATCHED

QTY_POSTED

IM_RCPT_ITEM_POSTING_INVOICE

SEQ_NO

DOC_ID

STATUS

IM_COMPLEX_DEAL_DETAIL

DOC_ID

SEQ_NO

LOC_TYPE

LOCATION

ITEM

ORDER_NO

VAT_RATE

VAT_CODE

LOCAL_CURRENCY

INCOME_LOCAL_CURR

INCOME_DEAL_CURR

ACTUAL_TURNOVER_UNITS

ACTUAL_TURNOVER_REVENUE

IM_DOC_HEAD

DOC_ID

TYPE

STATUS

ORDER_NO

LOCATION

LOC_TYPE

TOTAL_DISCOUNT

GROUP_ID

PARENT_ID

DOC_DATE

CREATE_DATE

CREATE_ID

VENDOR_TYPE

VENDOR

EXT_DOC_ID

EDI_UPLOAD_IND

EDI_DOWNLOAD_IND

TERMS

TERMS_DSCNT_PCT

DUE_DATE

PAYMENT_METHOD

MATCH_ID

MATCH_DATE

APPROVAL_ID

APPROVAL_DATE

PRE_PAID_IND

PRE_PAID_ID

POST_DATE

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

MANUALLY_PAID_IND

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

LAST_UPDATE_ID

LAST_DATETIME

FREIGHT_TYPE

REF_DOC

REF_AUTH_NO

COST_PRE_MATCH

DETAIL_MATCHED

BEST_TERMS

BEST_TERMS_SOURCE

BEST_TERMS_DATE

BEST_TERMS_DATE_SOURCE

VARIANCE_WITHIN_TOLERANCE

RESOLUTION_ADJUSTED_TOTAL_COST

RESOLUTION_ADJUSTED_TOTAL_QTY

CONSIGNMENT_IND

DEAL_ID

RTV_IND

DISCOUNT_DATE

DEAL_TYPE

TOTAL_COST_INC_VAT

VAT_DISC_CREATE_DATE

Diagram : DD_POSTINGTitle : Posting Data Diagram

IRI_IRP_FK

Page 21: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_RECEIPT_ITEM_POSTING_STAGE

SEQ_NO

RECEIPT_ID

ITEM_ID

QTY_POSTED

CREATE_DATE

IM_RCPT_ITEM_POSTING_INV_STAGE

SEQ_NO

DOC_ID

IM_FIXED_DEAL_DETAIL

DOC_ID

SEQ_NO

LOC_TYPE

LOCATION

DEPT

CLASS

SUBCLASS

INCOME

VAT_CODE

VAT_RATE

IM_TERMS_RANKING

TERMS

RANKING

Page 22: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_USER_PREFERENCES

USER_NAME

PAGE_NAME

COLUMNS_NAMES

ACTIVE_STATUS

COLUMNS_VISIBLE

COLUMNS_HIDABLE

SOURCE_VIEW_NAME

IM_USER_AUTHORIZATION

USERNAME

LASTNAME

FIRSTNAME

PASSWORD

LANGUAGE

COUNTRY

EMAIL

IM_TERMS_RANKING

TERMS

RANKING

IM_GLOBAL_PREFERENCES

PAGE_NAME

VIEW_NAME

COLUMNS_NAMES

COLUMNS_VISIBLE

COLUMNS_HIDABLE

IM_CURRENCY_LOCALE

CURRENCY_CODE

COUNTRY

LANGUAGE

CURRENCY_COST_DEC

CURRENCY_RTL_DEC

Diagram : DD_SYSADMINTitle : Sys Admin Data Diagram

Page 23: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_TOLERANCE_SYS_AUDIT

AUDIT_KEY

TOL_KEY

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

UPDATE_DATE

IM_TOLERANCE_SYSTEM

TOL_KEY

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

IM_TOLERANCE_SUPP_AUDIT

AUDIT_KEY

TOL_KEY

SUPPLIER

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

UPDATE_DATE

IM_TOLERANCE_SUPP

TOL_KEY

SUPPLIER

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

IM_TOLERANCE_DEPT_AUDIT

AUDIT_KEY

TOL_KEY

DEPT

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

UPDATE_DATE

IM_TOLERANCE_DEPT

TOL_KEY

DEPT

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

Diagram : DD_TOLERANCETitle : Tolerance Data Diagram

Page 24: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

IM_TOLERANCE_SYSTEM_LOCK

LOCK_DATETIME

LOCK_CREATE_ID

IM_TOLERANCE_SUTRT_AUDIT

AUDIT_KEY

TOL_KEY

SUPP_TRAIT

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

UPDATE_DATE

IM_TOLERANCE_SUPP_TRAIT

TOL_KEY

SUPP_TRAIT

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

IM_TOLERANCE_SUPP_LOCK

SUPPLIER

LOCK_DATETIME

LOCK_CREATE_ID

IM_TOLERANCE_DEPT_LOCK

DEPT

LOCK_DATETIME

LOCK_CREATE_ID

Page 25: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

Oracle Designer

RTKDBA

14 June 2007

C:\cktci.pdf

Parameter Values

Workarea :

Container :

Tables : Yes

Tab/View/Snap Name : %

Tables CreatedOn/After :

On/Before :

Tables Changed

13 June 2007

13 June 2007

Yes Column Details :

Views : Yes Snapshots : Yes

Diagram :

Includes

On/After :

On/Before :

and

Report : TABLE DEFINITION

Filename :

Run by :

Report Date :

Total Pages :

Container Version : Recurse Sub-Containers :

GLOBAL SHARED WORKAREA

CS ReIM 12.0

N

246

Page 26: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 2 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_ALT_VIEW_GL_CROSS_REF

IAVAlias :

Primary Key

CROSS_REF_TYPE

CODE

This column will contain the cross_ref_type of the account segments.

This column will contain the code for the account segments.

Column Detail

10

20

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

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

CROSS_REF_TYPE

CODE

SEGMENT1_VALUE

SEGMENT2_VALUE

SEGMENT3_VALUE

SEGMENT4_VALUE

SEGMENT5_VALUE

SEGMENT6_VALUE

SEGMENT7_VALUE

SEGMENT8_VALUE

SEGMENT9_VALUE

SEGMENT10_VALUE

Column

VARCHAR2 (6)

VARCHAR2 (20)

VARCHAR2 (75)

VARCHAR2 (75)

VARCHAR2 (75)

VARCHAR2 (75)

VARCHAR2 (75)

VARCHAR2 (75)

VARCHAR2 (75)

VARCHAR2 (75)

VARCHAR2 (75)

VARCHAR2 (75)

Type

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_ALT_VIEW_GL_CROSS_REF CROSS_REF_TYPECODE

Name Column

This table holds an alternate view of the data on the im_gl_cross_reftable. This table will be populated only by a trigger on theim_gl_cross_ref table. This table is not used by the application, andinstead is intended to assist in reporting and testing.

Description :

Table Name : IM_ALT_VIEW_GL_CROSS_REF

Page 27: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 3 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SEGMENT1_VALUE

SEGMENT2_VALUE

SEGMENT3_VALUE

SEGMENT4_VALUE

SEGMENT5_VALUE

SEGMENT6_VALUE

SEGMENT7_VALUE

SEGMENT8_VALUE

SEGMENT9_VALUE

SEGMENT10_VALUE

This column will contain the first segment.

This column will contain the second segment.

This column will contain the third segment.

This column will contain the fourth segment.

This column will contain the sixth segment.

This column will contain the sixth segment.

This column will contain the seventh segment.

This column will contain the eighth segment.

This column will contain the ninth segment.

This column will hold the tenth segment value.

Column Detail

30

40

50

60

70

80

90

100

110

120

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

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

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

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

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

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

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

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

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

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

Page 28: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 4 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_AP_STAGE_DETAIL

IADAlias :

Primary Key

DOC_ID

Column Detail

10

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

DOC_ID

SEQ_NO

TRAN_CODE

LINE_TYPE_LOOKUP_CODE

AMOUNT

VAT_CODE

SEGMENT1

SEGMENT2

SEGMENT3

SEGMENT4

SEGMENT5

SEGMENT6

SEGMENT7

SEGMENT8

SEGMENT9

SEGMENT10

CREATE_DATE_TIME

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (6)

VARCHAR2 (25)

NUMBER (20, 4)

VARCHAR2 (6)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

DATE

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_AP_STAGE_DETAIL DOC_IDSEQ_NO

Name Column

This table holds detail records that are staged to be posted to afinancials system. Records will be written to this table, and to theIM_AP_STAGE_HEAD table, by the invoice matching posting process whenOracle Financials 11.5.10 is being used.

Description :

Table Name : IM_AP_STAGE_DETAIL

Page 29: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 5 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SEQ_NO

TRAN_CODE

LINE_TYPE_LOOKUP_CODE

AMOUNT

VAT_CODE

SEGMENT1

SEGMENT2

SEGMENT3

SEGMENT4

SEGMENT5

SEGMENT6

This column holds the Invoice Matching document id of the document being postedto Oracle Financials 11.5.10.

This column holds a sequence number that is generated to act as part of theprimary key for the table, along with the DOC_ID column.

This column holds the transaction code.

This value will vary; the rules are: If the tran-code is �UNR� or �VWT� or�REASON� or �CRN�, then this value should be �ITEM�. If this is a generated taxline, then this value should be �TAX�. If none of the above, then this valueshould be �MISCELLANEOUS�.

This column holds the amount from the transaction. EXCEPTION - for generatedtax lines, the amount for this line should be the amount from the taxable linetimes the tax rate.

This is the VAT code.

This column holds the value of the first account segment.

This column holds the value of the second account segment.

This column holds the value of the third account segment.

This column holds the value of the fourth account segment.

This column holds the value of the fifth account segment.

Column Detail

20

30

40

50

60

70

80

90

100

110

120

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

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

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

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

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

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

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

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

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

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

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

Page 30: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 6 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SEGMENT7

SEGMENT8

SEGMENT9

SEGMENT10

CREATE_DATE_TIME

This column holds the value of the sixth account segment.

This column holds the value of the seventh account segment.

This column holds the value of the eighth account segment.

This column holds the value of the ninth account segment.

This column holds the value of the tenth account segment.

This column holds the system date and time stamp of the creation of the postingheader record.

Column Detail

130

140

150

160

170

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

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

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

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

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

Page 31: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 7 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_AP_STAGE_DETAIL_ERROR

ISDAlias :

Primary Key

Column Detail

DOC_ID

SEQ_NO

TRAN_CODE

LINE_TYPE_LOOKUP_CODE

AMOUNT

VAT_CODE

SEGMENT1

SEGMENT2

SEGMENT3

SEGMENT4

SEGMENT5

SEGMENT6

SEGMENT7

SEGMENT8

SEGMENT9

SEGMENT10

CREATE_DATE_TIME

ERR_MESSAGE

SUPPORT_ERR_MESSAGE

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (6)

VARCHAR2 (25)

NUMBER (20, 4)

VARCHAR2 (6)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

DATE

VARCHAR2 (255)

VARCHAR2 (500)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

180

190

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_AP_STAGE_DETAIL_ERROR DOC_IDSEQ_NO

Name Column

This table holds detail records that were attempted to be staged to beposted to a financials system, but could not due to errors. Erroneousrecords will be written to this table, and to theIM_AP_STAGE_HEAD_ERROR, by the invoice matching posting process whenOracle Financials 11.5.10 is being used.

Description :

Table Name : IM_AP_STAGE_DETAIL_ERROR

Page 32: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 8 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DOC_ID

SEQ_NO

TRAN_CODE

LINE_TYPE_LOOKUP_CODE

AMOUNT

VAT_CODE

SEGMENT1

SEGMENT2

SEGMENT3

SEGMENT4

SEGMENT5

SEGMENT6

This column holds the Invoice Matching document id of the document being postedto Oracle Financials 11.5.10.

This column holds a sequence number that is generated to act as part of theprimary key for the table, along with the DOC_ID column.

This column holds the transaction code.

This value will vary; the rules are: If the tran-code is �UNR� or �VWT� or�REASON� or �CRN�, then this value should be �ITEM�. If this is a generated taxline, then this value should be �TAX�. If none of the above, then this valueshould be �MISCELLANEOUS�.

This column holds the amount from the transaction. EXCEPTION - for generatedtax lines, the amount for this line should be the amount from the taxable linetimes the tax rate.

This is the VAT code.

This column holds the value of the first account segment.

This column holds the value of the second account segment.

This column holds the value of the third account segment.

This column holds the value of the fourth account segment.

This column holds the value of the fifth account segment.

Column Detail

10

20

30

40

50

60

70

80

90

100

110

120

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

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

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

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

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

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

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

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

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

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

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

Page 33: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 9 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SEGMENT7

SEGMENT8

SEGMENT9

SEGMENT10

CREATE_DATE_TIME

ERR_MESSAGE

SUPPORT_ERR_MESSAGE

This column holds the value of the sixth account segment.

This column holds the value of the seventh account segment.

This column holds the value of the eighth account segment.

This column holds the value of the ninth account segment.

This column holds the value of the tenth account segment.

This column holds the system date and time stamp of the creation of the postingheader record.

Holds the error message.

Holds supporting error message information.

Column Detail

130

140

150

160

170

180

190

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

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

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

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

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

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

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

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

Page 34: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 10 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_AP_STAGE_HEAD

IAHAlias :

Primary Key

SEQ_NO

DOC_ID

INVC_TYPE_LOOKUP_CODE

INVOICE_NUMBER

VENDOR

ORACLE_SITE_ID

CURRENCY_CODE

EXCHANGE_RATE

EXCHANGE_RATE_TYPE

DOC_DATE

AMOUNT

BEST_TERMS_DATE

SEGMENT1

SEGMENT2

SEGMENT3

SEGMENT4

SEGMENT5

SEGMENT6

SEGMENT7

SEGMENT8

SEGMENT9

SEGMENT10

CREATE_DATE_TIME

BEST_TERMS

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (50)

VARCHAR2 (10)

NUMBER (15)

VARCHAR2 (3)

NUMBER (20, 10)

VARCHAR2 (30)

DATE

NUMBER (20, 4)

DATE

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

DATE

VARCHAR2 (15)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NULL

NOT NULL

NULL

NULL

NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

180

190

200

210

220

230

240

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table holds header records that are staged to be posted to afinancials system. Records will be written to this table, and to theIM_AP_STAGE_DETAIL, by the invoice matching posting process whenOracle Financials 11.5.10 is being used.

Description :

Table Name : IM_AP_STAGE_HEAD

Page 35: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 11 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CHK_IAH_EXCHANGE_RATE_TYPE

Name

Check Constraints

SEQ_NO

DOC_ID

INVC_TYPE_LOOKUP_CODE

INVOICE_NUMBER

VENDOR

ORACLE_SITE_ID

CURRENCY_CODE

EXCHANGE_RATE

This column holds a sequence number that is generated to act as a primary keyfor the table.

This column holds the Invoice Matching document id of the document being postedto Oracle Financials 11.5.10.

If TYPE = MRCHI or NMRCHI, set this value to 'STANDARD'. Otherwise set thisvalue to 'CREDIT'.

This field is NOT the same as the Invoice Id. This field contains concatenateddata, as follows: chars 1-34: the first 34 characters from the EXT DOC ID char35: a hyphen char 36-50: the DOC ID

This column holds the identifier of the supplier or partner associated with thedocument.

This column holds the value of the Oracle Vendor Site Id for a supplieraddress, and is retrieved from RMS using the following procedure: 1 � Thelocation from this transaction is used find the Org Unit. 2 � The retrieved OrgUnit is used to find the Oracle Vendor Site Id.

This column holds the currency code associated with the document.

Where Validate Clause

Column Detail

10

20

30

40

50

60

70

80

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

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

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

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

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

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

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

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

exchange_rate_type is null or exchange_rate_type='USER'

PK_IM_AP_STAGE_HEAD SEQ_NO

Name Column

Page 36: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 12 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

EXCHANGE_RATE_TYPE

DOC_DATE

AMOUNT

BEST_TERMS_DATE

SEGMENT1

SEGMENT2

SEGMENT3

SEGMENT4

SEGMENT5

SEGMENT6

SEGMENT7

SEGMENT8

This column holds the exchange rate for the document.

This column holds the exchange rate type for the exchange rate for thedocument.

This column holds the invoice date.

This column holds the amount from the TAP transaction. (It is the amount thatneeds to be paid by the A/P system, and it should equal the total of theamounts from the detail lines.)

This column holds the date calculated as the best terms date for the document.

This column holds the value of the first account segment.

This column holds the value of the second account segment.

This column holds the value of the third account segment.

This column holds the value of the fourth account segment.

This column holds the value of the fifth account segment.

This column holds the value of the sixth account segment.

This column holds the value of the seventh account segment.

Column Detail

90

100

110

120

130

140

150

160

170

180

190

200

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

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

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

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

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

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

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

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

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

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

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

Page 37: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 13 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SEGMENT9

SEGMENT10

CREATE_DATE_TIME

BEST_TERMS

This column holds the value of the eighth account segment.

This column holds the value of the ninth account segment

This column holds the value of the tenth account segment.

This column holds the system date and time stamp of the creation of the postingheader record.

This column holds the term calculated as the 'best term' for the document.

Column Detail

210

220

230

240

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

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

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

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

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

Page 38: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 14 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_AP_STAGE_HEAD_ERROR

IAEAlias :

SEQ_NO

DOC_ID

INVC_TYPE_LOOKUP_CODE

INVOICE_NUMBER

VENDOR

ORACLE_SITE_ID

CURRENCY_CODE

EXCHANGE_RATE

EXCHANGE_RATE_TYPE

DOC_DATE

AMOUNT

BEST_TERMS_DATE

SEGMENT1

SEGMENT2

SEGMENT3

SEGMENT4

SEGMENT5

SEGMENT6

SEGMENT7

SEGMENT8

SEGMENT9

SEGMENT10

CREATE_DATE_TIME

ERR_MESSAGE

SUPPORT_ERR_MESSAGE

BEST_TERMS

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (50)

VARCHAR2 (10)

NUMBER (15)

VARCHAR2 (3)

NUMBER (20, 10)

VARCHAR2 (30)

DATE

NUMBER (20, 4)

DATE

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

DATE

VARCHAR2 (255)

VARCHAR2 (500)

VARCHAR2 (15)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NULL

NOT NULL

NULL

NULL

NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

180

190

200

210

220

230

240

250

260

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table holds header records that were attempted to be staged to beposted to a financials system, but could not due to errors. Erroneousrecords will be written to this table, and to theIM_AP_STAGE_DETAIL_ERROR, by the invoice matching posting process whenOracle Financials 11.5.10 is being used.

Description :

Table Name : IM_AP_STAGE_HEAD_ERROR

Page 39: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 15 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CHK_IAE_EXCHANGE_RATE_TYPE

Name

Check Constraints

Primary Key

SEQ_NO

DOC_ID

INVC_TYPE_LOOKUP_CODE

INVOICE_NUMBER

VENDOR

ORACLE_SITE_ID

CURRENCY_CODE

EXCHANGE_RATE

This column holds a sequence number that is generated to act as a primary keyfor the table.

This column holds the Invoice Matching document id of the document being postedto Oracle Financials 11.5.10.

If TYPE = MRCHI or NMRCHI, set this value to 'STANDARD'. Otherwise set thisvalue to 'CREDIT'.

This field is NOT the same as the Invoice Id. This field contains concatenateddata, as follows: chars 1-34: the first 34 characters from the EXT DOC ID char35: a hyphen char 36-50: the DOC ID

This column holds the identifier of the supplier or partner associated with thedocument.

This column holds the value of the Oracle Vendor Site Id for a supplieraddress, and is retrieved from RMS using the following procedure: 1 � Thelocation from this transaction is used find the Org Unit. 2 � The retrieved OrgUnit is used to find the Oracle Vendor Site Id.

This column holds the currency code associated with the document.

Where Validate Clause

Column Detail

10

20

30

40

50

60

70

80

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

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

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

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

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

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

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

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

exchange_rate_type is null or exchange_rate_type='USER'

PK_IM_AP_STAGE_HEAD_ERROR SEQ_NO

Name Column

Page 40: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 16 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

EXCHANGE_RATE_TYPE

DOC_DATE

AMOUNT

BEST_TERMS_DATE

SEGMENT1

SEGMENT2

SEGMENT3

SEGMENT4

SEGMENT5

SEGMENT6

SEGMENT7

SEGMENT8

This column holds the exchange rate for the document.

This column holds the exchange rate type for the exchange rate for thedocument.

This column holds the invoice date.

This column holds the amount from the TAP transaction. (It is the amount thatneeds to be paid by the A/P system, and it should equal the total of theamounts from the detail lines.)

This column holds the date calculated as the best terms date for the document.

This column holds the value of the first account segment.

This column holds the value of the second account segment.

This column holds the value of the third account segment.

This column holds the value of the fourth account segment.

This column holds the value of the fifth account segment.

This column holds the value of the sixth account segment.

This column holds the value of the seventh account segment.

Column Detail

90

100

110

120

130

140

150

160

170

180

190

200

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

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

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

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

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

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

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

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

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

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

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

Page 41: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 17 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SEGMENT9

SEGMENT10

CREATE_DATE_TIME

ERR_MESSAGE

SUPPORT_ERR_MESSAGE

BEST_TERMS

This column holds the value of the eighth account segment.

This column holds the value of the ninth account segment.

This column holds the value of the tenth account segment.

This column holds the system date and time stamp of the creation of the postingheader record.

Holds the error message.

Holds supporting error message information.

Column Detail

210

220

230

240

250

260

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

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

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

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

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

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

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

Page 42: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 18 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_AUTOMATCH_METRICS

IAMAlias :

Primary Key

RUN_ID

RUN_DATE

NUM_OF_EXACT_MATCH_INVOICES

NUM_OF_IN_TOLERANCE_INVOICES

NUM_OF_INVOICES_PROCESSED

This column will hold a unique identifier for each auto-match run.

This column will hold the date/time the auto-match is run.

This column will hold the total number of invoices that are matched perfectlyduring the auto-match run.

This column will hold the total number of invoices that are matched withintolerance but not perfectly matched during the auto-match run.

Column Detail

10

20

30

40

50

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

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

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

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

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

RUN_ID

RUN_DATE

NUM_OF_EXACT_MATCH_INVOICES

NUM_OF_IN_TOLERANCE_INVOICES

NUM_OF_INVOICES_PROCESSED

Column

NUMBER (10)

DATE

NUMBER (10)

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_AUTOMATCH_METRICS RUN_ID

Name Column

This table will hold the matching metrics for automatch.Description :

Table Name : IM_AUTOMATCH_METRICS

Page 43: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 19 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

This column will hold the total number of invoices that are processed duringthe auto-match run.

Column Detail

Page 44: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 20 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_BPEL_SEQUENCING_HELPER

IBHAlias :

TABLE_NAME

LAST_READ_ID

This column holds the source table name of the BPEL extract.

This column holds the identifier of the data pulled by the BPEL extract.

Column Detail

10

20

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

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

TABLE_NAME

LAST_READ_ID

Column

VARCHAR2 (255)

NUMBER (15)

Type

NULL

NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

The Oracle BPEL product will be used to pull data from the existingReIM Financial Staging tables. The BPEL product needs its own tablein the ReIM database, in order to track what has been pulled, etc.This table will reside in the ReIM database, but will have no impacton the ReIM application, and the BPEL processes will be responsiblefor maintaining the data on this table.

Description :

Table Name : IM_BPEL_SEQUENCING_HELPER

Page 45: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 21 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Business Roles

IBEAlias :

Primary Key

BUSINESS_ROLE_ID

BUSINESS_ROLE_NAME

INVOICE_ENTRY

EDI_REVIEW

INVOICE_MATCHING

COST_REVIEW

QTY_REVIEW

COST_DISCREPANCY

QTY_DISCREPANCY

GROUP_ENTRY

SYSTEM_OPTIONS

SUPPLIER_OPTIONS

USER_ROLE_MAINTENANCE

REASON_CODE_MAINTENANCE

GENERAL_LEDGER_MAINTENANCE

TOLERANCE_MAINTENANCE

DOCUMENT_ENTRY

INVOICE_DELETE

GROUP_ENTRY_APPROVAL

ACCOUNTS_PAYABLE_REVIEW

DEAL_DOCUMENT_APPROVAL

VAT_DISCREPANCY

Column

NUMBER (10)

VARCHAR2 (1000)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

90

100

120

130

140

150

160

170

180

190

200

210

220

230

240

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Name Column

This table holds the business roles that are used in Retek InvoiceMatching security. Each role will also have various securitypermissions. When the role is first created, all of its permissionswill be set to 'N'o access. Each role will have associated users (onthe im_business_role_member table).

Description :

Table Name : IM_BUSINESS_ROLES

Page 46: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 22 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

BUSINESS_ROLE_NAME

Column

IM_BUSINESS_ROLES_I1

Name

UNIQUE

Index Type

CHK_IBE_ACCOUNTS_PAYABLE_REV

CHK_IBE_COST_DISCREPANCY

CHK_IBE_COST_REVIEW

CHK_IBE_DOCUMENT_ENTRY

CHK_IBE_EDI_REVIEW

CHK_IBE_GENERAL_LEDGER_MAINT

CHK_IBE_GROUP_ENTRY

CHK_IBE_GROUP_ENTRY_APPROVAL

CHK_IBE_INVOICE_DELETE

CHK_IBE_INVOICE_ENTRY

CHK_IBE_INVOICE_MATCHING

CHK_IBE_QTY_DISCREPANCY

CHK_IBE_QTY_REVIEW

CHK_IBE_REASON_CODE_MAINT

CHK_IBE_SUPPLIER_OPTIONS

CHK_IBE_SYSTEM_OPTIONS

CHK_IBE_TOLERANCE_MAINTENANCE

CHK_IBE_USER_ROLE_MAINTENANCE

CHK_IBE_VAT_DISCREPANCY

Name

Check Constraints

BUSINESS_ROLE_ID

BUSINESS_ROLE_NAME

This column holds the ID of the business role.

Where Validate Clause

Column Detail

Index Summary

10

20

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

Seq.

0

accounts_payable_review in ('Y','N')

(COST_DISCREPANCY in ('E', 'V', 'N'))

COST_REVIEW in ('N', 'A', 'U')

document_entry in ('E','V','N')

EDI_REVIEW in ('E', 'V', 'N')

general_ledger_maintenance in ('E','V','N')

(GROUP_ENTRY in ('E', 'V', 'N'))

group_entry_approval in ('Y','N')

invoice_delete in ('Y','N')

INVOICE_ENTRY in ('E', 'V', 'N')

INVOICE_MATCHING in ('E', 'V', 'N')

(QTY_DISCREPANCY in ('E', 'V', 'N'))

QTY_REVIEW in ('N', 'A', 'U')

reason_code_maintenance in ('E','V','N')

supplier_options in ('E','V','N')

system_options in ('E','V','N')

tolerance_maintenance in ('E','V','N')

user_role_maintenance in ('E','V','N')

vat_discrepancy in ('N','E','V')

PK_IM_BUSINESS_ROLES BUSINESS_ROLE_ID

Name Column

Page 47: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 23 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

INVOICE_ENTRY

EDI_REVIEW

INVOICE_MATCHING

COST_REVIEW

QTY_REVIEW

COST_DISCREPANCY

This column holds the name of the business role.

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the invoice entry portions of Retek Invoice Matching. Userswho belong to an 'E'dit role have permission to add an entry invoice batchesand invoices. Users who belong to a 'V'iew role have permission to viewinvoices, but not to add or change existing invoices. Users who belong to a'N'o access role will not be able to view invoices. Valid values for thiscolumn are 'E', 'V' or 'N'. This field is mandatory not null

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the EDI rejection review portions of Retek Invoice Matching.Users who belong to an 'E'dit role have permission to review and edit rejectedEDI invoiced. Users who belong to a 'V'iew role have permission to view EDIrejected invoices, but not to change existing EDI rejected invoices. Users whobelong to a 'N'o access role will not be able to view EDI rejected invoices.Valid values for this column are 'E', 'V' or 'N'. This field is mandatory notnull.

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the manual invoice matching portions of Retek InvoiceMatching. Users who belong to an 'E'dit role have permission to matchinvoices. Users who belong to a 'V'iew role have permission to view thematching process, but not to change the matching process. Users who belong toa 'N'o access role will not be able to view the matching process. Valid valuesfor this column are 'E', 'V' or 'N'. This field is mandatory not null.

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the cost review portions of Retek Invoice Matching. Userswho belong to an 'E'dit role have permission to edit and act on costdiscrepancies. Users who belong to a 'V'iew role have permission to view thecost discrepancies, but not to act on them. Users who belong to a 'N'o accessrole will not be able to view the cost review process. Valid values for thiscolumn are 'E', 'V' or 'N'. This field is mandatory not null.

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the qty review portions of Retek Invoice Matching. Users whobelong to an 'E'dit role have permission to edit and act on qty discrepancies.Users who belong to a 'V'iew role have permission to view the qtydiscrepancies, but not to act on them. Users who belong to a 'N'o access rolewill not be able to view the qty review process. Valid values for this columnare 'E', 'V' or 'N'. This field is mandatory not null.

Column Detail

30

40

50

60

70

90

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

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

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

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

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

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

Page 48: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 24 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

QTY_DISCREPANCY

GROUP_ENTRY

SYSTEM_OPTIONS

SUPPLIER_OPTIONS

USER_ROLE_MAINTENANCE

REASON_CODE_MAINTENANCE

This column indicates whether members of this business role can view 'N'o costdiscrepancies, 'A'll cost discrepancies, or only cost discrepancies created bythe specific 'U'ser. Valid values for this column are 'N', 'A' or 'U'. Thisfield is mandatory not NULL.

This column indicates whether members of this business role can view 'N'o qtydiscrepancies, 'A'll qty discrepancies, or only qty discrepancies created bythe specific 'U'ser. Valid values for this column are 'N', 'A' or 'U'. Thisfield is mandatory not NULL.

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the invoice maintenance portions of Retek Invoice Matching.Users who belong to an 'E'dit role have permission to edit in invoicemaintenance screens. Users who belong to a 'V'iew role have permission to viewin invoice maintenance screens, but not to use those screens to make changes.Users who belong to a 'N'o access role will not be able to enter invoicemaintenance screens. Valid values for t

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the system options portion of Retek Invoice Matching. Userswho belong to an 'E'dit role have permission to edit information. Users whobelong to a 'V'iew role have permission to view information, but not to changeit. Users who belong to a 'N'o access role will not be able to viewinformation. Valid values for this column are 'E', 'V' or 'N'. This field ismandatory not null.

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the supplier options portion of Retek Invoice Matching.Users who belong to an 'E'dit role have permission to edit information. Userswho belong to a 'V'iew role have permission to view information, but not tochange it. Users who belong to a 'N'o access role will not be able to viewinformation. Valid values for this column are 'E', 'V' or 'N'. This field ismandatory not null.

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the user role maintenance portion of Retek Invoice Matching.Users who belong to an 'E'dit role have permission to edit information. Userswho belong to a 'V'iew role have permission to view information, but not tochange it. Users who belong to a 'N'o access role will not be able to viewinformation. Valid values for this column are 'E', 'V' or 'N'. This field ismandatory not null.

Column Detail

100

120

130

140

150

160

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

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

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

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

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

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

Page 49: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 25 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

GENERAL_LEDGER_MAINTENANCE

TOLERANCE_MAINTENANCE

DOCUMENT_ENTRY

INVOICE_DELETE

GROUP_ENTRY_APPROVAL

ACCOUNTS_PAYABLE_REVIEW

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the reason code maintenance portion of Retek InvoiceMatching. Users who belong to an 'E'dit role have permission to editinformation. Users who belong to a 'V'iew role have permission to viewinformation, but not to change it. Users who belong to a 'N'o access role willnot be able to view information. Valid values for this column are 'E', 'V' or'N'. This field is mandatory not null.

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the general ledger account maintenance portion of RetekInvoice Matching. Users who belong to an 'E'dit role have permission to editinformation. Users who belong to a 'V'iew role have permission to viewinformation, but not to change it. Users who belong to a 'N'o access role willnot be able to view information. Valid values for this column are 'E', 'V' or'N'. This field is mandatory not null.

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the tolerance maintenance portion of Retek Invoice Matching.Users who belong to an 'E'dit role have permission to edit information. Userswho belong to a 'V'iew role have permission to view information, but not tochange it. Users who belong to a 'N'o access role will not be able to viewinformation. Valid values for this column are 'E', 'V' or 'N'. This field ismandatory not null.

This column indicates whether members of the business role have 'E'dit, 'V'iewor 'N'o access to the document entry portions of Retek Invoice Matching. Userswho belong to an 'E'dit role have permission to edit in document entry screens. Users who belong to a 'V'iew role have permission to view in document entryscreens, but not to use those screens to make changes. Users who belong to a'N'o access role will not be able to enter document entry screens. Validvalues for this column are 'E', 'V', or 'N'. This field is mandatory not NULL.

This column indicates whether members of this business role are ever allowed todelete invoices. Valid values for this column are 'Y' or 'N'. This field ismandatory not NULL.

This column indicates whether members of this business role are ever allowed toapprove invoice within invoice group entry. Valid values for this column are'Y' or 'N'. This field is mandatory not NULL.

This column indicates whether members of this business role are ever allowed to

Column Detail

170

180

190

200

210

220

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

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

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

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

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

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

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

Page 50: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 26 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DEAL_DOCUMENT_APPROVAL

VAT_DISCREPANCY

review accounts payable. Valid values for this column are 'Y' or 'N'. Thisfield is mandatory not NULL.

indicate whether or not a user has access to approve supplier deals

See cost discrepancy column, sub in word VAT for cost

Column Detail

230

240

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

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

Page 51: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 27 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_BUSINESS_ROLE_DEPT

IBDAlias :

ROLE_ID

Column

IM_BUSINESS_ROLES_DEPT_I1

Name

NOT UNIQUE

Index Type

ROLE_ID references IM_BUSINESS_ROLES.BUSINESS_ROLE_ID

IBD_IBE_FK

Foreign Keys

Primary Key

ROLE_ID

DEPT

This column holds the business role that is being assigned a dept/class. Thisbusiness role/dept/class combination will be used to route discrepancies.

Column Detail

Index Summary

10

20

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

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

ROLE_ID

DEPT

CLASS

Column

NUMBER (10)

NUMBER (4)

NUMBER (4)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_BUSINESS_ROLES_DEPT DEPTCLASS

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will hold the department/class combinations to which abusiness role is assigned.

Description :

Table Name : IM_BUSINESS_ROLES_DEPT

Page 52: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 28 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CLASS

This column holds the department to which the business role is assigned.

This column holds the class to which the business role is assigned.

Column Detail

30

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

Page 53: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 29 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Business Roles Loc

IBCAlias :

LOCATION

Column

IM_BUSINESS_ROLES_LOC_I1

Name

NOT UNIQUE

Index Type

BUSINESS_ROLE_ID references IM_BUSINESS_ROLES.BUSINESS_ROLE_ID

IBC_IBE_FK

CHK_IM_BUSINESS_ROLES_LOC_LT

Name

Check Constraints

Foreign Keys

Primary Key

Where Validate Clause

Column Detail

Index Summary

BUSINESS_ROLE_ID

LOCATION

LOC_TYPE

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

0

LOC_TYPE in ('S','W')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_BUSINESS_ROLES_LOC BUSINESS_ROLE_IDLOCATION

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will hold the location combinations to which a businessrole is assigned.

Description :

Table Name : IM_BUSINESS_ROLES_LOC

Page 54: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 30 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

BUSINESS_ROLE_ID

LOCATION

LOC_TYPE

This column holds the business role that is being assigned a location. Thisbusiness role/location combination will be used to route discrepancies. Unlikeother business role relationships, a location can be assigned to multiplebusiness roles at the same time. This is a required field on the table and ispart of the primary key.

This column holds the location to which the business role is assigned. This isa required field on the table and is part of the primary key.

This column holds the type of location (store/warehouse) corresponding to thelocation. This is a required field on the table; however, it is not part of theprimary key since all locations must be unique regardless of their type.

Column Detail

10

20

30

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

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

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

Page 55: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 31 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_BUSINESS_ROLES_LOCK

IBLAlias :

LOCK_DATETIME

LOCK_CREATE_ID

Holds the date and time of the lock

Holds the ID of the user that created the lock row

Column Detail

10

20

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

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

LOCK_DATETIME

LOCK_CREATE_ID

Column

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

A row on this table disables users from accessing the user rolemaintenance page

Description :

Table Name : IM_BUSINESS_ROLES_LOCK

Page 56: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 32 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_BUSINESS_ROLES_REASON_CODES

IBSAlias :

REASON_CODE_ID

Column

IM_BUSINESS_RR_CODES_I2

Name

NOT UNIQUE

Index Type

BUSINESS_ROLE_ID references IM_BUSINESS_ROLES.BUSINESS_ROLE_ID

REASON_CODE_ID references IM_REASON_CODES.REASON_CODE_ID

IBS_IBE_FK

IBS_IRE_FK

Foreign Keys

Primary Key

BUSINESS_ROLE_ID

This column holds the ID of the business role. This is a foreign key to the

Column Detail

Index Summary

10

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

BUSINESS_ROLE_ID

REASON_CODE_ID

Column

NUMBER (10)

VARCHAR2 (20)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

Seq.

30

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_BUSINESS_ROLES_REASON_CO BUSINESS_ROLE_IDREASON_CODE_ID

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table contains the reason codes which a business role can use.Description :

Table Name :IM_BUSINESS_ROLES_REASON_CODES

Page 57: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 33 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

REASON_CODE_ID

IM_BUSINESS_ROLES table.

This column holds the reason code ID for the reason codes the business role canuse. It is a foreign key to the IM_REASON_CODES table.

Column Detail

20

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

Page 58: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 34 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Business Role Member

IBRAlias :

BUSINESS_ROLE_ID

Column

IM_BUSINESS_ROLE_MEMBER_I1

Name

NOT UNIQUE

Index Type

BUSINESS_ROLE_ID references IM_BUSINESS_ROLES.BUSINESS_ROLE_ID

IBR_IBE_FK

Foreign Keys

Primary Key

USER_ID

BUSINESS_ROLE_ID

This column holds the unique ID of the user. This ID must match the RetekInvoice Matching login Ids created for users.

This column holds the business role id to which the user belongs. The rolemust be previously defined on the IM_BUSINESS_ROLES table.

Column Detail

Index Summary

10

30

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

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

USER_ID

BUSINESS_ROLE_ID

Column

VARCHAR2 (30)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

30

Column Summary

Seq.

0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_BUSINESS_ROLE_MEMBER USER_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table holds the users that are associated with the businessroles. Users may belong to only one role.

Description :

Table Name : IM_BUSINESS_ROLE_MEMBER

Page 59: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 35 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_BUS_ROLES_REASON_CODES_LOCK

ICRAlias :

LOCK_DATETIME

LOCK_CREATE_ID

Holds the date and time that the lock on Reason Codes was created.

Holds the USER ID of the user that created the lock row

Column Detail

10

20

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

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

LOCK_DATETIME

LOCK_CREATE_ID

Column

DATE

VARCHAR2 (30)

Type

NULL

NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Contains the user_id and timestamp of the user that currently editingthe reason codes.

Description :

Table Name :IM_BUS_ROLES_REASON_CODES_LOCK

Page 60: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 36 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_CN_DETAIL_MATCH_HIS

IOHAlias :

DOC_ID

ITEM

REASON_CODE_ID

Column

IM_CN_DETAIL_MATCH_HIS_I1

IM_CN_DETAIL_MATCH_HIS_I1

IM_CN_DETAIL_MATCH_HIS_I1

Name

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

Index Type

DOC_ID references IM_DOC_DETAIL_REASON_CODES.DOC_IDITEM references IM_DOC_DETAIL_REASON_CODES.ITEMREASON_CODE_ID references IM_DOC_DETAIL_REASON_CODES.REASON_CODE_ID

IOH_DRC_FK

Foreign Keys

Primary Key

MATCH_ID

Column Detail

Index Summary

10

MATCH_ID

DOC_ID

ITEM

REASON_CODE_ID

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

Seq.

15

20

40

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_CN_DETAIL_MATCH_HIS MATCH_IDDOC_IDITEM

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

No

Restricted

Restricted

Name Column

This table will record the credit note detail match history infoDescription :

Table Name : IM_CN_DETAIL_MATCH_HIS

Page 61: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 37 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DOC_ID

ITEM

REASON_CODE_ID

The match id

The document id

The item id

The reason code id for this document detail.

Column Detail

20

30

40

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

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

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

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

Page 62: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 38 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_CN_SUMMARY_MATCH_HIS

ICNAlias :

DOC_ID

Column

IM_CN_SUMMARY_MATCH_HIS_I1

Name

NOT UNIQUE

Index Type

DOC_ID references IM_DOC_HEAD.DOC_ID

ICN_IDD_FK

Foreign Keys

Primary Key

MATCH_ID

DOC_ID

The match id

The document id

Column Detail

Index Summary

10

20

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

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

MATCH_ID

DOC_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

Seq.

10

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_CN_SUMMARY_MATCH_HIS MATCH_IDDOC_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will record the credit note summary history info.Description :

Table Name : IM_CN_SUMMARY_MATCH_HIS

Page 63: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 39 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_COMPLEX_DEAL_DETAIL

IMDAlias :

Primary Key

DOC_ID

SEQ_NO

LOC_TYPE

This column holds the document id for the complex deal income.

This column holds the sequence uniquely identifies the record.

Column Detail

10

20

30

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

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

DOC_ID

SEQ_NO

LOC_TYPE

LOCATION

ITEM

ORDER_NO

VAT_RATE

VAT_CODE

LOCAL_CURRENCY

INCOME_LOCAL_CURR

INCOME_DEAL_CURR

ACTUAL_TURNOVER_UNITS

ACTUAL_TURNOVER_REVENUE

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (6)

NUMBER (10)

VARCHAR2 (25)

NUMBER (10)

NUMBER (20, 10)

VARCHAR2 (6)

VARCHAR2 (3)

NUMBER (20, 4)

NUMBER (20, 4)

NUMBER (20, 4)

NUMBER (20, 4)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_COMPLEX_DEAL_DETAIL DOC_IDSEQ_NO

Name Column

This table holds the details of the complex deal stored in RetekInvoice Matching. It will be used during complex deal detail posting.

Description :

Table Name : IM_COMPLEX_DEAL_DETAIL

Page 64: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 40 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

LOCATION

ITEM

ORDER_NO

VAT_RATE

VAT_CODE

LOCAL_CURRENCY

INCOME_LOCAL_CURR

INCOME_DEAL_CURR

ACTUAL_TURNOVER_UNITS

ACTUAL_TURNOVER_REVENUE

This column holds the location type of the deal income.

This column holds the location corresponding to the deal income.

This column holds the item corresponding to this portion of the income.

This column holds the order_no corresponding to this portion of the income.

This column holds the vat rate for the item/location

This column will hold the VAT CODE

This column holds the locations currency.

This column holds the sum of all the income for an item/location in the localcurrency for the periods the deal is invoiced for.

This column holds the sum of all the income for an item/location in the deal�scurrency for the periods the deal is invoiced for. The exchange rate used willbe the exchange rate at the end of each individual period.

This value will be the sum of all units across for the item/loc for all theperiods that are being invoiced.

This value will be the sum of all revenue across for the item/loc for all theperiods that are being invoiced.

Column Detail

40

50

60

70

80

90

100

110

120

130

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

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

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

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

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

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

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

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

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

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

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

Page 65: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 41 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_COST_DISCREPANCY

IDIAlias :

Primary Key

COST_DISCREPANCY_ID

Column Detail

10

COST_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

CURRENCY_CODE

ROUTING_DATE

RESOLVE_BY_DATE

DOC_UNIT_COST

DOC_TOTAL_COST

DEPT

CLASS

BUSINESS_ROLE_ID

CASH_DSCNT_IND

AP_REVIEWER

DOC_TYPE

RESOLUTION_COST

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

NUMBER (10)

VARCHAR2 (1)

NUMBER (8)

NUMBER (10)

VARCHAR2 (3)

DATE

DATE

NUMBER (20, 4)

NUMBER (20, 4)

NUMBER (4)

NUMBER (4)

NUMBER (10)

VARCHAR2 (1)

VARCHAR2 (30)

VARCHAR2 (6)

NUMBER (20, 4)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

15

20

25

30

40

50

60

80

90

100

120

130

140

150

160

170

180

190

200

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_COST_DISCREPANCY COST_DISCREPANCY_ID

Name Column

Invoice document line items that contain a discrepancy as a result ofthe automatch process.

Description :

Table Name : IM_COST_DISCREPANCY

Page 66: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 42 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

BUSINESS_ROLE_ID references IM_BUSINESS_ROLES.BUSINESS_ROLE_ID

CURRENCY_CODE references IM_CURRENCIES.CURRENCY_CODE

DOC_ID references IM_DOC_HEAD.DOC_ID

DEBIT_MEMO_REASON_CODE references IM_REASON_CODES.REASON_CODE_ID

IDI_IBE_FK

IDI_ICU_FK

IDI_IDD_FK

IDI_IRE_FK

CHK_IM_COST_DISCREP_CASH_DSCNT

CHK_IM_COST_DISCREP_DEBIT_MEMO

CHK_IM_COST_DISCREP_DOC_TYPE

CHK_IM_COST_DISCREP_LOCATION

CHK_IM_COST_DISCREP_LOC_TYPE

Name

Check Constraints

Foreign Keys

Other Unique Keys

Name Column

Where Validate Clause

Column Detail

CASH_DSCNT_IND IN ('Y','N')

(DEBIT_MEMO_REASON_CODE IS NOT NULL AND DOC_TYPE= 'CRDMEC') OR (DEBIT_MEMO_REASON_CODE IS NULL AND DOC_TYPE !='CRDMEC')

(DOC_TYPE = 'MRCHI' and LOCATION != NULL and LOC_TYPE != NULL and ORDER_NO != NULL) OR(DOC_TYPE = 'CRDMEC') OR (DOC_TYPE = 'CRDNT')(LOCATION IS NULL) OR (LOCATION IS NOT NULL ANDLOC_TYPE IS NOT NULL)(LOC_TYPE in ('S','W')) OR (LOC_TYPE IS NULL) OR(LOC_TYPE IS NOT NULL AND LOCATION IS NOT NULL)

UK_IM_COST_DISCREPANCY DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

Transferable ?

Transferable ?

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Yes

Yes

Yes

No

Restricted

Restricted

Restricted

Restricted

Restricted

Restricted

Restricted

Restricted

Page 67: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 43 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CURRENCY_CODE

BUSINESS_ROLE_ID

DEBIT_MEMO_REASON_CODE

ITEM

Column

IM_COST_DISCREPANCY_I1

IM_COST_DISCREPANCY_I2

IM_COST_DISCREPANCY_I3

IM_COST_DISCREPANCY_I4

Name

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

Index Type

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

CURRENCY_CODE

This is the internally generated number to uniquely identify a costdiscrepancy.

This column holds the ReIM internal ID of the document. These IDs aregenerated by the system when new invoices are uploaded into the system ormanually created by a user. This column is mandatory not null.

Unique alphanumeric value that identifies the item.

This column will contain one of the reason code(s) associated with the debitmemo reversed to create the credit memo which is part of this discrepancy.

This field contains the location that item will be ordered to. This field maycontain a store or a warehouse.

This field contains the type of location in the location field. Valid valuesare: S - Store W - Warehouse

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

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

Column Detail

Index Summary

15

20

25

30

40

50

60

80

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

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

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

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

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

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

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

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

Seq.

10

0

30

0

Page 68: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 44 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

ROUTING_DATE

RESOLVE_BY_DATE

DOC_UNIT_COST

DOC_TOTAL_COST

DEPT

CLASS

BUSINESS_ROLE_ID

CASH_DSCNT_IND

AP_REVIEWER

DOC_TYPE

RESOLUTION_COST

Contains an alphanumeric value which uniquely identifies the type of currency.

Date a discrepancy was routed to a user group.

Date by which the discrepancy must be resolved.

This column holds the item's cost on this document. This value can be editedat any time until the docoument is matched. This field will be held in theinvoice currency.

This column holds the total cost of the document.

Department for the item that has a discrepancy.

Class for the item that has a discrepancy.

Business group responsible for resolving the discrepancy.

Indiccates if a cash discount will be applied.

This column allows the retailer to indicate which accounts payable employeewill be the default reviewer for this supplier's invoices. This column canhold the ID of any user with permissions to access Retek Invoice Matching.These users will be defined on the im_business_role_member table.

This column holds the document type associated with the DOC_ID.

Column Detail

90

100

120

130

140

150

160

170

180

190

200

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

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

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

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

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

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

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

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

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

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

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

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

Page 69: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 45 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

This column will contain the actual cost specified for this discrepancy to beresolved. When a discrepancy is created, this column will not be populated.This value will be populated and maintained any time a resolution is saved forthis discrepancy.

Column Detail

Page 70: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 46 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_COST_DISCREPANCY_CNR

ICCAlias :

COST_DISCREPANCY_ID referencesIM_COST_DISCREPANCY.COST_DISCREPANCY_ID

ICC_IDI_FK

Foreign Keys

Primary Key

COST_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

The cost discrepancy id

The credit note request id

Column Detail

10

20

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

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

COST_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_COST_DISCREPANCY_CNR COST_DISCREPANCY_IDCREDIT_NOTE_REQUEST_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will associate cost discrepancy with credit note request idDescription :

Table Name : IM_COST_DISCREPANCY_CNR

Page 71: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 47 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_COST_DISCREPANCY_CNR_HIST

ICHAlias :

Primary Key

COST_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

The cost discrepancy id

The credit note request id

Column Detail

10

20

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

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

COST_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_COST_DISCREPANCY_CNR_HIS COST_DISCREPANCY_IDCREDIT_NOTE_REQUEST_ID

Name Column

This table records the history of the association between costdiscrepancy id and credit note request id

Description :

Table Name :IM_COST_DISCREPANCY_CNR_HIST

Page 72: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 48 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_COST_DISCREPANCY_HIST

ICDAlias :

Primary Key

Column Detail

COST_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

CURRENCY_CODE

ROUTING_DATE

RESOLVE_BY_DATE

DOC_UNIT_COST

DOC_TOTAL_COST

DEPT

CLASS

BUSINESS_ROLE_ID

CASH_DSCNT_IND

AP_REVIEWER

RESOLUTION_DATE

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

NUMBER (10)

VARCHAR2 (1)

NUMBER (8)

NUMBER (10)

VARCHAR2 (3)

DATE

DATE

NUMBER (20, 4)

NUMBER (20, 4)

NUMBER (4)

NUMBER (4)

NUMBER (10)

VARCHAR2 (1)

VARCHAR2 (30)

DATE

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

5

10

20

25

30

40

50

60

80

90

100

120

130

140

150

160

170

190

200

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_COST_DISCREPANCY_HIST COST_DISCREPANCY_ID

Name Column

This table holds the history of cost discrepancies. It is written towhen discrepancies are corrected. It is not used in any additionalReIM processing, but can be used for reporting purposes. When thedocument/item associated with the discrepancy is deleted, thediscrepancy history will also be deleted.

Description :

Table Name : IM_COST_DISCREPANCY_HIST

Page 73: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 49 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DOC_ID

Column

IM_COST_DISCREPANCY_HIST_I1

Name

NOT UNIQUE

Index Type

CHK_IM_CST_DIS_HIST_CASH_DSCNT

CHK_IM_CST_DIS_HIST_LOC_LOCTYP

CHK_IM_CST_DIS_HIST_LOC_TYPE

Name

Check Constraints

COST_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

This column will hold the cost discrepancy id that this history record isarchive of.

This column holds the ReIM internal ID of the document. These IDs aregenerated by the system when new invoices are uploaded into the system ormanually created by a user. This column is mandatory not null.

Unique alphanumeric value that identifies the item.

This column will hold the debit memo reason code for a cost discrepancygenerated from debit memo reversal.

This field contains the location that item will be ordered to. This field maycontain a store or a warehouse.

This field contains the type of location in the location field. Valid valuesare: S - Store W - Warehouse

Where Validate Clause

Column Detail

Index Summary

5

10

20

25

30

40

50

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

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

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

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

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

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

Seq.

0

CASH_DSCNT_IND IN ('Y','N')

(location is null and loc_type is null) or(location is not null and loc_type is not null)

LOC_TYPE in ('S','W')

Page 74: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 50 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SUPPLIER

CURRENCY_CODE

ROUTING_DATE

RESOLVE_BY_DATE

DOC_UNIT_COST

DOC_TOTAL_COST

DEPT

CLASS

BUSINESS_ROLE_ID

CASH_DSCNT_IND

AP_REVIEWER

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

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

Contains an alphanumeric value which uniquely identifies the type of currency.

Date a discrepancy was routed to a user group.

Date by which the discrepancy must be resolved.

This column holds the item's cost on this document. This value can be editedat any time until the docoument is matched. This field will be held in theinvoice currency.

This column holds the total cost of the document.

Department for the item that has a discrepancy.

Class for the item that has a discrepancy.

Business group responsible for resolving the discrepancy.

Indiccates if a cash discount will be applied.

This column allows the retailer to indicate which accounts payable employeewill be the default reviewer for this supplier's invoices. This column canhold the ID of any user with permissions to access Retek Invoice Matching.

Column Detail

60

80

90

100

120

130

140

150

160

170

190

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

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

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

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

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

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

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

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

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

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

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

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

Page 75: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 51 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

RESOLUTION_DATE

These users will be defined on the im_business_role_member table.

This column holds the date the discrepancy was resolved.

Column Detail

200

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

Page 76: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 52 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_CURRENCIES

ICUAlias :

Primary Key

CURRENCY_CODE

CURRENCY_DESC

This column holds the ISO 4127 Alphabetic code for the currency.

This column holds the description of the currency.

Column Detail

10

20

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

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

CURRENCY_CODE

CURRENCY_DESC

Column

VARCHAR2 (3)

VARCHAR2 (120)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_CURRENCIES CURRENCY_CODE

Name Column

This table contains one row for each currency used in the system. Description :

Table Name : IM_CURRENCIES

Page 77: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 53 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Currency Locale

ICEAlias :

CURRENCY_CODE references IM_CURRENCIES.CURRENCY_CODE

ICE_ICU_FK

Foreign Keys

Primary Key

CURRENCY_CODE

COUNTRY

LANGUAGE

This column holds the ISO 4127 Alphabetic code for the currency.

This column holds the ISO 3166 2 character code for the country.

Column Detail

10

20

30

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

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

CURRENCY_CODE

COUNTRY

LANGUAGE

CURRENCY_COST_DEC

CURRENCY_RTL_DEC

Column

VARCHAR2 (3)

VARCHAR2 (3)

VARCHAR2 (6)

NUMBER (1)

NUMBER (1)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_CURRENCY_LOCALE CURRENCY_CODECOUNTRYLANGUAGE

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table holds the intersection between currencies, countries andlanguages. This table is used for formatting JAVA currency strings.This table will be populated by an install script.

Description :

Table Name : IM_CURRENCY_LOCALE

Page 78: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 54 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CURRENCY_COST_DEC

CURRENCY_RTL_DEC

This column holds the ISO 639 code for the language.

This column holds the number of decimal places valid on a cost field for thiscurrency.

This column holds the number of decimal places valid on a retail field for thiscurrency.

Column Detail

40

50

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

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

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

Page 79: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 55 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_DETAIL_MATCH_HISTORY

IDMAlias :

CHK_IM_DTL_MTCH_HIST_AUTO_MAT

CHK_IM_DTL_MTCH_HIST_EXACT_MAT

Name

Check Constraints

Primary Key

MATCH_ID

AUTO_MATCHED

EXACT_MATCH

This column will uniquely identify a match.

This column indicates whether the match was obtained automatically by thesystem or was created manually.

This column indicates whether the match was exact or not exact but withintolerance.

Where Validate Clause

Column Detail

10

20

30

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

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

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

MATCH_ID

AUTO_MATCHED

EXACT_MATCH

Column

NUMBER (10)

VARCHAR2 (1)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

AUTO_MATCHED IN ('Y','N')

EXACT_MATCH IN ('Y','N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DETAIL_MATCH_HISTORY MATCH_ID

Name Column

This table will hold the successful matches as a result of detailmatching.

Description :

Table Name : IM_DETAIL_MATCH_HISTORY

Page 80: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 56 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_DETAIL_MATCH_INVC_HISTORY

IEIAlias :

INVOICE_ID

ITEM

Column

IM_DETAIL_MATCH_INVC_HIST_I2

IM_DETAIL_MATCH_INVC_HIST_I2

Name

NOT UNIQUE

NOT UNIQUE

Index Type

MATCH_ID references IM_DETAIL_MATCH_HISTORY.MATCH_ID

INVOICE_ID references IM_INVOICE_DETAIL.DOC_IDITEM references IM_INVOICE_DETAIL.ITEM

IEI_IDM_FK

IEI_IOD_FK

Foreign Keys

Primary Key

Index Summary

MATCH_ID

INVOICE_ID

ITEM

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

10

20

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DETAIL_MATCH_INVC_HIST MATCH_IDINVOICE_IDITEM

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table will hold the invoice lines that are successfully matchedduring a detail match.

Description :

Table Name :IM_DETAIL_MATCH_INVC_HISTORY

Page 81: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 57 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

MATCH_ID

INVOICE_ID

ITEM

This column will reference a unique successful detail match that the invoiceline is part of.

This column contains the invoice id that the matched invoice line is part of.

This column will hold the item number for the invoice line that is successfullymatched.

Column Detail

10

20

30

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

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

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

Page 82: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 58 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_DETAIL_MATCH_RCPT_HISTORY

IDRAlias :

MATCH_ID references IM_DETAIL_MATCH_HISTORY.MATCH_ID

IDR_IDM_FK

Foreign Keys

Primary Key

MATCH_ID

RECEIPT_ID

ITEM

This column will reference a unique detail match that this receipt line is partof.

This column will hold the receipt id that the matched receipt line is part of.

This column will hold the item number for the matched receipt line.

Column Detail

10

20

30

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

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

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

MATCH_ID

RECEIPT_ID

ITEM

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DETAIL_MATCH_RCPT_HIST MATCH_IDRECEIPT_IDITEM

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will hold the receipt lines that are successfully matchedduring detail match.

Description :

Table Name :IM_DETAIL_MATCH_RCPT_HISTORY

Page 83: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 59 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_DISCREPANCY_RECEIPTS_TEMP

Alias :

RECEIPT_ID

ITEM

Column Detail

10

20

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

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

RECEIPT_ID

ITEM

Column

NUMBER (10)

VARCHAR2 (25)

Type

NULL

NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Temporary table used for performanceDescription :

Table Name :IM_DISCREPANCY_RECEIPTS_TEMP

Page 84: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 60 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_DOC_DETAIL_COMMENTS

IDOAlias :

Primary Key

COMMENT_ID

COMMENT_TYPE

TEXT

This column holds the unique id of each comment in the system. Comment IDswill be generated using the IM_COMMENTS_SEQ sequence.

This column holds the type that determines whether the comment is "External" or"Internal". Valid values are "E" or "I".

Column Detail

10

20

30

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

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

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

COMMENT_ID

COMMENT_TYPE

TEXT

CREATE_ID

CREATE_DATETIME

DOC_ID

ITEM

DISCREPANCY_TYPE

REASON_CODE_ID

DEBIT_REASON_CODE

Column

NUMBER (10)

VARCHAR2 (6)

VARCHAR2 (2000)

VARCHAR2 (30)

DATE

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (6)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

90

100

110

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DOC_DETAIL_COMMENTS COMMENT_ID

Name Column

This table will hold comments associated with document detail lines.Every time a user adds or changes comments, a new record will becreated so that there is full visability to the comments associatedwith an item on the document.

Description :

Table Name : IM_DOC_DETAIL_COMMENTS

Page 85: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 61 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DOC_ID

REASON_CODE_ID

DEBIT_REASON_CODE

Column

IM_DOC_DETAIL_COMMENTS_I1

IM_DOC_DETAIL_COMMENTS_I2

IM_DOC_DETAIL_COMMENTS_I3

Name

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

Index Type

DOC_ID references IM_DOC_HEAD.DOC_ID

REASON_CODE_ID references IM_REASON_CODES.REASON_CODE_ID

DEBIT_REASON_CODE references IM_REASON_CODES.REASON_CODE_ID

IDO_IDD_FK

IDO_IRE_FK

IDO_IRE_FK2

CHK_IM_DOC_DTL_COM_COMMENT_TYP

CHK_IM_DOC_DTL_COM_DISCREPANCY

Name

Check Constraints

Foreign Keys

CREATE_ID

CREATE_DATETIME

DOC_ID

This column holds user entered comment text.

This column holds id of the user-id that created this comment.

This column holds the date and time that the comment. A unique constraint isneeded for the combination of doc_id, item and create_datetime.

Where Validate Clause

Column Detail

Index Summary

40

50

60

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

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

Seq.

10

30

30

comment_type in ('E','I')

DISCREPANCY_TYPE IN ('COST', 'QTY', 'VAT')

Transferable ?

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Yes

No

Restricted

Restricted

Restricted

Restricted

Restricted

Restricted

Page 86: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 62 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

ITEM

DISCREPANCY_TYPE

REASON_CODE_ID

DEBIT_REASON_CODE

This column holds the unique id of the document. This is part of the foreignkey from the im_doc_detail table. A unique constraint is needed for thecombination of doc_id, item and create_datetime.

This column holds the unique id of the item. This is part of the foreign keyfrom the im_doc_detail table. A unique constraint is needed for thecombination of doc_id, item and create_datetime.

The discrepancy type column will be populated when comments are associated witha discrepancy resolution for the item on the document. The column willcorrespond to a variance resolution for either a cost or quantity discrepancy.

Valid values for this column are:'COST' Cost'QTY' Quantity

The reason code ID column will be populated when comments are associated with adiscrepancy resolution for the item on the document. The reason code willcorrespond to a variance resolution for either a cost or quantity discrepancy.The reason code must exist on the IM_REASON_CODES table

This Column is used to check discrepancy comments from Cost Review Detailsscreen for Debit Memo documents.

Column Detail

70

90

100

110

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

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

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

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

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

Page 87: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 63 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_DOC_DETAIL_REASON_CODES

DRCAlias :

Other Unique Keys

Name Column

Primary Key

IM_DOC_DETAIL_REASON_CODES_ID

Column Detail

10

IM_DOC_DETAIL_REASON_CODES_ID

DOC_ID

ITEM

REASON_CODE_ID

STATUS

COST_MATCHED

QTY_MATCHED

ADJUSTED_UNIT_COST

ADJUSTED_QTY

VAT_CODE

VAT_RATE

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

VAT_MATCHED

Column

NUMBER (20)

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (1)

VARCHAR2 (1)

NUMBER (20, 4)

NUMBER (12, 4)

VARCHAR2 (6)

NUMBER (20, 10)

VARCHAR2 (30)

DATE

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

15

20

40

45

52

56

60

70

75

77

80

90

100

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DOC_DETAIL_REASON_CODES IM_DOC_DETAIL_REASON_CODES_ID

UK_IM_DOC_DETAIL_REASON_CODES DOC_ID

ITEM

REASON_CODE_ID

Name Column

Contains quantity/unit cost adjustments for a givenDocument/Item/Reason Code.

Description :

Table Name : IM_DOC_DETAIL_REASON_CODES

Page 88: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 64 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

REASON_CODE_ID

Column

IM_DOC_DETAIL_REASON_CODES_I1

Name

NOT UNIQUE

Index Type

DOC_ID references IM_DOC_HEAD.DOC_ID

REASON_CODE_ID references IM_REASON_CODES.REASON_CODE_ID

DRC_IDD_FK

DRC_IRE_FK

CHK_IM_DOC_DET_REAS_CODE_C_MCH

CHK_IM_DOC_DET_REAS_CODE_Q_MCH

CHK_IM_DOC_DET_REAS_CODE_STATU

CHK_IM_DOC_DET_REAS_CODE_VAT_M

Name

Check Constraints

Foreign Keys

DOC_ID

ITEM

REASON_CODE_ID

This colulm is used to create a primary key for records on theim_doc_detail_reason_codes table. Numbers to populate this field are generatedusing the sequence IM_DOC_DETAIL_REASON_CODES_SEQ.

This column holds the document to which this detail record belongs.

This column holds the transaction level item that is on the document.Transaction level item means that the item is managed at this level in themerchandising system. For RMS 9, this could be either a pack, fashion sku orstaple sku, but this could not be a fashion style. For RMS 10, this must be atransaction level.

Where Validate Clause

Column Detail

Index Summary

15

20

40

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

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

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

Seq.

30

COST_MATCHED in ('Y','N')

QTY_MATCHED in ('Y','N')

STATUS in ('DISPUT', 'APPRVE', 'DENY')

VAT_MATCHED in (NULL, 'N', 'Y')

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Page 89: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 65 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

STATUS

COST_MATCHED

QTY_MATCHED

ADJUSTED_UNIT_COST

ADJUSTED_QTY

VAT_CODE

VAT_RATE

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

VAT_MATCHED

This column holds the user defined reason code ID. A reason code is mapped todifferent GL accounts. This is a foreign key from IM_REASON_CODES table.

This column indicates if the disputed credit memo line is approved or denied.Valid values are: 'DISPUT' - Disputed; 'APPRVE' - Approved; 'DENY' - Denied.

The indicator of whether cost is matched

The indicator of whether quantity is matched

The adjusted unit cost for the associated invoice line item after theresolution action is taken.

This column contains the adjusted invoice quantity for the associated invoiceline item after the resolution action is taken.

The VAT code

The VAT rate

This column holds the ID of the last user to modify this record. If thedocument has only been uploaded via EDI, this column will be defaulted to 'EDIUpload'.

This column holds the date and time of the last modification to thedocument/item/reason code.

Indicates whether vat is matched

Column Detail

45

52

56

60

70

75

77

80

90

100

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

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

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

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

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

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

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

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

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

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

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

Page 90: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 66 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Doc Group List

IDTAlias :

CURRENCY_CODE references IM_CURRENCIES.CURRENCY_CODE

IDT_ICU_FK

Foreign Keys

Primary Key

GROUP_ID

Column Detail

10

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

GROUP_ID

CREATE_DATE

CREATE_ID

STATUS

CONTROL_REC_COUNT

CONTROL_TOTAL_COST

CURRENCY_CODE

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

Column

NUMBER (10)

DATE

VARCHAR2 (30)

VARCHAR2 (6)

NUMBER (4)

NUMBER (20, 4)

VARCHAR2 (3)

VARCHAR2 (30)

DATE

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DOC_GROUP_LIST GROUP_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table holds groupings of documents. Group (or batch) entry ofinvoices refers to the manually keying of multiple invoices at asingle time. Collectively the multiple invoices are referred to as agroup (or batch). A unique ID will be assigned to each group enteredso as to distinguish it from other groups. A group may consist ofmultiple document types (i.e. Merchandise Invoice, Non-MerchandiseInvoice, Debit Memo, Credit Memo, or Credit Note Request). Thedocuments within a group must all have the same currency.

Description :

Table Name : IM_DOC_GROUP_LIST

Page 91: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 67 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CURRENCY_CODE

Column

IM_DOC_GROUP_LIST_I1

Name

NOT UNIQUE

Index Type

CHK_IM_DOC_GROUP_LIST_STATUS

Name

Check Constraints

CREATE_DATE

CREATE_ID

STATUS

This column holds the ID of the document group. These IDs are generated by theuser interface for new groups using the sequence IM_DOC_GROUP_ID_SEQUENCE.This column is mandatory not null.

This column holds the ID of the document group. These IDs are generated by theuser interface for new groups using the sequence IM_DOC_GROUP_ID_SEQUENCE.This column is mandatory not null.

This column holds the ID of the user that created the group. In theapplication, users will be able to sort and filter document groups (batches) bythe create id. This field is mandatory not null.

This column holds the status of the document group (batch). Valid values forthis column are: NEW - Document groups with the status 'NEW' have been created, but do notcontain any documents yet. WKSHT - Document groups with the status 'WKSHT' are in the process of beingentered. The status of all documents in these groups will be in 'WGRP' on the IM_DOC_HEAD table. Documents n groups that are in'WKSHT' status will not be individually accessable - to get to documents inunapproved document groups, the user must go through the document group dialog. SUBMIT - Document groups with the status 'SUBMIT' have been submitted, but notyet approved. The status of all documents in these groups will be in 'WGRP' onthe IM_DOC_HEAD table. Documents in groups that are in 'SUBMIT' status willnot be individually accessable - to get to documents in unapproved documentgroups, the user must go through the document group dialog. APPR - Document groups with the status 'APPRVE' have been approved. Thesestatus of all documents in these groups will be set to 'RMTCH' - 'ready to

Where Validate Clause

Column Detail

Index Summary

20

30

40

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

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

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

Seq.

10

STATUS in('NEW','WKSHT','SUBMIT','APPR','DELETE')

Page 92: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 68 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CONTROL_REC_COUNT

CONTROL_TOTAL_COST

CURRENCY_CODE

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

match' - by the document group approval process. Approved document groups willnot be accessable in the system and will be purged regularly. Documents ingroups that are in 'APPRVE' status will only be individually accessable - toget to documents in approved document groups, the user must go through theindividual document dialog. Deleted (DELETE) Documents groups in deleted status have been deleted by front end users. Thesedocuments groups (and their supporting documents and document details) will beremoved from the database by a batch purge process.

This column holds the user-entered number of documents in the document group(batch). This user-entered total is used in validation to ensure that allpaper documents the user was supposed to enter (the ENTERED_REC_COUNT) is thesame as the number of records the user actually enters (a count of thedocuments within the document group from the IM_DOC_HEAD table). If the userdoes not manually enter a value, this validation will not occur. In theapplication, this value will also be used to calculate the variance betweenthis user entered record count and the system calculated record count. Thiscolumn is nullable.

This column holds the user-entered sum of the costs of the documents in thedocument group (batch). This user-entered total is used in validation toensure that all paper documents the user was supposed to enter (theENTERED_TOTAL) is the same as the total cost of the records actually entered (asum of the TOTAL_COST of the documents within the document group from theIM_DOC_HEAD table). If the user does not manually enter a value, thisvalidation will not occur. In the application, this value will also be used tocalculate the variance between this user entered cost total and the systemcalculated cost total. This column is nullable.

This column holds the currency for all documents in the group (batch). Thisfield is mandatory not null.

This column holds the ID of the user that last updated this document group(batch). This field is mandatory not null.

This column holds the date and time of the last update to this document group(batch). This field is mandatory not null.

Column Detail

50

60

70

80

90

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

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

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

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

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

Page 93: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 69 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Doc Group List Lock

IDKAlias :

LOCK_CREATE_ID

Column

IM_DOC_GROUP_LIST_LOCK_I1

Name

NOT UNIQUE

Index Type

GROUP_ID references IM_DOC_GROUP_LIST.GROUP_ID

IDK_IDT_FK

Foreign Keys

Primary Key

Index Summary

GROUP_ID

LOCK_DATETIME

LOCK_CREATE_ID

Column

NUMBER (10)

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DOC_GROUP_LIST_LOCK GROUP_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table holds documents groups that are currently locked. When auser edits a document group using the application, a record is writtento this table. When the application lists document, it will join tothis table and display whether the document group is currently locked. If another user tries to edit a locked document group, he will beinformed that the document group is locked and therefore not availablefor editing. When the user that has the document group locked hascompleted his edits, the lock record will be deleted from this table. Because document groups in worksheet and submitted status are the onlyaccess path to their member documents, locking a worksheet orsubmitted document group essentially locks the member documents.Approved document groups will never be locked because they areinaccessible from the application.

Description :

Table Name : IM_DOC_GROUP_LIST_LOCK

Page 94: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 70 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

GROUP_ID

LOCK_DATETIME

LOCK_CREATE_ID

This column holds the ID of the locked document.

This column holds the date and time that the lock on the document group wascreated.

This column holds the ID of the user that has locked the document group.

Column Detail

10

20

30

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

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

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

Page 95: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 71 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Doc Head

IDDAlias :

DOC_ID

TYPE

STATUS

ORDER_NO

LOCATION

LOC_TYPE

TOTAL_DISCOUNT

GROUP_ID

PARENT_ID

DOC_DATE

CREATE_DATE

CREATE_ID

VENDOR_TYPE

VENDOR

EXT_DOC_ID

EDI_UPLOAD_IND

EDI_DOWNLOAD_IND

TERMS

TERMS_DSCNT_PCT

DUE_DATE

PAYMENT_METHOD

MATCH_ID

MATCH_DATE

APPROVAL_ID

Column

NUMBER (10)

VARCHAR2 (6)

VARCHAR2 (10)

NUMBER (10)

NUMBER (10)

VARCHAR2 (1)

NUMBER (12, 4)

NUMBER (10)

NUMBER (10)

DATE

DATE

VARCHAR2 (30)

VARCHAR2 (6)

VARCHAR2 (10)

VARCHAR2 (150)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (15)

NUMBER (12, 4)

DATE

VARCHAR2 (6)

VARCHAR2 (30)

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

35

37

38

40

50

55

60

70

80

90

100

110

120

130

140

150

170

180

190

200

210

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table holds general information for documents of all types.Documents include merchandise invoices, non-merchandise invoices,consignment invoices, credit notes, credit note requests, credit memosand debit memos. Documents remain on this table for SYSTEM_OPTIONS.DOC_HISTORY_MONTHSafter they are posted to the ledger.

Description :

Table Name : IM_DOC_HEAD

Page 96: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 72 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Primary Key

APPROVAL_DATE

PRE_PAID_IND

PRE_PAID_ID

POST_DATE

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

MANUALLY_PAID_IND

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

LAST_UPDATE_ID

LAST_DATETIME

FREIGHT_TYPE

REF_DOC

REF_AUTH_NO

COST_PRE_MATCH

DETAIL_MATCHED

BEST_TERMS

BEST_TERMS_SOURCE

BEST_TERMS_DATE

BEST_TERMS_DATE_SOURCE

VARIANCE_WITHIN_TOLERANCE

RESOLUTION_ADJUSTED_TOTAL_COST

RESOLUTION_ADJUSTED_TOTAL_QTY

CONSIGNMENT_IND

DEAL_ID

RTV_IND

DISCOUNT_DATE

DEAL_TYPE

TOTAL_COST_INC_VAT

VAT_DISC_CREATE_DATE

Column

DATE

VARCHAR2 (1)

VARCHAR2 (30)

DATE

VARCHAR2 (3)

NUMBER (20, 10)

NUMBER (20, 4)

NUMBER (12, 4)

VARCHAR2 (1)

VARCHAR2 (90)

VARCHAR2 (90)

VARCHAR2 (90)

VARCHAR2 (90)

VARCHAR2 (30)

DATE

VARCHAR2 (6)

NUMBER (10)

NUMBER (10)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (15)

VARCHAR2 (6)

DATE

VARCHAR2 (6)

NUMBER (20, 4)

NUMBER (20, 4)

NUMBER (12, 4)

VARCHAR2 (1)

NUMBER (10)

VARCHAR2 (1)

DATE

VARCHAR2 (1)

NUMBER (20, 4)

DATE

Type

NULL

NOT NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NULL

NULL

NOT NULL

NULL

Nulls ?Col.Seq.

220

230

240

250

260

270

280

290

310

340

350

360

370

380

390

400

420

440

450

455

460

470

480

490

500

510

520

530

540

550

560

570

580

590

PK_IM_DOC_HEAD DOC_ID

Name Column

Page 97: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 73 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CURRENCY_CODE references IM_CURRENCIES.CURRENCY_CODE

REF_DOC references IM_DOC_HEAD.DOC_ID

GROUP_ID references IM_DOC_GROUP_LIST.GROUP_ID

PARENT_ID references IM_PARENT_INVOICE.PARENT_ID

IDD_ICU_FK

IDD_IDD_FK

IDD_IDT_FK

IDD_IPI_FK

Foreign Keys

DOC_ID

TYPE

This column holds the ReIM internal ID of the document. These IDs aregenerated by the system when new invoices are uploaded into the system ormanually created by a user. The IM_DOC_ID_SEQUENCE is used to generate theseunique IDs. This column is generally not displayed to the user, but is usedinternally by the application to provide a unique ID. This column is mandatorynot null.

This column holds the document type. The document type determines how thedocument will be processed by the system. This column is mandatory not null. Merchandise Invoice (MRCHI): Merchandise invoices are for merchandise from a supplier. Merchandise invoicesare generally matched to receipts or advanced shipment notices. Merchandiseinvoices require that the vendor be a supplier (and not a partner). If thevendor issueing the merchandise invoice is defined as being allowed to mixmerchandise and non-merchandise costs on an invoice, (IM_SUPPLIER_OPTIONS.MIX_MERCH_NON_MERCH_IND = 'Y') a merchandise invoice may also include non-merchandise costs. Non-merchandise costs will be associated with a non-merchandise code and written to the IM_DOC_NON_MERCH_CODES table for themerchandise invoice document. Non-Merchandise Invoices (NMRCHI): Non-merchandise invoices are sent to retailers by supplier or partner for costssuch as taxes, freight, or services performed by the vendor for a store. Thistype of invoice can not include merchandise. Non-merchandise costs will be

Column Detail

10

20

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

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

Transferable ?

Transferable ?

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Yes

No

No

No

Restricted

Restricted

Restricted

Restricted

Restricted

Restricted

Restricted

Restricted

Page 98: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 74 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CHK_IM_DOC_HEAD_BEST_TERMS_D_S

CHK_IM_DOC_HEAD_BEST_TERMS_SRC

CHK_IM_DOC_HEAD_CONS_IND

CHK_IM_DOC_HEAD_COST_PRE_MATCH

CHK_IM_DOC_HEAD_DEAL_TYPE

CHK_IM_DOC_HEAD_DETAIL_MATCHED

CHK_IM_DOC_HEAD_EDI_DWNLD_IND

CHK_IM_DOC_HEAD_EDI_UPLOAD_IND

CHK_IM_DOC_HEAD_LOC_TYPE

CHK_IM_DOC_HEAD_MANUALLY_PAID

CHK_IM_DOC_HEAD_MAN_PRE_PAID_I

CHK_IM_DOC_HEAD_PRE_PAID_IND

CHK_IM_DOC_HEAD_RTV_IND

CHK_IM_DOC_HEAD_STATUS

CHK_IM_DOC_HEAD_TYPE

CHK_IM_DOC_HEAD_VENDOR_TYPE

Name

Check Constraints

associated with a non-merchandise code and written to theIM_DOC_NON_MERCH_CODES table for the merchandise invoice document. Non-merchandise invoices can be entered through the ReIM user interface, uploadedwith other invoices or automatically interfaced from Retek's Sales Audit (ReSA)or Trade Management (RTM) prodcucts).

Where Validate Clause

Column Detail

(BEST_TERMS_DATE IS NULL) or (BEST_TERMS_DATE ISNOT NULL AND BEST_TERMS_DATE_SOURCE IN ('ROG','DOC'))BEST_TERMS_SOURCE IN ('ORDER', 'DOC')

CONSIGNMENT_IND in ('Y','N')

COST_PRE_MATCH in ('Y','N')

(DEAL_TYPE is NULL) or (DEAL_TYPE is NOT NULL and DEAL_TYPE in('F','C','N'))

DETAIL_MATCHED in ('Y','N')

EDI_DOWNLOAD_IND in ('Y','N')

EDI_UPLOAD_IND in ('Y','N')

(LOCATION is NULL and LOC_TYPE is NULL) or (LOCATION is NOT NULL and LOC_TYPE in ('S','W'))MANUALLY_PAID_IND in ('Y','N')

((manually_paid_ind = 'Y' and pre_paid_ind = 'N') or (pre_paid_ind = 'Y' and manually_paid_ind = 'N')) or(manually_paid_ind = 'N' and pre_paid_ind='N')PRE_PAID_IND in ('Y','N')

RTV_IND in ('Y','N')

STATUS in ('WGRP', 'RMTCH', 'URMTCH', 'MTCH','APPRVE','POSTED','DELETE','MURMTH','VOID','DISPUT','CONVT','SUBMIT','VATDIS')TYPE in ('NMRCHI', 'CRDNT', 'CRDNRC', 'CRDNRQ','DEBMEC', 'DEBMEQ', 'CRDMEC', 'CRDMEQ', 'DEBMEV', 'CRDNRV') or (TYPE = 'MRCHI' and ORDER_NO IS NOT NULL AND LOCATION IS NOT NULL AND LOC_TYPE IS NOTNULL)VENDOR_TYPE in ('BK', 'AG', 'FF', 'IM', 'BR','FA', 'AP', 'CO', 'CN', 'S1', 'S2','S3','EV','IA','ES','EC', 'SUPP','S')

Page 99: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 75 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

VENDOR

VENDOR_TYPE

STATUS

EXT_DOC_ID

STATUS

TYPE

TYPE

ORDER_NO

LOCATION

PARENT_ID

REF_DOC

GROUP_ID

CURRENCY_CODE

POST_DATE

Column

IM_DOC_HEAD_I1

IM_DOC_HEAD_I1

IM_DOC_HEAD_I10

IM_DOC_HEAD_I11

IM_DOC_HEAD_I12

IM_DOC_HEAD_I12

IM_DOC_HEAD_I2

IM_DOC_HEAD_I3

IM_DOC_HEAD_I3

IM_DOC_HEAD_I4

IM_DOC_HEAD_I5

IM_DOC_HEAD_I6

IM_DOC_HEAD_I7

IM_DOC_HEAD_I8

Name

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

Index Type

Credit Note (CRDNT): A response from the supplier indicating their intent to oblige by the termsoutlined in a credit note request. Once the credit note is received, theinvoice can be submitted for payment (minus the credit note amt). Credit Note Request - Cost (CRDNRC): This is a document that is sent from the retailer to the supplier in responseto a cost issue, just like a debit memo. However, it is more restrictive inthat the credit note request is not a legal entity in itself. Before theretailer can submit the invoice for payment (minus the credit note requestamt), a credit note must be received from the supplier, indicating that thesupplier will honor the credit note request. Credit Note Request - Quantity (CRDNRQ): This is a document that is sent from the retailer to the supplier in responseto a quantity issue, just like a debit memo. However, it is more restrictivein that the credit note request is not a legal entity in itself. Before theretailer can submit the invoice for payment (minus the credit note requestamt), a credit note must be received from the supplier, indicating that thesupplier will honor the credit note request. Debit Memo - Cost (DEBMEC): This is a document that is sent from the retailer to the supplier in responseto a cost issue, telling the supplier that the supplier owes $xx.xx. This isused in the case that the retailer and supplier have a fairly goodrelationship, and the retailer will submit the invoice for payment (minus the

Column Detail

Index Summary

Seq.

0

2

0

0

0

2

0

0

2

0

0

0

10

0

Page 100: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 76 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

STATUS

debit memo amt) as soon as the debit memo is sent, assuming the supplier willhonor it. Debit memos are sometimes also known as Chargebacks. Debit Memo - Quantity (DEBMEQ): This is a document that is sent from the retailer to the supplier in responseto a quantity issue, telling the supplier that the supplier owes $xx.xx. Thisis used in the case that the retailer and supplier have a fairly goodrelationship, and the retailer will submit the invoice for payment (minus thedebit memo amt) as soon as the debit memo is sent, assuming the supplier willhonor it. Debit memos are sometimes also known as Chargebacks. Credit Memo - Cost (CRDMEC): This is the same as a negative debit memo cost. It behaves just like a debitmemo, but means that the retailer owes the supplier money because of a costissue. Credit Memos are sometimes also known as Paybacks. Credit Memo - Quantity (CRDMEQ): This is the same as a negative debit memo quantity. It behaves just like adebit memo, but means that the retailer owes the supplier money because of aquantity issue. Credit Memos are sometimes also known as Paybacks.

Status describes the position of the document within the matching process andpayment processes. This column is mandatory not null. The valid values are: Worksheet Group (WGRP): Documents in worksheet group status are members of document groups that are notapproved. Documents in worksheet group status can not be accessed individuallyand must be accessed through their group. Ready for Match (RMTCH): Documents in ready for match status have not been matched to a receipt(s) basedon common supplier/PO/location. Unmatched(UNMTCH) Unresolved Match (URMTCH): Documents in unresolved match status have been matched to a receipt(s) based oncommon supplier/PO/location, but the summary cost and/or summary quantitycannot be matched within defined vendor tolerance(s). Matched (MTCH): Documents in unresolved match status have been matched to a receipt(s) based oncommon supplier/PO/location and the summary cost and summary quantity variancesfall within defined supplier tolerance(s). Deleted (DELETE) Documents in deleted status have been deleted by front end users. Thesedocuments (and their supporting details) will be removed from the database by abatch purge process. Approved (APPRVE) Documents in approved status are not considered by the automatch process.These documents (for example, non-merchandise invoices, etc) are marked asapproved so that they are picked up for payment.

Column Detail

30

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

Page 101: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 77 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

ORDER_NO

LOCATION

LOC_TYPE

TOTAL_DISCOUNT

GROUP_ID

PARENT_ID

DOC_DATE

Posted (POSTED) Documents in posted status have been paid by being exported to the financialssystem. Multi-Unresolved (MURMTH) Disputed (DISPUT). Credit memos are created in disputed status when debit memos are reversed.

The order number that the invoice is for.

The location number that the invoice is for.

This column holds the type of the location associated with the document. Thiscolumn is optional, but loc_type cannot have a value if location is NULL.Valid values are S for store and W for warehouse.

This column holds the total of all discounts that have been applied to thedocument. This column is always stored in the currency of the invoice. Thiscolumn is optional.

This column holds document group ids. If the invoice was manually enteredthrough the document group (batch list) entry screens, it will belong to adocument group. Document groups are therefore optional. Document groupinformation is stored on the IM_DOC_GROUP_LIST table. There is no foreign keyto the IM_DOC_GROUP_LIST table because document groups are only a data entryconvenience and are therefore purged more regularly than documents themselves.

This column will hold the parent document id for multi-loc invoices that havebeen split from parent invoices to child invoices. If this column is not null,the document is the result of a parent to child split. If the column is null,the document is independent and not related to any parent invoices.

This column holds the document date. The document date is the date thedocument was created. When documents are created by an outside party, theDOC_DATE can be different from the CREATE_DATE (i.e. the DOC_DATE on amerchandise invoice from a supplier will be the date the supplier generates theinvoice - the CREATE_DATE for this record will be the date the invoice was

Column Detail

35

37

38

40

50

55

60

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

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

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

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

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

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

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

Page 102: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 78 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CREATE_DATE

CREATE_ID

VENDOR_TYPE

VENDOR

EXT_DOC_ID

entered into ReIM). This column is mandatory not null.

This column holds the date the document was uploaded/manually entered intoReIM. This column is mandatory not null.

This column holds the id of the user that entered the document record. If thedocument was uploaded via EDI, this column will be defaulted to 'EDI Upload'.This column is mandatory not null.

This column holds type of vendor the document is associated with. Valid valuesare: BK - Bank AG - Agent FF- Freight Forwarder IM - Importer BR - Broker FA - Factory AP - Applicant CO - Consolidator CN - Consignee S1 - Merchandising System Supplier hierarchy level 1 S2 - Merchandising System Supplier hierarchy level 2 S3 - Merchandising System hierarchy level 3 SUPP - Supplier This column is mandatory not null.

This column holds the id of the vendor associated with the document. This IDcan be either a valid supplier or valid vendor in the merchandising system.This column is mandatory not null.

This column holds the id for the document that is used in communication with the vendor. This is the document id that will generally be displayed to the end user. EXT_DOC_ID must be unique by vendor (meaning that each vendor can have a document with the ID '1', but each vendor can have only one document with the ID '1'). If the vendor created the document (i.e. merchandise invoice, etc), this field will hold the vendor's id for the document. If the retailer created the document in response to a client document (i.e. credit note request, etc), the EXT_DOC_ID will be the original EXT_DOC_ID prefixed or suffixed with the appropriate values from the IM_SYSTEM_OPTIONS table (CREDIT_NOTE_REQ_PREFIX_COST, DEBIT_MEM)_PREFIX_QTY , CREDIT_MEMO_SUFFIX_DP). For example, if this document is a credit memo is in response to a quantity mismatch on a merchandise invoice with the EXT_DOC_ID '3456', this column will

Column Detail

70

80

90

100

110

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

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

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

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

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

Page 103: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 79 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

EDI_UPLOAD_IND

EDI_DOWNLOAD_IND

TERMS

TERMS_DSCNT_PCT

DUE_DATE

hold the IM_SYSTEM_OPTIONS. CREDIT_MEMO_PREFIX_QTY concatenated with '3456'. When EXT_DOC_ID data is entered on a screen or uploaded via EDI it will be limited to 27 characters so that a suffix or prefix could be added if needed. Also, if this document were created as a result of a splitting a parentinvoice, then the EXT_DOC_ID will be the EXT_DOC_ID of the parent with the location number appended to the end. Therefore, the screen should still limit to 27 characters, however the database will allow up to 45 in order to account for the possibility of the location number being appended to the end. This column is mandatory not null.

This column indicates whether the document was entered into the system via EDIupload (EDI 810). If the document was uploaded via EDI, this column will bedefaulted to 'Y' - yes. If the document manually entered by a user, thiscolumn will be defaulted to 'N' - no. This column is mandatory not null.

This column indicates whether the document has been downloaded to a vendor (EDI812). Only response documents (i.e. documents created in response to amerchandise or non - merchandise invoice like a credit note request) will bedownloaded. Documents will be downloaded in the next batch download run afterthey are approved. When documents are created, this column will be defaultedto 'N' - no. When documents are actually downloaded, this column will be setto 'Y'. This column is mandatory not null.

This column holds the terms associated with the document. If the document isbeing manually entered and the document type is MRCHI - merchandise invoice -this column will be defaulted to the terms associated with the Purchase Order.If the document is being manually entered and the document type is not MRCHI -the document is not a merchandise invoice, the terms will be defaulted to thedefault terms associated with the vendor in the merchandise system. Thiscolumn is mandatory not null.

This column holds the discount percentage associated with the term for thedocument. This information will be defaulted to the discount percentage forthe term definition. This information will be defined in the Merchandisingsystem. This column is mandatory not null.

This column holds the due date associated with the document. For retailercreated documents (i.e. merchandise invoice, non-merchandise invoice), thiscolumn holds the due date specified by the vendor. For documents created bythe retailer, the DUE_DATE will hold the date that corresponds to theIM_DOC_HEAD.CREATE_DATE plus the number of Due Days associated with the term.This column is mandatory not null.

Column Detail

120

130

140

150

170

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

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

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

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

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

Page 104: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 80 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

PAYMENT_METHOD

MATCH_ID

MATCH_DATE

APPROVAL_ID

APPROVAL_DATE

PRE_PAID_IND

PRE_PAID_ID

POST_DATE

CURRENCY_CODE

This column holds the payment method associated with the document. Forretailer created documents, the payment method will default to vendor's defaultpayment method. If no payment method has been defined for the vendor, thiscolumn will be null. This column is optional.

This column holds the id of the user that matched the document. For documentsmatched by the automatch process, this column will be defaulted to 'AUTOMATCH'. For documents that are manually matched, this column will hold the user's id.This column is optional.

This column holds the date that the document was matched. This column will bedefaulted by both the manual and automatch processes. This column is optional.

This column holds the id of the user that approved the document. This columnis optional.

This column holds the date that the document was approved. This column isoptional.

The column will indicate whether the invoice was paid prior to matching. Validvalues are 'Y' yes and 'N' no.

The column will hold the id of the user that paid the invoice. The field willbe populated when a user pre-pays an invoice before matching has occurred.

This column holds the date the document was posted to the general ledger. Thiscolumn is optional and will be populated by the application by the process thatposts to the GL. This column is optional, but will be required by theapplication when the document is posted.

This column holds the currency code associated with the document. When thedocument is uploaded via EDI, this currency will be specified. When thedocument is created via the single document entry screen, the user can choose adocument. When the document is created via the document group screen, thecurrency for the document will be defaulted from the currency for the document

Column Detail

180

190

200

210

220

230

240

250

260

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

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

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

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

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

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

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

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

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

Page 105: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 81 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

MANUALLY_PAID_IND

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

LAST_UPDATE_ID

LAST_DATETIME

group. This column is mandatory not null.

This column holds the exchange rate for the currency code.

This column holds the total cost of the document. This column is mandatory notnull.

This column holds the total quantity of the document. This column is mandatorynot null.

The column will indicate whether the invoice has been manually paid. Validvalues are: 'Y' yes and 'N' no

This column holds any custom information that the retailer would like to holdat a document level. This column is optional.

This column holds any custom information that the retailer would like to holdat a document level. This column is optional.

This column holds any custom information that the retailer would like to holdat a document level. This column is optional.

This column holds any custom information that the retailer would like to holdat a document level. This column is optional.

This column holds the ID of the last user to modify this record. If thedocument has only been uploaded via EDI, this column will be defaulted to 'EDIUpload'. This column is mandatory not null.

This column holds the date and time of the last modification to the document.This column is mandatory not null.

Column Detail

270

280

290

310

340

350

360

370

380

390

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

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

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

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

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

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

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

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

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

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

Page 106: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 82 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

FREIGHT_TYPE

REF_DOC

REF_AUTH_NO

COST_PRE_MATCH

DETAIL_MATCHED

BEST_TERMS

BEST_TERMS_SOURCE

BEST_TERMS_DATE

BEST_TERMS_DATE_SOURCE

This column holds the freight method associated with the document. This columnis optional.

This column holds the id of any reference document that this credit note,credit note request or credit memo applies to.

This column holds the authorization number for the reference rtvs.

This column idicates whether the document has been cost pre-matched. Validvalues are Y and N. Documents with Y have been cost pre-matched (i.e. costmatched to a PO before the receipt is received). Documents with N have notbeen cost pre-matched.

This indicates if the invoice has been detail matched before by auto-match.

This column holds the term determined to be 'best' by the best termscalculation. The best terms calculation runs after an invoice has beenmatched. The best term is determined by comparing the order and invoice term.The term that has the highest ranking (as defined on the IM_TERMS_RANKINGtable) is determined to be the 'best' term.

This column holds the source of the best terms. When the best termscalculation is performed, the ranking of order and document terms (on theIM_TERMS_RANKING table) are compared. The term with the higher ranking is the'best term'. If the order term is the best term, the BEST_TERMS_SOURCE will be'ORDER'. If the document term is the best term, the BEST_TERMS_SOURCE will be'DOC'.

This column holds the date associated with the best term chosen. This date isthe date by which the Invoice has to be settled based on the best term.

This column holds the source of the best terms date. If the best terms date isbased on the invoice date, this column will contain the string 'DOC'. If thebest terms date is based on the receipt of goods date, this column will hold

Column Detail

400

420

440

450

455

460

470

480

490

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

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

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

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

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

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

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

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

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

Page 107: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 83 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

VARIANCE_WITHIN_TOLERANCE

RESOLUTION_ADJUSTED_TOTAL_COST

RESOLUTION_ADJUSTED_TOTAL_QTY

CONSIGNMENT_IND

DEAL_ID

RTV_IND

DISCOUNT_DATE

DEAL_TYPE

TOTAL_COST_INC_VAT

VAT_DISC_CREATE_DATE

the string 'ROG'.

This column contains the value (the extended cost) of the variance withintolerance. The variance within tolerance is defined as the difference betweenthe extended cost of the receipts used to match with the invoice and theextended cost of the invoice. If the extended cost of the receipts is greaterthan the extended cost of the invoice, then the variance will be positive. Ifthis invoice is apart of a match group, then the variance may represent thevariance for the entire group of invoices and receipts.

This column will hold the total adjusted merchandise cost for the document. Ittakes into account any resolution action on the document.

This column will hold the total adjusted quantity for the document. It takesinto account any resolution action on the document.

The consignment indicator

The id of supplier deal

The return-to-vendor indicator

The expiration date of the discount that can be applied based on the terms ofthe document.

The type of deal

The total cost including vat amount

VAT Discrepancy Create Date

Column Detail

500

510

520

530

540

550

560

570

580

590

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

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

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

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

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

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

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

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

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

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

Page 108: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 84 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_DOC_HEAD_COMMENTS

IHCAlias :

DOC_ID references IM_DOC_HEAD.DOC_ID

IHC_IDD_FK

Foreign Keys

Other Unique Keys

Name Column

Primary Key

COMMENT_ID

Column Detail

10

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

COMMENT_ID

COMMENT_TYPE

TEXT

CREATE_ID

CREATE_DATETIME

DOC_ID

Column

NUMBER (10)

VARCHAR2 (6)

VARCHAR2 (2000)

VARCHAR2 (30)

DATE

NUMBER (10)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DOC_HEAD_COMMENTS COMMENT_ID

UK_IM_DOC_HEAD_COMMENTS DOC_ID

CREATE_DATETIME

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will hold comments associated with the document headertable. Every time a user adds or changes comments, a new record willbe created so that there is full visability to the comments associatedwith a document.

Description :

Table Name : IM_DOC_HEAD_COMMENTS

Page 109: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 85 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CHK_IM_DOC_HEAD_COMMENTS_C_T

Name

Check Constraints

COMMENT_TYPE

TEXT

CREATE_ID

CREATE_DATETIME

DOC_ID

This column holds the unique id of each comment in the system. Comment IDswill be generated using the IM_COMMENTS_SEQ sequence.

This column holds the type that describes if a comment is "external" or"internal". Valid values are "I" or "E".

This column holds user entered comment text.

This column holds id of the user -id that created this comment.

This column holds the date and time that the comment was created.

This column holds the unique id for the document that is associated with thecomment. This is a foreign key to the im_doc_head table. There should be aunique constraint using doc_id and create_datetime.

Where Validate Clause

Column Detail

20

30

40

50

60

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

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

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

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

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

comment_type in ('I','E')

Page 110: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 86 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Doc Head Lock

IDLAlias :

LOCK_CREATE_ID

Column

IM_DOC_HEAD_LOCK_I1

Name

NOT UNIQUE

Index Type

DOC_ID references IM_DOC_HEAD.DOC_ID

IDL_IDD_FK

Foreign Keys

Primary Key

DOC_ID

This column holds the ReIM internal ID of the documents that are locked.

Column Detail

Index Summary

10

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

DOC_ID

LOCK_DATETIME

LOCK_CREATE_ID

Column

NUMBER (10)

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DOC_HEAD_LOCK DOC_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table holds records that represent documents that are currentlylocked by another process or user. When a user or process chooses toedit a document record (or any child of a document record), a recordwill be written to this table and commited. When the user is doneediting the document, the lock record will be deleted. Before a useror process is able to edit a record, there will be a check to ensurethat a record for the document does not exist on this table.

Description :

Table Name : IM_DOC_HEAD_LOCK

Page 111: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 87 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

LOCK_DATETIME

LOCK_CREATE_ID

This column holds the date and time that the document was created.

This column holds the ID of the user that has locked the document.

Column Detail

20

30

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

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

Page 112: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 88 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Doc Non Merch

IDHAlias :

DOC_ID references IM_DOC_HEAD.DOC_ID

IDH_IDD_FK

Foreign Keys

Primary Key

DOC_ID

NON_MERCH_CODE

This column holds the ReIM internal ID of the document with non merchandisecosts. This column is mandatory not null.

Column Detail

10

20

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

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

DOC_ID

NON_MERCH_CODE

NON_MERCH_AMT

VAT_CODE

VAT_RATE

Column

NUMBER (10)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (6)

NUMBER (20, 10)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DOC_NON_MERCH DOC_IDNON_MERCH_CODE

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will hold various user-defined non-merchandise costsassociated with an invoice. Non merchandise costs can be associatedwith merchandise invoice if theIM_SUPPLIER_OPTIONS.MIX_MERCH_NON_MERCH_IND for the vendor is 'Y'. Ifthe MIX_MERCH_NON_MERCH_IND for the vendor is 'N', non merchandiseexpenses can only be on non merchandise invoice documents.

Description :

Table Name : IM_DOC_NON_MERCH

Page 113: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 89 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

NON_MERCH_AMT

VAT_CODE

VAT_RATE

This column holds the code identifying the non-merchandise cost being added tothe invoice. These codes are defined in the merchandising system. If themerchandising system is RMS, these codes can be found on theNON_MERCH_CODE_HEAD table. This column is mandatory not NULL.

This column holsd the amount of the non-merchandise cost of type NON_MERCH_CODEthat is associated with this document. The NON_MERCH_AMT is always held in thesame currency as the document it is associated with. This column is mandatorynot null.

The VAT code

The VAT rate

Column Detail

30

40

50

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

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

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

Page 114: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 90 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_DOC_VAT

IDVAlias :

Primary Key

DOC_ID

VAT_CODE

VAT_RATE

VAT_BASIS

The document id

The VAT code

The VAT rate

The VAT basis

Column Detail

10

20

30

40

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

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

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

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

DOC_ID

VAT_CODE

VAT_RATE

VAT_BASIS

Column

NUMBER (10)

VARCHAR2 (6)

NUMBER (20, 10)

NUMBER (20, 4)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DOC_VAT DOC_IDVAT_CODE

Name Column

This table associate the document with its VAT informationDescription :

Table Name : IM_DOC_VAT

Page 115: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 91 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_DYNAMIC_SEGMENT_DEPT_CLASS

IDCAlias :

Primary Key

DEPT

CLASS

DEPT_SEGMENT

CLASS_SEGMENT

This column holds the department whose account segements are defined.

This column holds the class whose account segemnts are being mapped.

This column holds the department's account segement. This value will be usedto 'build' account numbers by the posting process.

This column holds the classes account segement. This value will be used to'build' account numbers by the posting process.

Column Detail

10

20

30

40

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

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

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

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

DEPT

CLASS

DEPT_SEGMENT

CLASS_SEGMENT

Column

NUMBER (4)

NUMBER (4)

VARCHAR2 (25)

VARCHAR2 (25)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DYNAMIC_SEGMENT_DEPT_CLA DEPTCLASS

Name Column

This table holds dynamic segments for departments and classes. Thisinformation will be used to 'build' account numbers that varioustransactions will be mapped to in the posting process. Thisinformation is interfaced into ReIM from an external financial system.

Description :

Table Name :IM_DYNAMIC_SEGMENT_DEPT_CLASS

Page 116: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 92 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_DYNAMIC_SEGMENT_LOC

IDSAlias :

Primary Key

LOCATION

LOC_SEGMENT

COMPANY_SEGMENT

This column contains the Retek ID for the store or wahehouse whose dynamicsegments is being mapped.

This column holds the segment information that identifies this RMS location.

This column holds the segment information for the company this RMS locationbelongs to.

Column Detail

10

20

30

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

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

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

LOCATION

LOC_SEGMENT

COMPANY_SEGMENT

Column

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (25)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_DYNAMIC_SEGMENT_LOC LOCATION

Name Column

This table holds the dynamic segments that are defined at thelocation/company level. These dynamic segments will be used by theposting process to 'build' the correct account numbers and ensure thattransactions are credited/debited from the appropiate financialaccounts. This information will be imported into ReIM from theFinancials System.

Description :

Table Name : IM_DYNAMIC_SEGMENT_LOC

Page 117: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 93 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_EDIRJT_DOCDTL_ALW_AUDIT

IEWAlias :

Primary Key

AUDIT_KEY

DOC_ID

DOC_DETAIL_ID

ITEM

Unique identifier for this table.

This column holds the ReIM internal ID of the rejected document with nonmerchandise costs.

Sequence number combines the doc ID to make the primary and foreign key.

This column holds the item to which this detail allowance record belongs.

Column Detail

10

20

30

40

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

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

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

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

AUDIT_KEY

DOC_ID

DOC_DETAIL_ID

ITEM

ALLOWANCE_CODE

ALLOWANCE_AMOUNT

UPDATE_ID

UPDATE_DATE

Column

NUMBER (10)

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

DATE

Type

NOT NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_EDIRJT_DOCDTL_ALW_AUDIT AUDIT_KEY

Name Column

REcords updates and deletes to the IM_EDI_REJECT_DOC_DETAIL_ALLOWtable.

Description :

Table Name : IM_EDIRJT_DOCDTL_ALW_AUDIT

Page 118: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 94 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

ALLOWANCE_CODE

ALLOWANCE_AMOUNT

UPDATE_ID

UPDATE_DATE

This column holds the allowance code associated with this document/item.

This column holds the allowance amount associated with this document/item.

User ID for the user who updated or deleted this record.

Date and time that this record was updated or deleted.

Column Detail

50

60

70

80

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

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

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

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

Page 119: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 95 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Edi Reject Doc Detail

IEOAlias :

DOC_ID references IM_EDI_REJECT_DOC_HEAD.DOC_ID

IEO_IER_FK

Foreign Keys

Primary Key

DOC_ID

Column Detail

10

DOC_ID

ITEM

ITEM_SUPPLEMENT

DOC_UNIT_COST

DOC_QTY

ORIG_DOC_UNIT_COST

ORIG_DOC_QTY

COST_DSCRPNCY_IND

QTY_DSCRPNCY_IND

ERROR_COLUMN_ID

DOC_DETAIL_ID

UPDATE_ID

Column

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (25)

NUMBER (20, 4)

NUMBER (12, 4)

NUMBER (20, 4)

NUMBER (12, 4)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (30)

NUMBER (10)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

70

80

90

100

140

150

160

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_EDI_REJECT_DOC_DETAIL DOC_IDDOC_DETAIL_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table contains one row for each document/item/document unit costcombination on the document. Records are inserted into this table fordocuments being uploaded via EDI. When validation passes, theserecords will be transferred to the IM_DOC_DETAIL table.

Description :

Table Name : IM_EDI_REJECT_DOC_DETAIL

Page 120: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 96 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CHK_IM_ER_DOC_DETAIL_COST_I

CHK_IM_ER_DOC_DETAIL_QTY_IN

Name

Check Constraints

ITEM

ITEM_SUPPLEMENT

DOC_UNIT_COST

DOC_QTY

ORIG_DOC_UNIT_COST

ORIG_DOC_QTY

COST_DSCRPNCY_IND

This column holds the document to which this detail record belongs.

This column holds the transaction level item that is on the document.Transaction level item means that the item is managed at this level in themerchandising system. For RMS 9, this could be either a pack, fashion sku orstaple sku, but this could not be a fashion style. For RMS 10, this must be atransaction level. This column is mandatory not null.

Stores the upc supplement for RMS 9.0 implementation

This column holds the item's cost on this document. This value can be editedat any time until the docoument is matched. This field will be held in theinvoice currency. This field is mandatory not null.

This column holds the qty of the item on the document.

This column holds the unit cost of the item on the document, captured at thetime of document entry. This value can be used to revert the document back toits original values after it has been edited. This column will be held in thedocument currency. This column is mandatory not null.

This column holds the quantity of the item on the document, captured at thetime of document entry. This value can be used to revert the document back toits original values after it has been edited. This column is mandatory notnull.

This column indicates if the invoice unit cost falls outside of tolerance ofthe receipt unit cost matched to it. Valid values are 'Y' and 'N'.

Where Validate Clause

Column Detail

20

30

40

50

70

80

90

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

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

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

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

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

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

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

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

COST_DSCRPNCY_IND in ('Y','N')

QTY_DSCRPNCY_IND in ('Y','N')

Page 121: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 97 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

QTY_DSCRPNCY_IND

ERROR_COLUMN_ID

DOC_DETAIL_ID

UPDATE_ID

This column indicates if the invoice quantity falls outside of tolerance of thereceipt quantity matched to it. Valid values are 'Y' and 'N'.

This field will identify the column from the table that has invalidinformation.

Sequence number that combines with the doc ID to make the primary key

Holds the userid of the user that last updated the record.

Column Detail

100

140

150

160

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

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

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

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

Page 122: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 98 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_EDI_REJECT_DOC_DETAIL_ALLOW

IEAAlias :

DOC_ID

DOC_DETAIL_ID

Column

IM_EDI_REJECT_DOC_DETAIL_AL_I1

IM_EDI_REJECT_DOC_DETAIL_AL_I1

Name

NOT UNIQUE

NOT UNIQUE

Index Type

DOC_ID references IM_EDI_REJECT_DOC_DETAIL.DOC_IDDOC_DETAIL_ID references IM_EDI_REJECT_DOC_DETAIL.DOC_DETAIL_ID

IEA_IEO_FK

Foreign Keys

DOC_ID

DOC_DETAIL_ID

This column holds the document to which this detail allowance record belongs.

Column Detail

Index Summary

10

15

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

DOC_ID

DOC_DETAIL_ID

ITEM

ALLOWANCE_CODE

ALLOWANCE_AMOUNT

UPDATE_ID

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

15

20

30

40

50

Column Summary

Seq.

0

2

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

This table contains one row for each document/item/allowancecombination on the document. Records are inserted into this table fordocuments being uploaded via EDI. When validation passes, theserecords will be transferred to the IM_DOC_DETAIL_ALLOWANCE table.

Description :

Table Name :IM_EDI_REJECT_DOC_DETAIL_ALLOW

Page 123: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 99 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

ITEM

ALLOWANCE_CODE

ALLOWANCE_AMOUNT

UPDATE_ID

Sequence number that combines with the doc ID to make the primary key

This column holds the item to which this detail allowance record belongs.

This column holds the allowance code associated with this document/itemcombination.

This column holds the allowance amount associated with this document/itemcombination.

Holds the userid of the user that last updated the record.

Column Detail

20

30

40

50

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

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

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

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

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

Page 124: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 100 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Edi Reject Doc Head

IERAlias :

DOC_ID

TYPE

ORDER_NO

LOCATION

LOC_TYPE

TOTAL_DISCOUNT

DOC_DATE

VENDOR_TYPE

VENDOR

EXT_DOC_ID

TERMS

TERMS_DSCNT_PCT

DUE_DATE

PAYMENT_METHOD

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

PAID_IND

MULTI_LOC

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

FREIGHT_TYPE

ERROR_COLUMN_ID

Column

NUMBER (10)

VARCHAR2 (6)

NUMBER (8)

NUMBER (10)

VARCHAR2 (1)

NUMBER (12, 4)

DATE

VARCHAR2 (6)

VARCHAR2 (10)

VARCHAR2 (30)

VARCHAR2 (15)

NUMBER (12, 4)

DATE

VARCHAR2 (6)

VARCHAR2 (3)

NUMBER (20, 10)

NUMBER (20, 4)

NUMBER (12, 4)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (90)

VARCHAR2 (90)

VARCHAR2 (90)

VARCHAR2 (90)

VARCHAR2 (6)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

35

37

38

40

60

90

100

110

140

150

170

180

260

270

280

290

310

320

340

350

360

370

400

420

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table holds general information for documents of all types.Records are inserted into this table for documents being uploaded viaEDI. When validation passes, these records will be transferred to theIM_DOC_HEAD table.

Description :

Table Name : IM_EDI_REJECT_DOC_HEAD

Page 125: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 101 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CURRENCY_CODE

Column

IM_EDI_REJECT_DOC_HEAD_I1

Name

NOT UNIQUE

Index Type

CURRENCY_CODE references IM_CURRENCIES.CURRENCY_CODE

IER_ICU_FK

CHK_IM_ER_DOC_HEAD_LOC_TYPE

CHK_IM_ER_DOC_HEAD_MULTI_LOC

CHK_IM_ER_DOC_HEAD_PAID_IND

CHK_IM_ER_DOC_HEAD_TYPE

CHK_IM_ER_DOC_HEAD_VENDOR_T

Name

Check Constraints

Foreign Keys

Primary Key

DOC_ID

This column holds the ReIM internal ID of the document. These IDs aregenerated by the system when new invoices are uploaded into the system ormanually created by a user. The IM_DOC_ID_SEQUENCE is used to generate theseunique IDs. This column is generally not displayed to the user, but is used

Where Validate Clause

Column Detail

Index Summary

10

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

REJECT_REASON_CODE

REF_DOC

UPDATE_ID

Column

VARCHAR2 (30)

NUMBER (10)

VARCHAR2 (30)

Type

NULL

NULL

NOT NULL

Nulls ?Col.Seq.

430

440

450

Seq.

10

(LOCATION is NULL and LOC_TYPE is NULL) or (LOCATION is NOT NULL and LOC_TYPE in ('S','W'))MULTI_LOC IN ('Y','N')

PAID_IND in ('Y','N')

TYPE in ('MRCHI', 'CRDNT', 'CRDNRC', 'CRDNRQ','DEBMEC', 'DEBMEQ')VENDOR_TYPE in ('BK', 'AG', 'FF', 'IM', 'BR','FA', 'AP', 'CO', 'CN', 'S1', 'S2','S3','EV','IA','ES','EC', 'SUPP')

PK_IM_EDI_REJECT_DOC_HEAD DOC_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

Page 126: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 102 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

TYPE

ORDER_NO

LOCATION

LOC_TYPE

TOTAL_DISCOUNT

DOC_DATE

VENDOR_TYPE

internally by the application to provide a unique ID. This column is mandatorynot null.

This column holds the document type. The document type determines how thedocument will be processed by the system. This column is mandatory not null. Merchandise Invoice (MRCHI): Merchandise invoices are for merchandise from a supplier. Merchandise invoicesare generally matched to receipts or advanced shipment notices. Merchandiseinvoices require that the vendor be a supplier (and not a partner). If thevendor issueing the merchandise invoice is defined as being allowed to mixmerchandise and non-merchandise costs on an invoice, (IM_SUPPLIER_OPTIONS.MIX_MERCH_NON_MERCH_IND = 'Y') a merchandise invoice may also include non-merchandise costs. Non-merchandise costs will be associated with a non-merchandise code and written to the IM_DOC_NON_MERCH_CODES table for themerchandise invoice document.

The order number that the invoice is for.

The location number that the invoice is for.

This column holds the type of the location associated with the document. Thiscolumn is optional, but loc_type cannot have a value if location is NULL.Valid values are S for store and W for warehouse.

This column holds the total of all discounts that have been applied to thedocument. This column is always stored in the currency of the invoice. Thiscolumn is optional.

This column holds the document date. The document date is the date thedocument was created. When documents are created by an outside party, theDOC_DATE can be different from the CREATE_DATE (i.e. the DOC_DATE on amerchandise invoice from a supplier will be the date the supplier generates theinvoice - the CREATE_DATE for this record will be the date the invoice wasentered into ReIM). This column is mandatory not null.

This column holds type of vendor the document is associated with. Valid values

Column Detail

20

35

37

38

40

60

90

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

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

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

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

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

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

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

Page 127: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 103 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

VENDOR

EXT_DOC_ID

TERMS

TERMS_DSCNT_PCT

are: BK - Bank AG - Agent FF- Freight Forwarder IM - Importer BR - Broker FA - Factory AP - Applicant CO - Consolidator CN - Consignee S1 - Merchandising System Supplier hierarchy level 1 S2 - Merchandising System Supplier hierarchy level 2 S3 - Merchandising System hierarchy level 3 SUPP - Supplier This column is mandatory not null.

This column holds the id of the vendor associated with the document. This IDcan be either a valid supplier or valid vendor in the merchandising system.This column is mandatory not null.

This column holds the id for the document that is used in communication withthe vendor. This is the document id that will generally be displayed to theend user. EXT_DOC_ID must be unique by vendor (meaning that each vendor canhave an document with the ID '1', but each vendor can have only one documentwith the ID '1'). If the vendor created the document (i.e. merchandiseinvoice, etc), this field will hold the vendor's id for the document. If theretailer created the document in response to a client document (i.e. creditnote request, etc), the EXT_DOC_ID will be the original EXT_DOC_ID prefixed orsuffixed with the appropriate values from the IM_SYSTEM_OPTIONS table(CREDIT_NOTE_REQ_PREFIX_COST, DEBIT_MEM)_PREFIX_QTY , CREDIT_MEMO_SUFFIX_DP).For example, if this document is a credit memo is in response to a quantitymismatch on a merchandise invoice with the EXT_DOC_ID '3456', this column willhold the IM_SYSTEM_OPTIONS. CREDIT_MEMO_PREFIX_QTY concatenated with '3456'.When EXT_DOC_ID data is entered on a screen or uploaded via EDI it will belimited to 27 characters so that a suffix or prefix could be added if needed.This column is mandatory not null.

This column holds the terms associated with the document. If the document isbeing manually entered and the document type is MRCHI - merchandise invoice -this column will be defaulted to the terms associated with the Purchase Order.If the document is being manually entered and the document type is not MRCHI -the document is not a merchandise invoice, the terms will be defaulted to thedefault terms associated with the vendor in the merchandise system. Thiscolumn is mandatory not null.

Column Detail

100

110

140

150

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

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

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

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

Page 128: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 104 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DUE_DATE

PAYMENT_METHOD

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

PAID_IND

MULTI_LOC

This column holds the discount percentage associated with the term for thedocument. This information will be defaulted to the discount percentage forthe term definition. This information will be defined in the Merchandisingsystem. This column is mandatory not null.

This column holds the due date associated with the document. For retailercreated documents (i.e. merchandise invoice, non-merchandise invoice), thiscolumn holds the due date specified by the vendor. For documents created bythe retailer, the DUE_DATE will hold the date that corresponds to theIM_DOC_HEAD.CREATE_DATE plus the number of Due Days associated with the term.This column is mandatory not null.

This column holds the payment method associated with the document. Forretailer created documents, the payment method will default to vendor's defaultpayment method. If no payment method has been defined for the vendor, thiscolumn will be null. This column is optional.

This column holds the currency code associated with the document. When thedocument is uploaded via EDI, this currency will be specified. When thedocument is created via the single document entry screen, the user can choose adocument. When the document is created via the document group screen, thecurrency for the document will be defaulted from the currency for the documentgroup. This column is mandatory not null.

This column specifies the exchange rate between the currency code and theprimary currency code.

This column holds the total cost of the document. This column is mandatory notnull.

This column holds the total quantity of the document. This column is mandatorynot null.

This column indicates whether the document has been paid. This column ismandatory not null.

This column indicates if the edi reject record is for an invoice with multiple

Column Detail

170

180

260

270

280

290

310

320

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

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

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

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

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

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

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

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

Page 129: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 105 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

FREIGHT_TYPE

ERROR_COLUMN_ID

REJECT_REASON_CODE

REF_DOC

UPDATE_ID

locations. 'Y' - Yes; 'N' - No.

This column holds any custom information that the retailer would like to holdat a document level. This column is optional.

This column holds any custom information that the retailer would like to holdat a document level. This column is optional.

This column holds any custom information that the retailer would like to holdat a document level. This column is optional.

This column holds any custom information that the retailer would like to holdat a document level. This column is optional.

This column holds the freight method associated with the document. This columnis optional.

This field will identify the column form the table that has invalidinformation.

This field will contain the reason code explaining the EDI rejection. Thiscode will be assocaited either with the ERROR_COLUMN_ID column on theIM_DOC_HEAD_STAGE or IM_DOC_DETAIL_STAGE tables for the document.

This column holds the id of any reference document that this credit note,credit note request or credit memo applies to.

Holds the userid of the user that last updated the record.

Column Detail

340

350

360

370

400

420

430

440

450

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

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

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

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

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

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

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

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

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

Page 130: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 106 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Edi Reject Doc Lock

IEKAlias :

LOCK_CREATE_ID

Column

IM_EDI_REJECT_DOC_LOCK_I1

Name

NOT UNIQUE

Index Type

DOC_ID references IM_EDI_REJECT_DOC_HEAD.DOC_ID

IEK_IER_FK

Foreign Keys

Primary Key

DOC_ID

Column Detail

Index Summary

10

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

DOC_ID

LOCK_DATETIME

LOCK_CREATE_ID

Column

NUMBER (10)

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_EDI_REJECT_DOC_LOCK DOC_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table holds records that represent EDI rejected documents thatare currently locked by another process or user. When a user orprocess chooses to edit an EDI rejected document record (or any childof a document record), a record will be written to this table andcommited. When the user is done editing the document, the lock recordwill be deleted. Before a user or process is able to edit an EDIrejected document record, there will be a check to ensure that arecord for the EDI rejected document does not exist on this table.

Description :

Table Name : IM_EDI_REJECT_DOC_LOCK

Page 131: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 107 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

LOCK_DATETIME

LOCK_CREATE_ID

Holds the ReIM internal ID of the document that is locked by the user in thesystem.

Holds the date and time that the lock on the document was created.

Holds the ID of the user that has locked the specific document.

Column Detail

20

30

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

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

Page 132: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 108 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_EDI_REJECT_DOC_NON_MERCH

IENAlias :

DOC_ID references IM_EDI_REJECT_DOC_HEAD.DOC_ID

IEN_IER_FK

Foreign Keys

Primary Key

DOC_ID

NON_MERCH_CODE

This column holds the ReIM internal ID of the rejected document with nonmerchandise costs. This column is mandatory not null.

This column holds the code identifying the non-merchandise cost being added tothe rejected invoice. These codes are defined in the merchandising system. Ifthe merchandising system is RMS, these codes can be found on theNON_MERCH_CODE_HEAD table. This column is mandatory not NULL.

Column Detail

10

20

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

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

DOC_ID

NON_MERCH_CODE

NON_MERCH_AMT

UPDATE_ID

Column

NUMBER (10)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

60

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_EDI_REJECT_DOC_NON_MERCH DOC_IDNON_MERCH_CODE

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will hold various user-defined non-merchandise costsassociated with a rejected invoice. This is a temporary storage tableto hold the non merch details until the invoices errors are fixed andretried

Description :

Table Name : IM_EDI_REJECT_DOC_NON_MERCH

Page 133: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 109 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

NON_MERCH_AMT

UPDATE_ID

This column holsd the amount of the non-merchandise cost of type NON_MERCH_CODEthat is associated with this rejected document. The NON_MERCH_AMT is alwaysheld in the same currency as the document it is associated with. This columnis mandatory not null.

Holds the userid of the user that last updated the record.

Column Detail

30

60

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

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

Page 134: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 110 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_EDI_RJT_DOC_DTL_AUDIT

IMEAlias :

Primary Key

AUDIT_KEY

DOC_ID

ITEM

Unique identifier for this table.

Unique identifier of the document.

Column Detail

10

20

30

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

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

AUDIT_KEY

DOC_ID

ITEM

ITEM_SUPPLEMENT

DOC_UNIT_COST

DOC_QTY

ORIG_DOC_UNIT_COST

ORIG_DOC_QTY

COST_DSCRPNCY_IND

QTY_DSCRPNCY_IND

ERROR_COLUMN_ID

DOC_DETAIL_ID

UPDATE_ID

UPDATE_DATE

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (25)

NUMBER (20, 4)

NUMBER (12, 4)

NUMBER (20, 4)

NUMBER (12, 4)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (30)

NUMBER (10)

VARCHAR2 (30)

DATE

Type

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_EDI_RJT_DOC_DTL_AUDIT AUDIT_KEY

Name Column

Records update and delete records for im_edi_reject_doc_detail table.Description :

Table Name : IM_EDI_RJT_DOC_DTL_AUDIT

Page 135: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 111 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

ITEM_SUPPLEMENT

DOC_UNIT_COST

DOC_QTY

ORIG_DOC_UNIT_COST

ORIG_DOC_QTY

COST_DSCRPNCY_IND

QTY_DSCRPNCY_IND

ERROR_COLUMN_ID

This column holds the transaction level item that is on the document.Transaction level item means the item is managed at this level in themerchandising system. For RMS 9, this could be eith a pack, fashio sku orstaple sku, but no a fashion style. For RMS 10, this must be a transactionlevel item.

Stores the upc supplement for RMS 9.0 implementation.

This column holds the item's cost on the document, captured at the time ofdocument entry. this value can be used to revert the document back to itsoriginal values after it has be edited. This column will be held in theinvoice currency.

This column holds the qty of the item on the document.

This column holds the unit cost of the item on the document, captured at thetime of document entry. this value can be used to revert the document back toits original values after it has be edited. This column will be held in thedocument currency.

This column holds the quantityof the item on the document, captured at the timeof document entry. This value can be used to revert the document back to itsoriginal values after it has been edited.

This column indicates if the invoice unit cost falls outside of tolerance ofthe receipt unit cost matched to it.

This column indicates if the invoice quantity falls outside of tolerance of thereceipt quantity matched to it.

This field will identify the column from the table that has invalidinformation.

Column Detail

40

50

60

70

80

90

100

110

120

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

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

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

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

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

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

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

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

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

Page 136: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 112 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DOC_DETAIL_ID

UPDATE_ID

UPDATE_DATE

Sequence number combines the doc ID to make the primary key forim_edi_reject_doc_detail.

User who updated or deleted this record.

Date and time the record was updated or deleted.

Column Detail

130

140

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

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

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

Page 137: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 113 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_EDI_RJT_DOC_HEAD_AUDIT

IEJAlias :

AUDIT_KEY

DOC_ID

TYPE

ORDER_NO

LOCATION

LOC_TYPE

TOTAL_DISCOUNT

DOC_DATE

VENDOR_TYPE

VENDOR

EXT_DOC_ID

TERMS

TERMS_DSCNT_PCT

DUE_DATE

PAYMENT_METHOD

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

PAID_IND

MULTI_LOC

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

FREIGHT_TYPE

ERROR_COLUMN_ID

REJECT_REASON_CODE

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (6)

NUMBER (10)

NUMBER (10)

VARCHAR2 (1)

NUMBER (12, 4)

DATE

VARCHAR2 (6)

VARCHAR2 (10)

VARCHAR2 (30)

VARCHAR2 (15)

NUMBER (12, 4)

DATE

VARCHAR2 (6)

VARCHAR2 (3)

NUMBER (20, 10)

NUMBER (20, 4)

NUMBER (12, 4)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (90)

VARCHAR2 (90)

VARCHAR2 (90)

VARCHAR2 (90)

VARCHAR2 (6)

VARCHAR2 (30)

VARCHAR2 (30)

Type

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

35

40

50

60

70

80

90

100

110

120

130

140

150

160

170

180

190

200

210

220

230

240

250

260

270

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Records the updates to and deletes from im_edi_reject_doc_head.Description :

Table Name : IM_EDI_RJT_DOC_HEAD_AUDIT

Page 138: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 114 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Primary Key

AUDIT_KEY

DOC_ID

TYPE

ORDER_NO

LOCATION

LOC_TYPE

TOTAL_DISCOUNT

DOC_DATE

Unique identifier for this table.

Document id for the document.

Code for type of document such as 'MRCHI' for merchandise, etc.

The order number that the invoice is for.

The location number that the invoice is for.

This column holds the type of the location associated with the document. Thiscolumn is optional, but loc_type cannot have a value if location is NULL.Valid values are S for store and W for warehouse.

This column holds the total of all discounts that have been applied to thedocument. This column is always stored in the currency of the invoice.

This column holds the document date. The document date is the date thedocument was created. When documents are created by an outside party, theDOC_DATE can be different from the CREATE_DATE (i.e. the DOC_DATE on amerchandise invoice from a supplier will be the date the supplier generates the

Column Detail

10

20

30

35

40

50

60

70

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

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

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

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

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

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

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

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

REF_DOC

UPDATE_ID

UPDATE_DATE

Column

NUMBER (10)

VARCHAR2 (30)

DATE

Type

NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

280

290

300

PK_IM_EDI_RJT_DOC_HEAD_AUDIT AUDIT_KEY

Name Column

Page 139: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 115 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

VENDOR_TYPE

VENDOR

EXT_DOC_ID

TERMS

TERMS_DSCNT_PCT

DUE_DATE

PAYMENT_METHOD

invoice - the CREATE_DATE for this record will be the date the invoice wasentered into ReIM).

This column holds type of vendor the document is associated with.

This column holds the id of the vendor associated with the document. This IDcan be either a valid supplier or valid vendor in the merchandising system.

This column holds the id for the document that is used in communication withthe vendor. This is the document id that will generally be displayed to theend user. EXT_DOC_ID must be unique by vendor (meaning that each vendor canhave an document with the ID '1', but each vendor can have only one documentwith the ID '1'). If the vendor created the document (i.e. merchandiseinvoice, etc), this field will hold the vendor's id for the document. If theretailer created the document in response to a client document (i.e. creditnote request, etc), the EXT_DOC_ID will be the original EXT_DOC_ID prefixed orsuffixed with the appropriate values from the IM_SYSTEM_OPTIONS tableExamples:(CREDIT_NOTE_REQ_PREFIX_COST, DEBIT_MEM)_PREFIX_QTY , CREDIT_MEMO_SUFFIX_DP).

This column holds the terms associated with the document. If the document isbeing manually entered and the document type is MRCHI - merchandise invoice -this column will be defaulted to the terms associated with the Purchase Order.If the document is being manually entered and the document type is not MRCHI -the document is not a merchandise invoice, the terms will be defaulted to thedefault terms associated with the vendor in the merchandise system.

This column holds the discount percentage associated with the term for thedocument. This information will be defaulted to the discount percentage forthe term definition. This information will be defined in the Merchandisingsystem.

This column holds the due date associated with the document. For retailercreated documents (i.e. merchandise invoice, non-merchandise invoice), thiscolumn holds the due date specified by the vendor. For documents created bythe retailer, the DUE_DATE will hold the date that corresponds to theIM_DOC_HEAD.CREATE_DATE plus the number of Due Days associated with the term.

Column Detail

80

90

100

110

120

130

140

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

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

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

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

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

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

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

Page 140: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 116 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

PAID_IND

MULTI_LOC

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

This column holds the payment method associated with the document. Forretailer created documents, the payment method will default to vendor's defaultpayment method. If no payment method has been defined for the vendor, thiscolumn will be null.

This column holds the currency code associated with the document. When thedocument is uploaded via EDI, this currency will be specified. When thedocument is created via the single document entry screen, the user can choose adocument. When the document is created via the document group screen, thecurrency for the document will be defaulted from the currency for the documentgroup.

The exchange rate used for this document.

This column holds the total cost of the document.

This column holds the total quantity of the document.

This column indicates whether the document has been paid.

This column indicates if their are muliple locations associated with thisdocument.

This column holds any custom information that the retailer would like to holdat a document level.

This column holds any custom information that the retailer would like to holdat a document level.

This column holds any custom information that the retailer would like to holdat a document level.

Column Detail

150

160

170

180

190

200

210

220

230

240

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

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

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

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

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

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

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

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

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

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

Page 141: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 117 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

FREIGHT_TYPE

ERROR_COLUMN_ID

REJECT_REASON_CODE

REF_DOC

UPDATE_ID

UPDATE_DATE

This column holds any custom information that the retailer would like to holdat a document level.

This column holds the freight method associated with the document.

This field will identify the column form the table that has invalidinformation.

This field will contain the reason code explaining the EDI rejection. Thiscode will be assocaited either with the ERROR_COLUMN_ID column on theIM_DOC_HEAD_STAGE or IM_DOC_DETAIL_STAGE tables for the document.

This column holds the id of any reference document that this credit note,credit note request or credit memo applies to.

User ID for user who updated or deleted this record.

Date and time of the record update or delete.

Column Detail

250

260

270

280

290

300

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

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

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

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

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

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

Page 142: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 118 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_EDI_RJT_DOC_NM_AUDIT

IETAlias :

Primary Key

AUDIT_KEY

DOC_ID

NON_MERCH_CODE

NON_MERCH_AMT

Unique identifier for this table.

This column holds the ReIM internal ID of the rejected document with nonmerchandise costs.

This column holds the code identifying the non-merchandise cost being added tothe rejected invoice. These codes are defined in the merchandising system. Ifthe merchandising system is RMS, these codes can be found on theNON_MERCH_CODE_HEAD table.

This column holds the amount of the non-merchandise cost of type NON_MERCH_CODE

Column Detail

10

20

30

40

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

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

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

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

AUDIT_KEY

DOC_ID

NON_MERCH_CODE

NON_MERCH_AMT

UPDATE_ID

UPDATE_DATE

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

DATE

Type

NOT NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

70

80

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_EDI_RJT_DOC_NM_AUDIT AUDIT_KEY

Name Column

Records updates and deletes for the im_edi_reject_doc_non_merch table.Description :

Table Name : IM_EDI_RJT_DOC_NM_AUDIT

Page 143: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 119 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

UPDATE_ID

UPDATE_DATE

that is associated with this rejected document. The NON_MERCH_AMT is alwaysheld in the same currency as the document it is associated with.

User ID for the user who updated or deleted this record.

Date and time the record was updated or deleted.

Column Detail

70

80

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

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

Page 144: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 120 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_FINANCIALS_STAGE

IFSAlias :

SEQ_NO

TRAN_CODE

DEBIT_CREDIT_IND

DOC_ID

PARENT_ID

DOC_DATE

RECEIPT_ID

RECEIPT_DATE

VENDOR_TYPE

VENDOR

ORDER_NO

CURRENCY_CODE

AMOUNT

BEST_TERMS

BEST_TERMS_DATE

MANUALLY_PAID_IND

PRE_PAID_IND

CREATE_ID

CREATE_DATETIME

SEGMENT_1

SEGMENT_2

SEGMENT_3

SEGMENT_4

SEGMENT_5

Column

NUMBER (10)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (10)

NUMBER (10)

DATE

NUMBER (10)

DATE

VARCHAR2 (6)

VARCHAR2 (10)

NUMBER (10)

VARCHAR2 (3)

NUMBER (20, 4)

VARCHAR2 (15)

DATE

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (30)

DATE

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

45

50

55

57

60

70

80

90

100

110

120

130

135

140

150

160

170

180

190

200

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table holds records that are staged to be posted to a financialssystem. Records will be written to this table by the invoice matchingposting process. The expectation is that the client will write aprogram that sends this information to his external financial system.When this information is sent to the external financial system, theclient specific process should remove the exported records from thistable.

Description :

Table Name : IM_FINANCIALS_STAGE

Page 145: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 121 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CURRENCY_CODE references IM_CURRENCIES.CURRENCY_CODE

DOC_ID references IM_DOC_HEAD.DOC_ID

PARENT_ID references IM_PARENT_INVOICE.PARENT_ID

IFS_ICU_FK

IFS_IDD_FK

IFS_IPI_FK

Foreign Keys

Primary Key

SEQ_NO

This column holds a sequence number that is generated to act as a primary key

Column Detail

10

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

SEGMENT_6

SEGMENT_7

SEGMENT_8

SEGMENT_9

SEGMENT_10

VAT_CODE

VAT_RATE

DEAL_ID

LOCAL_CURRENCY

INCOME_LOCAL_CURRENCY

TOTAL_COST_INC_VAT

EXT_DOC_ID

EXCHANGE_RATE

EXCHANGE_RATE_TYPE

Column

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (6)

NUMBER (20, 10)

NUMBER (10)

VARCHAR2 (3)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (150)

NUMBER (20, 10)

VARCHAR2 (30)

Type

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

210

220

230

240

250

260

270

280

290

300

310

320

330

340

PK_IM_FINANCIALS_STAGE SEQ_NO

Transferable ?

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Restricted

Restricted

Name Column

Page 146: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 122 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DOC_ID

PARENT_ID

CURRENCY_CODE

Column

IM_FINANCIALS_STAGE_I1

IM_FINANCIALS_STAGE_I2

IM_FINANCIALS_STAGE_I3

Name

NOT UNIQUE

NOT UNIQUE

NOT UNIQUE

Index Type

CHK_IM_FINANCIALS_STAGE_DC_IND

CHK_IM_FINANCIALS_STAGE_IDS

CHK_IM_FINANCIALS_STAGE_MANUAL

CHK_IM_FINANCIALS_STAGE_PRE_PA

CHK_IM_FINANCIALS_STAGE_TRAN_C

CHK_IM_FINANCIALS_STAGE_VAT_RT

Name

Check Constraints

TRAN_CODE

for the table.

This column holds a code that identifies each type of financial transactionthat can be written to this table. Valid values are:

�TAP� A record with the tran code TAP is mapped to the Trade Accounts Payableaccount.

�UNR� A record with the tran code UNR is mapped to an Unmatched Receiptaccount.

�VWT� A record with the tran code VWT is mapped to a Variance Within Toleranceaccount.

�PPA� A record with the tran code PPA is mapped to a Pre-paid Asset account.

�CRN� A record with the tran code CNR is mapped to a Credit Note account.

Where Validate Clause

Column Detail

Index Summary

20

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

Seq.

10

10

10

DEBIT_CREDIT_IND in ('DEBIT','CREDIT')

(receipt_id is not null AND (parent_id is nulland doc_id is null)) OR (parent_id is not null AND (doc_id is null andreceipt_id is null)) OR (doc_id is not null AND (parent_id is null andreceipt_id is null))

MANUALLY_PAID_IND in ('Y','N')

PRE_PAID_IND IN ('Y','N')

TRAN_CODE in('TAP','UNR','VWT','PPA','CRN','RWO','NMRCH','REASON','TAPNDI','CRNNDI','DIRAR', 'DIRAF')(VAT_CODE is null AND VAT_RATE is null) OR(VAT_CODE is not null AND VAT_RATE is not null)

Page 147: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 123 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DEBIT_CREDIT_IND

DOC_ID

PARENT_ID

DOC_DATE

RECEIPT_ID

RECEIPT_DATE

VENDOR_TYPE

VENDOR

�RWO� A record with the tran code RWO is mapped to a Receipt Write-off account.

�NMRCH� A record with the tran code NMRCH is mapped to a Non-Merchandiseaccount.

�REASON� A record with the tran code REASON is mapped to a Reason Code account.

This indicated whether the record is a credit or debit. Valid values are�CREDIT� and �DEBIT�. This column is mandatory not null.

This column holds the Invoice Matching document id of the document being postedto the financials system. This column is mandatory not null.

Parent Id from the IM_PARENT_INVOICES table that has been pre paid.

This column holds the date the document was created.

Contains the unique number identifying a specific shipment of goods within thesystem. For receipt write offs, the trade accounts payable (tran code='TAP'),unmatched receipt (tran code='UNR'), and receipt write off (Tran code = 'RWO')posting records will contain a receipt id instead of a doc id.

This field contains the date the Shipment is received. For receipt write offs,the trade accounts payable (tran code='TAP'), unmatched receipt (trancode='UNR'), and receipt write off (Tran code = 'RWO') posting records willcontain a receipt date instead of a doc date.

This column holds the type of vendor for the document. This vendor type couldbe 'SUPP' (for any supplier) or the partner type of any partners. Thisinformation is stored with the document.

This column holds the ID of the supplier or partner associated with thedocument.

Column Detail

30

40

45

50

55

57

60

70

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

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

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

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

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

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

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

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

Page 148: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 124 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

ORDER_NO

CURRENCY_CODE

AMOUNT

BEST_TERMS

BEST_TERMS_DATE

MANUALLY_PAID_IND

PRE_PAID_IND

CREATE_ID

CREATE_DATETIME

SEGMENT_1

SEGMENT_2

SEGMENT_3

This column holds the purchase order that the document relates to.

This column holds the currency code that is associated with the document.

This column holds the amount being posted to financials for this tran_code.

This column holds the term calculated as the 'best term' for the document.

This column holds the date calculated as the best terms date for the document.

This column indicates whether the document has already been paid. If the valueis N (no) the document has not been paid. If the value is Y (yes), thedocument has already been paid.

This column indicates that this post is for a document that was paid prior tobeing matched with receipts.

This column holds the ID of the user that triggered the posting.

This column holds the system date and time stamp of the creation of the postingrecord.

This column holds the value of the first account segment.

This column holds the value of the second account segment.

This column holds the value of the third account segment.

Column Detail

80

90

100

110

120

130

135

140

150

160

170

180

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

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

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

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

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

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

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

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

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

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

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

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

Page 149: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 125 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SEGMENT_4

SEGMENT_5

SEGMENT_6

SEGMENT_7

SEGMENT_8

SEGMENT_9

SEGMENT_10

VAT_CODE

VAT_RATE

DEAL_ID

LOCAL_CURRENCY

INCOME_LOCAL_CURRENCY

TOTAL_COST_INC_VAT

This column holds the value of the fourth account segment.

This column holds the value of the fifth account segment.

This column holds the value of the sixth account segment.

This column holds the value of the seventh account segment.

This column holds the value of the eighth account segement.

This column holds the value of the ninth account segment.

This column holds the value of the tenth account segment.

The VAT code

The VAT rate

This column holds the rms id for deal

This column holds the location's currency

This column holds the sum of all the income in the local currency

Column Detail

190

200

210

220

230

240

250

260

270

280

290

300

310

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

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

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

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

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

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

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

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

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

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

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

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

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

Page 150: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 126 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

EXT_DOC_ID

EXCHANGE_RATE

EXCHANGE_RATE_TYPE

<<from im_doc_head>>

This column holds the id for the document that is used in communication withthe vendor. This is the document id that will generally be displayed to the enduser. EXT_DOC_ID is unique by vendor. If the vendor created the document (i.e.merchandise invoice, etc), this field will hold the vendor's id for thedocument.

This column specifies the exchange rate for the currency code.

Column Detail

320

330

340

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

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

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

Page 151: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 127 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_FINANCIALS_STAGE_ERROR

IFEAlias :

SEQ_NO

TRAN_CODE

DEBIT_CREDIT_IND

DOC_ID

DOC_DATE

RECEIPT_ID

RECEIPT_DATE

VENDOR_TYPE

VENDOR

ORDER_NO

CURRENCY_CODE

AMOUNT

BEST_TERMS

BEST_TERMS_DATE

MANUALLY_PAID_IND

PRE_PAID_IND

CREATE_ID

CREATE_DATETIME

SEGMENT_1

SEGMENT_2

SEGMENT_3

SEGMENT_4

SEGMENT_5

SEGMENT_6

SEGMENT_7

SEGMENT_8

SEGMENT_9

SEGMENT_10

Column

NUMBER (10)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (10)

DATE

NUMBER (10)

DATE

VARCHAR2 (6)

VARCHAR2 (10)

NUMBER (10)

VARCHAR2 (3)

NUMBER (20, 4)

VARCHAR2 (15)

DATE

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (30)

DATE

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

VARCHAR2 (25)

Type

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

55

57

60

70

80

90

100

110

120

130

135

140

150

160

170

180

190

200

210

220

230

240

250

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Record of errors that occurred during the process of posting to thefinancials staging table.

Description :

Table Name : IM_FINANCIALS_STAGE_ERROR

Page 152: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 128 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CURRENCY_CODE

DOC_ID

Column

IM_FINANCIALS_STAGE_ERROR_I1

IM_FINANCIALS_STAGE_ERROR_I2

Name

NOT UNIQUE

NOT UNIQUE

Index Type

CURRENCY_CODE references IM_CURRENCIES.CURRENCY_CODE

DOC_ID references IM_DOC_HEAD.DOC_ID

IFE_ICU_FK

IFE_IDD_FK

CHK_IM_FIN_STG_ERR_PRE_PAID_IN

Name

Check Constraints

Foreign Keys

Primary Key

SEQ_NO

TRAN_CODE

This column holds a sequence number that is generated to act as a primary keyfor the table.

This column holds a code that identifies each type of financial transaction

Where Validate Clause

Column Detail

Index Summary

10

20

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

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

ERR_MESSAGE

SUPPORT_ERR_MESSAGE

Column

VARCHAR2 (1000)

VARCHAR2 (1000)

Type

NULL

NULL

Nulls ?Col.Seq.

260

270

Seq.

10

10

PRE_PAID_IND IN ('Y','N')

PK_IM_FINANCIALS_STAGE_ERROR SEQ_NO

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

No

Restricted

Restricted

Restricted

Restricted

Name Column

Page 153: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 129 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DEBIT_CREDIT_IND

DOC_ID

DOC_DATE

RECEIPT_ID

RECEIPT_DATE

VENDOR_TYPE

VENDOR

ORDER_NO

that can be written to this table. Valid values are:TAP-A record with the tran code TAP is mapped to the Trade Accounts Payableaccount.UNR-A record with the tran code UNR is mapped to an Unmatched Receipt account.VWT-A record with the tran code VWT is mapped to a Variance Within Toleranceaccount.PPA-A record with the tran code PPA is mapped to a Pre-paid Asset account.CRN-A record with the tran code CNR is mapped to a Credit Note account.RWO-A record with the tran code RWO is mapped to a Receipt Write-off account.NMRCH-A record with the tran code NMRCH is mapped to a Non-Merchandise account.REASON-A record with the tran code REASON is mapped to a Reason Code account.

This indicated whether the record is a credit or debit. Valid values areCREDIT and DEBIT.

This column holds the Invoice Matching document id of the document being postedto the financials system.

This column holds the date the document was created.

Contains the unique number identifying a specific shipment of goods within thesystem. For receipt write offs, the trade accounts payable (tran code='TAP'),unmatched receipt (tran code='UNR'), and receipt write off (Tran code = 'RWO')posting records will contain a receipt id instead of a doc id.

This field contains the date the Shipment is received. For receipt write offs,the trade accounts payable (tran code='TAP'), unmatched receipt (trancode='UNR'), and receipt write off (Tran code = 'RWO') posting records willcontain a receipt date instead of a doc date.

This column holds the type of vendor for the document. This vendor type couldbe 'SUPP' (for any supplier) or the partner type of any partners. Thisinformation is stored with the document.

This column holds the ID of the supplier or partner associated with thedocument.

Column Detail

30

40

50

55

57

60

70

80

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

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

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

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

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

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

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

Page 154: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 130 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CURRENCY_CODE

AMOUNT

BEST_TERMS

BEST_TERMS_DATE

MANUALLY_PAID_IND

PRE_PAID_IND

CREATE_ID

CREATE_DATETIME

SEGMENT_1

SEGMENT_2

SEGMENT_3

This column holds the purchase order that the document relates to.

This column holds the currency code that is associated with the document.

This column holds the amount being posted to financials for this tran_code.

This column holds the term calculated as the 'best term' for the document.

This column holds the date calculated as the best terms date for the document.

This column indicates whether the document has already been paid. If the valueis N (no) the document has not been paid. If the value is Y (yes), thedocument has already been paid.

This column indicates that this post is for a document that was paid prior tobeing matched with receipts.

This column holds the ID of the user that triggered the posting.

This column holds the system date and time stamp of the creation of the postingrecord.

This column holds the value of the first account segment.

This column holds the value of the second account segment.

This column holds the value of the third account segment.

Column Detail

90

100

110

120

130

135

140

150

160

170

180

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

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

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

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

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

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

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

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

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

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

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

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

Page 155: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 131 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SEGMENT_4

SEGMENT_5

SEGMENT_6

SEGMENT_7

SEGMENT_8

SEGMENT_9

SEGMENT_10

ERR_MESSAGE

SUPPORT_ERR_MESSAGE

This column holds the value of the fourth account segment.

This column holds the value of the fifth account segment.

This column holds the value of the sixth account segment.

This column holds the value of the seventh account segment.

This column holds the value of the eighth account segment.

This column holds the value of the ninth account segment.

This column holds the value of the tenth account segment.

The error message text that indicates the reason that the document's recordswere not posted to the financials staging table.

This column will hold the decoded error message (in the primary language of thesystem) for posting errors. This message will include any dynamic data (i.e.unmapped code values, etc) that may make debugging the error easier for supportpersonnel.

Column Detail

190

200

210

220

230

240

250

260

270

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

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

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

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

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

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

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

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

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

Page 156: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 132 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_FIXED_DEAL_DETAIL

IFDAlias :

Primary Key

DOC_ID

SEQ_NO

LOC_TYPE

LOCATION

This column holds the document id for the fixed deal income.

This column holds the sequence uniquely identifies the

This column holds the location type of the fixed deal income.

Column Detail

10

20

30

40

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

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

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

DOC_ID

SEQ_NO

LOC_TYPE

LOCATION

DEPT

CLASS

SUBCLASS

INCOME

VAT_CODE

VAT_RATE

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (6)

NUMBER (10)

NUMBER (4)

NUMBER (4)

NUMBER (4)

NUMBER (20, 4)

VARCHAR2 (6)

NUMBER (20, 10)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NOT NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_FIXED_DEAL_DETAIL DOC_IDSEQ_NO

Name Column

This table holds the details of the fixed deals in the Retek InvoiceMatching system. It will be used during fixed deal detail posting.

Description :

Table Name : IM_FIXED_DEAL_DETAIL

Page 157: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 133 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DEPT

CLASS

SUBCLASS

INCOME

VAT_CODE

VAT_RATE

This column holds the location corresponding to the fixed deal income.

This column holds the dept corresponding to this portion of the income.

This column holds the class corresponding to this portion of the income.

This column holds the subclass corresponding to this portion of the income.

This column holds the current income associated with thislocation/dept(class/subclass) the fixed deal

This column holds the vat code info

This column holds the vat rate info

Column Detail

50

60

70

80

90

100

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

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

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

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

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

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

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

Page 158: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 134 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Global Preferences

IGEAlias :

Primary Key

PAGE_NAME

VIEW_NAME

COLUMNS_NAMES

COLUMNS_VISIBLE

COLUMNS_HIDABLE

Holds the value of the flexColumnTitleKey for the pageIterate tag. This keymust be unique.

Holds view name associated with a page

Holds a a comma-seperated list of columns for multiview. These values must bein ReIMResources.properties file.

Holds a a comma-separated list of 1s and 0s. This flag denotes if a column isvisible or not.

Column Detail

10

20

30

40

50

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

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

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

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

PAGE_NAME

VIEW_NAME

COLUMNS_NAMES

COLUMNS_VISIBLE

COLUMNS_HIDABLE

Column

VARCHAR2 (120)

VARCHAR2 (120)

VARCHAR2 (2000)

VARCHAR2 (2000)

VARCHAR2 (2000)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_GLOBAL_PREFERENCES PAGE_NAMEVIEW_NAME

Name Column

Holds global preferences for columns order within a JSP pageDescription :

Table Name : IM_GLOBAL_PREFERENCES

Page 159: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 135 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Holds a a comma-separated list of 1s and 0s. This flag denotes if a column canbe hidden or not.

Column Detail

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

Page 160: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 136 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_GL_CROSS_REF

IGCAlias :

SEGMENT_NO

Column

IM_GL_CROSS_REF_I1

Name

NOT UNIQUE

Index Type

SEGMENT_NO references IM_GL_OPTIONS.SEGMENT_NO

IGC_IGO_FK

Foreign Keys

Primary Key

ACCOUNT_TYPE

ACCOUNT_CODE

Categories of account codes that describe the invoice matching operations.

Column Detail

Index Summary

10

20

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

ACCOUNT_TYPE

ACCOUNT_CODE

SEGMENT_NO

SEGMENT_VALUE

Column

VARCHAR2 (6)

VARCHAR2 (20)

NUMBER (2)

VARCHAR2 (25)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

Seq.

20

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_GL_CROSS_REF ACCOUNT_TYPEACCOUNT_CODESEGMENT_NO

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table contains cross references of GL accounts from the financialsystem that are used by the invoice matching system.

Description :

Table Name : IM_GL_CROSS_REF

Page 161: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 137 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SEGMENT_NO

SEGMENT_VALUE

Codes for invoice matching operations within the category designated in theaccount_type column.

Number for the segment of the financials GL account. Foreign key from theim_gl_options table.

Alphanumeric value for the financials GL account. No special characters areallowed.

Column Detail

30

40

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

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

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

Page 162: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 138 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_GL_OPTIONS

IGOAlias :

CHK_IM_GL_OPTIONS_DYNAMIC_IND

Name

Check Constraints

Primary Key

OPTIONS_NO

SEGMENT_NO

DYNAMIC_IND

Identifier for the option label as set up in the properties file by the user.

Identifier for the GL account segment.

Indicates if the segment can be left null and is a table lookup.

Where Validate Clause

Column Detail

10

20

30

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

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

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

OPTIONS_NO

SEGMENT_NO

DYNAMIC_IND

Column

NUMBER (2)

NUMBER (2)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

DYNAMIC_IND in ('Y','N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_GL_OPTIONS SEGMENT_NO

Name Column

This table contains the GL account segment descriptions mapped tosegment numbers.

Description :

Table Name : IM_GL_OPTIONS

Page 163: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 139 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Doc Detail

IODAlias :

Primary Key

DOC_ID

This column holds the document to which this detail record belongs.

Column Detail

10

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

DOC_ID

ITEM

UNIT_COST

INVOICE_QTY

RESOLUTION_ADJUSTED_UNIT_COST

RESOLUTION_ADJUSTED_QTY

STATUS

COST_MATCHED

QTY_MATCHED

COST_VARIANCE_WITHIN_TOLERANCE

QTY_VARIANCE_WITHIN_TOLERANCE

ADJUSTMENT_PENDING

VAT_CODE

VAT_RATE

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

VAT_DISCREPANCY_IND

Column

NUMBER (10)

VARCHAR2 (25)

NUMBER (20, 4)

NUMBER (12, 4)

NUMBER (20, 4)

NUMBER (12, 4)

VARCHAR2 (6)

VARCHAR2 (1)

VARCHAR2 (1)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (1)

VARCHAR2 (6)

NUMBER (20, 10)

VARCHAR2 (30)

DATE

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

60

70

80

90

100

102

103

110

120

130

170

180

190

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_INVOICE_DETAIL DOC_IDITEM

Name Column

This table will hold the line level information for merchandiseinvoices.

Description :

Table Name : IM_INVOICE_DETAIL

Page 164: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 140 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DOC_ID references IM_DOC_HEAD.DOC_ID

IOD_IDD_FK

CHK_IM_INVOICE_DET_ADJUST_PEND

CHK_IM_INVOICE_DET_COST_MATCH

CHK_IM_INVOICE_DET_QTY_MATCHED

CHK_IM_INVOICE_DET_STATUS

CHK_IM_INVOICE_DET_VAT_DIS_IND

Name

Check Constraints

Foreign Keys

ITEM

UNIT_COST

INVOICE_QTY

RESOLUTION_ADJUSTED_UNIT_COST

RESOLUTION_ADJUSTED_QTY

STATUS

COST_MATCHED

This column holds the transaction level item that is on the document.Transaction level item means that the item is managed at this level in themerchandising system. For RMS 9, this could be either a pack, fashion sku orstaple sku, but this could not be a fashion style. For RMS 10, this must be atransaction level. This column is mandatory not null.

This column specifies the unit cost of the invoice line.

This column specifies the invoice quantity for the invoice line.

This column specifies the resolution adjusted unit cost. It is defaulted to theunit cost when the invoice line is first created.

This column specifies the resolution adjusted quantity invoiced. It isdefaulted to the invoice quantity when the invoice line is first created.

This column holds the status of the document line item. Valid values are'UNMTCH' - unmatched, 'PMTCH' for partially matched and 'MTCH' for matched.This column is mandatory not null.

Where Validate Clause

Column Detail

20

30

40

60

70

80

90

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

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

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

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

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

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

ADJUSTMENT_PENDING IN ('Y','N')

COST_MATCHED IN ('Y','N')

QTY_MATCHED IN ('Y','N')

STATUS in ('UNMTCH', 'MTCH')

VAT_DISCREPANCY_IND IN ('Y','N')

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Page 165: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 141 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

QTY_MATCHED

COST_VARIANCE_WITHIN_TOLERANCE

QTY_VARIANCE_WITHIN_TOLERANCE

ADJUSTMENT_PENDING

VAT_CODE

VAT_RATE

LAST_UPDATE_ID

LAST_UPDATE_DATETIME

VAT_DISCREPANCY_IND

This column indicates if the invoice line is already cost matched.

This column indicates if the invoice line is already quantity matched.

This column will hold the cost variance within tolerance for an invoice line orpotentially for a set of invoice lines. The variance will represent anydifference within tolerance between invoice unit cost and order unit cost. Inthe case of an invoice line that has been resolved via a cost discrepancyresolution, the variance will represent any difference unexplained byresolution actions but that is still within tolerance.

This column will hold the quantity variance within tolerance for an invoiceline or potentially for a set of invoice lines. The variance will represent anydifference within tolerance between invoice quantity and order quantity. Inthe case of an invoice line that has been resolved via a quantity discrepancyresolution, the variance will represent any difference unexplained byresolution actions but that is still within tolerance.

The column indicates whether there are receiver (cost/unit) adjustmentspending. Value is default 'N'. Value is 'Y' when a discrepancy resolutionaction is a receiver adjustment and the merchandise system has not beenadjusted. Value is set back to 'N' once Invoice Match determines that theadjustment has been done in the merchandise system.

The VAT code

The VAT rate

This column holds the comment id assciated with this document detail on theIM_COMMENTS table. The type of this comment on IM_COMMENTS will be 'DOCDET'.

This column holds the date and time of the last modification to the documentdetail. This column is mandatory not null.

Column Detail

100

102

103

110

120

130

170

180

190

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

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

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

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

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

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

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

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

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

Page 166: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 142 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Indicates if the current line item's state is vat discrepant. 'N' or null meanthe line is not discrepant.

Column Detail

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

Page 167: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 143 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_INVOICE_DETAIL_ALLOWANCE

IDAAlias :

DOC_ID

ITEM

Column

IM_INVOICE_DETAIL_ALLOWANCE_I1

IM_INVOICE_DETAIL_ALLOWANCE_I1

Name

NOT UNIQUE

NOT UNIQUE

Index Type

DOC_ID references IM_INVOICE_DETAIL.DOC_IDITEM references IM_INVOICE_DETAIL.ITEM

IDA_IOD_FK

Foreign Keys

DOC_ID

ITEM

This column holds the document to which this detail record belongs.

Column Detail

Index Summary

10

20

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

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

DOC_ID

ITEM

ALLOWANCE_CODE

ALLOWANCE_AMOUNT

VAT_CODE

VAT_RATE

Column

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (6)

NUMBER (20, 10)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

Column Summary

Seq.

0

2

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

This table contains one row for each document/item/allowancecombination. When a document detail is purged, all associated rows onthis table are also purged.

Description :

Table Name : IM_INVOICE_DETAIL_ALLOWANCE

Page 168: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 144 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

ALLOWANCE_CODE

ALLOWANCE_AMOUNT

VAT_CODE

VAT_RATE

This column holds the transaction level item that is on the document.Transaction level item means that the item is managed at this level in themerchandising system. For RMS 9, this could be either a pack, fashion sku orstaple sku, but this could not be a fashion style. For RMS 10, this must be atransaction level. This column is mandatory not null.

This column holds the allowance code associated with this document/itemcombination.

This column holds the allowance amount for the document/item combination.

The VAT code

The VAT rate

Column Detail

30

40

50

60

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

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

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

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

Page 169: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 145 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_VAT_RATE_AUDIT

IVRAlias :

ITEM

DOC_ID

VAT_CODE

VAT_RATE

VAT_CODE_USED

VAT_RATE_USED

The item id

The document id

The VAT code

The VAT rate

The vat code been used

Column Detail

10

20

30

40

45

50

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

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

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

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

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

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

ITEM

DOC_ID

VAT_CODE

VAT_RATE

VAT_CODE_USED

VAT_RATE_USED

CREATE_ID

CREATE_DATETIME

Column

VARCHAR2 (25)

NUMBER (10)

VARCHAR2 (6)

NUMBER (20, 10)

VARCHAR2 (6)

NUMBER (20, 10)

VARCHAR2 (30)

DATE

Type

NOT NULL

NOT NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

45

50

60

70

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table audit the real vat rate that has been used for a documentdetail line

Description :

Table Name : IM_ITEM_VAT_AUDIT

Page 170: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 146 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CREATE_ID

CREATE_DATETIME

The VAT rate being used

The id of creator

The creation time

Column Detail

60

70

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

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

Page 171: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 147 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_MANUAL_GROUPS

IMGAlias :

Primary Key

GROUP_ID

ID of group of unmatched invoices and receipts

Column Detail

10

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

GROUP_ID

Column

NUMBER (10)

Type

NOT NULL

Nulls ?Col.Seq.

10

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_MANUAL_GROUPS GROUP_ID

Name Column

This table holds IDs of all invoices and receipts that were manuallygrouped by the user. These are selected for grouping from a list ofunmatched invoices and receipts.

Description :

Table Name : IM_MANUAL_GROUPS

Page 172: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 148 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_MANUAL_GROUP_INVOICES

IMIAlias :

INVOICE_ID

Column

IM_MANUAL_GROUP_INVOICES_I1

Name

NOT UNIQUE

Index Type

INVOICE_ID references IM_DOC_HEAD.DOC_ID

GROUP_ID references IM_MANUAL_GROUPS.GROUP_ID

IMI_IDD_FK

IMI_IMG_FK

Foreign Keys

Primary Key

GROUP_ID

Group ID from parent table IM_MANUAL_GROUPS

Column Detail

Index Summary

10

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

GROUP_ID

INVOICE_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

Seq.

10

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_MANUAL_GROUP_INVOICES GROUP_IDINVOICE_ID

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table holds the IDs of unmatched invoices grouped by supplierDescription :

Table Name : IM_MANUAL_GROUP_INVOICES

Page 173: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 149 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

INVOICE_ID

Invoice ID belonging to the group

Column Detail

20

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

Page 174: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 150 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_MANUAL_GROUP_RECEIPTS

IMCAlias :

GROUP_ID references IM_MANUAL_GROUPS.GROUP_ID

IMC_IMG_FK

Foreign Keys

Primary Key

GROUP_ID

SHIPMENT

Group ID from parent table IM_MANUAL_GROUPS

Shimpment belonging to the group

Column Detail

10

20

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

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

GROUP_ID

SHIPMENT

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_MANUAL_GROUP_RECEIPTS GROUP_IDSHIPMENT

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table holds the IDs of unmatched receipts grouped by supplierDescription :

Table Name : IM_MANUAL_GROUP_RECEIPTS

Page 175: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 151 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_ORDER_LOCATION_TEMP

Alias :

ORDER_NO

LOCATION

Column Detail

10

20

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

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

ORDER_NO

LOCATION

Column

NUMBER (10)

NUMBER (10)

Type

NULL

NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Temporary table used for performanceDescription :

Table Name : IM_ORDER_LOCATION_TEMP

Page 176: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 152 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_PARENT_INVOICE

IPIAlias :

Primary Key

PARENT_ID

SPLIT_IND

ORDER_NO

LOCATION

LOC_TYPE

SUPPLIER

EXT_DOC_ID

TERMS

TERMS_DSCNT_PCT

DOC_DATE

DUE_DATE

PAYMENT_METHOD

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

MANUALLY_PAID_IND

FREIGHT_TYPE

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

CREATE_DATE

CREATE_ID

EDI_UPLOAD_IND

Column

NUMBER (10)

VARCHAR2 (1)

NUMBER (8)

NUMBER (10)

VARCHAR2 (1)

VARCHAR2 (10)

VARCHAR2 (30)

VARCHAR2 (15)

NUMBER (12, 4)

DATE

DATE

VARCHAR2 (6)

VARCHAR2 (3)

NUMBER (20, 10)

NUMBER (20, 4)

NUMBER (12, 4)

VARCHAR2 (1)

VARCHAR2 (6)

VARCHAR2 (90)

VARCHAR2 (90)

VARCHAR2 (90)

VARCHAR2 (90)

DATE

VARCHAR2 (30)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

180

190

200

210

220

230

240

250

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table holds the parent invoice that goes to multiple locations.It is expected to be split into multiple child invoices by locationbefore invoice matching happens.

Description :

Table Name : IM_PARENT_INVOICE

Page 177: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 153 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CURRENCY_CODE

Column

IM_PARENT_INVOICE_I1

Name

NOT UNIQUE

Index Type

CURRENCY_CODE references IM_CURRENCIES.CURRENCY_CODE

IPI_ICU_FK

CHK_IM_PARENT_INVOICE_EDI_UPLD

CHK_IM_PARENT_INVOICE_MAN_PAID

CHK_IM_PARENT_INVOICE_SPLIT_IN

Name

Check Constraints

Foreign Keys

PARENT_ID

SPLIT_IND

ORDER_NO

LOCATION

LOC_TYPE

This column holds the system generated number to uniquely identify a parentinvoice.

This column indicates if the parent invoice has already been split into childinvoices or not. 'Y' - Yes; 'N' - No.

This column identifies the purchase order this invoice is for.

This column indicates the location this parent invoice is created for.

Where Validate Clause

Column Detail

Index Summary

10

20

30

40

50

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

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

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

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

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

Seq.

10

EDI_UPLOAD_IND IN ('Y','N')

MANUALLY_PAID_IND IN ('Y','N')

SPLIT_IND in ('Y','N')

PK_IM_PARENT_INVOICE PARENT_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

Page 178: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 154 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SUPPLIER

EXT_DOC_ID

TERMS

TERMS_DSCNT_PCT

DOC_DATE

DUE_DATE

PAYMENT_METHOD

CURRENCY_CODE

EXCHANGE_RATE

TOTAL_COST

TOTAL_QTY

MANUALLY_PAID_IND

This column holds the location type for the location.

This column holds the supplier for the invoice.

This column holds the external document id for the invoice from the supplier.

This column holds the invoice terms.

This column holds the discount percentage based on the invoice terms.

This column holds the date the invoice was created.

This column holds the date the invoice is due for payment.

This column holds the payment method for the invoice.

This column holds the currency for the invoice.

This column specifies the exchange rate for the currency code.

This column holds the total cost for the invoice.

This column holds the total invoiced quantity.

This column indicates if the invoice has been manually paid or not. 'Y' - Yes,'N' - No.

Column Detail

60

70

80

90

100

110

120

130

140

150

160

170

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

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

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

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

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

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

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

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

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

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

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

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

Page 179: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 155 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

FREIGHT_TYPE

CUSTOM_DOC_REF_1

CUSTOM_DOC_REF_2

CUSTOM_DOC_REF_3

CUSTOM_DOC_REF_4

CREATE_DATE

CREATE_ID

EDI_UPLOAD_IND

This column indicates the freight payment type for the invoice.

This column holds the customer document reference.

This column holds the customer document reference.

This column holds the customer document reference.

This column holds the customer document reference.

This column holds the date that the parent invoice was entered into the system.

This column holds the user id of the person that created the parent invoice.

This column holds an indicator that describes whether the parent invoice wasuploaded via edi. If the value is 'Y', the parent invoice was entered via edi. If the indicator is N, the parent invoice was manually entered.

Column Detail

180

190

200

210

220

230

240

250

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

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

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

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

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

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

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

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

Page 180: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 156 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_PARENT_INVOICE_DETAIL

IPDAlias :

PARENT_ID references IM_PARENT_INVOICE.PARENT_ID

IPD_IPI_FK

Foreign Keys

Primary Key

PARENT_ID

ITEM

UNIT_COST

INVOICE_QTY

This column uniquely referances parent invioce

This column is the item for this invoice

This column holds the unit cost for the item

Column Detail

10

20

30

40

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

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

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

PARENT_ID

ITEM

UNIT_COST

INVOICE_QTY

Column

NUMBER (10)

VARCHAR2 (25)

NUMBER (20, 4)

NUMBER (12, 4)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_PARENT_INVOICE_DETAIL PARENT_IDITEM

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table holds the detail records for multi-location parent invoicesDescription :

Table Name : IM_PARENT_INVOICE_DETAIL

Page 181: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 157 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

This column holds the quantity invoiced

Column Detail

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

Page 182: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 158 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_PARENT_INVOICE_LOCK

IPLAlias :

LOCK_CREATE_ID

Column

IM_PARENT_INVOICE_LOCK_I1

Name

NOT UNIQUE

Index Type

PARENT_ID references IM_PARENT_INVOICE.PARENT_ID

IPL_IPI_FK

Foreign Keys

Primary Key

PARENT_ID

Parent invoice Id to be locked

Column Detail

Index Summary

10

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

PARENT_ID

LOCK_DATETIME

LOCK_CREATE_ID

Column

NUMBER (10)

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_PARENT_INVOICE_LOCK PARENT_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will be used to create locks on parent invoices. When thea user accesses a parent invoice, a record will be written to thistable. Each time a user tries to access a parent invoice, there is acheck on this table to ensure that the parent invoice is not in use byanother user. When a user finishes using the parent invoice, his lockrecord will be deleted from this table so that other users can accessthe parent invoice.

Description :

Table Name : IM_PARENT_INVOICE_LOCK

Page 183: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 159 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

LOCK_DATETIME

LOCK_CREATE_ID

Time of lock

locking user id

Column Detail

20

30

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

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

Page 184: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 160 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_PARENT_INVOICE_VAT

IPVAlias :

Primary Key

PARENT_ID

VAT_CODE

VAT_RATE

VAT_BASIS

The parent invoice id

The VAT code

The VAT rate

The VAT basis

Column Detail

10

20

30

40

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

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

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

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

PARENT_ID

VAT_CODE

VAT_RATE

VAT_BASIS

Column

NUMBER (10)

VARCHAR2 (6)

NUMBER (20, 10)

NUMBER (20, 4)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_PARENT_INVOICE_VAT PARENT_IDVAT_CODE

Name Column

This table associate parent invoice with its VAT informationDescription :

Table Name : IM_PARENT_INVOICE_VAT

Page 185: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 161 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_PARENT_NON_MERCH

IPNAlias :

PARENT_ID references IM_PARENT_INVOICE.PARENT_ID

IPN_IPI_FK

Foreign Keys

Primary Key

PARENT_ID

NON_MERCH_CODE

NON_MERCH_AMT

This column uniquely references the parent invoice

This column holds the non-merchandise code

This column holds the cost associated with the non-merchandise code

Column Detail

10

20

30

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

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

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

PARENT_ID

NON_MERCH_CODE

NON_MERCH_AMT

VAT_CODE

VAT_RATE

Column

NUMBER (10)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (6)

NUMBER (20, 10)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_PARENT_NON_MERCH PARENT_IDNON_MERCH_CODE

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table holds the non-merchandise costs for the parent invoiceDescription :

Table Name : IM_PARENT_NON_MERCH

Page 186: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 162 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

VAT_CODE

VAT_RATE

The VAT code

The VAT rate

Column Detail

40

50

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

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

Page 187: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 163 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_PARTIALLY_MATCHED_RECEIPTS

IMRAlias :

Primary Key

SHIPMENT

ITEM

QTY_MATCHED

This contains the shipment id for the receipt item.

This contains the item for the receipt item.

This coulmn holds the quantity already invoice matched for the receipt item.

Column Detail

10

20

30

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

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

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

SHIPMENT

ITEM

QTY_MATCHED

Column

NUMBER (10)

VARCHAR2 (25)

NUMBER (12, 4)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_PART_MATCHED_RECEIPTS SHIPMENTITEM

Name Column

This table will hold lines that are already matched for receipts.Description :

Table Name :IM_PARTIALLY_MATCHED_RECEIPTS

Page 188: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 164 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_QTY_DISCREPANCY

IQDAlias :

Other Unique Keys

Name Column

Primary Key

QTY_DISCREPANCY_ID

Column Detail

10

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

QTY_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

ROUTING_DATE

RESOLVE_BY_DATE

QTY_INVOICED

AP_REVIEWER

DOC_TYPE

RESOLUTION_QTY

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

NUMBER (10)

VARCHAR2 (1)

NUMBER (8)

NUMBER (10)

DATE

DATE

NUMBER (12, 4)

VARCHAR2 (30)

VARCHAR2 (6)

NUMBER (12, 4)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

35

40

50

60

70

80

90

120

160

180

190

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_QTY_DISCREPANCY QTY_DISCREPANCY_ID

UK_IM_QTY_DISCREPANCY DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

Name Column

This table will hold quantity discrepancies.Description :

Table Name : IM_QTY_DISCREPANCY

Page 189: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 165 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DEBIT_MEMO_REASON_CODE

ITEM

Column

IM_QTY_DISCREPANCY_I1

IM_QTY_DISCREPANCY_I2

Name

NOT UNIQUE

NOT UNIQUE

Index Type

DOC_ID references IM_DOC_HEAD.DOC_ID

DEBIT_MEMO_REASON_CODE references IM_REASON_CODES.REASON_CODE_ID

IQD_IDD_FK

IQD_IRE_FK

CHK_IM_QTY_DISCREPANCY_DEBIT_M

CHK_IM_QTY_DISCREPANCY_DOC_TYP

CHK_IM_QTY_DISCREPANCY_LOCATIO

CHK_IM_QTY_DISCREPANCY_LOC_TYP

Name

Check Constraints

Foreign Keys

DOC_ID

ITEM

This column is used to create a primary key for records on theim_qty_discrepancy table. Numbers to populate this field are generated usingthe sequence IM_QTY_DISCREPANCY_SEQ.

This column holds the unique identifier for the document that the discrepancyrefers to.

Where Validate Clause

Column Detail

Index Summary

20

30

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

Seq.

30

0

(DEBIT_MEMO_REASON_CODE IS NOT NULL AND DOC_TYPE= 'CRDMEQ') OR (DEBIT_MEMO_REASON_CODE IS NULL AND DOC_TYPE!= 'CRDMEQ')(DOC_TYPE = 'MRCHI' and LOCATION != NULL and LOC_TYPE != NULL andORDER_NO != NULL) OR (DOC_TYPE = 'CRDMEQ') OR (DOC_TYPE = 'CRDNT')(LOCATION IS NULL) OR (LOCATION IS NOT NULL ANDLOC_TYPE IS NOT NULL)(LOC_TYPE in ('S','W')) OR (LOC_TYPE IS NULL) OR(LOC_TYPE IS NOT NULL AND LOCATION IS NOT NULL)

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

No

Restricted

Restricted

Restricted

Restricted

Page 190: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 166 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

ROUTING_DATE

RESOLVE_BY_DATE

QTY_INVOICED

AP_REVIEWER

DOC_TYPE

RESOLUTION_QTY

This column holds the item that the discrepancy is for.

This column holds the reason code associated with the discrepancy line item.

This column holds the location that the invoice is for.

This column holds the type of location.

This column holds the order for the invoice.

This column holds the purchase order's supplier.

The date when the discrepancy was routed. A discrepancy is routed as soon as itis created.

The date by which the discrepancy must be resolved

This is the quantity invoiced.

This holds the ap_reviewer for the supplier.

This column holds the document type associated with the DOC_ID.

This column will contain the actual quantity specified for this discrepancy tobe resolved. When a discrepancy is created, this column will not be populated.This value will be populated and maintained any time a resolution is saved forthis discrepancy.

Column Detail

35

40

50

60

70

80

90

120

160

180

190

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

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

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

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

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

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

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

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

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

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

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

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

Page 191: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 167 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_QTY_DISCREPANCY_CNR

IQCAlias :

QTY_DISCREPANCY_ID references IM_QTY_DISCREPANCY.QTY_DISCREPANCY_ID

IQC_IQD_FK

Foreign Keys

Primary Key

QTY_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

The quantity discrepancy id

The credit note request id

Column Detail

10

20

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

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

QTY_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_QTY_DISCREPANCY_CNR QTY_DISCREPANCY_IDCREDIT_NOTE_REQUEST_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will associate quantity discrepancy id with credit noterequest id

Description :

Table Name : IM_QTY_DISCREPANCY_CNR

Page 192: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 168 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_QTY_DISCREPANCY_CNR_HIST

IQTAlias :

Primary Key

QTY_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

The quantity discrepancy id

The credit note request id

Column Detail

10

20

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

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

QTY_DISCREPANCY_ID

CREDIT_NOTE_REQUEST_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_QTY_DISCREPANCY_CNR_HIST QTY_DISCREPANCY_IDCREDIT_NOTE_REQUEST_ID

Name Column

This table records the history of the association between quantitydiscrepancy id and credit note request id

Description :

Table Name : IM_QTY_DISCREPANCY_CNR_HIST

Page 193: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 169 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_QTY_DISCREPANCY_HIST

IQHAlias :

CHK_IM_QTY_DISC_HIST_LOC_LOCTY

CHK_IM_QTY_DISC_HIST_LOC_TYP

Name

Check Constraints

Primary Key

Where Validate Clause

Column Detail

QTY_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

ROUTING_DATE

RESOLVE_BY_DATE

QTY_INVOICED

AP_REVIEWER

RESOLUTION_DATE

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

NUMBER (10)

VARCHAR2 (1)

NUMBER (8)

NUMBER (10)

DATE

DATE

NUMBER (12, 4)

VARCHAR2 (30)

DATE

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

35

40

50

60

70

80

90

120

160

170

Column Summary

(location is null and loc_type is null) or(location is not null and loc_type is not null)LOC_TYPE in ('S','W')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_QTY_DISCREPANCY_HIST QTY_DISCREPANCY_ID

Name Column

This table holds history of quantity discrepancies. This table iswritten to when discrepancies are resolved. This table is purged whenthe document/item is purged from the system. This table is not usedfor any ReIM processing, but can be used for reporting.

Description :

Table Name : IM_QTY_DISCREPANCY_HIST

Page 194: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 170 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

QTY_DISCREPANCY_ID

DOC_ID

ITEM

DEBIT_MEMO_REASON_CODE

LOCATION

LOC_TYPE

ORDER_NO

SUPPLIER

ROUTING_DATE

RESOLVE_BY_DATE

QTY_INVOICED

AP_REVIEWER

This column uniquely identifies the qty discrepancy.

This column holds the unique identifier for the document that the discrepancyrefers to.

This column holds the item that the discrepancy is for.

This column will indicate the original debit memo reason code for a quantitydiscrepancy generated from a debit memo reversal.

This column holds the location that the invoice is for.

This column holds the type of location.

This column holds the order for the invoice.

This column holds the purchase order's supplier.

The date when the discrepancy was routed. A discrepancy is routed as soon as itis created.

The date by which the discrepancy must be resolved

This is the quantity invoiced.

This holds the ap_reviewer for the supplier.

Column Detail

10

20

30

35

40

50

60

70

80

90

120

160

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

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

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

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

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

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

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

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

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

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

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

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

Page 195: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 171 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

RESOLUTION_DATE

This column holds the date the qty discrepancy was resolved.

Column Detail

170

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

Page 196: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 172 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_QTY_DISCREPANCY_RECEIPT

IQRAlias :

QTY_DISCREPANCY_ID references IM_QTY_DISCREPANCY.QTY_DISCREPANCY_ID

IQR_IQD_FK

Foreign Keys

Primary Key

QTY_DISCREPANCY_ID

RECEIPT_ID

This column will identify the quantity discrepancy that this receipt item isassociated with.

This column will identify the receipt that is associated with the quantitydiscrepancy.

Column Detail

10

20

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

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

QTY_DISCREPANCY_ID

RECEIPT_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_QTY_DISCREPANCY_RECEIPT QTY_DISCREPANCY_IDRECEIPT_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will hold the receipt items that are associated with thequantity discrepancy for an invoice line.

Description :

Table Name : IM_QTY_DISCREPANCY_RECEIPT

Page 197: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 173 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_QTY_DISCREPANCY_RECEIPT_HIS

IQSAlias :

QTY_DISCREPANCY_ID referencesIM_QTY_DISCREPANCY_HIST.QTY_DISCREPANCY_ID

IQS_IQH_FK

Foreign Keys

Primary Key

QTY_DISCREPANCY_ID

RECEIPT_ID

This column will identify the quantity discrepancy that this receipt item isassociated with.

This column will identify the receipt that is associated with the quantitydiscrepancy.

Column Detail

10

20

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

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

QTY_DISCREPANCY_ID

RECEIPT_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_QTY_DISCREPANCY_RCPT_HIS QTY_DISCREPANCY_IDRECEIPT_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This column holds the history of quantity discrepancies/receiptcombinations. This table is written to when discrepancies areresolved and purged from when the document/item is purged from thesystem.

Description :

Table Name :IM_QTY_DISCREPANCY_RECEIPT_HIS

Page 198: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 174 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_QTY_DISCREPANCY_ROLE

ITRAlias :

BUSINESS_ROLE_ID

Column

IM_QTY_DISCREPANCY_ROLE_I1

Name

NOT UNIQUE

Index Type

BUSINESS_ROLE_ID references IM_BUSINESS_ROLES.BUSINESS_ROLE_ID

QTY_DISCREPANCY_ID references IM_QTY_DISCREPANCY.QTY_DISCREPANCY_ID

ITR_IBE_FK

ITR_IQD_FK

Foreign Keys

Primary Key

QTY_DISCREPANCY_ID

Column Detail

Index Summary

10

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

QTY_DISCREPANCY_ID

BUSINESS_ROLE_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

Seq.

0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_QTY_DISCREPANCY_ROLE QTY_DISCREPANCY_IDBUSINESS_ROLE_ID

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table holds the business roles for the quantity discrepancy.Unlike cost discrepancies, quantity discrepancies can be routed tomultiple user groups.

Description :

Table Name : IM_QTY_DISCREPANCY_ROLE

Page 199: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 175 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

BUSINESS_ROLE_ID

This column associates the

This column holds the business role associated with the quantity discrepancy.

Column Detail

20

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

Page 200: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 176 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_QTY_DISCREPANCY_ROLE

ITHAlias :

QTY_DISCREPANCY_ID referencesIM_QTY_DISCREPANCY_HIST.QTY_DISCREPANCY_ID

ITH_IQH_FK

Foreign Keys

Primary Key

QTY_DISCREPANCY_ID

BUSINESS_ROLE_ID

RESOLUTION_DATE

This column associates the

This column holds the business role associated with the quantity discrepancy.

This column holds the date this discrepancy/role was acted upon.

Column Detail

10

20

30

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

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

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

QTY_DISCREPANCY_ID

BUSINESS_ROLE_ID

RESOLUTION_DATE

Column

NUMBER (10)

NUMBER (10)

DATE

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_QTY_DISCREPANCY_ROLE_HIS QTY_DISCREPANCY_IDBUSINESS_ROLE_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table holds the business roles for the quantity discrepancy.Unlike cost discrepancies, quantity discrepancies can be routed tomultiple user groups.

Description :

Table Name :IM_QTY_DISCREPANCY_ROLE_HIST

Page 201: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 177 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Receipt Item PostingInvoic

IRIAlias :

DOC_ID

Column

IM_RCPT_ITEM_POSTING_INVOIC_I1

Name

NOT UNIQUE

Index Type

SEQ_NO references IM_RECEIPT_ITEM_POSTING.SEQ_NO

IRI_IRP_FK

CHK_IM_RCIP_STATUS

Name

Check Constraints

Foreign Keys

Primary Key

Where Validate Clause

Index Summary

SEQ_NO

DOC_ID

STATUS

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

0

status in ('M','P')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_RCPT_ITEM_POSTING_INVOIC SEQ_NODOC_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

Each row on this table represents an invoice that could be tied to anitem/receipt.

Description :

Table Name :IM_RCPT_ITEM_POSTING_INVOICE

Page 202: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 178 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SEQ_NO

DOC_ID

STATUS

Generated field that identifies a receipt item matched with an invoice

Identifies the invoice number which relates the invoice to the shipment

Identifies if the invoice has been 'M'atched or 'P'osted

Column Detail

10

20

30

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

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

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

Page 203: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 179 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_RCPT_ITEM_POSTING_INV_STAGE

IRSAlias :

SEQ_NO

DOC_ID

Sequence

Invoice matched

Column Detail

10

20

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

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

SEQ_NO

DOC_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Staging table for tracking receipt posting invoice information.Description :

Table Name :IM_RCPT_ITEM_POSTING_INV_STAGE

Page 204: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 180 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Reason Code Maintenance

IREAlias :

CHK_IRE_ACTION

CHK_IRE_COMMENT_REQUIRED_IND

CHK_IRE_DELETE_IND

CHK_IRE_REASON_CODE_ID

CHK_IRE_REASON_CODE_TYPE

Name

Check Constraints

Primary Key

REASON_CODE_TYPE

Where Validate Clause

Column Detail

20

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

REASON_CODE_TYPE

REASON_CODE_ID

REASON_CODE_DESC

ACTION

COMMENT_REQUIRED_IND

HINT_COMMENT

DELETE_IND

Column

VARCHAR2 (6)

VARCHAR2 (20)

VARCHAR2 (1000)

VARCHAR2 (6)

VARCHAR2 (1)

VARCHAR2 (2000)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

Nulls ?Col.Seq.

20

30

40

50

60

70

80

Column Summary

ACTION in ('CBC', 'CBQ', 'CMC', 'CMQ', 'RCA','RCAS', 'RUA', 'DWO', 'RCD', 'RQD', 'DD', 'SR','MR', 'ACDS', 'UIV', 'DMVI', 'DMVF', 'CNRVI','CNRVF')COMMENT_REQUIRED_IND IN ('Y','N')

DELETE_IND IN ('Y','N')

REASON_CODE_ID = upper(REASON_CODE_ID)

REASON_CODE_TYPE in ('C', 'Q', 'V', 'CNV','RTV')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_REASON_CODES REASON_CODE_ID

Name Column

This table holds the business reason codes and reason code actionsassociated with business roles. These reason codes are used todescribe and act on invoice cost and quantity discrepancies.

Description :

Table Name : IM_REASON_CODES

Page 205: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 181 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

REASON_CODE_ID

REASON_CODE_DESC

ACTION

This column holds the type of reason code, 'C'ost discrepancy or 'Q'uantitydiscrepancy. Valid values are 'C' and 'Q'. This column is mandatory not null

This column holds the user defined reason code ID. A reason code must beunique across all user groups so that it can be mapped to different GLaccounts. Reason codes must the upper case character string of not more than 6characters. This column is mandatory not null

This column holds the user-defined description of the reason code. Thedescription must be unique. Reason code descriptions can be mixed case and notmore than . This column is mandatory not null.

This column holds the action that is associated with the reason code. Theseactions will be performed when a member of this role acts on the either a costor quantity discrepancy (depending on the reason_code_type). This field ismandatory not null. Valid values for this field are: 'CBC' - Charge Back Cost. When a cost discrepancy is marked for resolutionwith a Charge Back Cost, either a debit memo cost or credit note request cost(depending on the im_supplier_options.send_debit_memo indicator) will becreated. If the supplier option is set to yes, a debit memo cost will be sent. If the supplier option is no, a credit note request will be sent. 'CBQ' - Charge Back Quantity. When a cost discrepancy is marked for resolutionwith a Charge Back Quantity, either a debit memo qty or credit note request qty(depending on the im_supplier_options.send_debit_memo indicator) will becreated and sent to the supplier. If the supplier option is set to yes, adebit memo qty will be sent. If the supplier option is no, a credit noterequest qty will be sent. 'CMC' - Credit Memo Cost - When a cost discrepancy is marked for resolutionwith a Credit Memo Cost, a credit memo cost containing the discrepant item willbe sent to the supplier. 'CMQ' Credit Memo Qty - When a qty discrepancy is marked for resolution with aCredit Memo Qty, a credit memo qty containing the discrepant item will be sentto the supplier. 'RCD' - Reroute Cost Discrepancy. When a cost discrepancy is rerouted, thesystem will prompt the user to choose a person to reroute the discrepancy to. 'RQD' - Reroute Quantity Discrepancy. When a quantity discrepancy isrerouted, the system will prompt the user to choose a person to reroute thediscrepancy to. 'RCA' - Receiver Cost Adjustment - PO and receipt only. This action creates arecord based on the adjusted cost of the receiver and the associated PO (forall locations with same item cost) to match the invoice cost or to anothervalue. This action writes this adjustment record to a staging table, allowing

Column Detail

30

40

50

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

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

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

Page 206: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 182 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

COMMENT_REQUIRED_IND

HINT_COMMENT

DELETE_IND

the retailer to create a custom interface to RMS to adjust the shipment/receiptor to create a report to support manual entry of receiver cost adjustments inRMS. 'RCAS' - Receiver Cost Adjustment - PO, receipt and supplier cost. This actionis identical to the in addition to the 'Receiver Cost Adjustment - PO andreceipt only' except that the supplier cost file in RMS is updated as well. 'RUA' - Receiver Unit Adjustment. This action creates a record from the unitadjustment to match the receiver with associated invoice lines. This actionwrites this adjustment record to a staging table, allowing the retailer tocreate a custom interface to RMS to adjust the shipment/receipt, or to write areport to support manual entry of the receiver unit adjustments in RMS. 'DWO' - Discrepancy Write-Off. This action allows the user to stop any furthermatching activity, export the invoice for payment and create an entry for theunresolved difference (no document data is created; any discrepancies arewritten-off). 'DD' - Deny dispute. When the action type is deny dispute, Retek InvoiceMatching prompt will create a document that disputes there is a discrepancy. 'SR' - Split Receipt. This action allows the user to split the invoice intomultiple receipts. The user may then match the invoice to the newly created'sub-receipt' (extract of the original receipt). The remaining sub-receipt(s)are in unmatched status and available for matching through the auto-match andmanual match processes. 'MR' - Match to Receipt. This action allows the reviewer to directly match theinvoice with the newly created receipt, resolving or partially resolving thediscrepancy. 'ACDS' - Approve Credit in Disputed Status. This action updates the linestatus on a credit memo from 'disputed' to 'approved'. There is no document(the user may create a document from the record posted to the table). Approvedcredit memo lines will post to the financial system once each line has beenresolved from 'disputed' status.

This column indicates whether or not an action requires a comments.

This column will be used as a hint for the given reason code.

This column is used to purge reason codes marked for delete. This column ischecked when running the batch purge program. If that reason code record ismarked for deletion than that reason code will not be displayed in Reason CodeMaintenance. If the user checks a reason code to be deleted that record shouldbe set to be deleted('Y') on the IM_REASON_CODES table.

Column Detail

60

70

80

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

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

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

Page 207: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 183 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_RECEIPT_ITEM_POSTING

IRPAlias :

Primary Key

SEQ_NO

RECEIPT_ID

ITEM_ID

QTY_MATCHED

QTY_POSTED

Generated value to uniquely identify a row on the table

Contains the unique number identifying a specific shipment of goods.

Unique alphanumeric value that represents the item

Contains the total number of items matched.

contains the total number of items posted

Column Detail

10

20

30

40

50

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

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

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

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

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

SEQ_NO

RECEIPT_ID

ITEM_ID

QTY_MATCHED

QTY_POSTED

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

NUMBER (20, 4)

NUMBER (20, 4)

Type

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_RECEIPT_ITEM_POSTING SEQ_NO

Name Column

This table will track how much of an individual receipt item has beenmatched and posted

Description :

Table Name : IM_RECEIPT_ITEM_POSTING

Page 208: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 184 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_RECEIPT_ITEM_POSTING_STAGE

IROAlias :

Primary Key

SEQ_NO

RECEIPT_ID

ITEM_ID

QTY_POSTED

CREATE_DATE

Sequence

Receipt being tracked

Item being tracked

Quantity already posted to financials

Date record created

Column Detail

10

20

30

40

50

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

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

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

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

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

SEQ_NO

RECEIPT_ID

ITEM_ID

QTY_POSTED

CREATE_DATE

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (25)

NUMBER (20, 4)

DATE

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_RECEIPT_ITEM_POSTING_STA SEQ_NO

Name Column

Staging table for reports on receipt item posting.Description :

Table Name :IM_RECEIPT_ITEM_POSTING_STAGE

Page 209: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 185 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_RECEIPT_LOCK

IRLAlias :

LOCK_CREATE_ID

Column

IM_RECEIPT_LOCK_I1

Name

NOT UNIQUE

Index Type

Primary Key

RECEIPT_ID

LOCK_DATETIME

LOCK_CREATE_ID

This column holds the internal ID of the receipts that are locked.

This column holds the date and time that the lock was created.

This column holds the ID of the user that has locked the receipt.

Column Detail

Index Summary

10

20

30

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

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

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

RECEIPT_ID

LOCK_DATETIME

LOCK_CREATE_ID

Column

NUMBER (10)

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_RECEIPT_LOCK RECEIPT_ID

Name Column

This table holds records that represent receipts that are currentlylocked by another process or user. When a user or process chooses toedit a receipt record (or any child of a receipt record), a recordwill be written to this table and commited. When the user is doneediting the receipt, the lock record will be deleted. Before a useror process is able to edit a record, there will be a check to ensurethat a record for the receipt does not exist on this table.

Description :

Table Name : IM_RECEIPT_LOCK

Page 210: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 186 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_RECEIVER_COST_ADJUST

IRCAlias :

Primary Key

ORDER_NO

ITEM

The order number for the cost change

Column Detail

10

20

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

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

ORDER_NO

ITEM

LOCATION

SUPPLIER

ADJUSTED_UNIT_COST

CURRENCY_CODE

COMMENTS

TYPE

REASON_CODE

USER_ID

SHIPMENT

Column

NUMBER (8)

VARCHAR2 (25)

NUMBER (10)

NUMBER (10)

NUMBER (20, 4)

VARCHAR2 (3)

VARCHAR2 (2000)

VARCHAR2 (4)

VARCHAR2 (6)

VARCHAR2 (30)

NUMBER (10)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_RECEIVER_COST_ADJUST ORDER_NOITEMLOCATION

Name Column

This table holds the records of discrepancy resolution actions thatrequire a receiver cost adjustments. Records will be written to thistable when an invoice cost discrepancy is resolved by a reason codeaction of receiver cost adjust. The expectation is that the clientwill write a program that will use the records to adjust order costsand then purge them.

Description :

Table Name : IM_RECEIVER_COST_ADJUST

Page 211: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 187 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CURRENCY_CODE

REASON_CODE

Column

IM_RECEIVER_COST_ADJUST_I1

IM_RECEIVER_COST_ADJUST_I2

Name

NOT UNIQUE

NOT UNIQUE

Index Type

CURRENCY_CODE references IM_CURRENCIES.CURRENCY_CODE

REASON_CODE references IM_REASON_CODES.REASON_CODE_ID

IRC_ICU_FK

IRC_IRE_FK

CHK_IM_RCVR_COST_ADJ_TYPE

Name

Check Constraints

Foreign Keys

LOCATION

SUPPLIER

ADJUSTED_UNIT_COST

CURRENCY_CODE

COMMENTS

The item id for the cost change for the specified order-location

The location on the order for which the item's unit cost will be changed

The supplier associated with the order

The updated unit cost amount that should be reflected in the merchandisingsystem.

This column holds the currency code associated with the document. It should bethe same as the order and invoice currency.

Where Validate Clause

Column Detail

Index Summary

30

40

50

60

70

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

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

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

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

Seq.

10

30

TYPE IN ('POR', 'PORS')

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Page 212: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 188 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

TYPE

REASON_CODE

USER_ID

SHIPMENT

This column holds comments the user may enter when resolving the discrepancy

The column holds the type of receiver cost adjustment.Valid values include:'POR' - PO and Receipt Only'PORS'- PO, Receipt, and Supplier cost

The column holds the reason code of the discrepancy resolution.

The column holds the user id requesting the cost adjustment for the discrepancyresolution.

id of the receipt that caused the adjustment

Column Detail

80

90

100

110

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

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

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

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

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

Page 213: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 189 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_RECEIVER_UNIT_ADJUST

IRUAlias :

REASON_CODE

Column

IM_RECEIVER_UNIT_ADJUST_I1

Name

NOT UNIQUE

Index Type

REASON_CODE references IM_REASON_CODES.REASON_CODE_ID

IRU_IRE_FK

Foreign Keys

Primary Key

Index Summary

SHIPMENT

ITEM

SEQ_NO

ADJUSTED_ITEM_QTY

COMMENTS

REASON_CODE

USER_ID

LOCATION

Column

NUMBER (10)

VARCHAR2 (25)

NUMBER (10)

NUMBER (12, 4)

VARCHAR2 (2000)

VARCHAR2 (6)

VARCHAR2 (30)

NUMBER (10)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

25

30

40

50

60

70

Column Summary

Seq.

30

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_RECEIVER_UNIT_ADJUST SHIPMENTITEMSEQ_NO

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table holds the records of discrepancy resolution actions thatrequire a receiver unit adjustments. Records will be written to thistable when an invoice quantity discrepancy is resolved by a reasoncode action of receiver unit adjust. The expectation is that theclient will write a program that will use the records and then purgethem.

Description :

Table Name : IM_RECEIVER_UNIT_ADJUST

Page 214: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 190 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SHIPMENT

ITEM

SEQ_NO

ADJUSTED_ITEM_QTY

COMMENTS

REASON_CODE

USER_ID

LOCATION

The receipt shipment id of the item quantity change.

The item id that the quantity change applies to for the specified shipment

the sequence number

The new item quantity that should be applied to the merchandising system.

This column holds comments the user may enter when resolving the discrepancy

The column holds the reason code of the discrepancy resolution.

The column holds the user id requesting the unit adjustment for the discrepancyresolution

The column will hold the to location of the shipment

Column Detail

10

20

25

30

40

50

60

70

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

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

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

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

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

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

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

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

Page 215: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 191 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_RESOLUTION_ACTION

IRAAlias :

Primary Key

DOC_ID

ITEM

This column holds the document to which this resolution action belongs.

This column holds the transaction level item that is discrepant on the documentor order. Transaction level item means that the item is managed at this levelin the merchandising system. For RMS 9, this could be either a pack, fashion

Column Detail

10

20

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

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

DOC_ID

ITEM

REASON_CODE

ACTION

QUANTITY

UNIT_COST

EXTENDED_COST

STATUS

SHIPMENT

Column

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (12, 4)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (1)

NUMBER (10)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NULL

NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_RESOLUTION_ACTION DOC_IDITEMREASON_CODE

Name Column

This table holds records of actions that need to be taken to resolvequantity and cost discrepancies. Records will be written to thistable by the online resolutions screens when the action requires a newtype of document to be created. Records will be deleted once thedocument associated with the action is created.

Description :

Table Name : IM_RESOLUTION_ACTION

Page 216: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 192 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

REASON_CODE

Column

IM_RESOLUTION_ACTION_I1

Name

NOT UNIQUE

Index Type

DOC_ID references IM_DOC_HEAD.DOC_ID

REASON_CODE references IM_REASON_CODES.REASON_CODE_ID

IRA_IDD_FK

IRA_IRE_FK

CHK_IM_RESOL_ACTION_ACTION

CHK_IM_RESOL_ACTION_STATUS

Name

Check Constraints

Foreign Keys

REASON_CODE

ACTION

QUANTITY

sku or staple sku, but this could not be a fashion style. For RMS 10, thismust be a transaction level. This column is mandatory not null.

This column holds the user defined reason code ID. A reason code must beunique across all user groups so that it can be mapped to different GLaccounts. Reason codes must the upper case character string of not more than 6characters. This column is mandatory not null

This column holds the action that is associated with the reason code. Theseactions will be performed when a member of this role acts on the either a costor quantity discrepancy (depending on the reason_code_type). This field ismandator

Where Validate Clause

Column Detail

Index Summary

30

40

50

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

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

Seq.

30

(ACTION in ('CBC', 'CBQ', 'CMC', 'CMQ', 'RCA','RCAS', 'DWO', 'RCD', 'RQD', 'SR', 'MR', 'UIV','DMVI', 'DMVF', 'CNRVF', 'CNRVI')) OR (ACTION = 'RUA' and SHIPMENT IS NOT NULL)

STATUS IN ('U', 'R')

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Page 217: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 193 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

UNIT_COST

EXTENDED_COST

STATUS

SHIPMENT

This column will hold the adjustment quantity for the specified reason code.

The column holds the unit cost difference or the new unit cost if action is areceiver cost adjustment.

This column will hold the extened total cost adjustment for the resolutionreason. Extended cost means the cost adjustment amount times the quantity onthe document or order

This column will hold the status of the record. Valid values for this fieldare "rolled-up" and "unrolled". A record is "rolled-up" once the action hasbeen done. It is written to the table in "unrolled" status.

This column holds the receipt when it is associated with a discrepancy actionof receiver adjustment.

Column Detail

60

70

80

90

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

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

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

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

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

Page 218: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 194 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_REVERSAL_RESOLUTION_ACTION

IRTAlias :

DOC_ID references IM_DOC_HEAD.DOC_ID

DEBIT_REASON_CODE references IM_REASON_CODES.REASON_CODE_ID

IRT_IDD_FK

IRT_IRE_FK2

Foreign Keys

Primary Key

DOC_ID

ITEM

REASON_CODE

DEBIT_REASON_CODE

TYPE

ACTION

QUANTITY

UNIT_COST

EXTENDED_COST

STATUS

Column

NUMBER (10)

VARCHAR2 (25)

VARCHAR2 (6)

VARCHAR2 (6)

VARCHAR2 (1)

VARCHAR2 (6)

NUMBER (12, 4)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

45

50

60

70

80

90

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_REVERSAL_RESOLUTION_ACTI DOC_IDITEMREASON_CODEDEBIT_REASON_CODE

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table will hold the resolution actions for a disputed credit memothat is created as a reversal to a debit memo.

Description :

Table Name :IM_REVERSAL_RESOLUTION_ACTION

Page 219: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 195 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

REASON_CODE

DEBIT_REASON_CODE

Column

IM_REVERSAL_RESOLUT_ACTION_I1

IM_REVERSAL_RESOLUT_ACTION_I2

Name

NOT UNIQUE

NOT UNIQUE

Index Type

CHK_IM_REV_RES_ACTION_ACTION

CHK_IM_REV_RES_ACTION_STATUS

CHK_IM_REV_RES_ACTION_TYPE

Name

Check Constraints

DOC_ID

ITEM

REASON_CODE

DEBIT_REASON_CODE

TYPE

ACTION

QUANTITY

This column uniquely references an existing document.

This column uniquely references a document item.

This column identifies the reason code associated with the approval or denialof the disputed credit memo.

This column identifies the reason code associated with the original debit memofor which this credit memo is created as a reversal.

This indicates if the resolution actions is used to resolve a disputed creditmemo cost or credit memo quantity. 'C' - Cost; 'Q' - Quantity.

This column identifies the action taken to resolve a disputed credit memo line.Valid values are: 'DD' - Deny Dispute; 'ACDS' - Approve Credit in DisputedStatus.

This column defines the amount of quantity that is resolved for the disputed

Where Validate Clause

Column Detail

Index Summary

10

20

30

40

45

50

60

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

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

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

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

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

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

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

Seq.

0

0

ACTION IN ('DD', 'ACDS')

STATUS IN ('U','R')

TYPE in ('C','Q')

Page 220: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 196 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

UNIT_COST

EXTENDED_COST

STATUS

credit memo line. It's only valid for a disputed credit memo quantity.

This column identifies the amount of unit cost that is resolved for thedisputed credit memo line. It is only valid for a disputed credit memo cost.

This column holds the extend cost that is resolved for the disputed credit memoline.

This column indicates if the resolution action for a disputed credit memo isrolled up or not. 'U' - Unrolled; 'R' - Rolled.

Column Detail

70

80

90

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

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

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

Page 221: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 197 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_SUMMARY_MATCH_HISTORY

IMSAlias :

CHK_IM_SUM_MTCH_HIST_AUTO_MAT

CHK_IM_SUM_MTCH_HIST_EXACT_MAT

Name

Check Constraints

Primary Key

MATCH_ID

AUTO_MATCHED

EXACT_MATCH

This column holds a system generated number for matching.

This column indicates whether the match was obtained automatically by thesystem or manually.

This column indicates whether the match was an exact match or whether it wasnot exact but within tolerance.

Where Validate Clause

Column Detail

10

20

30

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

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

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

MATCH_ID

AUTO_MATCHED

EXACT_MATCH

Column

NUMBER (10)

VARCHAR2 (1)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

AUTO_MATCHED IN ('Y','N')

EXACT_MATCH IN ('Y','N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_SUMMARY_MATCH_HISTORY MATCH_ID

Name Column

This table holds the result of matching.Description :

Table Name : IM_SUMMARY_MATCH_HISTORY

Page 222: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 198 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_SUMMARY_MATCH_INVC_HISTORY

IIRAlias :

INVOICE_ID

Column

IM_SUMMARY_MATCH_INVC_HIST_I1

Name

NOT UNIQUE

Index Type

INVOICE_ID references IM_DOC_HEAD.DOC_ID

MATCH_ID references IM_SUMMARY_MATCH_HISTORY.MATCH_ID

IIR_IDD_FK

IIR_IMS_FK

Foreign Keys

Primary Key

MATCH_ID

This column references the match group this invoice is part of.

Column Detail

Index Summary

10

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

MATCH_ID

INVOICE_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

Seq.

10

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_SUMMARY_MATCH_INVC_HIST MATCH_IDINVOICE_ID

Transferable ?

Transferable ?

Mandatory ?

Mandatory ?

Update Rule :

Update Rule :

Delete Rule :

Delete Rule :

Yes

Yes

Yes

Yes

Restricted

Restricted

Restricted

Restricted

Name Column

This table will hold the match results for invoices.Description :

Table Name :IM_SUMMARY_MATCH_INVC_HISTORY

Page 223: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 199 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

INVOICE_ID

This column references the invoice that is matched in the group.

Column Detail

20

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

Page 224: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 200 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title :IM_SUMMARY_MATCH_RCPT_HISTORY

IRRAlias :

MATCH_ID references IM_SUMMARY_MATCH_HISTORY.MATCH_ID

IRR_IMS_FK

Foreign Keys

Primary Key

MATCH_ID

RECEIPT_ID

This column references the matching group this receipt is part of.

This column references the receipt that is matched.

Column Detail

10

20

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

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

MATCH_ID

RECEIPT_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_SUMMARY_MATCH_RCPT_HIST MATCH_IDRECEIPT_ID

Transferable ?

Mandatory ?

Update Rule :

Delete Rule :

Yes

Yes

Restricted

Restricted

Name Column

This table will hold the matching results for receipts.Description :

Table Name :IM_SUMMARY_MATCH_RCPT_HISTORY

Page 225: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 201 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_SUPPLIER_GROUPS

ISGAlias :

CHK_IM_SUPP_GRP_MTCH_TOT_QT_IN

CHK_IM_SUPP_GRP_TOT_QT_REQ_IND

Name

Check Constraints

Primary Key

GROUP_ID

TOTAL_QTY_REQUIRED_IND

MATCH_TOTAL_QTY_IND

The group id

The indicator of whether total quantity is required

The indicator of whether match total quantity is required

Where Validate Clause

Column Detail

10

20

30

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

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

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

GROUP_ID

TOTAL_QTY_REQUIRED_IND

MATCH_TOTAL_QTY_IND

Column

NUMBER (10)

VARCHAR2 (1)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

MATCH_TOTAL_QTY_IND in ('Y','N')

TOTAL_QTY_REQUIRED_IND in ('Y','N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_SUPPLIER_GROUPS GROUP_ID

Name Column

This table defines supplier groups and their attributesDescription :

Table Name : IM_SUPPLIER_GROUPS

Page 226: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 202 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_SUPPLIER_GROUP_MEMBERS

ISMAlias :

Primary Key

GROUP_ID

SUPPLIER_ID

The supplier group id

The supplier id

Column Detail

10

20

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

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

GROUP_ID

SUPPLIER_ID

Column

NUMBER (10)

NUMBER (10)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_SUPPLIER_GROUP_MEMBERS GROUP_IDSUPPLIER_ID

Name Column

This table defines supplier as member of supplier groupDescription :

Table Name : IM_SUPPLIER_GROUP_MEMBERS

Page 227: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 203 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Supplier Options

ISNAlias :

CHK_IM_SUP_OPT_CLOSE_OPEN_SHIP

CHK_IM_SUP_OPT_MANUAL_PAID_IND

CHK_IM_SUP_OPT_MTCH_RCPT_OTHER

CHK_IM_SUP_OPT_QTY_DISC_DAY_BE

CHK_IM_SUP_OPT_ROG_DATE_ALLOW

CHK_IM_SUP_OPT_SEND_DEBIT_MEMO

CHK_IM_SUP_OPT_USE_INVC_TERMS

Name

Check Constraints

Primary Key

Where Validate Clause

SUPPLIER

SEND_DEBIT_MEMO

MANUALLY_PAID_IND

USE_INVOICE_TERMS_IND

ROG_DATE_ALLOWED_IND

AP_REVIEWER

CLOSE_OPEN_SHIPMENT_DAYS

MATCH_RCPTS_OTHER_SUPPS_IND

QTY_DISC_DAY_BEFORE_RTE

Column

NUMBER (10)

VARCHAR2 (6)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (30)

NUMBER (3)

VARCHAR2 (1)

NUMBER (3)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

70

80

90

120

130

150

170

Column Summary

CLOSE_OPEN_SHIPMENT_DAYS between 0 and 999

MANUALLY_PAID_IND in ('Y', 'N')

MATCH_RCPTS_OTHER_SUPPS_IND in ('Y','N')

QTY_DISC_DAY_BEFORE_RTE BETWEEN 0 AND 999

ROG_DATE_ALLOWED_IND in ('Y', 'N')

SEND_DEBIT_MEMO in ('A', 'L', 'N')

USE_INVOICE_TERMS_IND in ('Y', 'N')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_SUPPLIER_OPTIONS SUPPLIER

Name Column

This table holds the supplier options that control supplier levelconfigurable options within Retek Invoice Matching. There should beonly one row per supplier in this table. Data on this table should bemaintained only after serious consideration of how the change willaffect the company's business practice and accounting.

Description :

Table Name : IM_SUPPLIER_OPTIONS

Page 228: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 204 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

AP_REVIEWER

Column

IM_SUPPLIER_OPTIONS_I1

Name

NOT UNIQUE

Index Type

SUPPLIER

SEND_DEBIT_MEMO

MANUALLY_PAID_IND

USE_INVOICE_TERMS_IND

ROG_DATE_ALLOWED_IND

AP_REVIEWER

This column holds the ID of the supplier whose Retek Invoice Matching optionsare being defined. This field is mandatory not null.

This column determines the type of document to send to the supplier when aresolution document is automatically being created to resolve an invoicediscrepancy (invoice amount > receipt amount). 'Always' indicates the systemshould always create debit memos for this vendor to resolved invoicediscrepancies. 'Never' indicates the system should never send debit memos forthis vendor to resolve invoice discrepancies (credit note requests will be sentinstead). 'Only when Credit Note is Late' indicates that debit memo's shouldbe sent only after a credit note request due date has passed. Valid values forthis column are 'A' - Always, 'L' - Only when Credit Note is Late' and 'N' -Never. This field is mandatory not null.

The column will indicate whether the supplier's invoices are manually paid.Valid values include 'Y' yes and 'N' no

This column allows the retailer to indicate that this supplier always requiresthe invoice terms to be used. 'Y'es indicates the invoice terms must always beused. 'N'o indicates that terms other than the invoice terms can be used (e.g.PO terms, receipt of goods (ROG) terms, etc.). If this column is 'Y'es, the'Best Terms' calculation will always produce the invoice terms. If this columnis 'N'o, the best terms calculation will consider all terms to find the mostcost effective method of dealing with the supplier on a particular invoice.Valid values for this column are 'Y' and 'N'. This field is mandatory notnull.

This column allows the retailer to indicate that this supplier allows theReceipt-of-Goods (ROG) date to be used when determining the best terms for aninvoice. 'Y'es indicates the supplier allows the use to the ROG to determinethe best terms date for an invoice. 'N'o indicates the supplier does not allowthe ROGdate to be used. If this column is 'Y'es, the 'Best Terms' calculationcan use the ROG date for the final terms if ROG date terms are better than theinvoice date terms. If this column is 'N'o, the best terms calculation mustuse the invoice date terms. Valid values for this column are 'Y' and 'N'.This field is mandatory not null.

Column Detail

Index Summary

10

20

70

80

90

120

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

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

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

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

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

Seq.

0

Page 229: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 205 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CLOSE_OPEN_SHIPMENT_DAYS

MATCH_RCPTS_OTHER_SUPPS_IND

QTY_DISC_DAY_BEFORE_RTE

This column allows the retailer to indicate which accounts payable employeewill be the default reviewer for this supplier's invoices. This column canhold the ID of any user with permissions to access Retek Invoice Matching.These users will be defined on the im_business_role_member table. This fieldis mandatory not null.

This column holds the number of days that a shipment from this supplier canremain in "Ready for Match" status before it is automatically closed by theRetek Invoice Match close open shipment batch process. If a value is notdefined for this supplier, the system level close_open_ship_days (as defined onthe im_systems_option table) will be used by the system. Valid values for thisfield are non-negative, whole numbers up to three digits in length. This fieldcan be left null.

This column indicates whether receipts can be matched to other suppliers.Valid values for this field are 'Y' and 'N'. This field is mandatory not null.

This field is used in supplier options details page.

Column Detail

130

150

170

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

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

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

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

Page 230: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 206 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_SUPPLIER_OPTIONS_LOCK

ISLAlias :

LOCK_CREATE_ID

Column

IM_SUPPLIER_OPTIONS_LOCK_I1

Name

NOT UNIQUE

Index Type

Primary Key

SUPPLIER

LOCK_DATETIME

LOCK_CREATE_ID

Supplier ID for which the invoice matching options are locked by thelock_create_id

Date and time of lock

ID of user that created the lock

Column Detail

Index Summary

10

20

30

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

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

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

SUPPLIER

LOCK_DATETIME

LOCK_CREATE_ID

Column

NUMBER (10)

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_SUPPLIER_OPTIONS_LOCK SUPPLIER

Name Column

Holds a row for every supplier whose options are locked formaintenance by a certain user

Description :

Table Name : IM_SUPPLIER_OPTIONS_LOCK

Page 231: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 207 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im Sytem Options

ISOAlias :

Column Detail

DEBIT_MEMO_SEND_DAYS

CLOSE_OPEN_RECEIPT_DAYS

COST_RESOLUTION_DUE_DAYS

QTY_RESOLUTION_DUE_DAYS

DOC_HIST_DAYS

DEBIT_MEMO_PREFIX_COST

DEBIT_MEMO_PREFIX_QTY

DEBIT_MEMO_PREFIX_VAT

CREDIT_MEMO_PREFIX_COST

CREDIT_MEMO_PREFIX_QTY

CREDIT_NOTE_REQ_PREFIX_COST

CREDIT_NOTE_REQ_PREFIX_QTY

CREDIT_NOTE_REQ_PREFIX_VAT

POST_DATED_DOC_DAYS

MAX_TOLERANCE_PCT

DAYS_BEFORE_DUE_DATE

DEFAULT_PAY_NOW_TERMS

VAT_IND

CALC_TOLERANCE

VAT_VALIDATION_TYPE

VAT_DOCUMENT_CREATION_LVL

DEFAULT_VAT_HEADER

VAT_RESOLUTION_DUE_DAYS

CALC_TOLERANCE_IND

Column

NUMBER (3)

NUMBER (3)

NUMBER (3)

NUMBER (3)

NUMBER (3)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (30)

VARCHAR2 (30)

NUMBER (3)

NUMBER (7, 4)

NUMBER (3)

VARCHAR2 (15)

VARCHAR2 (1)

NUMBER (7, 4)

VARCHAR2 (1)

VARCHAR2 (12)

VARCHAR2 (1)

NUMBER (3)

VARCHAR2 (1)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

50

70

80

90

100

110

120

130

150

160

190

200

210

220

250

260

270

280

290

300

310

330

340

350

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

This table will hold the system options that control the configurableoptions within Retek Invoice Matching. There should be only one rowon this table. This table is populated during system installation.Data on this table should be maintained after s

Description :

Table Name : IM_SYSTEM_OPTIONS

Page 232: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 208 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CHK_IM_SYS_OPT_CALC_TOLERA_IND

CHK_IM_SYS_OPT_CLOSE_OPEN_REC

CHK_IM_SYS_OPT_COST_RESOLUTION

CHK_IM_SYS_OPT_CRE_MEM_PRE_COS

CHK_IM_SYS_OPT_CRE_MEM_PRE_QTY

CHK_IM_SYS_OPT_DEBIT_MEMO_SEND

CHK_IM_SYS_OPT_DEB_MEM_PRE_COS

CHK_IM_SYS_OPT_DEB_MEM_PRE_QTY

CHK_IM_SYS_OPT_DFAULT_VAT_HEAD

CHK_IM_SYS_OPT_DOC_HIST_DAYS

CHK_IM_SYS_OPT_QTY_RESOLUTION

CHK_IM_SYS_OPT_VAT_DOC_CR_LVL

CHK_IM_SYS_OPT_VAT_IND

CHK_IM_SYS_OPT_VAT_VALID_TYPE

Name

Check Constraints

DEBIT_MEMO_SEND_DAYS

CLOSE_OPEN_RECEIPT_DAYS

COST_RESOLUTION_DUE_DAYS

QTY_RESOLUTION_DUE_DAYS

This column holds the number of days prior to the due date on an invoice that adebit memo should be sent if a credit note has not yet been received. This isapplied to all suppliers for which the "Only When Credit Memo is Late" optionis selected. Valid values for this column are non-negative, whole numbers upto three digits in length. This field is mandatory not null.

This column holds the number of days that a shipment can remain in "Ready forMatch" status before it is automatically closed by Retek Invoice Match. Validvalues for this field are non-negative, whole numbers up to three digits inlength. This field is mandatory not null.

This column holds the number of days that a Cost Resolution can stayoutstanding from when it was routed for review to when it is due. Valid valuesfor this field are non-negative, whole numbers up to three digits in length.This field is mandatory not null.

This column holds the number of days used to calculate the 'resolve by' datefor a qty. discrepancy that gets routed for review. Valid values for this

Where Validate Clause

Column Detail

50

70

80

90

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

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

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

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

CALC_TOLERANCE_IND in('P','A')

CLOSE_OPEN_RECEIPT_DAYS between 0 and 999

COST_RESOLUTION_DUE_DAYS between 0 and 999

CREDIT_MEMO_PREFIX_COST =upper(CREDIT_MEMO_PREFIX_COST)CREDIT_MEMO_PREFIX_QTY =upper(CREDIT_MEMO_PREFIX_QTY)DEBIT_MEMO_SEND_DAYS between 0 and 999

DEBIT_MEMO_PREFIX_COST =upper(DEBIT_MEMO_PREFIX_COST)DEBIT_MEMO_PREFIX_QTY =upper(DEBIT_MEMO_PREFIX_QTY)DEFAULT_VAT_HEADER in ('Y','N')

DOC_HIST_DAYS between 0 and 999

QTY_RESOLUTION_DUE_DAYS between 0 and 999

VAT_DOCUMENT_CREATION_LVL in('ITEM','FULL_INVOICE')VAT_IND in ('Y','N')

vat_validation_type in ('I','S','R')

Page 233: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 209 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DOC_HIST_DAYS

DEBIT_MEMO_PREFIX_COST

DEBIT_MEMO_PREFIX_QTY

DEBIT_MEMO_PREFIX_VAT

CREDIT_MEMO_PREFIX_COST

CREDIT_MEMO_PREFIX_QTY

CREDIT_NOTE_REQ_PREFIX_COST

field are non-negative, whole numbers up to three digits in length. This fieldis mandatory not null.

This column contains the number of days that matched/posted invoices should beheld in the system before they are purged. Valid values for this column arenon-negative, whole numbers up to three digits in length. This field ismandatory not null.

This column holds the prefix that indicates a document is a debit memo due tocost. When an automatic debit memo is created to resolve a price discrepancythis value will be concatenated to the beginning of the invoice's supplierinvoice number. This field must be an upper case character string. This fieldis mandatory not null.

This column holds the prefix that indicates a document is a debit memo due toquantity. When an automatic debit memo is created to resolve a quantitydiscrepancy this value will be concatenated to the beginning of the invoice'ssupplier invoice number. This field must be an upper case character string.This field is mandatory not null.

This column holds the prefix that indicates a document is a credit memo due tocost. This column holds the prefix that indicates a credit memo. When anautomatic credit memo is created to resolve a cost discrepancy this valueshould be concatenated to the beginning of the invoice's supplier invoicenumber. This field must be an upper case character string. This field ismandatory not null.

This column holds the prefix that indicates a document is a credit memo due toquantity. When an automatic credit memo is created to resolve a quantitydiscrepancy this value should be concatenated to the beginning of the invoice'ssupplier invoice number. This field must be an upper case character string.This field is mandatory not null.

This column holds the prefix that indicates a document is a credit note requestdue to cost. When an automatic credit note request is created to resolve acost discrepancy this value should be concatenated to the beginning of theinvoice's supplier invoice number. This field must be an upper case characterstring. This field is mandatory not null.

Column Detail

100

110

120

130

150

160

190

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

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

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

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

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

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

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

Page 234: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 210 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

CREDIT_NOTE_REQ_PREFIX_QTY

CREDIT_NOTE_REQ_PREFIX_VAT

POST_DATED_DOC_DAYS

MAX_TOLERANCE_PCT

DAYS_BEFORE_DUE_DATE

DEFAULT_PAY_NOW_TERMS

VAT_IND

CALC_TOLERANCE

VAT_VALIDATION_TYPE

This column holds the prefix that indicates a document is a credit note requestdue to quantity. When an automatic credit note request is created to resolve aquantity discrepancy this value should be concatenated to the beginning of theinvoice's supplier invoice number. This field must be an upper case characterstring. This field is mandatory not null.

This column contains the number of days that a document can be post dated.This column is mandatory not null and must be a whole number.

Determines the maximum tolerance that can be entered on the DOCUMENT MATCHINGTOLERANCE MATCHING DETAIL screen.

This parameter will indicate the maximum number of days before the invoice duedate that any discrepancies for that invoice should be routed.

This column holds the term id that is defaulted on resultion documents. In thedocument creation dialog, this term, and its discount percentage and due daysare defaulted onto new resolution documents.

The VAT indicator

The VAT tolerance percentage

Valid Values: Always Use �I�nvoice VAT, Always Use �S�ystem VAT, �R�econcileVAT. Always Use Invoice VAT means the system will not prevent an invoice frombeing created if the VAT on the invoice differs from the VAT held in the systemfor that Item/Location/Invoice Date and Rate type either Cost or Both.Instead, the VAT from the invoice will be assumed correct. In this instance,audit records will be written indicating the discrepancy. Always Use SystemVAT means if invoice VAT does not match system VAT, the invoice will not becreated, but will instead error out. This is how VAT currently works today.Reconcile VAT means that if invoice VAT fails validation, the failing recordswill be immediately flagged as requiring resolution prior to invoice matching.However, the invoice will still be created

Column Detail

200

210

220

250

260

270

280

290

300

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

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

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

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

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

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

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

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

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

Page 235: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 211 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

VAT_DOCUMENT_CREATION_LVL

DEFAULT_VAT_HEADER

VAT_RESOLUTION_DUE_DAYS

CALC_TOLERANCE_IND

This system option will control how VAT Debit Memos, and VAT Credit NoteRequests are created. This system option will control the Actions that areavailable when Reason codes are being created.

Indicates if detail level VAT information should be rolled up and defaulted atthe header level. �Y� VAT will default from details to header. �N� VAT willnot default.

same as cost resolution due days, except use word VAT

Column Detail

310

330

340

350

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

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

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

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ; Default Value :P ;

Page 236: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 212 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im System Options Lock

ISKAlias :

LOCK_DATETIME

LOCK_CREATE_ID

Holds the date and time of the lock

Holds the ID of the user that created the lock row

Column Detail

15

20

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

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

LOCK_DATETIME

LOCK_CREATE_ID

Column

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

15

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

A row on this table disables users from accessing the system optionspage

Description :

Table Name : IM_SYSTEM_OPTIONS_LOCK

Page 237: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 213 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TERMS_RANKING

ITAAlias :

CHK_IM_TERMS_RANKING_RANKING

Name

Check Constraints

Primary Key

TERMS

RANKING

This column holds the terms ID of the term beign ranked.

This column holds the terms ranking. This is required, must be greater thanzero and a whole number.

Where Validate Clause

Column Detail

10

20

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

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

TERMS

RANKING

Column

VARCHAR2 (15)

NUMBER (4)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

RANKING > 0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_TERMS_RANKING TERMS

Name Column

This table holds the rankings of terms. These rankings are defined inthe client's financial system and interfaced into the IM_TERMS_RANKINGtable. These rankings are used in the best terms calculation - whenterms are compared, the term with the higher rank (meaning lowernumber - 1 is the highest rank) will be the best term.

Description :

Table Name : IM_TERMS_RANKING

Page 238: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 214 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TOLERANCE_DEPT

ITDAlias :

CHK_IM_TOL_DEPT_COST_QTY_IND

CHK_IM_TOL_DEPT_FAVOR_OF

CHK_IM_TOL_DEPT_SUMMARY_LINE

CHK_IM_TOL_DEPT_TOL_DOC_TYPE

CHK_IM_TOL_DEPT_TOL_VALUE_TYPE

Name

Check Constraints

Primary Key

Where Validate Clause

Column Detail

TOL_KEY

DEPT

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

Column

NUMBER (10)

NUMBER (4)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (6)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

35

37

40

50

60

70

80

90

Column Summary

COST_QUANTITY_IND IN ('C','Q')

FAVOR_OF IN ('RET','SUPP')

SUMMARY_LINE_IND IN ('S','L')

TOLERANCE_DOCUMENT_TYPE IN ('MRCHI','DEBMEM')

TOL_VALUE_TYPE IN ('AMT','PCT')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_TOLERANCE_DEPT TOL_KEY

Name Column

This table holds department level tolerances. These tolerances areused in the matching process to determine whether an invoice matchesclosely enough to be considered matched or is outside the bounds oftolerance and therefore does not match.

Description :

Table Name : IM_TOLERANCE_DEPT

Page 239: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 215 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

DEPT

Column

IM_TOLERANCE_DEPT_I1

Name

NOT UNIQUE

Index Type

TOL_KEY

DEPT

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

This column holds the unique ID of the department tolerance record. This keyis generated using the sequence IM_DEPT_TOLERANCE_SEQ.

This column holds the department ID whose tolerances is defined in the record.

This column determines whether the tolerance refers to a cost range or aquantity range. Vaild values include Cost (C) or Quantity (Q)

This column determines whether the tolerance range applies to a summary orline. Valid values include: Summary (S) or Line (L)

This column determines what type of documents the tolerance range is for.Current valid values inclue: Merchandise Document (MRCHI) and Debit Memo(DEBMEM)

This column holds the lower limit of the tolerance. When compared, the valuein this column will be inclusive of the range.

This column holds the upper limit of the tolerance. When compared, the valuein this column will be exluded from the range.

This column holds who this tolerance is in favor of. Valid values for thisfield are 'RET' and 'SUPP'. If the favor of is 'RET', the tolerance values arein favor of the retailer. If the favor of is 'SUPP', the tolerance values arein favor of the supplier. When comparing an invoice and receipt that do notmatch exactly, if the invoice value is less than the receipt value (meaning theretailer has been underbilled), tolerances in favor of the retailer will beused. If the invoice value is greater than the receipt value (meaning theretailer has been overbilled), tolerances in favor of the supplier will beused. This field is mandatory not null.

Column Detail

Index Summary

10

20

30

35

37

40

50

60

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

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

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

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

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

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

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

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

Seq.

0

Page 240: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 216 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

This column holds the type of the tolerance value. If the tolerance value typeis 'PCT', the tolerance value is a percentage difference that an invoice andreceipt can have and still match. If the tolerance value type is 'AMT', thetolerance value is the amount of difference that an invoice and receipt canhave and still match. Valid value for this field are 'PCT' and 'AMT'. Thisfield is mandatory not null.

This column holds the value an invoice and receipt can differ by and stillconsider to be matched. If the TOL_TYPE is 'PCT', the TOL_VALUE is apercenatge. If the TOL_TYPE is 'AMT', the TOL_VALUE is an amount. This fieldis mandatory not null.

Holds the userid of the user that last updated the record.

Column Detail

70

80

90

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

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

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

Page 241: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 217 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TOLERANCE_DEPT_AUDIT

ITEAlias :

Primary Key

AUDIT_KEY

TOL_KEY

DEPT

Unique key for the table.

This column holds the unique ID of the department tolerance record.

Column Detail

10

20

30

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

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

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

AUDIT_KEY

TOL_KEY

DEPT

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

UPDATE_DATE

Column

NUMBER (10)

NUMBER (10)

NUMBER (4)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (6)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

DATE

Type

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_TOLERANCE_DEPT_AUDIT AUDIT_KEY

Name Column

Provides an audit trail for changes in the IM_TOLERANCE_DEPT table.Description :

Table Name : IM_TOLERANCE_DEPT_AUDIT

Page 242: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 218 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

This column holds the department ID whose tolerance is defined in the record.

This column determines whether the tolerance refers to a cost range or aquantity range.

This column determines whether the tolerance range applies to a summary orline.

This column determines what type of documents the tolerance range is for.

This column holds the lower limit of the tolerance. When computed, the valuein this column will be included in the range.

This column holds the upper limit of the tolerance. When computed, the valuein this column will be exclude from the range.

This column holds who this tolerance is in favor of. Valid values for thiscolumn are RET and SUPP. If the favor of is RET, the tolerance values are infavor of the retailer. If the favor of is SUPP, the tolerance values are infavor of the supplier. When comparing an invoice and receipt value that do notexactly match, if the invoice value is less than the receipt value (meaning theretailer has been underbilled), tolerances in favor of the retailer will beused. If the invoice value is greater than the receipt value (meaning theretailer has been overbilled), tolerances in favor of the supplier will beused.

This column holds the type of the tolerance value. If the tolerance value typeis PCT, the tolerance value is a percentage difference that an invoice andreceipt can have and still match. If the tolerance value type is AMT, thetolerance value is the amount of difference that an invoice and receipt canhave and still match. Valid values for this column are PCT and AMT.

This column holds the value an invoice and receipt can differ by and stillconsider to be matched. If the tol_type is PCT, the tol_value is a percentage. If the tol_type is AMT, the tol_value is an amount.

Column Detail

40

50

60

70

80

90

100

110

120

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

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

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

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Page 243: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 219 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

UPDATE_DATE

This column holds the userid of the user who updated this record.

This column holds the date and time of the update.

Column Detail

130

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Page 244: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 220 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TOLERANCE_DEPT_LOCK

ITKAlias :

LOCK_CREATE_ID

Column

IM_TOLERANCE_DEPT_LOCK_I1

Name

NOT UNIQUE

Index Type

Primary Key

DEPT

LOCK_DATETIME

LOCK_CREATE_ID

Department record id to be locked

Time stamp the lock was placed

Holds the ID of the user that created the lock row

Column Detail

Index Summary

10

20

30

Optional ? :No ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

DEPT

LOCK_DATETIME

LOCK_CREATE_ID

Column

NUMBER (10)

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_TOLERANCE_DEPT_LOCK DEPT

Name Column

Locks department record while changing tolerance for that departmentDescription :

Table Name : IM_TOLERANCE_DEPT_LOCK

Page 245: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 221 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TOLERANCE_SUPP

ITSAlias :

CHK_IM_TOL_SUPP_COST_QTY_IND

CHK_IM_TOL_SUPP_FAVOR_OF

CHK_IM_TOL_SUPP_SUMMARY_LINE

CHK_IM_TOL_SUPP_TOL_DOC_TYPE

CHK_IM_TOL_SUPP_VALUE_TYPE

Name

Check Constraints

Primary Key

Where Validate Clause

Column Detail

TOL_KEY

SUPPLIER

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (6)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

35

37

40

50

60

70

80

90

Column Summary

COST_QUANTITY_IND IN ('C','Q')

FAVOR_OF in ('RET','SUPP')

SUMMARY_LINE_IND IN ('S','L')

TOLERANCE_DOCUMENT_TYPE IN ('MRCHI','DEBMEM')

tol_value_type in ('AMT','PCT')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_TOLERANCE_SUPP TOL_KEY

Name Column

This table holds supplier level tolerances. These tolerances are usedin the matching process to determine whether an invoice matchesclosely enough to be considered matched or is outside the bounds oftolerance and therefore does not match.

Description :

Table Name : IM_TOLERANCE_SUPP

Page 246: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 222 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SUPPLIER

Column

IM_TOLERANCE_SUPP_I1

Name

NOT UNIQUE

Index Type

TOL_KEY

SUPPLIER

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

This column holds the unique ID of the supplier tolerance record. This key isgenerated using the sequence IM_SUPP_TOLERANCE_SEQ.

This column holds the supplier whose tolerances are defined in the record.

This column determines whether the tolerance refers to a cost range or aquantity range. Vaild values include Cost (C) or Quantity (Q)

This column determines whether the tolerance range applies to a summary orline. Valid values include: Summary (S) or Line (L)

This column determines what type of documents the tolerance range is for.Current valid values inclue: Merchandise Document (MRCHI) and Debit Memo(DEBMEM)

This column holds the lower limit of the tolerance. When compared, the valuein this column will be inclusive of the range.

This column holds the upper limit of the tolerance. When compared, the valuein this column will be exluded from the range.

This column holds who this tolerance is in favor of. Valid values for thisfield are 'RET' and 'SUPP'. If the favor of is 'RET', the tolerance values arein favor of the retailer. If the favor of is 'SUPP', the tolerance values arein favor of the supplier. When comparing an invoice and receipt that do notmatch exactly, if the invoice value is less than the receipt value (meaning theretailer has been underbilled), tolerances in favor of the retailer will beused. If the invoice value is greater than the receipt value (meaning theretailer has been overbilled), tolerances in favor of the supplier will beused. This field is mandatory not null.

Column Detail

Index Summary

10

20

30

35

37

40

50

60

Optional ? :No ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Seq.

0

Page 247: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 223 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

This column holds the type of the tolerance value. If the tolerance value typeis 'PCT', the tolerance value is a percentage difference that an invoice andreceipt can have and still match. If the tolerance value type is 'AMT', thetolerance value is the amount of difference that an invoice and receipt canhave and still match. Valid value for this field are 'PCT' and 'AMT'. Thisfield is mandatory not null.

This column holds the value an invoice and receipt can differ by and stillconsider to be matched. If the TOL_TYPE is 'PCT', the TOL_VALUE is apercenatge. If the TOL_TYPE is 'AMT', the TOL_VALUE is an amount. This fieldis mandatory not null.

Holds the userid of the user that last updated the record.

Column Detail

70

80

90

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 248: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 224 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TOLERANCE_SUPP_AUDIT

ITOAlias :

Primary Key

AUDIT_KEY

TOL_KEY

SUPPLIER

Unique identifier for this table.

This column holds the unique ID of the supplier tolerance record.

Column Detail

10

20

30

Optional ? :No ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (10) ;() ; ; Uppercase ? :No ;

AUDIT_KEY

TOL_KEY

SUPPLIER

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

UPDATE_DATE

Column

NUMBER (10)

NUMBER (10)

NUMBER (10)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (6)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

DATE

Type

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_TOLERANCE_SUPP_AUDIT AUDIT_KEY

Name Column

Provides an audit trail for changes in the IM_TOLERANCE_SUPP table.Description :

Table Name : IM_TOLERANCE_SUPP_AUDIT

Page 249: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 225 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

This column holds the supplier ID whose tolerance is defined in the record.

This column determines whether the tolerance refers to a cost range or aquantity range.

This column determines whether the tolerance range applies to a summary orline.

This column determines what type of documents the tolerance range is for.

This column holds the lower limit of the tolerance. When computed, the valuein this column will be included in the range.

This column holds the upper limit of the tolerance. When computed, the valuein this column will be exclude from the range.

This column holds who this tolerance is in favor of. Valid values for thiscolumn are RET and SUPP. If the favor of is RET, the tolerance values are infavor of the retailer. If the favor of is SUPP, the tolerance values are infavor of the supplier. When comparing an invoice and receipt value that donot exactly match, if the invoice value is less than the receipt value(meaning the retailer has been underbilled), tolerances in favor of theretailer will be used. If the invoice value is greater than the receipt value(meaning the retailer has been overbilled), tolerances in favor of the supplierwill be used.

This column holds the type of the tolerance value. If the tolerance value typeis PCT, the tolerance value is a percentage difference that an invoice andreceipt can have and still match. If the tolerance value type is AMT, thetolerance value is the amount of difference that an invoice and receipt canhave and still match. Valid values for this column are PCT and AMT.

This column holds the value an invoice and receipt can differ by and stillconsider to be matched. If the tol_type is PCT, the tol_value is apercentage. If the tol_type is AMT, the tol_value is an amount.

Column Detail

40

50

60

70

80

90

100

110

120

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Page 250: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 226 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

UPDATE_DATE

This column holds the userid of the user who updated this record.

This column holds the date and time when the record was updated.

Column Detail

130

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Page 251: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 227 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TOLERANCE_SUPP_LOCK

IUKAlias :

LOCK_CREATE_ID

Column

IM_TOLERANCE_SUPP_LOCK_I1

Name

NOT UNIQUE

Index Type

Primary Key

SUPPLIER

LOCK_DATETIME

LOCK_CREATE_ID

Supplier record id to be locked

Time stamp the lock was placed

Holds the ID of the user that created the lock row

Column Detail

Index Summary

10

20

30

Optional ? :No ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

SUPPLIER

LOCK_DATETIME

LOCK_CREATE_ID

Column

NUMBER (10)

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

Column Summary

Seq.

0

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_TOLERANCE_SUPP_LOCK SUPPLIER

Name Column

Locks supplier record while changing tolerance for that supplierDescription :

Table Name : IM_TOLERANCE_SUPP_LOCK

Page 252: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 228 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TOLERANCE_SUPP_TRAIT

ITTAlias :

CHK_IM_TOL_ST_COST_QTY_IND

CHK_IM_TOL_ST_FAVOR_OF

CHK_IM_TOL_ST_SUMMARY_LINE

CHK_IM_TOL_ST_TOL_DOC_TYPE

CHK_IM_TOL_ST_TOL_VALUE_TYPE

Name

Check Constraints

Primary Key

Where Validate Clause

TOL_KEY

SUPP_TRAIT

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

Column

NUMBER (10)

NUMBER (4)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (6)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

35

37

40

50

60

70

80

90

Column Summary

COST_QUANTITY_IND IN ('C','Q')

FAVOR_OF IN ('RET','SUPP')

SUMMARY_LINE_IND IN ('S','L')

TOLERANCE_DOCUMENT_TYPE IN ('MRCHI','DEBMEM')

TOL_VALUE_TYPE IN ('AMT','PCT')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_TOLERANCE_SUPP_TRAIT TOL_KEY

Name Column

This table holds supplier trait level tolerances. These tolerancesare used in the matching process to determine whether an invoicematches closely enough to be considered matched or is outside thebounds of tolerance and therefore does not match. Supplier traitlevel tolerances will always be exploded down to the suppliers thatbelong to the trait.

Description :

Table Name : IM_TOLERANCE_SUPP_TRAIT

Page 253: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 229 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SUPP_TRAIT

Column

IM_TOLERANCE_SUPP_TRAIT_I1

Name

NOT UNIQUE

Index Type

TOL_KEY

SUPP_TRAIT

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

This column holds the unique ID of the department tolerance record. This keyis generated using the sequence IM_DEPT_TOLERANCE_SEQ.

This column holds the unique ID of the supplier trait tolerance record. Thiskey is generated using the sequence IM_TOLERANCE_SUP_TRAIT_SEQ.

This column determines whether the tolerance refers to a cost range or aquantity range. Vaild values include Cost (C) or Quantity (Q)

This column determines whether the tolerance range applies to a summary orline. Valid values include: Summary (S) or Line (L)

This column determines what type of documents the tolerance range is for.Current valid values inclue: Merchandise Document (MRCHI) and Debit Memo(DEBMEM)

This column holds the lower limit of the tolerance. When compared, the valuein this column will be inclusive of the range.

This column holds the upper limit of the tolerance. When compared, the valuein this column will be exluded from the range.

This column holds who this tolerance is in favor of. Valid values for thisfield are 'RET' and 'SUPP'. If the favor of is 'RET', the tolerance values arein favor of the retailer. If the favor of is 'SUPP', the tolerance values arein favor of the supplier. When comparing an invoice and receipt that do notmatch exactly, if the invoice value is less than the receipt value (meaning theretailer has been underbilled), tolerances in favor of the retailer will beused. If the invoice value is greater than the receipt value (meaning theretailer has been overbilled), tolerances in favor of the supplier will beused. This field is mandatory not null.

Column Detail

Index Summary

10

20

30

35

37

40

50

60

Optional ? :No ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Seq.

0

Page 254: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 230 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

This column holds the type of the tolerance value. If the tolerance value typeis 'PCT', the tolerance value is a percentage difference that an invoice andreceipt can have and still match. If the tolerance value type is 'AMT', thetolerance value is the amount of difference that an invoice and receipt canhave and still match. Valid value for this field are 'PCT' and 'AMT'. Thisfield is mandatory not null.

This column holds the value an invoice and receipt can differ by and stillconsider to be matched. If the TOL_TYPE is 'PCT', the TOL_VALUE is apercenatge. If the TOL_TYPE is 'AMT', the TOL_VALUE is an amount. This fieldis mandatory not null.

Holds the userid of the user that last updated the record.

Column Detail

70

80

90

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 255: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 231 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TOLERANCE_SUTRT_AUDIT

ISAAlias :

Primary Key

AUDIT_KEY

TOL_KEY

SUPP_TRAIT

Unique identifier for this table.

This column holds the supplier trait ID whose tolerance is defined in therecord.

Column Detail

10

20

30

Optional ? :No ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (10) ;() ; ; Uppercase ? :No ;

AUDIT_KEY

TOL_KEY

SUPP_TRAIT

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

UPDATE_DATE

Column

NUMBER (10)

NUMBER (10)

NUMBER (4)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (6)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

DATE

Type

NOT NULL

NULL

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

130

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_TOLERANCE_SUTRT_AUDIT AUDIT_KEY

Name Column

Provides an audit trail for changes in the IM_TOLERANCE_SUPP_TRAITtable.

Description :

Table Name : IM_TOLERANCE_SUTRT_AUDIT

Page 256: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 232 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

This column holds the unique ID of the supplier trait tolerance record.

This column determines whether the tolerance refers to a cost range or aquantity range.

This column determines whether the tolerance range applies to a summary orline.

This column determines what type of documents the tolerance range is for.

This column holds the lower limit of the tolerance. When computed, the valuein this column will be included in the range.

This column holds the upper limit of the tolerance. When computed, the valuein this column will be exclude from the range.

This column holds who this tolerance is in favor of. Valid values for thiscolumn are RET and SUPP. If the favor of is RET, the tolerance values are infavor of the retailer. If the favor of is SUPP, the tolerance values are infavor of the supplier. When comparing an invoice and receipt value that donot exactly match, if the invoice value is less than the receipt value(meaning the retailer has been underbilled), tolerances in favor of theretailer will be used. If the invoice value is greater than the receipt value(meaning the retailer has been overbilled), tolerances in favor of the supplierwill be used.

This column holds the type of the tolerance value. If the tolerance value typeis PCT, the tolerance value is a percentage difference that an invoice andreceipt can have and still match. If the tolerance value type is AMT, thetolerance value is the amount of difference that an invoice and receipt canhave and still match. Valid values for this column are PCT and AMT.

This column holds the value an invoice and receipt can differ by and stillconsider to be matched. If the tol_type is PCT, the tol_value is apercentage. If the tol_type is AMT, the tol_value is an amount.

Column Detail

40

50

60

70

80

90

100

110

Optional ? :No ; Number (4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Page 257: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 233 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

UPDATE_ID

UPDATE_DATE

This column holds the userid of the user who updated this record.

This column holds the date and time when the record was updated.

Column Detail

120

130

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Page 258: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 234 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TOLERANCE_SYSTEM

ITYAlias :

CHK_IM_TOL_SYSTEM_COST_QTY_IND

CHK_IM_TOL_SYSTEM_FAVOR_OF

CHK_IM_TOL_SYSTEM_SUMMARY_LINE

CHK_IM_TOL_SYSTEM_TOL_DOC_TYPE

CHK_IM_TOL_SYSTEM_TOL_VAL_TYPE

Name

Check Constraints

Primary Key

Where Validate Clause

Column Detail

TOL_KEY

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

Column

NUMBER (10)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (6)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

25

27

30

40

50

60

70

80

Column Summary

COST_QUANTITY_IND IN ('C','Q')

FAVOR_OF in ('RET','SUPP')

SUMMARY_LINE_IND IN ('S','L')

TOLERANCE_DOCUMENT_TYPE IN ('MRCHI','DEBMEM')

tol_value_type in ('AMT','PCT')

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_TOLERANCE_SYSTEM TOL_KEY

Name Column

This table holds system level tolerances. These tolerances are usedin the matching process to determine whether an invoice matchesclosely enough to be considered matched or is outside the bounds oftolerance and therefore does not match.

Description :

Table Name : IM_TOLERANCE_SYSTEM

Page 259: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 235 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

TOL_KEY

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

This column holds the unique ID of the department tolerance record. This keyis generated using the sequence IM_SYSTEM_TOLERANCE_SEQ.

This column determines whether the tolerance refers to a cost range or aquantity range. Vaild values include Cost (C) or Quantity (Q)

This column determines whether the tolerance range applies to a summary orline. Valid values include: Summary (S) or Line (L)

This column determines what type of documents the tolerance range is for.Current valid values inclue: Merchandise Document (MRCHI) and Debit Memo(DEBMEM)

This field holds the lower end of the range to which this tolerance applies.Within this tolerance the lower limit must be less then the upper limit. Thisfield must be a positive number greater than or equal to zero. Lower to upperlimit ranges should not overlap for the same TOL_KEY, FAVOR_OF and TOL_TYPE.When compared, the value in this column will be inclusive in the range. Thisfield is mandatory not null.

This field holds the upper end of the range to which this tolerance applies.Within this tolerance the lower limit must be less then the upper limit. Thisfield must be a positive number greater than or equal to zero. Lower to upperlimit ranges should not overlap for the same TOL_KEY, FAVOR_OF and TOL_TYPE.When compared, the value in this column will be excluded in the range. Thisfield is mandatory not null.

This field holds who this tolerance is in favor of. Valid values for this fieldare 'RET' and 'SUPP'. If the FAVOR_OF is RET, the tolerance values are in favorof the retailer. If the FAVOR_OF is SUPP, the tolerance values are in favor ofthe supplier. When comparing an invoice and receipt that do not match exactly,if the invoice(s) total cost is less than the receipt(s) total cost, atolerance in favor of the retailer will be used.. If the receipt(s) total costis less than the invoice(s) total cost, a tolerance in favor of the supplierwill be used. This field is mandatory not null.

Column Detail

10

20

25

27

30

40

50

60

Optional ? :No ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Page 260: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 236 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

TOL_VALUE

UPDATE_ID

This column holds the type of the tolerance. If the tolerance type is 'PCT',the tolerance value is a percentage differance that an invoice and receipt canbe and still match. If the tolerance type is 'AMT', the tolerance value is anamount of difference that an invoice and receipt can be and still match. Validvalues for this field are 'PCT' and 'AMT'. This field is mandatory not null.

This column holds the value an invoice and receipt can differ by and stillconsider to be matched. If the TOL_TYPE is 'PCT', the TOL_VALUE is apercentage. If the TOL_TYPE is 'AMT', the TOL_VALUE is an amount. This fieldis mandatory not null.

Holds the userid of the user that last updated the record.

Column Detail

70

80

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 261: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 237 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TOLERANCE_SYSTEM_LOCK

IYKAlias :

LOCK_DATETIME

LOCK_CREATE_ID

Time stamp the lock was placed

Holds the ID of the user that created the lock row

Column Detail

10

20

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

LOCK_DATETIME

LOCK_CREATE_ID

Column

DATE

VARCHAR2 (30)

Type

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

Locks system-level tolerances IM_TOLERANCE_SYSTEM_LOCKDescription :

Table Name : IM_TOLERANCE_SYSTEM_LOCK

Page 262: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 238 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : IM_TOLERANCE_SYS_AUDIT

ITUAlias :

Primary Key

AUDIT_KEY

TOL_KEY

COST_QUANTITY_IND

Unique identifier for this table.

This column holds the unique ID of the system tolerance record.

This column determines whether the tolerance refers to a cost range or a

Column Detail

10

20

30

Optional ? :No ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (10) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

AUDIT_KEY

TOL_KEY

COST_QUANTITY_IND

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

UPDATE_DATE

Column

NUMBER (10)

NUMBER (10)

VARCHAR2 (1)

VARCHAR2 (1)

VARCHAR2 (6)

NUMBER (20, 4)

NUMBER (20, 4)

VARCHAR2 (6)

VARCHAR2 (6)

NUMBER (20, 4)

VARCHAR2 (30)

DATE

Type

NOT NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

80

90

100

110

120

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_TOLERANCE_SYS_AUDIT AUDIT_KEY

Name Column

Provides an audit trail for changes in the IM_TOLERANCE_SYSTEM table.Description :

Table Name : IM_TOLERANCE_SYS_AUDIT

Page 263: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 239 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

SUMMARY_LINE_IND

TOLERANCE_DOCUMENT_TYPE

LOWER_LIMIT_INCLUSIVE

UPPER_LIMIT_EXCLUSIVE

FAVOR_OF

TOL_VALUE_TYPE

TOL_VALUE

UPDATE_ID

UPDATE_DATE

quantity range.

This column determines whether the tolerance range applies to a summary orline.

This column determines what type of documents the tolerance range is for.

This column holds the lower limit of the tolerance. When computed, the valuein this column will be included in the range.

This column holds the upper limit of the tolerance. When computed, the valuein this column will be exclude from the range.

This column holds who this tolerance is in favor of. Valid values for thiscolumn are RET and SUPP. If the favor of is RET, the tolerance values are infavor of the retailer. If the favor of is SUPP, the tolerance values are infavor of the supplier. When comparing an invoice and receipt value that donot exactly match, if the invoice value is less than the receipt value(meaning the retailer has been underbilled), tolerances in favor of theretailer will be used. If the invoice value is greater than the receipt value(meaning the retailer has been overbilled), tolerances in favor of the supplierwill be used.

This column holds the type of the tolerance value. If the tolerance value typeis PCT, the tolerance value is a percentage difference that an invoice andreceipt can have and still match. If the tolerance value type is AMT, thetolerance value is the amount of difference that an invoice and receipt canhave and still match. Valid values for this column are PCT and AMT.

This column holds the value an invoice and receipt can differ by and stillconsider to be matched. If the tol_type is PCT, the tol_value is apercentage. If the tol_type is AMT, the tol_value is an amount.

This column holds the userid of the user who updated this record.

Column Detail

40

50

60

70

80

90

100

110

120

Optional ? :Yes ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Number (20, 4) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (30) ;() ; ; Uppercase ? :No ;

Page 264: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 240 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

This column holds the date and time when the record was updated.

Column Detail

Optional ? :No ; Date ;() ; ; Uppercase ? :No ;

Page 265: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 241 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im User Authorization

IUNAlias :

Primary Key

USERNAME

LASTNAME

FIRSTNAME

PASSWORD

This column holds the user's username. This is the value that the user willuse to log into the system. This column is required not null.

This column holds the user's last name. This column is mandatory not null.

This column holds the user's first name. This column is mandatory not null.

This column holds the user's password. This column is mandatory not null.

Column Detail

10

20

30

40

Optional ? :No ; Varchar2 (120) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (120) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (120) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (250) ;() ; ; Uppercase ? :No ;

USERNAME

LASTNAME

FIRSTNAME

PASSWORD

LANGUAGE

COUNTRY

EMAIL

Column

VARCHAR2 (120)

VARCHAR2 (120)

VARCHAR2 (120)

VARCHAR2 (250)

VARCHAR2 (6)

VARCHAR2 (3)

VARCHAR2 (250)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_USER_AUTHORIZATION USERNAME

Name Column

This table will hold information about users authorized to use ReIM.This table will only be used if the client decides to implement thesystem without using LDAP.

Description :

Table Name : IM_USER_AUTHORIZATION

Page 266: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 242 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

LANGUAGE

COUNTRY

EMAIL

This column holds the user's language. This column is mandatory not null.

This column holds the user's country. This column is mandatory not null.

Email address for the user

Column Detail

50

60

70

Optional ? :No ; Varchar2 (6) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (3) ;() ; ; Uppercase ? :No ;

Optional ? :Yes ; Varchar2 (250) ;() ; ; Uppercase ? :No ;

Page 267: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 243 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : Im User Preferences

IUPAlias :

Primary Key

USER_NAME

PAGE_NAME

COLUMNS_NAMES

ACTIVE_STATUS

User that these preferences are for

Holds the value of the flexColumnTitleKey for the pageIterate tag. This keymust be unique.

Holds a a comma-seperated list of columns for multiview. These values must bein ReIMResources.properties file.

Column Detail

10

20

30

40

Optional ? :No ; Varchar2 (120) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (120) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (2000) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (1) ;() ; ; Uppercase ? :No ;

USER_NAME

PAGE_NAME

COLUMNS_NAMES

ACTIVE_STATUS

COLUMNS_VISIBLE

COLUMNS_HIDABLE

SOURCE_VIEW_NAME

Column

VARCHAR2 (120)

VARCHAR2 (120)

VARCHAR2 (2000)

VARCHAR2 (1)

VARCHAR2 (2000)

VARCHAR2 (2000)

VARCHAR2 (120)

Type

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

NOT NULL

Nulls ?Col.Seq.

10

20

30

40

50

60

70

Column Summary

No

Storage

Index-organized ?

Volumes

Start Rows : End Rows :

PK_IM_USER_PREFERENCES USER_NAMEPAGE_NAMESOURCE_VIEW_NAME

Name Column

Holds user specific preferences for columns order within a JSP pageDescription :

Table Name : IM_USER_PREFERENCES

Page 268: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 244 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

COLUMNS_VISIBLE

COLUMNS_HIDABLE

SOURCE_VIEW_NAME

Indicate if this view is the currently active one

Holds a a comma-separated list of 1s and 0s. This flag denotes if a column isvisible or not.

Holds a a comma-separated list of 1s and 0s. This flag denotes if a column canbe hidden or not.

Holds original view name that was customized

Column Detail

50

60

70

Optional ? :No ; Varchar2 (2000) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (2000) ;() ; ; Uppercase ? :No ;

Optional ? :No ; Varchar2 (120) ;() ; ; Uppercase ? :No ;

Page 269: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 245 ofTable Definition

Oracle Designer Report : cktci

246

Container : CS ReIM 12.0 Version :

Display Title : V Im Financials Stage

VIEAlias :

This view is required by the BPEL process that pulls financial stagedata into Oracle Financials 11.5.10. The view joins the set of booksid within RMS to the data on the IM_FINANCIALS_STAGE table.

Description :

View Name : V_IM_FINANCIALS_STAGE

Page 270: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

Oracle Designer

TABLE DEFINITION

End of Report

Page 271: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

Oracle Designer

Report : SEQUENCE DEFINITION

Filename :

Run by : RTKDBA

Report Date : 14 June 2007

Parameter Values

Workarea :Container :

ORACLE Sequence Name : %

C:\ckosq.pdf

On/After :On/Before :

On/After :On/Before :

13 June 2007

13 June 2007

Sequence Created

Sequence Changed

Total Pages :

and

Container Version :Recurse Sub-Containers :

GLOBAL SHARED WORKAREACS ReIM 12.0

N

7

Page 272: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 2 ofSequence Definition

(*) Denotes Container Owns Sequence

Oracle Designer Report : ckosq

7

*IM_DOC_HEAD_SEQ

*IM_DOC_GROUP_LIST_SEQ

*IM_COL_LIST_SEQ

*IM_DOC_HEAD_STAGE_SEQ

*IM_TOLERANCE_DEPT_SEQ

*IM_TOLERANCE_SUPP_SEQ

*IM_TOLERANCE_SYSTEM_SEQ

*IM_TOLERANCE_SUPP_TRAIT_SEQ

*IM_BUSINESS_ROLES_SEQ

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

1

1

1

200

1

1

1

1

1

N

N

N

N

N

N

N

N

N

Y

Y

Y

Y

Y

Y

Y

Y

Y

100

100

100

100

100

100

100

100

100

1

1

1

1

1

1

1

1

9999999999

9999999999

9999999999

9999999999

9999999999

9999999999

9999999999

9999999999

9999999999

1

1

1

101

1

1

1

1

1

Sequence Database Increment Cycle OrderCache

Minimum MaximumStart

CommentOrder Seq At

Container : CS ReIM 12.0 Version :

Page 273: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 3 ofSequence Definition

(*) Denotes Container Owns Sequence

Oracle Designer Report : ckosq

7

*IM_EDI_REJECT_DOC_HEAD_SEQ

*IM_EDI_REJECT_DOC_DETAIL_SEQ

*IM_SUMMARY_MATCH_HISTORY_SEQ

*IM_AUTOMATCH_METRICS_SEQ

*IM_QTY_DISCREPANCY_SEQ

*IM_DETAIL_MATCH_HISTORY_SEQ

*IM_DOC_HEAD_COMMENTS_SEQ

*IM_DOC_DETAIL_COMMENTS_SEQ

*IM_FINANCIALS_STAGE_SEQ

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

1

1

1

1

1

1

1

1

1000

N

N

N

N

N

N

N

N

N

Y

Y

Y

Y

Y

Y

Y

Y

N

100

100

100

100

100

100

100

100

1

1

1

1

1

1

1

1

1000

9999999999

9999999999

9999999999

9999999999

9999999999

9999999999

9999999999

9999999999

1

1

1

1

1

1

1

3001

Sequence Database Increment Cycle OrderCache

Minimum MaximumStart

CommentOrder Seq At

Page 274: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 4 ofSequence Definition

(*) Denotes Container Owns Sequence

Oracle Designer Report : ckosq

7

*IM_MANUAL_GROUPS_SEQ

*IM_COST_DISCREPANCY_HIST_SEQ

*IM_FINANCIALS_STAGE_ERROR_SEQ

*IM_COST_DISCREPANCY_SEQ

*IM_DOC_DETAIL_REASON_CODES_SEQ

*IM_PARENT_INVOICE_SEQ

*IM_TOLERANCE_SUPP_AUDIT_SEQ

*IM_TOLERANCE_SUTRT_AUDIT_SEQ

*IM_TOLERANCE_SYS_AUDIT_SEQ

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

1

1

1000

1

1

1

1

1

1

N

N

N

N

N

N

N

N

N

Y

Y

Y

Y

Y

Y

Y

Y

Y

100

100

100

100

100

100

100

100

1

1

1

1

1

1

1

1

1

9999999999

9999999999

9999999999

9999999999

99999999999999999999

9999999999

9999999999

9999999999

9999999999

1

1

1

1

1

1

1

1

Sequence Database Increment Cycle OrderCache

Minimum MaximumStart

CommentOrder Seq At

Page 275: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 5 ofSequence Definition

(*) Denotes Container Owns Sequence

Oracle Designer Report : ckosq

7

*IM_TOLERANCE_DEPT_AUDIT_SEQ

*IM_EDI_RJT_DOC_DTL_AUDIT_SEQ

*IM_EDI_RJT_DOC_HEAD_AUDIT_SEQ

*IM_EDI_RJT_DOC_NM_AUDIT_SEQ

*IM_EDIRJT_DOCDTL_ALW_AUDIT_SEQ

*IM_RECEIPT_ITEM_POSTING_SEQ

*IM_CN_SUMMARY_MATCH_HIS_SEQ

*IM_CN_DETAIL_MATCH_HIS_SEQ

*IM_SUPPLIER_GROUPS_SEQ

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

RETEK

1

1

1

1

1

1

1

1

1

N

N

N

N

N

N

N

N

N

Y

Y

Y

Y

Y

Y

Y

Y

Y

100

100

100

100

100

100

100

100

100

1

1

1

1

1

1

1

9999999999

9999999999

9999999999

9999999999

9999999999

9999999999

9999999999

9999999999

9999999999

1

1

1

1

1

1

1

1

1

Sequence Database Increment Cycle OrderCache

Minimum MaximumStart

CommentOrder Seq At

Page 276: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 6 ofSequence Definition

(*) Denotes Container Owns Sequence

Oracle Designer Report : ckosq

7

*IM_AP_STAGE_HEAD_SEQ

*IM_AP_STAGE_HEAD_ERROR_SEQ

*IM_AP_STAGE_DETAIL_SEQ

*IM_AP_STAGE_DETAIL_ERROR_SEQ

RETEK

RETEK

RETEK

RETEK

1

1

1

1

Y

Y

Y

Y

Y

Y

Y

Y

1000

1000

1000

1000

9999999999

9999999999

9999999999

9999999999

Sequence Database Increment Cycle OrderCache

Minimum MaximumStart

CommentOrder Seq At

Page 277: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

Oracle Designer

SEQUENCE DEFINITION

End of Report

Page 278: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

Oracle Designer

Report : VIEW/MATERIALIZED VIEW DEFINITION

Filename :

Run by : RTKDBA

Report Date : 14 June 2007

Parameter Values

Workarea : Container Name :

View Name : %

C:\ckvwdef.pdf

13 June 2007

13 June 2007

On/After :

On/Before :

On/After :On/Before :

Views/Materialized Views Created

Views/Materialized Views Changed

Total Pages :

and

Materialized View Name : %

Materialized Views : YesViews : Yes

Container Version : Recurse Sub-Containers :

CS ReIM 12.0 GLOBAL SHARED WORKAREA

N

4

Page 279: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 2 of View/Materialized View Definition

Oracle Designer Report : ckvwdef

4

Name : V_IM_FINANCIALS_STAGE

Column Prefix:Display Title: V Im Financials StageComment :

Free Format Select Text? Yes

Select Text

Alias : VIE

View

IM.SEQ_NO , IM.TRAN_CODE , IM.DEBIT_CREDIT_IND , IM.DOC_ID , IM.PARENT_ID , nvl(IM.DOC_DATE,sysdate) DOC_DATE , IM.RECEIPT_ID, IM.RECEIPT_DATE, IM.VENDOR_TYPE, IM.VENDOR, IM.ORDER_NO, IM.CURRENCY_CODE, IM.AMOUNT , IM.BEST_TERMS, IM.BEST_TERMS_DATE, IM.MANUALLY_PAID_IND , IM.PRE_PAID_IND , IM.CREATE_ID , IM.CREATE_DATETIME, IM.SEGMENT_1, IM.SEGMENT_2, IM.SEGMENT_3, IM.SEGMENT_4, IM.SEGMENT_5, IM.SEGMENT_6, IM.SEGMENT_7, IM.SEGMENT_8, IM.SEGMENT_9, IM.SEGMENT_10,

Object Type:

Container : CS ReIM 12.0 Version :

ViewType :

Page 280: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

14 June 2007 Page 3 of View/Materialized View Definition

Oracle Designer Report : ckvwdef

4

Select Text

View

IM.VAT_CODE, IM.VAT_RATE, IM.DEAL_ID, IM.LOCAL_CURRENCY, IM.INCOME_LOCAL_CURRENCY, IM.TOTAL_COST_INC_VAT, IM.EXT_DOC_ID, FIF.SET_OF_BOOKS_ID, 'Retail Invoices' USER_JE_SOURCE_NAME, DECODE(NVL(IM.PRE_PAID_IND,'N'),'Y','Prepayments', DECODE(NVL(IM.MANUALLY_PAID_IND,'N'),'Y','Manual Payments','Writeoffs') ) USER_JE_CATEGORY_NAME, DECODE(DEBIT_CREDIT_IND,'DEBIT',AMOUNT,NULL) ENTERED_DR , DECODE(DEBIT_CREDIT_IND,'CREDIT',AMOUNT,NULL) ENTERED_CR , 'A' ACTUAL_FLAG, 'NEW' STATUS, IM.EXCHANGE_RATE, IM.EXCHANGE_RATE_TYPE FROM IM_FINANCIALS_STAGE IM, FIF_GL_SETUP FIF

Container : CS ReIM 12.0 Version :

Page 281: Oracle Retail Invoice Matching Data Model Release 12.0.4 ... · Oracle® Invoice Matching Data Model, Release 12.0.4 ... DEBIT_MEMO_PREFIX_QTY DEBIT_MEMO_PREFIX_VAT CREDIT_MEMO_PREFIX_COST

Oracle Designer

VIEW/MATERIALIZED VIEW DEFINITION REPORT

End of Report