R12 - Supplier Conversion
R12 - Supplier Conversion
R12 - Supplier Conversion
Supplier
Conversion
Pratima Sharma
Date : 11 Nov 2008
Prepared By
:
Confidential to CSC
Team-4
(Supplier)
01/05/17 03:03
Title
Agenda
Objective
Overview
of Conversion Process
Overview
of P2P Cycle
Extraction
and Loading
Validation
Rules considered
Error
Transfer
IMPORTING
Error
Report/Log File
Reconciliation
Concurrent
Future
Report
Enhancements
Confidential to CSC
01/05/17 03:03
Title
Objective
The Conversion of Suppliers information from Legacy
system(11i) to R12 version system.
Confidential to CSC
01/05/17 03:03
Title
Flat Files
Staging Tables
Legacy
Database
Mapping Files
Mapping
Enrichment
Legacy System
Option
al
Proces
s
Validate
Error Report
Error
NO
NO
Is
Valid?
YES
Interface Tables
Target
Database
R12
Confidential to CSC
YES
Is
Valid?
01/05/17 03:03
Title
Requisition
Requisition
RFQ
RFQ
Quotation
Quotation
Quotation
Quotation
Analysis
Analysis
General
General
Ledger
Ledger
AP
AP Invoice
Invoice
Receipt
Receipt
PO
PO
Confidential to CSC
01/05/17 03:03
Title
TCA
Bank Data
Model(R12)
Operating Unit , which makes bank with strong capability to pay across
operating units
Confidential to CSC
01/05/17 03:03
Title
CV-40 ,CV-60 documents needs to be prepared which emphasizes on functional & technical
aspects are the basic building blocks for the Conversion process
CV-040
CV.060
At the target database the staging tables will be created with the help of CV-40, CV-60
documents.
XXCSC_AP_SUPPLIER_HEADERS
XXCSC_AP_SUPPLIER_SITES
XXCSC_AP_SUPPLIER_CONTACTS
Along with the staging tables we need to create other tables which will be useful for the
Generic conversion package
XXCSC_CMN_METADATA_ALL
XXCSC_CMN_MAPPING_ALL
XXCSC_CMN_VALIDATIONS_ALL
Confidential to CSC
01/05/17 03:03
Title
OBJ_CODE
OBJ_DEP_SEQUENCE
OBJ_NAME
CTL_FILE
DATA_FILE
STG_TABLE
DATA_DIR_PATH
APPSUPP
SUPPLIER
XXCSC_SUPP.ctl
XXCSC_SUPP.csv
XXCSC_SPP_HDR
/tmp
VALID_CODE
VALID_DESC
SQL_QUERY
VALID_TYPE
ENABLE_FLAG
APPSUPP
SUPHDR001
Supplier Number is
NOT NULL
APPSUPP
SUPSIT001
MAPPING_CO
LUMN
LEGACY_CODE
LEGACY_DESC
TARGET_CODE
TARGET_DESC
APPSUPP
TERMS_NAME
NET-30
NET-30
NET-30/1/15
NET-30/1/15
APPSUPP
BILL_TO_LOC
ATION_CODE
NY
New York
V- New York
Confidential to CSC
01/05/17 03:03
Title
PO_VENDORS
PO_VENDOR_SITES_ALL
PO_VENDOR_CONTACTS
Extracting
data
Data comes in
the form of the
CSV files for
Supplier,
Supplier sites,
Supplier
contacts
XXCSC_AP_SUPPLIER_HEADERS
XXCSC_AP_SUPPLIER_SITES
XXCSC_AP_SUPPLIER_CONTACT
S
VALIDATION PROGRAM
AP_SUPPLIERS
AP_SUPPLIER_SITES_ALL
AP_SUPPLIER_CONTACTS
Confidential to CSC
Standard import
programs
AP_SUPPLIER S_INT
AP_SUPPLIER_SITES_INT
AP_SUP_SITE_CONTACT_INT
01/05/17 03:03
Title
The Extract query will fetch the data from the legacy system(11i)
The extracted data can be captured as data files(.csv/.xls) with a delimiter(^)
Populate the data into Supplier staging tables from legacy system Using SQL
Loader Script in the custom schema XXHR
Correspondingly each and every record should contain the flag which will be updated with its
current Process flag , Status flag (LOAD at this stage)
After Loading is done, the corresponding report should be generated
S UPPLIER_HEADER
S _DATA
XXCSC_AP_SUPPLIER_HEADERS
XXCSC_AP_S UPPLIER_HEADERS.ctl
XXCSC_AP_SUPPLIER_SITES
EXTRACT
EXTRACT FILE
Confidential to CSC
S UPPLIER_S ITES _D
ATA
SUPPLIER_CONTAC
TS_DATA
DATA FILES
XXCSC_AP_SUPPLIER_S ITES.ctl
XXCSC_AP_SUPPLIER_CONTACT
S
XXCSC_AP_SUPPLIER_CONTACTS.ctl
CTL FILES
STAGING TABLE
01/05/17 03:03
Title
Validation Rules
-- Validated perfectly
-- Error Record
And the corresponding Report will be generated with the error details.
Sample set of Error_code and Error_Message is as below.
Validation Rule
Error_code
Error_Message
ERRHDR028
Confidential to CSC
01/05/17 03:03
Title
With the help of the following Oracle Import Programs we can import the
data into Base Tables from Interface tables
Supplier open interface import
Supplier site open interface import
Supplier Site contacts Open interface import.
Supplier Open Interface Request Set
Confidential to CSC
01/05/17 03:03
Title
Executable
A Unix shell script will be used as executable which takes care of all the activities of
conversion with help of custom Oracle package (XXCSC_AP_CONV_PKG.pkb).
LOADING
MAPPING
VALIDATION
TRANSFER
CONVERSION REPORT
Pseudo Code of Unix Script
PS EUDO_CODE
Confidential to CSC
01/05/17 03:03
Title
Confidential to CSC
Concurrent Program
01/05/17 03:03
Title
The user cant submit the same concurrent program by parallel for particular object.
The latest concurrent program will end with error and gives the existing concurrent
program ID and Submitted date.
The system wont accept the concurrent program with existing stage, If we need to
execute the previous/existing stage for particular object then we should submit the
concurrent program with Forcefully Submit flag as Y.
The ALL value in STAGE parameter will be used as a single concurrent submission
and it will take care of LOADING, MAPPING, VALIDATION and TRANSFER stages.
End of the every Stage, System will generate SUMMARY report and In VALIDATION/
ALL stage the system will generate Error Report
LOADING, MAPPING, VALIDATION, Summary Report and Error Report are dynamic
and object Independent.
Confidential to CSC
01/05/17 03:03
Title
Confidential to CSC
01/05/17 03:03
Title
Confidential to CSC
RECONCILIATION REPORT
01/05/17 03:03
Title
Future Enhancement
Developing a form which can display and update the data of Generic tables
Converting the Transfer procedure into more Generic procedure
Avoiding the import of already imported records during the iterations , by which we can
reduce execution time to an extent
Confidential to CSC
01/05/17 03:03
Title
Pratima Sharma
Thank You!
Date : 11 Nov 2008
Confidential to CSC
01/05/17 03:03