Vendor Open Interface Usage

Hi all...doing a supplier conversion/interface in R12.
The conversion part is fine...just load the 3 open interface tables, and run the import programs.
But if I get updates, can i load these tables and import the updates?
Or do I need to use the APIs?
I try using the API to update the contacts and get an error...maybe someone can take a look and troubleshoot?
I am attempting to use the AP_VENDOR_PUB_PKG.UPDATE_VENDOR_CONTACT API
Error(1931,1): PLS-00306: wrong number or types of arguments in call to 'UPDATE_VENDOR_CONTACT'
Here is my code:
SELECT
vendor_contact_id
,vendor_site_id
,per_party_id
,relationship_id
,rel_party_id
,party_site_id
,org_contact_id
,org_party_site_id
,first_name
,middle_name
,last_name
,title
,inactive_date
,department
,mail_stop
,area_code
,phone
,alt_area_code
,alt_phone
,fax_area_code
,fax
,email_address
,url
,prefix
INTO
v_vendor_contact_rec.vendor_contact_id
,v_vendor_contact_rec.vendor_site_id
,v_vendor_contact_rec.per_party_id
,v_vendor_contact_rec.relationship_id
,v_vendor_contact_rec.rel_party_id
,v_vendor_contact_rec.party_site_id
,v_vendor_contact_rec.org_contact_id
,v_vendor_contact_rec.org_party_site_id
,v_vendor_contact_rec.person_first_name
,v_vendor_contact_rec.person_middle_name
,v_vendor_contact_rec.person_last_name
,v_vendor_contact_rec.person_title
,v_vendor_contact_rec.inactive_date
,v_vendor_contact_rec.department
,v_vendor_contact_rec.mail_stop
,v_vendor_contact_rec.area_code
,v_vendor_contact_rec.phone
,v_vendor_contact_rec.alt_area_code
,v_vendor_contact_rec.alt_phone
,v_vendor_contact_rec.fax_area_code
,v_vendor_contact_rec.fax_phone
,v_vendor_contact_rec.email_address
,v_vendor_contact_rec.url
,v_vendor_contact_rec.prefix
FROM apps.ap_supplier_contacts
WHERE vendor_site_id = v_vendor_site_id;
v_vendor_contact_rec.vendor_id := v_vendor_id;
v_vendor_contact_rec.vendor_site_id := v_vendor_site_id;
v_vendor_contact_rec.org_id := v_org_id;
APPS.AP_VENDOR_PUB_PKG.UPDATE_VENDOR_CONTACT(
p_api_version => 1.0
,p_vendor_contact => v_vendor_contact_rec
,x_return_status =>v_return_status
,x_msg_count     => v_msg_count
,x_msg_data => v_msg_data
);

Hi Jason,
i dont understand why you need to papulate the interface Table while you are using APIS.
can you explain details i can halp you iam also working on Vendor conversion
i was able to update the vendor details
Thanks,
ashok

Similar Messages

  • Return to vendor through RCV open interface

    Hi,
    I would like to return to vendor items with serial numbers through RCV open interface. Is it possible?
    We are using 11.5.7.
    Thanks in advance,
    Merav

    you can activate action box at following path:
    SPRO --> QM --> quality notification --> notification processing. --> Additional notification function --> Define action box.
    i hope this would help you.
    Thanks!!!

  • Open Interface Rejects - SQL Report

    Hi guys, I'm trying to help out some folks in AP with an easier access to view Open Interface rejects. I already knew the relation between AP_INVOICES_INTERFACE and AP_INTERFACE_REJECTIONS was INVOICE_ID AND PARENT_ID (respectively). Now I've seen that some invoices also have a relation between AP_INVOICE_LINES_INTERFACE and AP_INTERFACE_REJECTIONS, same columns related (INVOICE_ID AND PARENT_ID respectively).
    What I'm having a problem with, maybe I've just been sitting here too long, but I cannot get it all into one report.
    I tried this, but it's giving me way more records than it should:
    SELECT AIR.CREATION_DATE
    , AIR.REJECT_LOOKUP_CODE
    , AII.PO_NUMBER
    , AII.GROUP_ID
    , AII.VENDOR_NUM
    , AII.INVOICE_NUM
    , AII.INVOICE_DATE
    , AII.INVOICE_AMOUNT
    , AII.SOURCE
    FROM AP.AP_INTERFACE_REJECTIONS AIR
    , AP.AP_INVOICES_INTERFACE AII
    , AP.AP_INVOICE_LINES_INTERFACE AILI
    WHERE (AII.INVOICE_ID = AIR.PARENT_ID AND AII.ORG_ID = 162)
    OR (AILI.INVOICE_ID = AIR.PARENT_ID AND AILI.ORG_ID = 162)
    Any thoughts on where I mucked it up or how I could actually go about this? What shows in the actual Open Interface app is a good start, it's just missing some fields like vendor name and reject lookup code.
    Thanks for any help!

    945273 wrote:
    Hi guys, I'm trying to help out some folks in AP with an easier access to view Open Interface rejects. I already knew the relation between AP_INVOICES_INTERFACE and AP_INTERFACE_REJECTIONS was INVOICE_ID AND PARENT_ID (respectively). Now I've seen that some invoices also have a relation between AP_INVOICE_LINES_INTERFACE and AP_INTERFACE_REJECTIONS, same columns related (INVOICE_ID AND PARENT_ID respectively).
    What I'm having a problem with, maybe I've just been sitting here too long, but I cannot get it all into one report.
    I tried this, but it's giving me way more records than it should:
    SELECT AIR.CREATION_DATE
    , AIR.REJECT_LOOKUP_CODE
    , AII.PO_NUMBER
    , AII.GROUP_ID
    , AII.VENDOR_NUM
    , AII.INVOICE_NUM
    , AII.INVOICE_DATE
    , AII.INVOICE_AMOUNT
    , AII.SOURCE
    FROM AP.AP_INTERFACE_REJECTIONS AIR
    , AP.AP_INVOICES_INTERFACE AII
    , AP.AP_INVOICE_LINES_INTERFACE AILI
    WHERE (AII.INVOICE_ID = AIR.PARENT_ID AND AII.ORG_ID = 162)
    OR (AILI.INVOICE_ID = AIR.PARENT_ID AND AILI.ORG_ID = 162)
    Any thoughts on where I mucked it up or how I could actually go about this? What shows in the actual Open Interface app is a good start, it's just missing some fields like vendor name and reject lookup code.
    Thanks for any help!I don't know the table strructures or relationships, but based on what you said, I think you want something more like:
    SELECT air.creation_date, air.reject_lookup_code, aii.po_number, aii.group_id,
           aii.vendor_num, aii.invoice_num, aii.invoice_date, aii.invoice_amount,
           aii.source
    FROM ap.ap_interface_rejections air, ap.ap_invoices_interface aii,
         ap.ap_invoice_lines_interface aili
    WHERE ali.invoice_id = alii.invoice_id and
          ali.invoice_id = air.parent_id and
          aii.org_id = 162You may need/want to add the org_cd predicate to the interfact lines as well, depending if there could be invoices with the same id in multiple orgs.
    Assuming you have the relations correct, this should give you a row for every line on every invoice that has a row in the ap_interface_rejections table. It might be worthwhile to look at the ap_interface_rejections table to see if it has an analog for the invoice line number, which could also be used in the join, to get a more specific result set.
    John

  • Issue with Supplier Open Interface Import Program

    Hello Folks,
    I need help with supplier conversion. I am trying to load suppliers through the supplier open interface program. I see that the record got rejected in AP_SUPPLIERS_INT table with status as REJECTED. However i do not see the record in AP_SUPPLIER_INT_REJECTIONS. Therefore, i am not able to understand the rejection reason. I enabled debug can seeing this log..
    assign_party_usage (+)
    do_assign_party_usage (+)
    effective_start_date = 2011/05/12 effective_end_date = 4712/12/31
    duplicates_exist (+)
    No date tracking for this usage SUPPLIER. Check duplicate assignment.
    l_has_duplicates = Y
    duplicates_exist (-)
    assign_party_usage (-)
    Rejected Vendor_Interface_Id: 15004, No. of Messages from Create_Vendor API: 2, Message From Create_Vendor API:
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    MSG-00999: Custom Report
    MSG-00001: After SRWINIT
    MSG-00002: After Get_Company_Name
    MSG-00003: After Get_NLS_Strings
    MSG-00004: After Importing Suppliers
    MSG-00005: After Get_Header_Information
    MSG-00020: After SRWEXIT
    As per my understanding from the log, there is some problem with party_usage_assignment. I would really appreciate is someone can help me debug the exact problem. Else i would have to open a SR for this
    Thanks so much looking forward for your answers.

    Pl post details of OS, database and EBS versions.
    Pl see if MOS Doc 1060824.1 (R12: Supplier Open Interface APXSUIMP Errors with REP-0004 Output Does Not Indicate Reason for Rejection) is applicable
    HTH
    Srini

  • SAMPLE RECEIVING OPEN INTERFACE SCRIPT(ROI 이용자를 위한 SCRIPT)

    제품: MFG_PO
    작성날짜 : 2006-05-11
    SAMPLE RECEIVING OPEN INTERFACE SCRIPT(ROI 이용자를 위한 SCRIPT)
    ================================================================
    PURPOSE
    Receiving Open Interface(ROI)를 좀더 쉽게 사용할 수 있도록 만들어진
    tool이라고 할 수 있다. 이 script를 이용을 통해 user는 PO no, user id,
    Org id를 입력하면 script는 PO에서 최소한의 data를 가져와 receiving
    transaction을 생성하기 위해 ROI에 data를 입력한다.
    Receiving Transaction Processor는 insert 된 data를 실행한다.
    Explanation
    Instructions:
    1.Script exroi.sql을 local computer에 copy 하거나 sqlplus 환경의 text
    edior에 script 내용을 cut&paste 한다.
    2.사용가능한 PO no, User id, Org id를 결정한다.
    3.sqlplus prompt에서 아래와 같이 입력한다.
    SQL> @ezroi.sql
    4.PO no, User id, Org id를 입력하라는 prompt를 볼 수 있을 것이다.
    5.exroi.sql script를 관련된 PO data를 가져와 rcv_headers_interface 및
    rcv_transactions_interface tables에 insert 한다.
    만일 PO shipment lind이 closed, cancelled, fully received 되었다면
    ROI table에 data를 insert 하지 않는다.
    Note: 이 script가 data를 validate 하진 않으며,ROI API 자체 validation
    이 실행될 뿐이다.
    6.Script가 끝나면 Receiving Transaction Processor를 실행하여 insert 된
    lines을 처리할 수 있다. Transaction Status Summary 화면을 통해 실행된
    line이 pending 인지 error 상태인지 확인할 수 있다.
    Notes:
    1.Org_id parameter 값을 찾는법:
    a) Application에 접속, Help> Diagnostics> Examine으로 이동.
    Block:$Profile$, Field: ORG_ID 를 선택한다.
    b) ORG_ID 값을 note 해 놓고 ORG_ID prompt시 이 값을 입력한다.
    2.User_Name parameter 값을 찾는법:
    a) Application에 접속, Help> Diagnostics> Examine으로 이동.
    Block:$Profile$, Field: USER_NAME 를 선택한다.
    b) USER_NAME 값을 note 해 놓고 USER_NAME prompt시 이 값을 입력한다.
    Example
    "eZROI.sql' script...
    --*** eZROI ***
    --*** by ***
    --*** Preston D. Davenport ***
    --*** Oracle Premium Applications Support ***
    --*** Oracle Worldwide Global Support Services ***
    --*** Date: 23-JUL-2003 - Beta release ***
    --*** Date: 09-SEP-2003 - Rev A Added multi- ***
    --*** shipment line capability ***
    --*** Parameters: ***
    --*** ORG_ID Organization ID ***
    --*** USER_NAME FND User Name ***
    --*** PO_NUMBER Purchase Order Number ***
    --*** This script intended for a standard Purchase ***
    --*** Order document to be inserted into the Oracle ***
    --*** Receiving Open Interface (ROI) via the standard ***
    --*** Oracle open interface api for a simple Receive ***
    --*** transaction. ***
    --*** Note: This script only considers open Purchase ***
    --*** Orders. This script will not allow over- ***
    --*** receipt, cancelled or closed PO's to be ***
    --*** inserted into the ROI and received ***
    CLEAR BUFFER
    SET VERIFY OFF
    SET LINESIZE 140
    SET PAGESIZE 60
    SET ARRAYSIZE 1
    SET SERVEROUTPUT ON SIZE 100000
    SET FEEDBACK OFF
    SET ECHO OFF
    DECLARE
    X_USER_ID NUMBER;
    X_PO_HEADER_ID NUMBER;
    X_VENDOR_ID NUMBER;
    X_SEGMENT1 NUMBER;
    X_ORG_ID NUMBER;
    X_LINE_NUM NUMBER;
    BEGIN
    DBMS_OUTPUT.PUT_LINE('***ezROI RCV API Insert Script***');
    SELECT PO_HEADER_ID , VENDOR_ID , SEGMENT1 , ORG_ID
    INTO X_PO_HEADER_ID , X_VENDOR_ID , X_SEGMENT1 , X_ORG_ID
    FROM PO_HEADERS_ALL
    WHERE SEGMENT1 = '&PO_NUMBER'
    AND ORG_ID = &ORG_ID;
    SELECT USER_ID INTO X_USER_ID
    FROM FND_USER
    WHERE USER_NAME = UPPER('&USER_NAME');
    INSERT INTO RCV_HEADERS_INTERFACE
    HEADER_INTERFACE_ID ,
    GROUP_ID ,
    PROCESSING_STATUS_CODE ,
    RECEIPT_SOURCE_CODE ,
    TRANSACTION_TYPE ,
    LAST_UPDATE_DATE ,
    LAST_UPDATED_BY ,
    LAST_UPDATE_LOGIN ,
    VENDOR_ID ,
    EXPECTED_RECEIPT_DATE ,
    VALIDATION_FLAG
    SELECT
    RCV_HEADERS_INTERFACE_S.NEXTVAL ,
    RCV_INTERFACE_GROUPS_S.NEXTVAL ,
    'PENDING' ,
    'VENDOR' ,
    'NEW' ,
    SYSDATE ,
    X_USER_ID ,
    0 ,
    X_VENDOR_ID ,
    SYSDATE ,
    'Y'
    FROM DUAL;
    DECLARE
    CURSOR PO_LINE IS
    SELECT PL.ITEM_ID , PL.PO_LINE_ID , PL.LINE_NUM ,
    PLL.QUANTITY , PL.UNIT_MEAS_LOOKUP_CODE ,
    MP.ORGANIZATION_CODE , PLL.LINE_LOCATION_ID ,
    PLL.CLOSED_CODE , PLL.QUANTITY_RECEIVED ,
    PLL.CANCEL_FLAG, PLL.SHIPMENT_NUM
    FROM PO_LINES_ALL PL ,
    PO_LINE_LOCATIONS_ALL PLL ,
    MTL_PARAMETERS MP
    WHERE PL.PO_HEADER_ID = X_PO_HEADER_ID
    AND PL.PO_LINE_ID = PLL.PO_LINE_ID
    AND PLL.SHIP_TO_ORGANIZATION_ID = MP.ORGANIZATION_ID;
    BEGIN
    FOR CURSOR1 IN PO_LINE LOOP
    IF CURSOR1.CLOSED_CODE IN ('APPROVED','OPEN')
    AND CURSOR1.QUANTITY_RECEIVED < CURSOR1.QUANTITY
    AND NVL(CURSOR1.CANCEL_FLAG,'N') = 'N'
    THEN
    INSERT INTO RCV_TRANSACTIONS_INTERFACE
    INTERFACE_TRANSACTION_ID ,
    GROUP_ID ,
    LAST_UPDATE_DATE ,
    LAST_UPDATED_BY ,
    CREATION_DATE ,
    CREATED_BY ,
    LAST_UPDATE_LOGIN ,
    TRANSACTION_TYPE ,
    TRANSACTION_DATE ,
    PROCESSING_STATUS_CODE ,
    PROCESSING_MODE_CODE ,
    TRANSACTION_STATUS_CODE ,
    PO_LINE_ID ,
    ITEM_ID ,
    QUANTITY ,
    UNIT_OF_MEASURE ,
    PO_LINE_LOCATION_ID ,
    AUTO_TRANSACT_CODE ,
    RECEIPT_SOURCE_CODE ,
    TO_ORGANIZATION_CODE ,
    SOURCE_DOCUMENT_CODE ,
    DOCUMENT_NUM ,
    HEADER_INTERFACE_ID ,
    VALIDATION_FLAG
    SELECT
    RCV_TRANSACTIONS_INTERFACE_S.NEXTVAL ,
    RCV_INTERFACE_GROUPS_S.CURRVAL ,
    SYSDATE ,
    X_USER_ID ,
    SYSDATE ,
    X_USER_ID ,
    0 ,
    'RECEIVE' ,
    SYSDATE ,
    'PENDING' ,
    'BATCH' ,
    'PENDING' ,
    CURSOR1.PO_LINE_ID ,
    CURSOR1.ITEM_ID ,
    CURSOR1.QUANTITY ,
    CURSOR1.UNIT_MEAS_LOOKUP_CODE ,
    CURSOR1.LINE_LOCATION_ID ,
    'RECEIVE' ,
    'VENDOR' ,
    CURSOR1.ORGANIZATION_CODE ,
    'PO' ,
    X_SEGMENT1 ,
    RCV_HEADERS_INTERFACE_S.CURRVAL ,
    'Y'
    FROM DUAL;
    DBMS_OUTPUT.PUT_LINE('PO line: '||CURSOR1.LINE_NUM||' Shipment: '||CURSOR1.SHIPMENT_NUM||' has been inserted into ROI.');
    ELSE
    DBMS_OUTPUT.PUT_LINE('PO line '||CURSOR1.LINE_NUM||' is either closed, cancelled, received.');
    END IF;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('*** ezROI COMPLETE - End ***');
    END;
    COMMIT;
    END;
    SET VERIFY ON
    Reference Documents
    Note 245334.1

    I have the same problem on ESXI 5.5 for over a month now, tried the patches, tried the LTS kernel which others say results in an immediate result without patches, nothing seems to work and nobody seems to be able to offer a solution.
    Did you make any progress ??
    Error! Build of vmblock.ko failed for: 3.10.25-1-lts (x86_64)
    Consult the make.log in the build directory
    /var/lib/dkms/open-vm-tools/2013.09.16/build/ for more information.
    make[2]: *** No rule to make target '/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock/linux/inode', needed by '/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock/vmblock.o'. Stop.
    Makefile:1224: recipe for target '_module_/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock' failed
    make[1]: *** [_module_/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock] Error 2
    make[1]: Leaving directory '/usr/src/linux-3.10.25-1-lts'
    Makefile:120: recipe for target 'vmblock.ko' failed
    Last edited by crankshaft (2014-01-10 11:32:32)

  • Reg : Open Interface Tables in Oracle Manufacturing Suite

    Hi Gurus,
    Can anybody help me providing link to get Oracle Open Interface Tables related to Manufacturing ( PO.INV,BOM,WIP,DRP/MRP ) Suire and their usage details ( i know Oracle Documentation has all these details in Open Interface documents ), i am looking for short white papers or brief notes on the Open Interface tables.
    Please help
    Regards

    Sure there is quite good documetation on Open interface tables for the Oracle Manfacturing suite.... You can explore matalink for getting the latest documentation. or you can browse http://oracletimes.blogspot.com which has the resource links for various documetation.
    Thanks
    Navin

  • Type_1099 error after submitting supplier open interface import

    Hi,
    I am working on supplier Importing Interface. I have to import suppliers, and supplier site information into base tables.
    I successfully loaded the data into AP_SUPPLIER_INT and AP_SUPPLIER_SITE_INT interface tables. After submitting 'SUPPLIER OPEN INTERFACE IMPORT' program to move data from interface to base table, i am getting below error.
    ERROR: '1099 Type is inconsistent' for a particular vendor.
    I checked type_1099 validation with the base table AP_INCOME_TAX_TYPES.INCOME_TAX_TYPE, validation was fine.
    Could anyone has any idea, how to solve this error.
    Thanks in advance.

    Hi;
    Please check below note which could be helpful for your issue:
    1099 Processes Troubleshooting Guide [ID 110399.1]
    Reagard
    Helios

  • Supplier sites open interface question

    Hi all,
    Here is what we have done:
    We have a data migration program that looks at a csv file and then brings the data into staging table.
    Then, it inserts the above data into 3 open interface tables (AP_SUPPLIERS_INT, AP_SUPPLIER_SITES_INT, AP_SUP_SITE_CONTACT_INT)
    We are using the vendor_interface_id to link the data.
    For ex.
    Supplier 'ABC' in AP_SUPPLIERS_INT would have vendor_interface_id => 2345
    Supplier Sites that belong to above supplier will have:
    vendor_interface_id => 2345 vendor_site_code => 'ABC-SITE-1'
    vendor_interface_id => 2345 vendor_site_code => 'ABC-SITE-2'
    When we ran the Request Set  [Supplier Open Interface Request Set(1)] , the program considered all the records and imported Supplier record and 'ABC-SITE-1'.
    It rejected 'ABC-SITE-2' because of a setup issue.
    Now, after we fixed the setup issue, we ran the request set again, it rejected the Supplier record saying "Vendor already exists " => No problems with this.
    But, it doesn't attempt to pick the second site 'ABC-SITE-2' which is now good to be picked, because it doesn't update the vendor_id, it stays as an orphan record.
    Is there any way to work this around (preferably from the application)?
    Thanks
    Vinod

    Hi user567944 ,
    While submitting to the Open interface. the import options parameter should be All or Rejected. Please check this.
    Regards/Prasanth

  • Payables (Invoices ) Open interface

    Hi
    I am working on the interface very first time.
    what i understand is as follows:
    Data file--> Control file --> staging table --> pre-interface table-->interface table then run import program.
    Interface tables:
    AP_INVOICES_INTERFACE
    AP_INVOICE_LINES_INTERFACE
    Base Tables
    AP_INVOICES_ALL
    AP_PAYMENT_SCHEDULES_ALL
    AP_INVOICE_DISTRIBUTIONS_ALL
    API / Import program: Payables (Invoices ) Open interface
    I would like to create the invoices for vendors from different cities. So from data file how many control file I should create? and how many staging tables I should create? Can anybody please explain me how to proceed right from Data file--> Control file --> staging table --> pre-interface table-->interface table ???

    You can try your luck in the e-business suite forum

  • FI Open Interface vs FQEVENTS

    Hi,
    My understanding is that FQEVENTS transaction is only active for FICA (contract account). Please correct. Is this also available for FI-AP?
    If FQEVENTS is not available for FI-AP, we then need to use BTE (Business Transaction Evetnts-FIBF). I have checked events 1025 and 1030, assigned custom function modules for these events and inserted break-points. But when I create posting (F-53 outgoing payment for vendor), the above events are not triggered and thus function modules are not triggered. Is there anything missing?
    Also, the requirement is to read the cleared(paid) amount for given vendors and store to a Z table. Is there any user exit/BTE which gets triggered before SAVE of clearing document in FI-AP?
    Thanks in advance.
    Kamal

    Chandrasekar,
    as i know, the main thing you should consider is, that starting from R12 you will
    be able to import invoices only through the Payables Open Interface.
    basically, Invoice Import is used by OA to create invoice (from expense reports or from Oracle Projects). for standard invoice import, i've ever used Payables Open Interface.
    Milan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Chandrasekara Kayamboo ([email protected]):
    I would like to know which is the best way to import invoice and what are the advantages and disadvange in each.
    Regards
    Chandrasekar<HR></BLOCKQUOTE>
    null

  • Receiving Open Interface not picking Inter-Org records from Interface

    Hi,
    I am trying to receive the inter org transfer through the Receiving Open interface, but the interface not picking the data from the interface tables (RCV_HEADERS_INTERFACE, RCV_TRANSACTION_INTERFACE).
    I am in 11.5.10.2, all the sources worked fine like Vendor, Internal Order, Customer but the issue is with the Inventory source (inter orgs)
    Please could you advise what could be the reason for the interface for not picking the Inventory source data from the interface table.
    Below are the interface insert script that am using..
    INSERT INTO RCV_HEADERS_INTERFACE
    (HEADER_INTERFACE_ID,
    GROUP_ID,
    PROCESSING_STATUS_CODE,
    RECEIPT_SOURCE_CODE,
    TRANSACTION_TYPE,
    AUTO_TRANSACT_CODE,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    LAST_UPDATE_LOGIN,
    CREATION_DATE,
    CREATED_BY,
    SHIPMENT_NUM,
    RECEIPT_HEADER_ID,
    SHIP_TO_ORGANIZATION_ID,
    EXPECTED_RECEIPT_DATE,
    EMPLOYEE_ID,
    VALIDATION_FLAG
    VALUES
    (rcv_headers_interface_s.nextval , --Header_Interface_Id
    rcv_interface_groups_s.nextval, --Group_Id
    'PENDING', --Processing_Status_Code
    'INVENTORY', --Receipt_Source_Code
    'RECEIVE', --Transaction_Type
    'DELIVER', --Auto_Transact_Code
    SYSDATE, --Last_Update_Date
    -1, --Last_Updated_By
    -1, --Last_Update_Login
    SYSDATE, --Creation_Date
    -1, --Created_By
    'ICR-001', --SHIPMENT_NUM
    21073573, --RECEIPT_HEADER_ID
    2266, -- SHIP_TO_ORGANIZATION_ID
    SYSDATE+1, --Expected_Receipt_Date
    5543, --Employee_Id,
    'Y' --Validation_Flag
    INSERT INTO RCV_TRANSACTIONS_INTERFACE
    (INTERFACE_TRANSACTION_ID,
    GROUP_ID,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    CREATION_DATE,
    CREATED_BY,
    LAST_UPDATE_LOGIN,
    TRANSACTION_TYPE,
    TRANSACTION_DATE,
    PROCESSING_STATUS_CODE,
    PROCESSING_MODE_CODE,
    TRANSACTION_STATUS_CODE,
    CATEGORY_ID,
    QUANTITY,
    UNIT_OF_MEASURE,
    ITEM_ID,
    AUTO_TRANSACT_CODE,
    SHIPMENT_HEADER_ID,
    SHIPMENT_LINE_ID,
    SHIP_TO_LOCATION_ID,
    RECEIPT_SOURCE_CODE,
    TO_ORGANIZATION_ID,
    DESTINATION_TYPE_CODE,
    DELIVER_TO_PERSON_ID,
    LOCATION_ID,
    DELIVER_TO_LOCATION_ID,
    SUBINVENTORY,
    LOCATOR_ID,
    HEADER_INTERFACE_ID,
    VALIDATION_FLAG,
    SHIPPED_DATE
    --SELECT
    VALUES
    rcv_transactions_interface_s.nextval, --Interface_Transaction_id
    rcv_interface_groups_s.currval, --Group_id
    SYSDATE, --Last_update_date
    -1, --Last_updated_by
    SYSDATE, --Creation_date
    -1, --Created_by
    -1, --Last_update_login
    'RECEIVE', --TRANSACTION_TYPE_RECEIVE
    SYSDATE, --TRANSACTION_DATE
    'PENDING', --PROCESSING_STATUS_CODE
    'BATCH', --PROCESSING_MODE_CODE
    'PENDING', --TRANSACTION_STATUS_CODE
    203, -- CATEGORY_ID
    20, --QUANTITY
    'EACH', --UNIT_OF_MEASURE
    4379131, --ITEM_ID
    'DELIVER', --AUTO_TRANSACT_CODE
    21073573, --SHIPMENT_HEADER_ID
    16566939, --SHIPMENT_LINE_ID
    101629781, --SHIP_TO_LOCATION_ID
    'INVENTORY', --RECEIPT_SOURCE_CODE
    2266, --TO_ORGANIZATION_ID
    'INVENTORY', --DESTINATION_TYPE_CODE
    13706, --DELIVER_TO_PERSON_ID
    101629781, --LOCATION_ID
    101629781, --DELIVER_TO_LOCATION_ID
    'FG', --SUBINVENTORY 
    46259, --LOCATOR_ID  
    rcv_headers_interface_s.currval, --Header_interface_id
    'Y', --VALIDATION_FLAG 
    SYSDATE
    Thank you,
    Genoo
    Edited by: Geno on May 25, 2013 4:54 AM

    Any suggestion/advise please!
    Thanks,
    Genoo

  • Loading bank accounts with invoices using Payables Open Interface Import

    Dear Gurus,
    We are on 11.5.10.2.
    We create invoices in the 3rd party system, then load them into oracle using payables open interface import process.
    When users create invoices, they choose Vendor and Site first. If the Vendor Site has multiple bank accounts assigned, users may select the one that is non-primary.
    When we load the invoices into Oracle, it finds the PRIMARY account for the particular vendor site, and assigns it to the invoice.
    Is it possible to load bank accounts assigned to invoices into Oracle AP?
    Many Thanks,
    Iana

    Hi,
    No issues for me on Payables Open Invoice Interface with 12.0.6 - and yes make sure you match up the invoice_id on invoice, lines interface tables.
    Regards,
    Gareth

  • ISSUE WITH SUPPLIER SITE OPEN INTERFACE IMPORT PROGRAM in R12

    I am facing issue while submitting supplier site open interface import program programmatically using fnd_request.
    I am uploading the interface tables with the mandatory data and running the standard Request Set for Suppliers.The program is creating the Suppliers but is unable to create the Supplier Sites.It is getting completed with no rejections as well as imported records.
    It is updating the Supplier Sites Interface table (ap_supplier_sites_int ) with status as rejected with no rejected records in ap_supplier_int_rejections table.
    I am using the following code.
    Step 1 - call set_request_set
    apps.fnd_file.put_line (apps.fnd_file.LOG, 'Calling set_request_set...');
    success := fnd_submit.set_request_set ('SQLAP', 'FNDRSSUB852');--'FNDRSSUB1703');
    IF (NOT success)
    THEN
    RAISE srs_failed;
    ELSE
    apps.fnd_file.put_line (apps.fnd_file.LOG,
    'Calling submit program first time...'
    END IF;
    -- Step 2 - call submit program for each program in the set
    success :=
    fnd_submit.submit_program ('SQLAP',
    'APXSUIMP',
    'STAGE10',
    'ALL',
    1000,
    'N',
    'N',
    'N',
    CHR (0)
    IF (NOT success)
    THEN
    RAISE submitprog_failed;
    END IF;
    apps.fnd_file.put_line (apps.fnd_file.LOG,
    'Calling submit program second time...'
    success :=
    fnd_submit.submit_program ('SQLAP',
    'APXSSIMP',
    'STAGE20',
    'ALL',
    1000,
    'N',
    'N',
    'N',
    CHR (0)
    IF (NOT success)
    THEN
    RAISE submitprog_failed;
    END IF;
    -- Step 3 - call submit_set
    apps.fnd_file.put_line (apps.fnd_file.LOG, 'Calling submit_set...');
    req_id := fnd_submit.submit_set (NULL, TRUE);
    IF (req_id = 0)
    THEN
    RAISE submitset_failed;
    END IF;
    apps.fnd_file.put_line (apps.fnd_file.LOG, 'Finished.');
    And in the interface table the record status is rejected and ther is no corresponding record in ap_supplier_int_rejections.
    but the supplier is getting created succesfully.
    ### Steps to Reproduce ###
    INSERT INTO ap_suppliers_int
    (exclusive_payment_flag,
    vendor_interface_id,
    vendor_name,
    segment1,
    vendor_type_lookup_code,-- set_of_books_id,
    status
    VALUES ('N', --'N',
    ap_suppliers_int_s.NEXTVAL,
    'TEST_REC4',
    4428813,
    'VENDOR', --2041,
    --rec_spl_site_bank_hdr.set_of_books_id,
    'NEW'
    INSERT INTO ap_supplier_sites_int
    (vendor_site_interface_id,
    vendor_interface_id,
    vendor_site_code,
    address_line1,
    city,
    state,
    zip,
    country,
    operating_unit_name,
    status --exclusive_payment_flag
    VALUES (ap_supplier_sites_int_s.NEXTVAL,
    -- VENDOR_SITES_INTERFACE_ID
    ap_suppliers_int_s.CURRVAL,
    -- VENDOR_INTERFACE_ID
    'REC_VDR_SITE4',
    -- VENDOR_SITE_CODE
    'REC_ADDR4',
    -- ADDRESS_LINE1,
    'REC_CITY4', --CITY
    'REC_STATE4', --STATE
    3442121,
    'US', -- COUNTRY,
    ' Test US Operating Unit',
    'NEW'
    );

    Hi
    I have the same issue with ap supplier sites interface program .. Did your problem got solved..I will be thankfull for any help
    Thanks

  • Iby_ext_party_pmt_mthds is not being created from supplier open interface

    In 11i payment method the PAYMENT_METHOD_LOOKUP_CODE was stored on the po_vendors record.this value could be retrieved by :
    SELECT payment_method_lookup_code
    INTO v_temp_look_up
    FROM po.po_vendors
    WHERE Trim(UPPER (vendor_name)) = Trim(UPPER (var_vendor_nm));
    Sites record also had PAYMENT_METHOD_LOOKUP_CODE that could be retrieved by:
    select pos.payment_method_lookup_code
    INTO v_temp_look_up
    from po_vendors po,PO_VENDOR_SITES_ALL pos
    where po.vendor_id=pos.vendor_id
    AND Vendor_site_Id=var_Vendor_site_Id ;
    Some of our old custom applications however ONLY USE the PAYMENT_METHOD_LOOKUP_CODE from the po.po_vendors RECORD.
    Hence upon completion of the SUPPLIER OPEN INTERFACE the PAYMENT_METHOD_LOOKUP_CODE would be accessible from the po.po_vendors record.
    Now we are upgrading to R12.
    I did some reading and realized that r12 PAYMENT_METHOD_LOOKUP_CODE
    Is stored in IBY_EXTERNAL_PAYEES_ALL and iby_ext_party_pmt_mthds.
    I loaded a vendor via the interface using:
    INSERT INTO AP.AP_SUPPLIERS_INT
    (VENDOR_INTERFACE_ID,
    VENDOR_NAME,
    SEGMENT1,
    VENDOR_TYPE_LOOKUP_CODE,
    TERMS_ID,
    SET_OF_BOOKS_ID,
    PAY_DATE_BASIS_LOOKUP_CODE,
    PAY_GROUP_LOOKUP_CODE,
    PAYMENT_PRIORITY,
    INVOICE_CURRENCY_CODE,
    PAYMENT_CURRENCY_CODE,
    DISTRIBUTION_SET_ID ,
    ACCTS_PAY_CODE_COMBINATION_ID ,
    PREPAY_CODE_COMBINATION_ID,
    PAYMENT_METHOD_LOOKUP_CODE ,
    TERMS_DATE_BASIS ,
    ATTRIBUTE_CATEGORY,
    ATTRIBUTE1,
    payment_method_code)
    VALUES
    VAR_VENDOR_INTERFACE_ID ,
    SUP_VENDOR_NAME_var,
    SUP_SEGMENT1_var,
    Upper(Trim(VENDOR_TYPE_LOOKUP_CODE_var)),
    10000 ,
    2024 ,
    SUP_PAY_DATE_BASIS_LOOKUP_CODE_var,
    Upper(Trim(Nvl(PAY_GROUP_LOOKUP_CODE_var))) ,
    SUP_PAYMENT_PRIORITY_var,
    SUP_INVOICE_CURRENCY_CODE_var,
    SUP_PAYMENT_CURRENCY_CODE_var,
    SUP_DISTRIBUTION_SET_ID_var,
    '3007',
    '3007',
    'EFT',
    SUP_TERMS_DATE_BASIS_var,
    SUP_ATTRIBUTE_CATEGORY_var,
    SUP_ATTRIBUTE1_var ,
    'EFT') ;
    I ran the supplier interface and it completed successfully.
    I ran the query for the supplier:
    SELECT * FROM ap_suppliers WHERE VENDOR_NAME ='MARVEN, MARVEN'
    AND VENDOR_ID='35425'
    AND PARTY_ID ='47546' ;
    This query returned the correct record.
    I then ran another query to get the iby_ext_party_pmt_mthds for the SUPPLIER.
    SELECT * FROM iby_ext_party_pmt_mthds
    WHERE ext_pmt_party_id IN (
    SELECT EXT_PAYEE_ID FROM IBY_EXTERNAL_PAYEES_ALL
    WHERE PAYEE_PARTY_ID='47546'
    BUT IT DID NOT RETURN ANY VALUE!!!
    I logged into the oracle payables and then went to the suppliers screen.
    I then clicked the Payment Details link. Under the Payment Method section none of the payment methods were selected !
    I checked the ‘Wire’ Payment method and saved.
    I then ran the query :
    I then ran another query to get the iby_ext_party_pmt_mthds for the SUPPLIER.
    SELECT * FROM iby_ext_party_pmt_mthds
    WHERE ext_pmt_party_id IN (
    SELECT EXT_PAYEE_ID FROM IBY_EXTERNAL_PAYEES_ALL
    WHERE PAYEE_PARTY_ID='47546'
    And it returned the correct row.
    Now I would like to know
    Why is the iby_ext_party_pmt_mthds record was not created from the supplier open interface seeing that I specified a value (‘EFT’) for the payment method for the supplier?
    kindly help...thanks in advance

    It looks like the final answer is, I had it configured correctly. The problem I encountered was my testing of the signature. I assumed I could control the interval that was used to track the failed attempts.
    I never found a way to do that and I can't find any documentation that tells me what the interval is. It is fairly small because I couldn't key in 3 failed attempts fast enough to trigger the deny action. A little patience and a scripted attack hit my server and it banned it every hour. All 3 attempts are hitting in < one second.
    Signature statistics [process switch:fast switch]
      signature 2157:2: packets checked [0:1] alarmed [0:0] dropped [0:0]
      signature 2157:1: packets checked [0:19] alarmed [0:0] dropped [0:0]
      signature 3106:0: packets checked [0:83] alarmed [0:0] dropped [0:0]
      signature 3109:0: packets checked [0:10] alarmed [0:10] dropped [0:0]
      signature 6250:0: packets checked [31:0] alarmed [10:0] dropped [0:0]
                         deny acl's created 10
      signature 6056:0: packets checked [1:0] alarmed [1:0] dropped [0:0]
    Interfaces configured for ips 1

  • AP Supplier Open Interface

    I have a question about the Suppliers Open Interface.
    I am doing an R12 Conversion and Interface
    I designed the Conversion fine...but the interface logic confuses me a bit. I am aware most of the code will be the same.
    Maybe someone with working knowledge of the open interface can advise.
    How do I do updates? For Sites and Contacts...do I query for the Vendor Number (segment 1), populate in the interface tables, and the concurrent program knows what to update? Or do I populate the Vendor ID?
    If someone can provide a detailed description on how this works, or provide a place to read up on it, that would be fantastic!

    the same situation i am also facing everything almost same .... but just i got diffirent error in request log that is
    ==========================
    ==========================
    P_WHAT_TO_IMPORT='ALL'
    P_COMMIT_SIZE='1000'
    P_PRINT_EXCEPTIONS='Y'
    P_DEBUG_SWITCH='Y'
    P_TRACE_SWITCH='Y'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    LOG :
    Report: d:\oracle\prodappl\ap\11.5.0\reports\US\APXSSIMP.rdf
    Logged onto server:
    Username:
    LOG :
    Logged onto server:
    Username: APPS
    MSG MSG-00001: After SRWINIT
    MSG MSG-00002: After Get_Company_Name
    MSG MSG-00003: After Get_NLS_Strings
    ERR REP-1419: 'beforereport': PL/SQL program aborted.
    is anyone got solution and can anybody get me out of this situation
    thanks in advance
    regards
    anwer

Maybe you are looking for

  • How to lengthen the drop list view in form page selection?

    Hi All, Looking at 11.1.2.1 Planning, it's annoying that I can only see 10 members at a time when scrolling through the page drop list in forms: http://www.stanford.edu/~mikeling/drop_list_screenshot.jpg In 9.3, one is able to see a much longer list.

  • Posting a document using FM PRELIMINARY_POSTING_FB01

    Hello Experts, I know we can FM PRELIMINARY_POSTING_FB01 to PARK a Document. But I think we can also use this FM to Post the Document. The reason I want to use this FM, not other BAPI's, is I have all the structures (BSEG, BKPF, BSET etc) that I need

  • Is there any way to speed up the printing from my Mac to my HP LaserJet?

    I just bought an HP LaserJet Pro 400 M451dn and it works wonderfully and prints amazing quality but the only problem is it takes a VERY long time for my MacBook Pro to send the data to the printer. It's suppose to be up to 21ppm but I was literally g

  • Creating Subquery Depend on user parameters at discoverer

    Below is An Example I have atable that contains history data of a Receipt, I'll assume the table contains only two columns Status_Date Status 01-jan-12 Open 15-jan-12 Modified 20-jan-12 Requier Approval 25-jan-12 Approved 31-jan-12 Closed The report

  • Cant do recovery on C855

    I tried all of the steps I have seen on posts concerning the Recovery options for the Toshiba C855-S5214 and it just gives me a Cable not connected error please select boot option, etc., also in the Setup Menu (F2) it is blank next to the HDD/SDD lin