Friday 7 September 2012

Creating Employee as Supplier In Oracle APPS


The main reason behind creating Employee  as Supplier to raise Employee  expenses.

Extract the Employee data and validate it then Load data in the below interface tables.

ap_suppliers_int(Suppliers)
ap_supplier_sites_int(Sites)
ap_sup_site_contact_int (Contacts)
iby_temp_ext_bank_accts(Banks)


For creating Employee to Supplier VENDOR_TYPE_LOOKUP_CODE and  EMPLOYEE_ID are mandatoty in ap_suppliers_int, 
the VENDOR_TYPE_LOOKUP_CODE sholud be 'EMPLOYEE' 
and EMPLOYEE_ID should be PERSON_ID from PER_ALL_PEOPLE_F.

For normal Suppliers EMPLOYEE_ID should be null and VENDOR_TYPE_LOOKUP_CODE sholud be 'STANDARD' 

run the Standard import program for suppliers, sites and contacts.Employee Data will get created as Supplier in the system with all site and bank details. 

Then Employees can create  expenses and submit for Approval.After approve then Invoice will creates in AP against that expense report. So then validate the invoice and pay. Payment will credited to employees bank.

The below query will give the End to End details raising expense report to Payments made  against.


select *
  from ap_expense_report_headers_all aerha
      ,ap_expense_report_lines_all aerla
      ,ap_expense_report_params_all aerpa
      ,per_all_people_f papf
      ,ap_invoices_all aia
      ,ap_invoice_payments_all aipa
      ,ap_checks_all aca
 where aerha.employee_id = papf.person_id
   and aerha.report_header_id = aerla.report_header_id
   and aerla.web_parameter_id = aerpa.parameter_id
   and aerha.expense_status_code = 'PAID'
   and papf.effective_end_date >= trunc(sysdate)
   and aerha.invoice_num = aia.invoice_num
   and aia.invoice_id = aipa.invoice_id
   and aipa.check_id = aca.check_id

2 comments:

  1. Are you in a financial crisis, looking for money to start your own business or to pay your bills?
    GET YOUR BLANK ATM CREDIT CARD AT AFFORDABLE PRICE*
    We sell this cards to all our customers and interested buyers
    worldwide,Tho card has a daily withdrawal limit of $5000 and up to $50,000
    spending limit in stores and unlimited on POS.

    YOU CAN ALSO MAKE BINARY INVESTMENTS WITH LITTLE AS $500 AND GET $10,000 JUST IN SEVEN DAYS

    **WHAT WE OFFER**

    *1)WESTERN UNION TRANSFERS/MONEY GRAM TRANSFER*
    *2)BANKS LOGINS*
    *3)BANKS TRANSFERS*
    *4)CRYPTO CURRENCY MINNING*
    *5)BUYING OF GIFT CARDS*
    *6)LOADING OF ACCOUNTS*
    *7)WALMART TRANSFERS*
    *8)BITCOIN INVESTMENTS*
    *9)REMOVING OF NAME FROM DEBIT RECORD AND CRIMINAL RECORD*
    *10)BANK HACKING*
    **email blankatmmasterusa@gmail.com *
    **you can also call or whatsapp us Contact us today for more enlightenment *
    *+1(539) 888-2243*
    **BEWARE OF SCAMMERS AND FAKE HACKERS IMPERSONATING US BUT THEY ARE NOT
    FROM *
    *US CONTACT US ONLY VIA THIS CONTACT **
    *WE ARE REAL AND LEGIT...........

    2020 FUNDS/FORGET ABOUT GETTING A LOAN..*

    IT HAS BEEN TESTED AND TRUSTED

    ReplyDelete
  2. I want to share my testimony on how i got the blank ATM card. I was so wrecked that my company fired me simply because i did not obliged to their terms, so they hacked into my system and phone and makes it so difficult to get any other job, i did all i could but things kept getting worse by the day that i couldn’t afford my 3 kids fees and pay my bills. I owe so many people trying to borrow money to survive because my old company couldn’t allow me get another job and they did all they could to destroy my life just for declining to be among their evil deeds. haven’t given up i kept searching for job online when i came across the testimony of a lady called Judith regarding how she got the blank ATM card. Due to my present state, i had to get in touch with Hacker called OSCAR WHITE of oscarwhitehackersworld@gmail.com and he told me the procedures and along with the terms which i agreed to abide and i was told that the Blank card will be deliver to me without any further delay and i hold on to his words and to my greatest surprise, i received an ATM card worth $4.5 million USD , All Thanks to OSCAR WHITE , if you are facing any financial problem contact him asap email address is oscarwhitehackersworld@gmail.com or whats-app +1(323)-362-2310

    ReplyDelete