Oracle® Retail Merchandising Foundation Cloud Service/Merchandising … · 2020. 6. 5. ·...

896
Oracle® Retail Merchandising Foundation Cloud Service/Merchandising System Operations Guide, Volume 1 - Batch Overviews and Designs Release 19.0 F24698-03 June 2020

Transcript of Oracle® Retail Merchandising Foundation Cloud Service/Merchandising … · 2020. 6. 5. ·...

  • Oracle® Retail Merchandising Foundation Cloud Service/Merchandising SystemOperations Guide, Volume 1 - Batch Overviews and Designs

    Release 19.0

    F24698-03

    June 2020

  • Oracle® Retail Merchandising Foundation Cloud Service/Merchandising System Operations Guide, Volume 1 - Batch Overviews and Designs, Release 19.0

    F24698-03

    Copyright © 2020, Oracle and/or its affiliates. All rights reserved.

    Primary Author: Alex Meske

    This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

    The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

    If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:

    U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.

    This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

    Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

    Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

    This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.

    Value-Added Reseller (VAR) Language

    Oracle Retail VAR Applications

    The following restrictions and provisions only apply to the programs referred to in this section and licensed to you. You acknowledge that the programs may contain third party software (VAR applications) licensed to Oracle. Depending upon your product and its version number, the VAR applications may include:

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

    (ii) the Wavelink component developed and licensed by Wavelink Corporation (Wavelink) of Kirkland, Washington, to Oracle and imbedded in Oracle Retail Mobile Store Inventory Management.

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

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

    You acknowledge and confirm that Oracle grants you use of only the object code of the VAR Applications. Oracle will not deliver source code to the VAR Applications to you. Notwithstanding any other term or condition of the agreement and this ordering document, you shall not cause or permit alteration of any VAR Applications. For purposes of this section, "alteration" refers to all alterations, translations, upgrades,

  • enhancements, customizations or modifications of all or any portion of the VAR Applications including all reconfigurations, reassembly or reverse assembly, re-engineering or reverse engineering and recompilations or reverse compilations of the VAR Applications or any derivatives of the VAR Applications. You acknowledge that it shall be a breach of the agreement to utilize the relationship, and/or confidential information of the VAR Applications for purposes of competitive discovery.

    The VAR Applications contain trade secrets of Oracle and Oracle's licensors and Customer shall not attempt, cause, or permit the alteration, decompilation, reverse engineering, disassembly or other reduction of the VAR Applications to a human perceivable form. Oracle reserves the right to replace, with functional equivalent software, any of the VAR Applications in future releases of the applicable program.

  • v

    Contents

    Send Us Your Comments ......................................................................................................................... lv

    Preface ............................................................................................................................................................... lvii

    Audience..................................................................................................................................................... lviiDocumentation Accessibility ................................................................................................................... lviiRelated Documents ................................................................................................................................... lviiCustomer Support .................................................................................................................................... lviiiImproved Process for Oracle Retail Documentation Corrections ..................................................... lviiiOracle Retail Documentation on the Oracle Technology Network .................................................... lixConventions ................................................................................................................................................ lix

    1 Introduction

    Contents of This Guide ........................................................................................................................... 1-1Volume 1 - Batch Overviews and Designs ..................................................................................... 1-1Volume 2 - Message Publication and Subscription Designs........................................................ 1-1

    A Note about 'External' Subscription RIB APIs...................................................................... 1-1Volume 3 - Back-End Configuration and Operations................................................................... 1-2

    Merchandising Modules ......................................................................................................................... 1-2Batch Schedule.......................................................................................................................................... 1-2

    Pro *C Input and Output Formats ................................................................................................... 1-2General Interface Discussion ............................................................................................................ 1-2Standard File Layouts........................................................................................................................ 1-3Detail-Only Files................................................................................................................................. 1-3

    Master and Detail Files............................................................................................................... 1-3

    2 Administration Batch

    Program Summary.................................................................................................................................... 2-1async_job_status_retry_cleanup.ksh (Purge Asynchronous Job Tables) ...................................... 2-1

    Schedule............................................................................................................................................... 2-2Design Overview................................................................................................................................ 2-2Restart/Recovery ............................................................................................................................... 2-2Key Tables Affected ........................................................................................................................... 2-2Input/Out Specification .................................................................................................................... 2-2

    prepost (Pre/Post Helper Processes for Batch Programs).................................................................. 2-2Schedule............................................................................................................................................... 2-3

  • vi

    Design Overview................................................................................................................................ 2-3Restart/Recovery ............................................................................................................................... 2-5

    dlyprg (Daily Purge of Foundation Data)............................................................................................ 2-5Schedule............................................................................................................................................... 2-5Design Overview................................................................................................................................ 2-5Restart Recovery................................................................................................................................. 2-6I/O Specification ................................................................................................................................ 2-6Design Assumptions.......................................................................................................................... 2-6

    daily_purge_job (Daily Purge of Foundation Data).......................................................................... 2-6Design Overview................................................................................................................................ 2-6Scheduling Constraints ..................................................................................................................... 2-7Restart Recovery................................................................................................................................. 2-7Key Tables Affected ........................................................................................................................... 2-7I/O Specification ............................................................................................................................. 2-11

    taxevntprg (Tax Event Purge) .............................................................................................................. 2-11Schedule............................................................................................................................................ 2-11Design Overview............................................................................................................................. 2-11Restart/Recovery ............................................................................................................................ 2-11Key Tables Affected ........................................................................................................................ 2-12Design Assumptions....................................................................................................................... 2-12

    tax_event_purge_job (Tax Event Purge) ............................................................................................ 2-12Design Overview............................................................................................................................. 2-12Scheduling Constraints .................................................................................................................. 2-12Restart/Recovery ............................................................................................................................ 2-13Key Tables Affected ........................................................................................................................ 2-13Input/Output Specification........................................................................................................... 2-13

    dtesys (Increment Virtual Business Date) ........................................................................................ 2-13Schedule............................................................................................................................................ 2-13Design Overview............................................................................................................................. 2-13Restart/Recovery ............................................................................................................................ 2-14I/O Specification ............................................................................................................................. 2-14Design Assumptions....................................................................................................................... 2-14

    trunctbl.ksh (Truncate Table Script) .................................................................................................. 2-14Schedule............................................................................................................................................ 2-14Design Overview............................................................................................................................. 2-15Restart/Recovery ............................................................................................................................ 2-15Key Tables Affected ........................................................................................................................ 2-15Design Assumptions....................................................................................................................... 2-15

    rms_oi_purge.ksh (Purge Dashboard Working Tables) ................................................................. 2-15Schedule............................................................................................................................................ 2-15Design Overview............................................................................................................................. 2-15Restart/Recovery ............................................................................................................................ 2-16Key Tables Affected ........................................................................................................................ 2-16Design Assumptions....................................................................................................................... 2-16

    raf_notification_purge.ksh (Purge RAF Notifications).................................................................. 2-17Schedule............................................................................................................................................ 2-17Design Overview............................................................................................................................. 2-17

  • vii

    Restart/Recovery ............................................................................................................................ 2-17Design Assumptions....................................................................................................................... 2-17

    batch_archive_purge_hist.ksh (Archive and Truncate Purge History Tables) .......................... 2-17Schedule............................................................................................................................................ 2-17Design Overview............................................................................................................................. 2-18Restart/Recovery ............................................................................................................................ 2-18I/O Specifications ........................................................................................................................... 2-18Design Assumptions....................................................................................................................... 2-18

    admin_api_purge.ksh (Purge Manage Admin Records) ............................................................... 2-18Schedule............................................................................................................................................ 2-19Design Overview............................................................................................................................. 2-19Restart/Recovery ............................................................................................................................ 2-19I/O Specifications ........................................................................................................................... 2-19

    refreshmview.ksh ( Forecast Roll Up Refresh Views) .................................................................... 2-19Design Overview............................................................................................................................. 2-19Scheduling Constraints .................................................................................................................. 2-19Restart/Recovery ............................................................................................................................ 2-20Key Tables Affected ........................................................................................................................ 2-20I/O Specification ............................................................................................................................. 2-20

    data_export_purge_job (Purging of All the Extracted Data)......................................................... 2-20Design Overview............................................................................................................................. 2-20Scheduling Constraints .................................................................................................................. 2-21Restart/Recovery ............................................................................................................................ 2-21Key Tables Affected ........................................................................................................................ 2-21Integration Contract........................................................................................................................ 2-21Design Assumptions....................................................................................................................... 2-21

    job_audit_logs_purge_job (Purge Old Job Auditing Logs) .......................................................... 2-21Design Overview............................................................................................................................. 2-22Scheduling Constraints .................................................................................................................. 2-22Restart/Recovery ............................................................................................................................ 2-22Key Tables Affected ........................................................................................................................ 2-22Design Assumptions....................................................................................................................... 2-23

    3 Foundation Data Maintenance

    Batch Design Summary........................................................................................................................... 3-2admin_api_purge (Purge Manage Admin records) ........................................................................... 3-2

    Schedule............................................................................................................................................... 3-3Design Overview................................................................................................................................ 3-3Restart/Recovery ............................................................................................................................... 3-3I/O Specification ................................................................................................................................ 3-3

    batch_compeffupd (Update ELC Components) ................................................................................. 3-3Schedule............................................................................................................................................... 3-3Design Overview................................................................................................................................ 3-3Restart/Recovery ............................................................................................................................... 3-4Design Assumptions.......................................................................................................................... 3-4

    batch_expprofupd (Apply Pending Rate Changes to Expense Profiles) ....................................... 3-4Schedule............................................................................................................................................... 3-4

  • viii

    Design Overview................................................................................................................................ 3-5Restart/Recovery ............................................................................................................................... 3-5Design Assumptions.......................................................................................................................... 3-5

    batch_depchrgupd (Apply Pending Up-Charge Cost Component Changes to Departments) . 3-5Schedule............................................................................................................................................... 3-5Design Overview................................................................................................................................ 3-5Restart/Recovery ............................................................................................................................... 3-5Design Assumptions.......................................................................................................................... 3-5

    batch_itmcostcompupd (Apply Pending Item Cost Component Updates) .................................. 3-6Schedule............................................................................................................................................... 3-6Design Overview................................................................................................................................ 3-6Restart/Recovery ............................................................................................................................... 3-6Design Assumptions.......................................................................................................................... 3-6

    batch_alloctsfupd (Update Allocation and Transfer Based on Changes to Up-Charges) .......... 3-6Schedule............................................................................................................................................... 3-7Design Overview................................................................................................................................ 3-7Restart/Recovery ............................................................................................................................... 3-7Design Assumptions.......................................................................................................................... 3-7

    batch_ordcostcompupd (Apply Pending Cost Component and ELC Changes to Purchase Orders) 3-7

    Schedule............................................................................................................................................... 3-7Design Overview................................................................................................................................ 3-7Restart/Recovery ............................................................................................................................... 3-8Design Assumptions.......................................................................................................................... 3-8

    elcexcprg (Purge Aged Cost Component Exceptions) ....................................................................... 3-8Schedule............................................................................................................................................... 3-8Design Overview................................................................................................................................ 3-8Restart/Recovery ............................................................................................................................... 3-9Design Assumptions.......................................................................................................................... 3-9

    elc_except_purge_job (Purge Aged Cost Component Exceptions) ................................................. 3-9Design Overview................................................................................................................................ 3-9Scheduling Constraints .................................................................................................................. 3-10Restart/Recovery ............................................................................................................................ 3-10Key Tables Affected ........................................................................................................................ 3-10Design Assumptions....................................................................................................................... 3-10

    dfrtbld (Build Diff Ratios Based on Sales History)........................................................................ 3-10Schedule............................................................................................................................................ 3-11Design Overview............................................................................................................................. 3-11Restart/Recovery ............................................................................................................................ 3-11Key Tables Affected ........................................................................................................................ 3-11I/O Specification ............................................................................................................................. 3-11Output File Layout.......................................................................................................................... 3-11Design Assumptions....................................................................................................................... 3-12

    lclrbld (Rebuild Dynamic Location Lists) ........................................................................................ 3-12Schedule............................................................................................................................................ 3-12Design Overview............................................................................................................................. 3-12Restart/Recovery ............................................................................................................................ 3-12Key Tables Affected ........................................................................................................................ 3-12

  • ix

    Design Assumptions....................................................................................................................... 3-13loc_list_rebuild_job (Rebuild Dynamic Location Lists)................................................................ 3-13

    Design Overview............................................................................................................................. 3-13Scheduling Constraints .................................................................................................................. 3-13Restart/Recovery ............................................................................................................................ 3-14Key Tables Affected ........................................................................................................................ 3-14Design Assumptions....................................................................................................................... 3-14

    batch_rfmvcurrconv (Refresh Currency Conversion Materialized View) ................................. 3-14Schedule............................................................................................................................................ 3-14Design Overview............................................................................................................................. 3-14Restart/Recovery ............................................................................................................................ 3-14Key Tables Affected ........................................................................................................................ 3-15Design Assumptions....................................................................................................................... 3-15

    refmvlocprimaddr (Refresh Address Materialized View) ............................................................ 3-15Schedule............................................................................................................................................ 3-15Design Overview............................................................................................................................. 3-15Restart/Recovery ............................................................................................................................ 3-15Key Tables Affected ........................................................................................................................ 3-15Design Assumptions....................................................................................................................... 3-16

    cremhierdly (Process Pending Merchandise Hierarchy Changes from External Systems) .... 3-16Schedule............................................................................................................................................ 3-16Design Overview............................................................................................................................. 3-16Restart/Recovery ............................................................................................................................ 3-16Key Tables Affected ........................................................................................................................ 3-16Design Assumptions....................................................................................................................... 3-17

    reclsdly (Reclassify Items in Merchandise Hierarchy ................................................................... 3-17Schedule............................................................................................................................................ 3-17Design Overview............................................................................................................................. 3-17Restart/Recovery ............................................................................................................................ 3-17Key Tables Affected ........................................................................................................................ 3-17Design Assumptions....................................................................................................................... 3-18

    supmth (Rollup of Supplier Data) ..................................................................................................... 3-18Schedule............................................................................................................................................ 3-19Design Overview............................................................................................................................. 3-19Restart/Recovery ............................................................................................................................ 3-19Key Tables Affected ........................................................................................................................ 3-19Design Assumptions....................................................................................................................... 3-19

    schedprg (Purge Aged Store Ship Schedule) ................................................................................... 3-19Schedule............................................................................................................................................ 3-20Design Overview............................................................................................................................. 3-20Restart/Recovery ............................................................................................................................ 3-20Key Tables Affected ........................................................................................................................ 3-20Design Assumptions....................................................................................................................... 3-20

    activity_sched_purge_job (Purge Aged Store Ship Schedule) ..................................................... 3-20Design Overview............................................................................................................................. 3-21Scheduling Constraints .................................................................................................................. 3-21Restart/Recovery ............................................................................................................................ 3-21

  • x

    Key Tables Affected ........................................................................................................................ 3-21Design Assumptions....................................................................................................................... 3-22

    prchstprg(Purge Aged Price History Data)....................................................................................... 3-22Schedule............................................................................................................................................ 3-22Design Overview............................................................................................................................. 3-22Restart/Recovery ............................................................................................................................ 3-22Performance Considerations ......................................................................................................... 3-23Key Tables Affected ........................................................................................................................ 3-23Design Assumptions....................................................................................................................... 3-23

    price_hist_purge_job (Purge Aged Price History Data)................................................................. 3-23Design Overview............................................................................................................................. 3-23Scheduling Constraints .................................................................................................................. 3-24Restart/Recovery ............................................................................................................................ 3-24Key Tables Affected ........................................................................................................................ 3-24

    tcktdnld (Download of Data to be Printed on Tickets).................................................................. 3-24Schedule............................................................................................................................................ 3-25Design Overview............................................................................................................................. 3-25Restart/Recovery ............................................................................................................................ 3-25Key Tables Affected ........................................................................................................................ 3-25I/O Specification ............................................................................................................................. 3-26Output File Layout.......................................................................................................................... 3-26Design Assumptions....................................................................................................................... 3-28

    refmvl10entity (Refresh MV MV_L10N_ENTITY)......................................................................... 3-28Schedule............................................................................................................................................ 3-29Design Overview............................................................................................................................. 3-29Restart/Recovery ............................................................................................................................ 3-29Locking Strategy.............................................................................................................................. 3-29Security Considerations ................................................................................................................. 3-29Performance Considerations ......................................................................................................... 3-29I/O Specification ............................................................................................................................. 3-29

    likestorebatch (Like Store Batch Processing)................................................................................... 3-29Schedule............................................................................................................................................ 3-30Design Overview............................................................................................................................. 3-30Restart/Recovery ............................................................................................................................ 3-30Key Tables Affected ........................................................................................................................ 3-30Design Assumptions....................................................................................................................... 3-31

    straddbatch.ksh(Store Add Asynchronous Process) ...................................................................... 3-31Business Overview.......................................................................................................................... 3-31Key Tables Affected ........................................................................................................................ 3-31Design Assumptions....................................................................................................................... 3-32

    Queue Creation ........................................................................................................................ 3-32Design Overview - Process Steps.................................................................................................. 3-32Running entire store-add as batch in case of AQ issues............................................................ 3-33Building Schedule Dependencies between Async process and other batches....................... 3-33Monitoring Progress of Store-Add Processes ............................................................................. 3-33

    CORESVC_STORE_ADD_SQL. ADD_STORE (Store Add Asynchronous Process) ............. 3-33Business Overview.......................................................................................................................... 3-33

  • xi

    Key Tables Affected ........................................................................................................................ 3-34Design Assumptions....................................................................................................................... 3-34

    Queue Creation ........................................................................................................................ 3-34Design Overview - Process Steps.................................................................................................. 3-35Package Impact................................................................................................................................ 3-35

    Function Level Description - ADD_STORE ......................................................................... 3-35Function Level Description - ENQUEUE_STORE_ADD................................................... 3-36Function Level Description - ENQUEUE_STORE_ADD_RETRY .................................... 3-36Function Level Description - NOTIFY_STORE_ADD........................................................ 3-36

    Operations and Monitoring........................................................................................................... 3-36Running entire Store-Add as Batch in Case of AQ Issues ................................................. 3-37Building Schedule Dependencies between Async Process and other Batches ............... 3-37Monitoring Progress of Store-Add Processes ...................................................................... 3-37

    4 Item Maintenance

    Program Summary.................................................................................................................................... 4-1sitmain (Scheduled Item Maintenance) ............................................................................................... 4-1

    Schedule............................................................................................................................................... 4-1Design Overview................................................................................................................................ 4-1Restart/Recovery ............................................................................................................................... 4-2Key Tables Affected ........................................................................................................................... 4-2Design Assumptions.......................................................................................................................... 4-2

    vatdlxpl (Mass VAT Updates for Items/Locations) ............................................................................ 4-2Schedule............................................................................................................................................... 4-2Design Overview................................................................................................................................ 4-2Restart/Recovery ............................................................................................................................... 4-3Key Tables Affected ........................................................................................................................... 4-3Design Assumptions.......................................................................................................................... 4-3

    itm_indctn_purge.ksh (Purge Item Induction Staging Tables) ....................................................... 4-3Design Overview................................................................................................................................ 4-3Scheduling Constraints ..................................................................................................................... 4-4Restart/Recovery ............................................................................................................................... 4-4Key Tables Affected ........................................................................................................................... 4-4

    item_loc_purge_job (Daily Purge of Item-Location Data) ............................................................... 4-5Design Overview................................................................................................................................ 4-6Scheduling Constraints ..................................................................................................................... 4-6Restart/Recovery ............................................................................................................................... 4-6Key Tables Affected ........................................................................................................................... 4-6I/O Specification ................................................................................................................................ 4-7

    5 Purchase Order

    Batch Design Summary........................................................................................................................... 5-1edidlord (Download of Purchase Orders from Merchandising to Suppliers) ............................. 5-1

    Schedule............................................................................................................................................... 5-2Design Overview................................................................................................................................ 5-2Restart/Recovery ............................................................................................................................... 5-2

  • xii

    I/O Specification ................................................................................................................................ 5-2Output File Layout............................................................................................................................. 5-3Design Assumptions....................................................................................................................... 5-11

    ediupack (Upload Purchase Order and Purchase Order Change Acknowledgements from Suppliers to Merchandising) .............................................................................................................. 5-11

    Schedule............................................................................................................................................ 5-11Design Overview............................................................................................................................. 5-11Restart/Recovery ............................................................................................................................ 5-12I/O Specification ............................................................................................................................. 5-12Input File Layout............................................................................................................................. 5-12Design Assumptions....................................................................................................................... 5-14

    vrplbld (Build Purchase Orders for Vendor Generated Orders).................................................. 5-14Schedule............................................................................................................................................ 5-14Design Overview............................................................................................................................. 5-15Restart/Recovery ............................................................................................................................ 5-15Key Tables Affected ........................................................................................................................ 5-15Design Assumptions....................................................................................................................... 5-16

    genpreiss (Generate Pre-Issued Order Numbers)........................................................................... 5-16Schedule............................................................................................................................................ 5-16Design Overview............................................................................................................................. 5-16Restart/Recovery ............................................................................................................................ 5-16Design Assumptions....................................................................................................................... 5-16

    supcnstr (Scale Purchase Orders Based on Supplier Constraints) .............................................. 5-17Schedule............................................................................................................................................ 5-17Design Overview............................................................................................................................. 5-17Restart/Recovery ............................................................................................................................ 5-17Locking Strategy.............................................................................................................................. 5-17Key Tables Affected ........................................................................................................................ 5-18Design Assumptions....................................................................................................................... 5-18

    orddscnt (Apply Deal Discounts to Purchase Orders) ................................................................... 5-18Schedule............................................................................................................................................ 5-18Design Overview............................................................................................................................. 5-18Restart/Recovery ............................................................................................................................ 5-18Design Assumptions....................................................................................................................... 5-18

    ordupd (Update Retail Values on Open Purchase Orders) ........................................................... 5-19Schedule............................................................................................................................................ 5-19Design Overview............................................................................................................................. 5-19Restart/Recovery ............................................................................................................................ 5-19Design Assumptions....................................................................................................................... 5-19

    ordautcl (Auto Close Purchase Orders)............................................................................................. 5-19Schedule............................................................................................................................................ 5-19Design Overview............................................................................................................................. 5-20

    Category 1 ................................................................................................................................. 5-20Category 2 ................................................................................................................................. 5-20Category 3 ................................................................................................................................. 5-20

    Restart/Recovery ............................................................................................................................ 5-20Design Assumptions....................................................................................................................... 5-21

    order_auto_close_job (Auto Close Purchase Orders) ..................................................................... 5-21

  • xiii

    Design Overview............................................................................................................................. 5-21Category 1 ................................................................................................................................. 5-21Category 2 ................................................................................................................................. 5-21Category 3 ................................................................................................................................. 5-21

    Scheduling Constraints .................................................................................................................. 5-22Restart/Recovery ............................................................................................................................ 5-22Key Tables Affected ........................................................................................................................ 5-22Design Assumptions....................................................................................................................... 5-24

    ordrev (Write Purchase Order Information to Purchase Order History Tables) ....................... 5-24Schedule............................................................................................................................................ 5-24Design Overview............................................................................................................................. 5-24Restart/Recovery ............................................................................................................................ 5-25Design Assumptions....................................................................................................................... 5-25

    order_revision_job (Write Purchase Order Information to Purchase Order History Tables). 5-25Design Overview............................................................................................................................. 5-25Scheduling Constraints .................................................................................................................. 5-26Restart/Recovery ............................................................................................................................ 5-26Key Tables Affected ........................................................................................................................ 5-26Design Assumptions....................................................................................................................... 5-26

    ordprg (Purge Aged Purchase Orders) .............................................................................................. 5-27Schedule............................................................................................................................................ 5-27Design Overview............................................................................................................................. 5-27Restart/Recovery ............................................................................................................................ 5-27Design Assumptions....................................................................................................................... 5-28

    order_purge_job (Purge Aged Purchase Orders) ............................................................................ 5-28Design Overview............................................................................................................................. 5-28Scheduling Constraints .................................................................................................................. 5-29Restart/Recovery ............................................................................................................................ 5-29Key Tables Affected ........................................................................................................................ 5-29Design Assumptions....................................................................................................................... 5-33

    poindbatch.ksh (Upload Order Data)................................................................................................ 5-33Schedule............................................................................................................................................ 5-33Design Overview............................................................................................................................. 5-33Restart/Recovery ............................................................................................................................ 5-34Design Assumptions....................................................................................................................... 5-34

    po_indctn_purge.ksh (Purge PO Induction Staging Tables) ........................................................ 5-34Schedule............................................................................................................................................ 5-34Design Overview............................................................................................................................. 5-34Restart/Recovery ............................................................................................................................ 5-35Design Assumptions....................................................................................................................... 5-35

    6 Deals

    Program Summary.................................................................................................................................... 6-1dealupld (Upload of Deals from 3rd Party Systems) ........................................................................ 6-2

    Design Overview................................................................................................................................ 6-2Restart/Recovery ............................................................................................................................... 6-2I/O Specification ................................................................................................................................ 6-2

  • xiv

    Integration File Layout ...................................................................................................................... 6-2Design Assumptions....................................................................................................................... 6-28

    batch_ditinsrt.ksh (Deal Calculation Queue Insert Multithreading) ......................................... 6-28Schedule............................................................................................................................................ 6-28Design Overview............................................................................................................................. 6-28Restart/Recovery ............................................................................................................................ 6-28Design Assumptions....................................................................................................................... 6-28

    ditinsrt (Insert into Deal Calculation Queue).................................................................................. 6-28Schedule............................................................................................................................................ 6-29Design Overview............................................................................................................................. 6-29Restart/Recovery ............................................................................................................................ 6-29Design Assumptions....................................................................................................................... 6-29

    discotbapply (Update OTB After Deal Discounts) ......................................................................... 6-29Schedule............................................................................................................................................ 6-29Design Overview............................................................................................................................. 6-30Restart/Recovery ............................................................................................................................ 6-30Schedule............................................................................................................................................ 6-30

    dealact (Calculate Actual Impact of Billback Deals) ...................................................................... 6-30Schedule............................................................................................................................................ 6-30Design Overview............................................................................................................................. 6-30Restart/Recovery ............................................................................................................................ 6-30Design Assumptions....................................................................................................................... 6-30

    dealinc (Calculate Weekly/Monthly Income Based on Turnover) ............................................... 6-30Schedule............................................................................................................................................ 6-31Design Overview............................................................................................................................. 6-31Restart/Recovery ............................................................................................................................ 6-31Design Assumptions....................................................................................................................... 6-31

    dealday (Daily Posting of Deal Income to Stock & General Ledgers)........................................ 6-31Schedule............................................................................................................................................ 6-31Design Overview............................................................................................................................. 6-32Restart/Recovery ............................................................................................................................ 6-32Design Assumptions....................................................................................................................... 6-32

    dealfct (Calculates/Update Forecasted Values for Deals) .............................................................. 6-32Schedule............................................................................................................................................ 6-32Design Overview............................................................................................................................. 6-32Restart/Recovery ............................................................................................................................ 6-32Design Assumptions....................................................................................................................... 6-33

    vendinvc (Stage Complex Deal Invoice Information) ................................................................... 6-33Schedule............................................................................................................................................ 6-33Design Overview............................................................................................................................. 6-33Restart/Recovery ............................................................................................................................ 6-33I/O Specification ............................................................................................................................. 6-33Design Assumptions....................................................................................................................... 6-33

    vendinvf (Stage Fixed Deal Invoice Information ........................................................................... 6-34Schedule............................................................................................................................................ 6-34Design Overview............................................................................................................................. 6-34Restart/Recovery ............................................................................................................................ 6-34

  • xv

    I/O Specification ............................................................................................................................. 6-34Design Assumptions....................................................................................................................... 6-34

    dealcls (Close Expired Deals).............................................................................................................. 6-34Schedule............................................................................................................................................ 6-35Design Overview............................................................................................................................. 6-35Restart/Recovery ............................................................................................................................ 6-35Design Assumptions....................................................................................................................... 6-35

    deal_close_job (Close Expired Deals) ............................................................................................... 6-35Design Overview............................................................................................................................. 6-35Scheduling Constraints .................................................................................................................. 6-36Restart/Recovery ............................................................................................................................ 6-36Key Tables Affected ........................................................................................................................ 6-36

    dealprg (Purge Closed Deals) ............................................................................................................. 6-36Schedule............................................................................................................................................ 6-37Design Overview............................................................................................................................. 6-37Restart/Recovery ............................................................................................................................ 6-37Design Assumptions....................................................................................................................... 6-37

    deal_purge_job (Purge Closed Deals) ............................................................................................... 6-37Design Overview............................................................................................................................. 6-37Scheduling Constraints .................................................................................................................. 6-38Restart/Recovery ............................................................................................................................ 6-38Key Tables Affected ........................................................................................................................ 6-38

    deal_actuals_purge_job (Purge Closed Deals Actuals Item/Location) ....................................... 6-39Design Overview............................................................................................................................. 6-39Scheduling Constraints .................................................................................................................. 6-40Restart/Recovery ............................................................................................................................ 6-40Key Tables Affected ........................................................................................................................ 6-40

    7 Contracts

    Batch Design Summary........................................................................................................................... 7-1edidlcon (Download Contracts to Suppliers) ..................................................................................... 7-2

    Schedule............................................................................................................................................... 7-2Design Overview................................................................................................................................ 7-2Restart/Recovery ............................................................................................................................... 7-2I/O Specification ................................................................................................................................ 7-2Output File Layout............................................................................................................................. 7-3Design Assumptions.......................................................................................................................... 7-7

    ediupavl (Upload Item Availability for Type A & D Contracts from Suppliers) ........................ 7-7Schedule............................................................................................................................................... 7-7Design Overview................................................................................................................................ 7-7Restart/Recovery ............................................................................................................................... 7-8I/O Specification ................................................................................................................................ 7-8Input File Layout................................................................................................................................ 7-8Design Assumptions.......................................................................................................................... 7-9

    cntrordb (Create Replenishment Orders for Item/Locations on Type B Contracts) .................... 7-9Schedule............................................................................................................................................ 7-10Design Overview............................................................................................................................. 7-10

  • xvi

    Restart/Recovery ............................................................................................................................ 7-10Design Assumptions....................................................................................................................... 7-10

    cntrprss (Apply Type A, C and D Contracts to Orders Created by Replenishment) ............... 7-10Schedule............................................................................................................................................ 7-11Design Overview............................................................................................................................. 7-11Restart/Recovery ............................................................................................................................ 7-11Design Assumptions....................................................................................................................... 7-11

    cntrmain (Contract Maintenance and Purging) ............................................................................... 7-11Schedule............................................................................................................................................ 7-11Design Overview............................................................................................................................. 7-11Restart/Recovery ............................................................................................................................ 7-11Design Assumptions....................................................................................................................... 7-12

    contract_purge_job (Contract Maintenance and Purging) ............................................................ 7-12Design Overview............................................................................................................................. 7-12Scheduling Constraints .................................................................................................................. 7-12Restart/Recovery ............................................................................................................................ 7-13Key Tables Affected ........................................................................................................................ 7-13Design Assumptions....................................................................................................................... 7-13

    8 Cost Changes

    Batch Design Summary........................................................................................................................... 8-1sccext (Supplier Cost Change Extract) .................................................................................................. 8-1

    Schedule............................................................................................................................................... 8-1Design Overview................................................................................................................................ 8-1Restart/Recovery ............................................................................................................................... 8-2Design Assumptions.......................................................................................................................... 8-2

    ccprg (Cost Change Purge)...................................................................................................................... 8-2Schedule............................................................................................................................................... 8-2Design Overview................................................................................................................................ 8-2Restart/Recovery ............................................................................................................................... 8-2Design Assumptions.......................................................................................................................... 8-2

    cost_change_purge_job (Cost Change Purge)..................................................................................... 8-3Design Overview................................................................................................................................ 8-3Scheduling Constraints ..................................................................................................................... 8-3Restart/Recovery ............................................................................................................................... 8-3Key Tables Affected ........................................................................................................................... 8-4Design Assumptions.......................................................................................................................... 8-4

    ownership_change_process (Process Scheduled Ownership Change Data) ................................ 8-4Schedule............................................................................................................................................... 8-4Design Overview................................................................................................................................ 8-4Restart/Recovery ............................................................................................................................... 8-5Restart/Recovery ............................................................................................................................... 8-5Design Assumptions.......................................................................................................................... 8-6

    ownership_change_purge (Purge Processed and Aged Ownership Change Data) .................... 8-6Schedule............................................................................................................................................... 8-7Design Overview................................................................................................................................ 8-7Restart/Recovery ............................................................................................................................... 8-7

  • xvii

    Key Tables Affected ........................................................................................................................... 8-7Design Assumptions.......................................................................................................................... 8-7

    9 Open To Buy

    Batch Design Summary........................................................................................................................... 9-1otbdnld (Download Current & Future OTB by Subclass) ............................................................... 9-1

    Schedule............................................................................................................................................... 9-2Design Overview................................................................................................................................ 9-2Restart/Recovery ............................................................................................................................... 9-2I/O Specification ................................................................................................................................ 9-2

    Output File Layout ..................................................................................................................... 9-3Design Assumptions.......................................................................................................................... 9-6

    otbdlord (Download Summary of Outstanding Orders on OTB by Subclass)............................ 9-6Schedule............................................................................................................................................... 9-7Design Overview................................................................................................................................ 9-7Restart/Recovery ............................................................................................................................... 9-7I/O Specification ................................................................................................................................ 9-7

    Output File Layout ..................................................................................................................... 9-7Design Assumptions....................................................................................................................... 9-10

    otbupld (Upload OTB Budget from Planning Systems)................................................................ 9-10Schedule............................................................................................................................................ 9-10Design Overview............................................................................................................................. 9-10Restart/Recovery ............................................................................................................................ 9-10I/O Specification ............................................................................................................................. 9-11

    Input File Layout...................................................................................................................... 9-11Design Assumptions....................................................................................................................... 9-13

    otbprg (Purge Aged Open To Buy Data) ........................................................................................... 9-13Schedule............................................................................................................................................ 9-13Design Overview............................................................................................................................. 9-13Restart/Recovery ............................................................................................................................ 9-13Design Assumptions....................................................................................................................... 9-13

    otb_purge_job (Purge Aged Open To Buy Data) ............................................................................ 9-14Design Overview............................................................................................................................. 9-14Scheduling Constraints .................................................................................................................. 9-14Restart/Recovery ............................................................................................................................ 9-14Key Tables Affected ........................................................................................................................ 9-14Design Assumptions.........................................................................................