Design Overview

The purpose of this module is to create the RTLOG files using the data from the SVC_RTLOG_DATA_LOAD table (populated by Selling Solutions, through REST calls) after successful validation. The records will then be deleted from that table at the end of the batch processing.

This will decrease QUANTITY from SA_INPROGRESS_SALES table and decrease IN_PROGRESS_SALES_QTY from ITEM_LOC_SOH table (for SALE type transaction only) if there is any validation failure.

This will also populate the history (SVC_RTLOG_DATA_LOAD_HIST) and reject tables (SVC_RTLOG_DATA_REJECT).