Nov 30, 2010

Oracle apps’s technical FAQs 1


                                 Oracle apps’s technical FAQs

1) What is ERP? Architecture of apps?
         A packaged business software system that lets a company automate and integrate the majority of its business processes; share common data and practices across the enterprise; [and] produce and access information in a real-time environment.
2) Tell me some thing about SQL-LOADER.
Sql * loader is a bulk loader utility used for moving data from external files into the oracle database.
Sql * loader supports various load formats, selective loading, and multi-tables loads.             
        1) conventional
       --The conventional path loader essentially loads the data by using standard ‘insert’ statement.
        2) direct
                 -- the direct path loader (direct = true) by possess of logic involved with that, and loads directly in to the oracle data files.
EX:-
My data.csv file
                 1001, “scott tiger”,1000,40
                 1002,”gvreddy”,2345,50
Load data
Infile ‘c:\data\mydata.csv’
Into table emp
Fields terminated by “,” optionally enclosed by ‘”’
(empno, empname,sal,deptno)
>sqlldr scott/tiger@vis
control=loader.ctl  log= gvlog.log  bad=gvbad.bad  discard=gvdis.dsc .
3)  how do u dump data from pl/sql block to flat files?
       Using utl_file package, we can dump data from pl/sql block to flat file.
       PRE-REQUIREMENTS for UTL_FILE is specify the accessible directories for the UTL_FILE function in the initialization file (INIT.ORA) Using the UTL_FILE_DIR parameters.
       Ex: UTL_FILE_DIR =

EX:-
--remember to update INITSID.ORA,
--utl_file_dir = ‘c:\oradata’
Declare
Fp utl_file.file_type;
Begin
Fp := utl_file.fopen(c:\oradata’,tab1.txt’,’w’);
Utl_file.putf(fp,’%s %s \n ‘text field’, 55);
Utl_file.fclose(fp);
End;
4) What is SET-OF-BOOKS?
Collection of Chat of Accounts and Currency and Calendars is called SOB
5)     What is the interface?
         Interface Table is a table which is used as medium for transfer of data between two systems.
6)     What is invoice?
   Send you a request for payment
7)     What is INBOUND and OUT BOUND? (Different types of interfaces)
    Inbound Interface:
                   For inbound interfaces, where these products are the destination, interface tables as well as supporting validation, processing, and maintenance programs are provided.



  Outbound Interface:
                   For outbound interfaces, where these products are the source, database views are provided and the destination application should provide the validation, processing, and maintenance programs
8)      Tell me what r the Base tables in the AR?
          hz_parties      (party_id)     (store info about org, groups and people)
                     HZ_PARTIES stores information about parties such as organizations, people, and groups, including the identifying address information for the party.

hz_cust_accounts (cust_account_id)
                HZ_CUST_ACCOUNTS stores information about customer relationships. If a party becomes a customer, information about the customer account is stored in this table. You can establish multiplecustomer relationships with a single party, so each party can have multiple customer account records in this table.

hz_cust_acct_sites_all  (cust_acct_site_id)
                 HZ_CUST_ACCT_SITES_ALL stores information about customer sites.One customer account can have multiple sites. The address is maintained in HZ_LOCATIONS.

hz_cust_site_uses_all   (site_use_id)
                  HZ_CUST_SITE_USES_ALL stores information about site uses or business purposes. A single customer site can have multiple site uses, such as bill to or ship to, and each site use is stored as a record in this table.

hz_party_sites (party_site_id)
              HZ_PARTY_SITES stores information about the relationship between Parties and Locations. The same party can have multiple party sites.Physical addresses are stored in HZ_LOCATIONS.

hz_locations (location_id)
                HZ_LOCATIONS stores information about physical locations.

hz_Person_Profiles (person_profile_id)
                   HZ_PERSON_PROFILES stores detail information about people.

hz_Organization_Profiles (organization_profile_id)
               HZ_ORGANIZATION_PROFILES stores credit rating, financial statistics, socioeconomic and corporate linkage information for business sites. The primary key for this table is ORGANIZATION_PROFILE_ID.





9)      What r the table’s interface tables in the customer interface tables?
1)     Ra_customers_interface_all
               This table stores customer, address, and business purpose information. You do not have to enter values in this table if you do not want to import customers, addresses, or business purposes.

ADDRESS1 through 4
                       Enter the address for your customer in these four columns. You can enter up to four lines of an address.

Validation:  
      If you enter a value in ORIG_SYSTEM_ADDRESS_REF, you must enter a value in ADDRESS1. For multiple rows with the same address reference, insert values in address 1–4.

  Destination:                      HZ_LOCATIONS.ADDRESS1,
                                             HZ_LOCATIONS.ADDRESS2,
                                             HZ_LOCATIONS.ADDRESS3,
                                             HZ_LOCATIONS.ADDRESS4

           2) Ra_customer_profile_int_all
A customer level profile must exist in A_CUSTOMER_PROFILES_INTERFACE for new customers and each bill–to business purpose.
           3) Ra_contact_phones_int_all
This table stores telephone numbers for customers, addresses and contacts as well as contacts for customers and addresses.
           4) Ra_customer_banks_int_all
This table stores bank information for a customer or for a specific Bill–To address, you must enter a bank account for this customer,
            5) Ra_cust_paymethod_int_all
To import payment methods for customers and bill–to business purposes,

10) What r the staging tables in the customer interface?
                Ra_customers_stg
                Ra_customers_address_stg
                Ra_customers_point_stg
                Ra_customers_contact points_stg
                Ra_customers_relate_stg
                Ra_customer_error.
11)Tell me some mandatory columns in the customer interface tables?
 a) Ra_customers_interface_all
          1) Orig_system_customer_ref
          2) insert_update_flag
          3) customer_number 
          4) customer_status
                  5)last_updated_by    

                  6) last_updated_date 

                  7)created_by             

                  8) creation_date.       
         b) Ra_customer_profile_int_all
                    1) customer_profile_class_name
         c) Ra_contact_phones_int_all
                    1)orig_system_telephone_ref
                    2)telephone
                    3) telephone_type
         d) Ra_customer_banks_int_all
                    1) bank_a/c_name     
                    2)bank_a/c_no  
                    3)bank_a/c_currency_code
         e) Ra_cust_paymethod_int_all
                     1) payment_method_name

12)Tell me the Navigation for customer interface?
             Receivables ->  Interface ->  Customers



1. What tables cannot be updated through customer interface?
No updates will be allowed to be made through customer interface for 
Following tables
RA_SITE_USES_ALL
RA_CUSTOMER_RELATIONSHIPS_ALL
RA_CUST_RECEIPT_METHODS
AP_BANK_BRANCHES
AP_BANK_ACCOUNTS_ALL
AP_BANK_ACCOUNT_USES_ALL


2. How to send additional customer and address information through customer interafce 
Here is where attribute columns are used.
* Additional Customer data can be populated in 
RA_CUSTOMERS_INTERFACE_ALL.customer_attribute1 to 15
This will go into RA_CUSTOMERS.attribute1 to 15
* Additional address information can be populated in 
RA_CUSTOMERS_INTERFACE_ALL.address_attribute1 to 15
This will go into RA_ADDRESSES_ALL.attribute1 to 15
And so on.

5. What should be the batch size (number of customer records) general guidelines for optimal performance
About 10,000 records per bacth is ideal, it is suggested to keep the batch
size small.
   6. Why does customer interface error out if there is mismatch in address information?
Because the code validates against these mismatches. 
arplscin.sql and arplbcin.sql 
It validates the address being inserted or updated with respect to the tax 
location flexfield structure.  For each row being inserted or updated in 
RA_CUSTOMERS_INTERFACE, and that has not already been marked in error, 
the set_location_ccid function is called to return either an existing ccid 
for the address entered or to create a new entry in AR_LOCATION_VALUES for 
this new address.  The RA_CUSTOMERS_INTERFACE record is then updated with the 
value of the ccid returned.                                


7. How do you send records at customer level profile and address/site level profile?
For every customer record in RA_CUSTOMERS_INTERFACE_ALL, insert two records  in table RA_CUSTOMER_PROFILES_INT_ALL.    (Refer Note: 1070800.6 )


9. Does Customer Interface import salesperson data
No, Refer Enhancement Bug: 147495 


11. Customer Interface process can be used for updating the customer information How does the UPDATE work?
Current functionality of Customer Interface is to update all the data.  You cannot run Customer Interface to update only changed data. (Refer Bug: 879121 for the intended functinality)


12. What are some of the important fields that Customer Interface does not load?
Not all fields in RA_CUSTOMERS are being loaded by the interface. 
SIC_CODE                
GSA_INDICATOR                
FOB_POINT                
SALES_CHANNEL_CODE                
FREIGHT_TERM                
WAREHOUSE_ID                
PRICE LIST     
SHIP_PARTIAL                               
PAYMENT_TERM_ID   in RA_SITE_USES.PAYMENT_TERM_ID 
(Refer Enhancement Request Bug: 245300)


13. New TCA/Customer Model, how to load customer as PERSON or ORGANIZATION through Customer Interface?
a) Populate ra_customers_interface_all . person_flag = 'Y'
   Run Customer Interface process will load this record as PERSON
b) Populate ra_customers_interface_all . person_flag = 'N' ( or NULL ) 
   Run Customer Interface process will load this record as ORGANIZATION 





12. What are some of the important fields that Customer Interface does not load?
Not all fields in RA_CUSTOMERS are being loaded by the interface. 
SIC_CODE                
GSA_INDICATOR                
FOB_POINT                
SALES_CHANNEL_CODE                
FREIGHT_TERM                
WAREHOUSE_ID                
PRICE LIST     
SHIP_PARTIAL                               
PAYMENT_TERM_ID   in RA_SITE_USES.PAYMENT_TERM_ID 
(Refer Enhancement Request Bug: 245300)
13. New TCA/Customer Model, how to load customer as PERSON or ORGANIZATION through Customer Interface?
a) Populate ra_customers_interface_all . person_flag = 'Y'
   Run Customer Interface process will load this record as PERSON
b) Populate ra_customers_interface_all . person_flag = 'N' ( or NULL ) 
   Run Customer Interface process will load this record as ORGANIZATION

 

No comments:

OraApps Search

Custom Search

Search This Blog