Update Replenishment Order Taxes (batch_rplapprvgtax.ksh)

Module Name

batch_rplapprvgtax.ksh

Description

Update Replenishment Order Taxes

Functional Area

Replenishment

Module Type

Business Processing

Module Technology

ksh

Catalog ID

RMS194

Wrapper Script

N/A

Schedule

Oracle Retail Merchandising Batch Schedule

Design Overview

This script calls a function to enable parallel execution via multiple thread calls compute taxes for approved replenishment orders. Computed taxes are inserted/updated into the order tax breakup table.

This batch should be run only for Global Tax (GTAX) configuration.

Restart/Recovery

The logical unit of work is a set of purchase orders. Purchase order numbers in the replenishment approval GTAX queue table are assigned a thread number given the number of slots.

The same table drives the restart and recovery as well. Purchase orders in a thread that successfully complete execution are deleted from replenishment approval GTAX queue. Any restart after a fatal error will include the failed purchase order numbers when assigning new threads.

Design Assumptions

This program should only be run in Global Tax (GTAX) installations.