GL Interface: GL - Je - Source - TL - Unique 6) Jecategoryname - Unique GL - Code - Combinations
GL Interface: GL - Je - Source - TL - Unique 6) Jecategoryname - Unique GL - Code - Combinations
GL Interface: GL - Je - Source - TL - Unique 6) Jecategoryname - Unique GL - Code - Combinations
com/
Raju Ch
GL Interface
Procedure:
1) We populate the Staging Table
2) Performed Validation on Staging Table.
3) Populate GL Interface
4) Used Concurrent Program : Journal IMPORT.
5) Report Used is : Journal Import Execution Report That gives Info on failed import.
6) If we get few errors, then we fix the errors in GL_Interface.
7) If we get many Errors: Then we delete IMPORT Journals using
Concurrent Procss : Delete Journal Import Data.
- we clean the GL_Interface
- Fix the data from the Source and start over.
8) Post Journal Entries after successful Import.
Interface Tables: GL_INTERFACE
Base Tables
.C
GL_JE_BACTHES,
GL_JE_HEADERS,
GL_JE_LINES.
[ GL_JE_Set_Of_Books, Gl_Code_Combinations, GL_JE_Source_TL, GL_JE_Categoies_TL,
GL_Periods, fnd_Currencies ]
.B
8
S
P
A
E
6)JECategoryName <GL_JE_Categoies_TL>--
Unique
7) CurrencyCode <Fnd_Currencies>
-It has to be defined
8) PeriodSetName + Period_Name <GLPeriod> -Should be open and defined.
9) CodeCombinationId < Gl_Code_Combinations > -- Should exist in Chart of Accounts.
Validations Type:
1) Batch Level: a) SOB
b) BatchName
c) PeriodName
This is done to ensure that batch doesnt exist already.
2) Journal Level:
Journal Entry Name, Currency Code, Accouting Date
3) Accounting Validations / Journal Entry Line level Validation
Code Combination ID: 1) Should be enabled in Accounting Date.
Validations for the staging table:
Check if the inputted data file is already uploaded into staging table.
http://oracleapps88.blogspot.com/
Raju Ch
AP Invoice Interface
Interface Table:
AP_INVOICES_INTERFACE,
AP_INVOICE_LINES_INTERFACE,
AP_INTERFACE_REJECTION,
AP_INTERFACE_CONTROL
AP_INVOICES_ALL
AP_INVOICE_DISTRIBUTIONS_ALL
AP_PAYMENTS_SCHEDULE_ALL
Staging Table Col: Vendor#, Invoice#, InvoiceAmt, InvoiceDate, Qty, UnitPrice, InvoiceLineAmt,
InvoiceLineDesc, Batch#, Status, CreationDate.
Interface Cols:
<AP_INVOICES_INTERFACE>:
InvoiceID, InvoiceDate, CreationDate, CreatedBy,
LastUpdateDate, LastUpdatedBy, InvAm, VendorID, VendorSiteID, Inv#,
Source, AcctsPayCodeCombinationID [Under what Account u r making
payment], InvCurrencyCode.
<AP_INVOICE_LINES_INTERFACE>: InvoiceID, DistCodeCombinationID, Desc, Amt,
CreationDate, CreatedBy, LastUpdateDate, LastUpdatedBy, LineTypeLookupCode.
.B
8
Base Table
APInvoiceAll
APInvoiceAll
Interface Col
InvoiceDate
InvoiceTypeLookupCode
APInvoiceAll
VendorID
APInvoiceAll
InvoiceAmt
APInvoiceAll
Source
APInvoiceAll
OrgID
S
P
A
E
8
-
(B) <AP_INVOICE_LINES_INTERFACE>
.C
-- Header information,
-- Lines info
Validations
Value must be valid date format
Value must be Standard or Credit . If InvAmt <0
then Credit, else Standard
Must be existing valid Supplier vendorID
<PO_Vendors>
Value must be equal the um of Amount values in
AP_Invoice_Lines_Interface for lines with the same
InvoiceID.
Lookup value must have Type SOURCE, otherwise
u have to define the source n Payables Lookup
Window.
http://oracleapps88.blogspot.com/
Interface Columns
Invoice ID
Receipt Number
NN
NN
Accounting Date
PO Number
Po Distribution ID
N
N
N
Base Table
AP_
Invoice_
Lines_
Interface
Validations
Validated against <AP_Invoice_Interface>
To which Invoice ill be match. Validated
<RCV_Shipment_Headers>
Must be valid date format.
Validated against Segment1 <PO_Headers_All>
Used
for
PO
Matching.
Validated
<PO_Distribution_All>
Validated against GL CCID.
Interface Col
Line Group Number
Amount
against
against
Validations
Value must be positive #
Amount = Qty invoiced * Unit Price.
If total Amt != Amt of Invoice Header under the same
invoiceID, then Import Program will reject the invoice.
Must be positive for + Amt. And negative for Amt.
Account code should be valid.
Qty Invoiced
Balancing Segment
RCV Transaction ID
CCID
Raju Ch
Procedure : Payable Open Interface is used to create invoices from Invoice records in the
payable open interface Table. During import payable, we validate invoice Records and rejects
invoice records that have insufficient record or data. Successfully imported invoices have
distributions and have schedule payments and can be queried, modified and approved in the
invoice work bench.
.B
8
S
P
A
E
.C
http://oracleapps88.blogspot.com/
Raju Ch
AR Auto LockBox
Definition: AutoLockbox is a service that commercial bank offers to corporate customers for
outsourcing their Accounts Receivables payment processing. We can use
AutoLockBox for historical data conversion. We can only load Cash Receipts, not
miscellaneous receipts as there is no invoice & customers.
1) Set Up Receipt Bank : We define Bank with Account Use: Internal where checks from
2)
3)
4)
5)
.B
8
[ Define LockBox tells how Lockbox will handle Invalid Transaction Number.
1. Post Partial Amount as Unapplied: Apply the receipt to the valid transactions, then import the
remaining receipt amount with a status of Unapplied.
2. Reject Entire Receipt: It doesnt import the invalid receipt and data will remain in Interface
table [ Ar_Payments_Interface ]. We can edit the invalid records in the Lockbox Transmission
Data Window, then resubmit the validation step for the receipts before Lockbox can import it into
Receivables.
]
S
P
A
E
Process:
1) We create Control File for flat data file, we get from bank.
2) Move the .dat file and .ctl file to $AR_TOP/bin
3) After that we first do Import, then validation and finally Post QuickCash.
AutoLockBox is a three step Process:1. IMPORT During this step, Lockbox reads and formats the data from our bank file into
Interface table < AR_PAYMENTS_INTERFACE_ALL> using a SQL*Loader script.
2. Validation This checks data in the interface table for compatibility with Receivables. Once the
data is validated , the data is transferred into QuickCash tables [Receipt Tables]
(AR_INTERIM_CASH_RECEIPTS_ALL, AR_INTERIM_CASH_RCPT_LINES_ALL).
3. Post Quick Cash - It applies the receipts and update our customers balances, So data goes
to Base tables.
Interface tables:
AR_PAYMENTS_INTERFACE_ALL
AR_INTERIM_CASH_RECEIPTS_ALL
AR_INTERIM_CASH_RCPT_LINES_ALL
.C
http://oracleapps88.blogspot.com/
Base Tables:
Raju Ch
AR_CASH_RECEIPTS_ALL,
AR_CASH_RECEIPTS_HISTORY_ALL,
AP_RECEIVABLES_APPLICATION_ALL
Validations:
(A) < AR_PAYMENTS_INTERFACE_ALL >
Base Tables
Interface Cols
Record Type
-- [ TransmissionRecordID Pk ]
Validations
Is NN. Type of Record should
exist.(Header(HE) / Payment (DE)/
Trailer (TR))
LockBox Number
Should Exist.
Deposit Date
Should be there. Entered by user using
Maintain Lockbox Transmission Date.
Origination
-- do -Trans Routing#
-- do --
AR_Batches
AR Transmissions (Origin)
AP Bank Branches
(Bank Name, Bank Branch
Name, Bank #)
AR Cash Receipt
Receipt Date
.B
8
O-- do --
S
P
A
E
Interim_Cash_Receipt_Line.
Should be there
.C
http://oracleapps88.blogspot.com/
Raju Ch
SetUp Needed :
.C
Process:
1) Created Staging Table and then its Synonym in Apps schema.
2) Using SQL*Loader, populate staging table.
3) Run the AutoInvoice Interface (i.e pakage we created ) to populate Interface tables.
4) Run the Concurrent Prog : AutoInvoice Master Program for importing to Base Tables.
5) If we get any error, we can use AutoInvoice Correct Form to fix the errors.
Interface tables:
Base tables:
RA_INTERFACE_LINES_ALL,
RA_INTERFACE_DISTRIBUTIONS_ALL
RA_INTERFACE_SALESREPS_ALL
.B
8
RA_CUSTOMER_TRX_ALL,
RA_CUSTOMER_TRX_LINES_ALL
RA_CUST_TRX_GL_DIST_ALL
RA_CUSTOMER_TRX_LINE_SALESREPS
S
P
Staging Table Col: Customer#, CustomerName, ItemDesc, Ref#, Amt, TrxDate, TrxType, Line#,
StatusMsg.
Interface Table Cols:
<RA_INTERFACE_LINES_ALL>
BatchSourceName, SOBID, LineType, Desc, CurrencyCode, Amt,
CustTrxTypename, TermName, OrigSystemBillCustomerRef,
OrigSystemBillAddressRef, ConversionType,ConversionRate, TrxDate, GLDate,
Qty, OrgID, InterfaceLineAttribute 1-4, InterfaceLineContext.
<RA_INTERFACE_DISTRIBUTIONS_ALL>
A
E
Check for amount, batch source name, conversion rate, conversion type.
Validate orig_system_bill_customer_id, orig_system_bill_address_id,
validate quantity,
Validate if the amount includes tax flag.
(A) <RA_INTERFACE_LINES_ALL>
Base Table
Interface Columns
<RA Customer Trx All>
<RA Batches All>
Batch Source ID
Validations
Must exist in RABatchSourcesAll
(Name).
BatchSourceType = Foreign.
http://oracleapps88.blogspot.com/
(Exchange Rate)
Conversion Type
(Revenue Amount)
Amount
(Extended Amount)
Amount
Raju Ch
.C
.B
8
S
P
A
E
Whos Column :- Last Updated By, Llast Update Date, Created By, Creation Date are Nulls here.
http://oracleapps88.blogspot.com/
Raju Ch
customer API
(Every API has 3 out Parameters Return_Status, Msg_Count, Msg_Data)
.C
.B
8
S
P
HZ_LOCATION_V2PUB.Create_Location(..) Location_ID
A
E
4. Create a party site using party_id you get from step 2 and location_id from step 3.
a) HZ_PARTY_SITE_V2PUB.PARTY_SITE_REC_TYPE
5. Create an account site using account_id you get from step 2 and party_site_id from step 4.
a) HZ_CUST_ACCOUNT_SITE_V2PUB.CUST_ACCT_SITE_REC_TYPE
HZ_CUST_ACCOUNT_SITE_V2PUB.Create_Cust_Acct_Site(Cust_Acct_ID, Party_Site_ID)
Cust_Acct_Site_ID
6. Create an account site use using cust_acct_site_id you get from step 5 ans site_use_code =
BILL_TO.
a) HZ_CUST_ACCOUNT_SITE_V2PUB.CUST_SITE_USE_REC_TYPE
b) HZ_CUSTOMER_PROFILE_V2PUB.CUSTOMER_PROFILE_REC_TYPE
HZ_CUST_ACCOUNT_SITE_V2PUB.Create_Cust_Site_Use(Cust_Acct_Site_ID)
Site_Use_ID
http://oracleapps88.blogspot.com/
Raju Ch
HZ_PARTIES
HZ_PARTY_SITES
HZ_LOCATIONS
HZ_CUST_ACCOUNTS
HZ_CUST_SITE_USES_ALL
HZ_CUST_ACCT_SITES_ALL
HZ_PARTY_SITE_USES
Validations:
.C
.B
8
S
P
A
E
http://oracleapps88.blogspot.com/
Raju Ch
Interface Table :
Base Tables:
.B
8
MTL_Transactions_Interface,
[ MTL_Transaction_Lots_Interface,
MTL_Serial_Numbers_Interface ]
MTL_On_Hand_Quantities,
[ MTL_Lot_Numbers,
MTL_Serial_Numbers ]
Staging Table Cols : Org Code, Item No, Source Code, Qty, UOM Code, Sub Inventory, Source
HeaderID, Source LineID, Trx Cost, Process Flag, Error Msg,
S
P
Validations:
1) Valid Organization_Code
Organization_Code <MTL_Parameters>
2) Valid Inventory Item#
Segment1 <MTL_System_Items_B>
3) Valid SubInventory Code Secondary Inventory Name<MTL_Secondary_Inventories>
4) Valid Transaction UOM
UOM_Code <MTL_Units_Of_Measure>
A
E
Interface Columns
Source code, source lineID,
Source HeaderID, whos col,
Trx qty, Trx UOM,
Trx Date
Process Flag
Transaction Mode
Lock Flag
Organization ID
TRx Type ID
Validations
NN
NN
NN
NN
N
NN
NN
.C
Oracle Inventory provide an open interface for us to load transaction from external application
and feeder system. These transaction could be sales orders, shipment transaction from an Order
Entry System, [or they could be simple material issues, receipts or transfers loaded from data
collection devices.]
[ The Transaction Mgr picks up the rows to process based on the Process Flag and Transaction
Mode to manipulate the records in table. ]
http://oracleapps88.blogspot.com/
Raju Ch
.C
PO Requisition Import
NN
NN
NN
NN
N
N
.B
8
S
P
A
E
PO_REQUISITIONS_HEADERS_ALL,
PO_REQUISITION_LINES_ALL
PO_REQ_DISTRIBUTIONS_ALL