Author:
Creation Date: August 11, 2000
Last Updated: August 11, 2000
Control Number: 1
Version: 1
Approvals:
<Approver 2>
1
Document Control
Change Record
Reviewers
Name Position
Distribution
Contents
Document Control
Technical Overview
Approach
Module List
Approach
Since this will be a one time conversion, the standard Oracle AutoInvoice Interface will be used
to load open Accounts Receivable invoices from s curent system. The data will be cleaned and
sent via a flat file and loaded into RA_INTERFACE_LINES_ALL using SQLLOADER. Data
willalso be loaded into RA_INTERFACE_SALESCREDITS_ALL table using SQLLOADER
since s autoaccounting rules require to give sales credit based on the receivable and revenue
account of the salesperson. For this reason, conversion salesperson records will have to be
created as set up for this conversion. There will need to be one set up for every different accounts
receivable account (one for Trade receivables, and one for each affiliate receivables account).
Once the data is loaded the AutoInvoice Import will be executed using path RAX \ Interfaces \
AutoInvoice.
Open credit memos and debit memos will be loaded as open invoices. In other words, credit
memos with negative amounts will be loaded as negative invoices.
To simplify this conversion, and to increase the conversion success rate, each open invoice will be
converted as a lump sum record which includes any tax, freight, and other special charges in the
open gross amount. All open invoices will be converted as a LINE line type. This means that
once when the open invoice is imported into Oracle, the line amount will also include the tax and
/or freight. The credit manager accepted this procedure and will deal with the any taxes and
freight charges after the conversion. Also, all debit and credit memos will be imported as open
invoices with their reason code.
NOTE: This conversion requires setups to be performed to define the conversion accounting
rules. A Batch Source Name and Customer Transaction Type Name must be set up for each AR
account that will be imported. Also, since another conversion is importing General Ledger
Balances, the setups for this conversion will be set not to post to the General Ledger. The
Miscellaneous form of setup/system options must be changed to not Require Salesperson. After
the conversion has been completed, this option must be reset to Require Salesperson.
NOTE 2: Initial build and testing is being conducted without multi-org set. Multi-org will be
turned on while production setups are being completed. Changes will then need to be made to
the control file to be able to work with multi-org in affect.
Module List
Concurrent Programs
AutoInvoice conversion includes the following concurrent programs:
gst_sql_load A generic unix script that calls sqlload for the given
parameters of control file and data file.
GST_INVOICE_ERROR_Report.sql
select e.interface_line_id,
e.message_text,
e.invalid_value
from ra_interface_errors e, ra_interface_lines_all i
where e.interface_line_id = i.interface_line_id
and i.description like 'CONVERSION%'
SQL Delete - RA_Interface_Lines_All
An SQL script to delete AutoInvoice rows from the ra-interface_lines_all table pertaining to the
conversion.
GST_RAIL_DELETE.sql
Delete from ra_interface_lines_all where description like 'CONVERSION%'
SQL Delete - RA_Interface_SALESCREDITS_All
An SQL script to delete AutoInvoice rows from the ra_interface_salescredits_all table pertaining to the
conversion.
GST_RAIL_DELETE.sql
Delete from ra_interface_salescredits_all where salesrep_number between 911000
and 919999
Data Mapping - Mapping Table
RA_INTERFACE_LINES_ALL Data Type Req Source System Source System Field Data Type Comments Interface
Field File Name
AMOUNT NUMBER AROPENP OIAMO 143:157
BATCH_SOURCE_NAME VARCHAR2(50) Y 314:325 CONVERSION
+ AR Code
CONVERSION_DATE DATE sysdate
CONVERSION_RATE NUMBER 1
CONVERSION_TYPE VARCHAR2(30) Y User
CURRENCY_CODE VARCHAR2(15) Y USD
CUST_TRX_TYPE_NAME VARCHAR2(20) 314:325 CONVERSION
+ AR Code
DESCRIPTION VARCHAR2(240) Y CONVERSION
INTERFACE_LINE_ATTRIBUTE1 VARCHAR2(30) AROPENP OIDNO 25:32
INTERFACE_LINE_CONTEXT VARCHAR2(30) CONVERSION
LINE_TYPE VARCHAR2(20) Y LINE
ORG_ID 102 Set to new ID
ORIG_SYSTEM_BATCH_NAME CONVERSION
ORIG_SYSTEM_BILL_ADDRESS_REF VARCHAR(240) AROPENP OICITS 9:16
ORIG_SYSTEM_BILL_CUSTOMER_REF VARCHAR(240) AROPENP OICUST 1:8
ORIG_SYSTEM_SOLD_CUSTOMER_REF VARCHAR(240) AROPENP OICORP 1:8
PRIMARY_SALESREP_NUMBER 254:259
PURCHASE_ORDER VARCHAR(50) AROPENP OIPON 174:198
REASON_CODE VARCHAR(30) AROPENP OIRSCD 100:124
SALES_ORDER VARCHAR(50) AROPENP OISON 199:206
SET_OF_BOOKS_ID NUMBER(15) Y 1 Set to new ID
TERM_NAME VARCHAR(15) AROPENP OIPMCD 55:69 xref to Oracle
TRX_DATE DATE AROPENP OIDCDY+MO+YR 245:253
TRX_NUMBER VARCHAR(20) AROPENP OIDNO 25:32
Note:
1. The new ID value for ORG_ID must be set in this control file. Currently set as 102.
2. The new ID value for SET_OF_BOOKS_ID must be set in this control file. Currently set as 1.
RA_INTERFACE_SALESCREDITS_ALL Data Type Req Source System Source System Field Data Type Comments Interface
Field File Name
INTERFACE_LINE_ATTRIBUTE1 VARCHAR2(30) AROPENP OIDNO 25:32
INTERFACE_LINE_CONTEXT VARCHAR2(30) CONVERSION
ORG_ID NUMBER Y 102
SALES_CREDIT_PERCENT_SPLIT NUMBER 100
SALES_CREDIT_TYPE_NAME VARCHAR2 QUOTA SALES
CREDIT
SALESREP_NUMBER NUMBER 254:259
Note:
1. The new ID value for ORG_ID must be set in this control file. Currently set as 102.
2. The new ID value for SET_OF_BOOKS_ID must be set in this control file. Currently set as 1.