All Interfaces Others N
All Interfaces Others N
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.
Validations Type:
1) Batch Level: a) SOB b) BatchName c) PeriodName
This is done to ensure that batch doesn’t 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.
AP Invoice Interface
Interface Table: AP_INVOICES_INTERFACE,
AP_INVOICE_LINES_INTERFACE,
AP_INTERFACE_REJECTION,
AP_INTERFACE_CONTROL
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.
Validations:
(A) <AP_INVOICES_INTERFACE> - Primary Key – InvoiceID
Interface Columns Validations
Invoice Num Null Required if there is more than 1 Invoice for the Supplier.
(AP_Invoice_All) Must be unique for supplier
PO Number Null Validated against Segment1 <PO_Headers>
Vendor Name Null One of the thing is reqd – Vendor ID, NUM or Name.
Vendor Site ID Null Validated against VendorSiteID <PO_Vendor_Sites>
PaymentMethodLookupCode Null Validated against <AP_Lookup_Code> - Check, Wire, EFT
(B) <AP_INVOICE_LINES_INTERFACE>
Interface Columns Validations
Invoice ID NN Validated against <AP_Invoice_Interface>
Receipt Number NN To which Invoice ill be match. Validated against
<RCV_Shipment_Headers>
Accounting Date N Must be valid date format.
PO Number N Validated against Segment1 <PO_Headers_All>
Po Distribution ID N Used for PO Matching. Validated against
<PO_Distribution_All>
Dist Code Combination ID N Validated against GL CCID.
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.
1) Set Up Receipt Bank : We define Bank with ‘Account Use’: Internal where checks from
customers are deposited. [ ARSetUpReceiptsBank ]
2) Set Up Receipt Class : Here we assign Payment methods. [SetUpReceiptsClass]
3) Set Up Receipt Source: We define Receipt Batch Source and assign Receipt Class,
payment
method and Bank Account to this source. [Set upReceipts Receipt Source ]
4) Define LockBox : Define Lockbox to use the Receivable AutoLockbox Program.
[Set UpReceipt LockBoxes Lockbox ]
5) Define Transmission Format : Autolockbox uses Transmission format for importing data
into receivables. Here we define Lockbox Header, Payment,
Lockbox Trailer.
[ Setup ReceiptLockboxTransmission Format ]
[ 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 doesn’t 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.
]
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.
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 customer’s balances, So data goes
to Base tables.
Validations:
SetUp Needed :
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>
InterfaceLineAttribute 1-4, Account Class, Org ID, Amount, CCID.
Concurrent Program: Auto Invoice Master Program
Validations: 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 Validations
<RA Customer Trx All>
<RA Batches All> Batch Source ID Must exist in RABatchSourcesAll
(Name).
BatchSourceType = ‘Foreign’.
Batch Source Name All are Not Null Columns.
SOB ID, Line Type, Desc,
Currency Code,
Conversion Type, Trx Date,
Receipt Method Name,
Interface Status
(Exchange Rate) Conversion Rate If conversion type = ‘user’ then this
column must not be null, otherwise it
must be null.
Exchange Rate Type Conversion Type Must exist in
<GL_Daily_Conversion_Types>
(Revenue Amount) Amount If LineType = ‘Charges’ Then this col
must be NULL.
(Extended Amount) Amount When Create_Clearing=’No’ then
AutoInvoice will correct the Revenue
Amounts that have the wrong currency
precision.
When Create_Clearing=’No’ then
It will go to Revenue Amount
<RACustomerTrxLinesAll>
Accounting Rule Duration
Accounting Rule ID
Who’s Column :- Last Updated By, Llast Update Date, Created By, Creation Date are Nulls here.
customer API
(Every API has 3 out Parameters – Return_Status, Msg_Count, Msg_Data)
Algorithm Used in API is:
1) We create a record variable of the desired type (Party /Organization)
2) Then we Populate the record with information from source.
3) Then Call the Procedure to create Party / Organization and pass the record to the
procedure as a parameter so that procedure put the information of the record variable
in the base table.
HZ_LOCATION_V2PUB.Create_Location(..) Location_ID
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
Interface Table: TCA API.
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.]
Staging Table Cols : Org Code, Item No, Source Code, Qty, UOM Code, Sub Inventory, Source
HeaderID, Source LineID, Trx Cost, Process Flag, Error Msg,
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>
[ The Transaction Mgr picks up the rows to process based on the Process Flag and Transaction
Mode to manipulate the records in table. ]
PO Requisition Import