Supplier Conversion/Interface
Hi All... I am doing my first suppliers conversion in R12.
I am utilizing the interface tables and have no problems with said conversion.
But this will also be an interface. My question is...when UPDATING a supplier site, what do I load into the ap_supplier_sites_int interface table? Do I query the specific supplier site in the AP_SUPPLIER_SITES table? What column do I populate and with what to let the program know this is an update? Will it automatically know?
Thanks!
Update Supplier Using Supplier Interface
I think the above link has the answer to your question..
Regards
Arun Kumar S.R
Apps Associates
Similar Messages
-
AP Supplier Conversion interface using bulk collect
Create table for supplier site
create table XXAP_SUPPLIER_SITE_STAGE
SUPPLIER_NAME VARCHAR2(100)
,SUPP_SITE_CODE VARCHAR2(100)
,ADDRESS1 VARCHAR2(100)
,ADDRESS2 VARCHAR2(100)
,CITY VARCHAR2(50)
,COUNTRY VARCHAR2(50)
,CURRENCY_CODE VARCHAR2(50)
,PHONE_NUMBER VARCHAR2(50)
,FAX VARCHAR2(50)
,EMAIL VARCHAR2(50)
,VENDOR_INTERFACE_ID NUMBER(15)
,AREA_CODE VARCHAR2(15)
,FIRST_NAME_ALT VARCHAR2(200)
,LAST_NAME_ALT VARCHAR2(200)
,FIRST_NAME VARCHAR2(20)
,LAST_NAME VARCHAR2(20)
load data
infile '/u01/apps/webappl/xxt/11.5.0/bin/xxap_sup_load.csv'
insert into table XXAP_SUPPLIER_SITE_STAGE
fields terminated by ','
optionally enclosed by '"'
trailing nullcols
(SUPPLIER_NAME
,SUPP_SITE_CODE
,ADDRESS1
,ADDRESS2
,CITY
,COUNTRY
,CURRENCY_CODE
,PHONE_NUMBER
,FAX
,EMAIL
,VENDOR_INTERFACE_ID
,AREA_CODE
,FIRST_NAME_ALT
,LAST_NAME_ALT
,FIRST_NAME
,LAST_NAME)
Create a procedure for SUPPLIER LOAD:
CREATE OR REPLACE PROCEDURE XXAP_SUPPLIER_LOAD(x_errbuf OUT VARCHAR2,
x_retcode OUT NUMBER,
p_array_size IN PLS_INTEGER DEFAULT 300)
IS
TYPE test_array IS TABLE OF xxap_supplier_site_stage%ROWTYPE INDEX BY BINARY_INTEGER;
--v_vendor_interface_id test_array;
-- v_supplier_name test_array;
v_vendors test_array ;
v_vendor_type VARCHAR2(30);
v_interface_id NUMBER;
BEGIN
SELECT * BULK COLLECT INTO v_vendors FROM xxap_supplier_site_stage ORDER BY supp_site_code;
FOR i IN 1..v_vendors.COUNT
LOOP
SELECT ap_suppliers_int_s.NEXTVAL INTO v_interface_id FROM dual;
INSERT INTO ap_suppliers_int (vendor_interface_id,vendor_name) VALUES (v_interface_id ,INITCAP(v_vendors(i).supplier_name));
END LOOP;
END ;
create a procedure for SUPPLIERS CONTACT LOAD:
CREATE OR REPLACE PROCEDURE XXAP_SUPPLIERS_CONTACT_LOAD(x_errbuf OUT VARCHAR2, x_retcode OUT NUMBER)
IS
TYPE test_array IS TABLE OF xxap_supplier_site_stage%ROWTYPE INDEX BY BINARY_INTEGER;
v_vendor_id VARCHAR2(30);
v_vendor_int_id VARCHAR2(30);
v_vendors test_array ;
--v_vendor_site_id number;
BEGIN
--open c1;
SELECT * BULK COLLECT INTO v_vendors FROM xxap_supplier_site_stage ORDER BY supp_site_code;
FOR i IN 1..v_vendors.COUNT
LOOP
BEGIN
SELECT vendor_site_code
INTO v_vendor_int_id
FROM ap_supplier_sites_int a
WHERE a. vendor_site_code = v_vendors(I).supp_site_code;
EXCEPTION WHEN OTHERS THEN
NULL;
END;
--SELECT ap_sup_site_contact_int_seq.NEXTVAL INTO v_vendor_site_id FROM dual;
INSERT INTO ap_sup_site_contact_int
(vendor_site_code
,first_name
,last_name
,area_code
,phone
,first_name_alt
,last_name_alt
,email_address
,fax
,org_id
--,vendor_id
--creation_date
VALUES
v_vendor_int_id
,v_vendors(i).first_name
,v_vendors(i).last_name
,v_vendors(i).area_code
,v_vendors(i).phone_number
,v_vendors(i).first_name_alt
,v_vendors(i).last_name_alt
,v_vendors(i).email
,v_vendors(i).fax
,104
--,v_vendor_id
--SYSDATE
END LOOP;
END;
create a procedure for SUPPLIER SITE LOAD:
CREATE OR REPLACE PROCEDURE XXAP_SUPPLIER_SITE_LOAD(x_errbuf OUT VARCHAR2, x_retcode OUT NUMBER)
IS
TYPE test_array IS TABLE OF xxap_supplier_site_stage%ROWTYPE INDEX BY BINARY_INTEGER;
v_vendor_id VARCHAR2(100);
v_vendor_int_id VARCHAR2(100);
v_vendors test_array ;
--vv_vendor_interface_id number;
-- CURSOR C1
-- IS
-- SELECT *
-- FROM xxap_supplier_site_stage
-- order by SUPP_SITE_CODE;
BEGIN
--open c1;
SELECT * BULK COLLECT INTO v_vendors FROM xxap_supplier_site_stage ORDER BY supp_site_code;
FOR i IN 1..v_vendors.COUNT
LOOP
BEGIN
SELECT vendor_id
INTO v_vendor_id
FROM po_vendors
WHERE UPPER(vendor_name) = UPPER(v_vendors(i).supplier_name);
EXCEPTION WHEN OTHERS THEN
NULL;
END;
/* BEGIN
SELECT vendor_interface_id
INTO v_vendor_int_id
FROM ap_suppliers_int
WHERE UPPER(vendor_name) = UPPER(v_vendors(I).supplier_name);
EXCEPTION WHEN OTHERS THEN
NULL;
END;*/
--v_vendor_id(C_REC):=vv_vendor_id;
--v_VENDOR_INT_ID(C_REC):= vv_VENDOR_INT_ID;
--end loop;
--BEGIN
-- open C_REC;
-- FETCH C_REC BULK COLLECT INTO v_vendor_id,v_VENDOR_INT_ID;
-- for i in 1 .. v_VENDOR_INT_ID.count
-- LOOP
-- SELECT ap_supplier_sites_int_s.NEXTVAL INTO v_vendor_int_id FROM dual;
INSERT INTO ap_supplier_sites_int
(vendor_interface_id
--,vendor_site_interface_id
,vendor_id
,vendor_site_code
,address_line1
,address_line2
,city
,country
,phone
,fax
,email_address
,invoice_currency_code
,payment_currency_code
,org_id
,pay_site_flag
,purchasing_site_flag
VALUES
( v_vendors(i).VENDOR_INTERFACE_ID
--,ap_suppliers_int_s.nextval
,v_vendor_id
,v_vendors(i).supp_site_code
,v_vendors(i).address1
,v_vendors(i).address2
,v_vendors(i).city
,v_vendors(i).country
,SUBSTR(v_vendors(i).phone_number,1,15)
,SUBSTR(v_vendors(i).fax,1,15)
,v_vendors(i).email
,'USD' --C_REC.CURRENCY_CODE
,'USD' --C_REC.CURRENCY_CODE
,104
,'Y'
,'Y'
END LOOP;
-- close C1;
COMMIT;
EXCEPTION
WHEN too_many_rows THEN
v_vendor_id :=NULL;
WHEN no_data_found THEN
v_vendor_id :=NULL;
-- END LOOP;
-- END;
END;
/Create table for supplier site
create table XXAP_SUPPLIER_SITE_STAGE
SUPPLIER_NAME VARCHAR2(100)
,SUPP_SITE_CODE VARCHAR2(100)
,ADDRESS1 VARCHAR2(100)
,ADDRESS2 VARCHAR2(100)
,CITY VARCHAR2(50)
,COUNTRY VARCHAR2(50)
,CURRENCY_CODE VARCHAR2(50)
,PHONE_NUMBER VARCHAR2(50)
,FAX VARCHAR2(50)
,EMAIL VARCHAR2(50)
,VENDOR_INTERFACE_ID NUMBER(15)
,AREA_CODE VARCHAR2(15)
,FIRST_NAME_ALT VARCHAR2(200)
,LAST_NAME_ALT VARCHAR2(200)
,FIRST_NAME VARCHAR2(20)
,LAST_NAME VARCHAR2(20)
load data
infile '/u01/apps/webappl/xxt/11.5.0/bin/xxap_sup_load.csv'
insert into table XXAP_SUPPLIER_SITE_STAGE
fields terminated by ','
optionally enclosed by '"'
trailing nullcols
(SUPPLIER_NAME
,SUPP_SITE_CODE
,ADDRESS1
,ADDRESS2
,CITY
,COUNTRY
,CURRENCY_CODE
,PHONE_NUMBER
,FAX
,EMAIL
,VENDOR_INTERFACE_ID
,AREA_CODE
,FIRST_NAME_ALT
,LAST_NAME_ALT
,FIRST_NAME
,LAST_NAME)
Create a procedure for SUPPLIER LOAD:
CREATE OR REPLACE PROCEDURE XXAP_SUPPLIER_LOAD(x_errbuf OUT VARCHAR2,
x_retcode OUT NUMBER,
p_array_size IN PLS_INTEGER DEFAULT 300)
IS
TYPE test_array IS TABLE OF xxap_supplier_site_stage%ROWTYPE INDEX BY BINARY_INTEGER;
--v_vendor_interface_id test_array;
-- v_supplier_name test_array;
v_vendors test_array ;
v_vendor_type VARCHAR2(30);
v_interface_id NUMBER;
BEGIN
SELECT * BULK COLLECT INTO v_vendors FROM xxap_supplier_site_stage ORDER BY supp_site_code;
FOR i IN 1..v_vendors.COUNT
LOOP
SELECT ap_suppliers_int_s.NEXTVAL INTO v_interface_id FROM dual;
INSERT INTO ap_suppliers_int (vendor_interface_id,vendor_name) VALUES (v_interface_id ,INITCAP(v_vendors(i).supplier_name));
END LOOP;
END ;
create a procedure for SUPPLIERS CONTACT LOAD:
CREATE OR REPLACE PROCEDURE XXAP_SUPPLIERS_CONTACT_LOAD(x_errbuf OUT VARCHAR2, x_retcode OUT NUMBER)
IS
TYPE test_array IS TABLE OF xxap_supplier_site_stage%ROWTYPE INDEX BY BINARY_INTEGER;
v_vendor_id VARCHAR2(30);
v_vendor_int_id VARCHAR2(30);
v_vendors test_array ;
--v_vendor_site_id number;
BEGIN
--open c1;
SELECT * BULK COLLECT INTO v_vendors FROM xxap_supplier_site_stage ORDER BY supp_site_code;
FOR i IN 1..v_vendors.COUNT
LOOP
BEGIN
SELECT vendor_site_code
INTO v_vendor_int_id
FROM ap_supplier_sites_int a
WHERE a. vendor_site_code = v_vendors(I).supp_site_code;
EXCEPTION WHEN OTHERS THEN
NULL;
END;
--SELECT ap_sup_site_contact_int_seq.NEXTVAL INTO v_vendor_site_id FROM dual;
INSERT INTO ap_sup_site_contact_int
(vendor_site_code
,first_name
,last_name
,area_code
,phone
,first_name_alt
,last_name_alt
,email_address
,fax
,org_id
--,vendor_id
--creation_date
VALUES
v_vendor_int_id
,v_vendors(i).first_name
,v_vendors(i).last_name
,v_vendors(i).area_code
,v_vendors(i).phone_number
,v_vendors(i).first_name_alt
,v_vendors(i).last_name_alt
,v_vendors(i).email
,v_vendors(i).fax
,104
--,v_vendor_id
--SYSDATE
END LOOP;
END;
create a procedure for SUPPLIER SITE LOAD:
CREATE OR REPLACE PROCEDURE XXAP_SUPPLIER_SITE_LOAD(x_errbuf OUT VARCHAR2, x_retcode OUT NUMBER)
IS
TYPE test_array IS TABLE OF xxap_supplier_site_stage%ROWTYPE INDEX BY BINARY_INTEGER;
v_vendor_id VARCHAR2(100);
v_vendor_int_id VARCHAR2(100);
v_vendors test_array ;
--vv_vendor_interface_id number;
-- CURSOR C1
-- IS
-- SELECT *
-- FROM xxap_supplier_site_stage
-- order by SUPP_SITE_CODE;
BEGIN
--open c1;
SELECT * BULK COLLECT INTO v_vendors FROM xxap_supplier_site_stage ORDER BY supp_site_code;
FOR i IN 1..v_vendors.COUNT
LOOP
BEGIN
SELECT vendor_id
INTO v_vendor_id
FROM po_vendors
WHERE UPPER(vendor_name) = UPPER(v_vendors(i).supplier_name);
EXCEPTION WHEN OTHERS THEN
NULL;
END;
/* BEGIN
SELECT vendor_interface_id
INTO v_vendor_int_id
FROM ap_suppliers_int
WHERE UPPER(vendor_name) = UPPER(v_vendors(I).supplier_name);
EXCEPTION WHEN OTHERS THEN
NULL;
END;*/
--v_vendor_id(C_REC):=vv_vendor_id;
--v_VENDOR_INT_ID(C_REC):= vv_VENDOR_INT_ID;
--end loop;
--BEGIN
-- open C_REC;
-- FETCH C_REC BULK COLLECT INTO v_vendor_id,v_VENDOR_INT_ID;
-- for i in 1 .. v_VENDOR_INT_ID.count
-- LOOP
-- SELECT ap_supplier_sites_int_s.NEXTVAL INTO v_vendor_int_id FROM dual;
INSERT INTO ap_supplier_sites_int
(vendor_interface_id
--,vendor_site_interface_id
,vendor_id
,vendor_site_code
,address_line1
,address_line2
,city
,country
,phone
,fax
,email_address
,invoice_currency_code
,payment_currency_code
,org_id
,pay_site_flag
,purchasing_site_flag
VALUES
( v_vendors(i).VENDOR_INTERFACE_ID
--,ap_suppliers_int_s.nextval
,v_vendor_id
,v_vendors(i).supp_site_code
,v_vendors(i).address1
,v_vendors(i).address2
,v_vendors(i).city
,v_vendors(i).country
,SUBSTR(v_vendors(i).phone_number,1,15)
,SUBSTR(v_vendors(i).fax,1,15)
,v_vendors(i).email
,'USD' --C_REC.CURRENCY_CODE
,'USD' --C_REC.CURRENCY_CODE
,104
,'Y'
,'Y'
END LOOP;
-- close C1;
COMMIT;
EXCEPTION
WHEN too_many_rows THEN
v_vendor_id :=NULL;
WHEN no_data_found THEN
v_vendor_id :=NULL;
-- END LOOP;
-- END;
END;
/ -
R12 Supplier Conversion by using API OR Standard interface table ?
R12 Supplier Conversion should be done via API OR Standard interface table? Why ?
Which approach is more suitable kindly let us know your thoughts.
Thanks in advanceWe have used interface tables just to have better control and reprocessing abilities. You may need to be little careful about the TCA tables.
-
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 -
AP Supplier Contacts Interface in 11.5.10.2
Hi
I have some doubts for supplier conversion in 11.5.10.2. I need to convert Supplier, Supplier Sites and Supplier Contacts.
I can join the Supplier and Supplier Sites using the same VENDOR_INTERFACE_ID supplier --> supplier site connection. I do not understand how to do the same association between supplier site and contacts. In AP_SUP_SITE_CONTACT_INT there is no supplier site interface id, and if I populate it with vendor site code and organization id the program didn't work.
the error which i get REJECT_CODE Vendor information and/or Operating Unit information is missing
is the LAST_NAME in AP_SUP_SITE_CONTACT_INT must ?
Am I missing something?
Please Kindly advise.
Edited by: 855902 on Jun 6, 2011 2:13 PMYou need to reapply your mod directly to the 11.5.10.2 version of APXVDMVD.fmb via forms builder (f60desm on unix or ifbld60.exe on windows). Then copy the form to $AU_TOP/forms/US and compile the form via adadmin or command line:
cd $AU_TOP/forms/US
f60gen module=$AU_TOP/forms/US/APXVDMVD.fmb userid=APPS/apps output_file=$AP_TOP/forms/US/APXVDMVD.fmx module_type=form compile_all=yes
You should register the mod in $APPL_TOP/admin/applcust.txt so you get a warning while patching if you get an updated file that wipes out your mod. -
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 -
AP Supplier Contacts Interface
Hi to all.
Hi have some doubts for supplier conversion on R12. I need to convert Supplier, Supplier Sites and Supplier Contacts. For what I saw I can join the Supplier and Supplier Sites using the same SUPPLIER_INTERFACE_ID so the interface understand the supplier --> supplier site connection. I do not understand how to do the same association between supplier site and contacts. In AP_SUP_SITE_CONTACT_INT there is not a supplier site interface id, and if I populate it with vendor site code and organization id, the conversion of contact does not work because it ask for vendor_id. But I do not know the Vendor ID when I populate the interface!
Am I missing something?
Or should I do the conversion in Two step? First supplier and supplier site, and only after the contacts?
Please Kindly advise.Hi, I managed to have it working. Probably I was missing the link with supplier site code. Btw the script is the following, if it can help
INSERT INTO AP_SUPPLIERS_INT
( VENDOR_INTERFACE_ID ,
SEGMENT1,
TERMS_NAME,
PAYMENT_PRIORITY ,
PAY_GROUP_LOOKUP_CODE,
VENDOR_NAME,
VENDOR_TYPE_LOOKUP_CODE,
STATUS )
values(AP_SUPPLIERS_INT_S.NEXTVAL, --VENDOR_INTERFACE_ID
'545456', --SEGMENT1,
-- 566, --EMPLOYEE_ID,
'IMMEDIATE', --TERMS_NAME,
1 , --PAYMENT_PRIORITY ,
'AAAA', --PAY_GROUP_LOOKUP_CODE,
'DUMMYCOMPANY', --VENDOR_NAME,
'COMPANY', --VENDOR_TYPE_LOOKUP_CODE,
'NEW' -- STATUS
COMMIT;
INSERT INTO AP_SUPPLIER_SITES_INT(
STATUS,
VENDOR_INTERFACE_ID, -- VENDOR_INTERFACE_ID,
VENDOR_SITE_INTERFACE_ID,
VENDOR_SITE_CODE,
ADDRESS_STYLE,
ADDRESS_LINE1,
ADDRESS_LINE2,
ADDRESS_LINE3,
CITY,
ZIP,
COUNTRY,
EMAIL_ADDRESS,
PAY_SITE_FLAG,
PURCHASING_SITE_FLAG,
--OPERATING_UNIT_NAME
ORG_ID)
values
'NEW',--STATUS
AP_SUPPLIERS_INT_S.CURRVAL ,--VENDOR_INTERFACE_ID
AP_SUPPLIER_SITES_INT_S.NEXTVAL,--VENDOR_SITE_INTERFACE_ID
'DUMMY SITE',--VENDOR_SITE_CODE
'NE',--ADDRESS_STYLE
'ADDRESS1',--ADDRESS_LINE1
'ADDRESS2',--ADDRESS_LINE2
'ADDRESS3',--ADDRESS_LINE3
'Anywhere',--CITY
'00100',--ZIP
'IT', ---COUNTRY
'[email protected]',--EMAIL_ADDRESS
'Y',--PAY_SITE
'Y', -- PURCHASING_SITE_FLAG
121 )--OPERATING_UNIT_ID
COMMIT;
INSERT INTO AP_SUP_SITE_CONTACT_INT (
VENDOR_INTERFACE_ID,
VENDOR_CONTACT_INTERFACE_ID,
VENDOR_SITE_CODE,
ORG_ID,
-- OPERATING_UNIT_NAME,
FIRST_NAME,
LAST_NAME,
PHONE,
EMAIL_ADDRESS)
VALUES (
AP_SUPPLIERS_INT_S.CURRVAL ,--VENDOR_INTERFACE_ID
AP_SUP_SITE_CONTACT_INT_S.NEXTVAL,
'DUMMY SITE',
121,
-- 'DUMMY OPERATING UNIT', --OPERATING_UNIT_NAME,
'JOE',
'DOE',
'555d-54',
'[email protected]')
COMMIT; -
Supplier Conversion :auto_tax_calc_flag error
Hello everyone ,
Currently I am working on Supplier conversion in 11.0.3 to 11.5.10.2 .
In supplier site interface table (ap_supplier_sites_int) getting error for auto_tax_calc_flag when the value is 'L'. I Changed one setup i.e. When I checked the box for 'Use Automatic Tax Calculation' in Payables Options=>Invoice Tax, the error did not occur. But my client is not allowing to change this set up .
Is there any other we can fix this issue.
Its very urgent . please reply as soon as possible .
Thanks in Advance
Apps4u.see actually iam using the customized program and in that we have been given a data file with line type *'LINE'* and given a tax code and the auto accounting is off....so what i did imported only one line with tax code in ra_interface_lines_all and created the 'REV','REC' AND TAX line in ra_interface_distributions_all but when i ran the auto invoice import it gave me *:The accounting distributions for this transaction are linked to the wrong type of line.*
*(account_class: TAX, line_type: LINE)*Did you check the docs referenced in your other thread? error:auto invoice distribution error
so what i did i created a TAX line and linked the tax line with invoice line.....as given above example to insert into.....
then when i ran it gave me Populate either tax_rate_id or tax_rate_code to create a valid tax line..... i hope u understood the requirement.....I still believe you should not use a direct insert, and API should be used instead -- Please log a SR to confirm this with Oracle support.
Thanks,
Hussein -
APXSUIMP module: Supplier Open Interface Import ERROR
Hi All,
I am loading our historical data po_vendors from old EBS 11.0.3 to the new EBS 11i.
I inserted the data first in AP_SUPPLIERS_INT table.
Then I run the program APXSUIMP.
But I got the ff. error
>
Payables: Version : 11.5.0 - Development
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
APXSUIMP module: Supplier Open Interface Import
Current system time is 17-DEC-2008 15:55:17
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
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
Spawned Process 2113682
MSG-00001: After SRWINIT
MSG-00002: After Get_Company_Name
MSG-00003: After Get_NLS_Strings
REP-1419: 'beforereport': PL/SQL program aborted.
Report Builder: Release 6.0.8.25.0 - Production on Wed Dec 17 15:55:18 2008
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter Username:
Start of log messages from FND_FILE
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 285681.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 17-DEC-2008 15:55:18
>
Can you help please....ThanksHi,
This is just a one-table test run only for ap_supplier_int > vo_vendors
By the way the set-up is non multi-org, does if affect the error?
Searched WebIV with "APXSUIMP REP-1419 beforereport" and found: .
Note.313569.1 Ext/Mod APXSUIMP Supplier Open Interface Receives the Following Error REP-1419 .
Symptoms
The APXSUIMP module: Supplier Open Interface Import is erroring with the following error: .
MSG-00003:
After Get_NLS_Strings REP-1419: 'beforereport': PL/SQL program aborted. .
Patch#4172504 - has been applied,
however, the process still errors. .
Cause
As this was a new test instance, the user had not set the
MO:Operating Unit profile option in the System Administrator responsibility,
nor run the Execute Convert to Multi-org utility from adadmin. .
The system was not setup properly. .
Solution
#1 - Apply patch#4172504 ->->-> this CT is already above this code
#2 - Responsibility:
System Administrator Navigation:
Profile-System Ensure a value has been set for profile MO:Operating Unit.
#3 - Execute Convert to Multi-org from adadmin. . .
WORKAROUNDS: ------------ Patch 5167581 was applied and did not resolve the issue .
Set for profile MO:Operating Unit. Responsibility: System Administrator
Navigation: Profile-System . No change, error still exists We also don not have value for MO: Operating Unit > What value should I put on this field?
Thanks a lot -
Supplier open interface import - Related issue
Hi there,
when i tried to import the the details of the suppliers from AP_SUPPLIERS_INT(interface table) to PO_VENDORS(base table) through "Suppliers open interface import",
First time, It showed the rejeted records in the output report. then i cleared the errors in the rejected records.
Second Time, It showed Rejected records as 0, but didn't show any details regarding imported records. Also not even a single record is imported to base table
it didn't show neither any rejected record nor the data in the interface table to base table...
"Supplier open interface import program" gets completed without any error.
why this happens..?
columns filled in interface table - AP_SUPPLIERS_INT are:
vendor_interface_id
Vendor_name
segment1
employee_id(Removed this col when it showed employee doesn't exist in rejected columns)
payment_currency_code
vendor_type_lookup_code
did this in R12
Expecting a solution for this...
Thanks in Advance...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 -
Supplier Open Interface Errors
I created an supplier interface in plsql. Want I want to do is kick off the following concurrent programs from pl/sql using fnd_request.submit_request
Supplier Open Interface Import
Supplier Sites Open Interface Import
Now when I run the pl/sql without the call to the fnd_submit, then run the concurrent programs through the app in Payables Manager, it works fine. BUT when I add the fnd_submit call, it executes fine but there is a weird error dealing with reports. Now this seems like some kind of privilege thing maybe?
Below is my call to FND_SUBMIT and also my initialize. Also is the error. Ideas on what is up?
Maybe it is because the code is in a custom schema and not under apps??
APPS.fnd_global.apps_initialize(user_id =>'0'
,resp_id =>'50517'
,resp_appl_id =>'200');
v_header_req := APPS.FND_REQUEST.submit_request( application => 'SQLAP',
program => 'APXSUIMP');
v_site_req := APPS.FND_REQUEST.submit_request( application => 'SQLAP',
program => 'APXSSIMP');
Payables: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
APXSSIMP module: Supplier Sites Open Interface Import
Current system time is 24-MAR-2009 16:52:02
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
APPLLCSP Environment Variable set to :
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
Enter Password:
MSG-00001: After SRWINIT
MSG-00002: After Get_Company_Name
MSG-00003: After Get_NLS_Strings
MSG-00004: After Importing Suppliers
REP-1419: 'beforereport': PL/SQL program aborted.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-1419: MSG-00001: After SRWINIT
MSG-00002: After Get_Company_Name
MSG-00003: After Get_NLS_Strings
MSG-00004: After Importing Suppliers
REP-1419: 'beforereport': PL/SQL program aborted.
Report Builder: Release 10.1.2.2.0 - Production on Tue Mar 24 16:52:06 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Start of log messages from FND_FILE
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 370808.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 24-MAR-2009 16:52:07Hello Jason,
We have done somewhat the same, I see you dont add any arguments in the submit request call.
Maybe all below is already known, maybe it helps you to find just what is wrong in your case.
We did it this way:
l_id := fnd_request.submit_request( application => 'SQLAP'
+, program => p_name+
+, description => null+
+, start_time => null+
+, sub_request => null--fnd_global.conc_request_id+
+, argument1 => 'APXSUIMP'+
+, argument2 => 'ALL'+
+, argument3 => 1000+
+, argument4 => 'N'+
+, argument5 => 'N'+
+);+
After this we immediately execute a commit (as this will trigger the request start).
After that we also wait for the request to finish by doing the following:
if fnd_concurrent.wait_for_request
+( l_request_id+
+, 2 --interval+
+, 0 --max_wait+
+, l_phase --phase+
+, l_status --status+
+, l_dev_phase --dev_phase+
+, l_dev_status --dev_status+
+, l_message )+
then ...
Hope this helps,
Mark -
Supplier Open Interface Import is not working
Hi,
I am trying to load Suppliers through AP_SUPPLIERS_INT table using Supplier Open Interface Import but it is error.
I applied the patch 11821347 which have made the version of the files as below
/* $Header: appvapib.pls 115.110 2011/02/18 06:15:15 zrehman noship $ */
/* $Header: appvapis.pls 115.35 2011/02/18 06:13:22 zrehman noship $ */
V$Header: APXSUIMP.rdf 115.1 2004/02/19 12:08 pjena
Below is the view log
Payables: Version : 11.5.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
APXSUIMP module: Supplier Open Interface Import
Current system time is 20-OCT-2011 15:58:16
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
P_WHAT_TO_IMPORT='NEW'
P_COMMIT_SIZE='1000'
P_PRINT_EXCEPTIONS='N'
P_DEBUG_SWITCH='N'
P_TRACE_SWITCH='N'
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.WE8ISO8859P1
REP-1419: 'beforereport': PL/SQL program aborted.
Report Builder: Release 6.0.8.27.0 - Production on Thu Oct 20 15:58:17 2011
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter Username:
Start of log messages from FND_FILE
Total Number of Records processed:1
After call to Validation1
Success Records in this batch:1
Failure Records in this batch:0
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 19989548.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 20-OCT-2011 15:58:27
Can someone help me please.
Regards
DevHi,
I have tried running all these options, but still it is failing.
Below is the log if I change the parameter values. It is failing inside the main procedure "AP_PO_VENDORS_APIS_PKG.insert_new_vendor" . Could not find out why it is failing. Please help me
Arguments
P_WHAT_TO_IMPORT='NEW'
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.WE8ISO8859P1
MSG-00001: After SRWINIT
MSG-00002: After Get_Company_Name
MSG-00003: After Get_NLS_Strings
REP-1419: 'beforereport': PL/SQL program aborted.
Report Builder: Release 6.0.8.27.0 - Production on Thu Oct 20 16:47:18 2011
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter Username:
Start of log messages from FND_FILE
Total Number of Records processed:1
After call to Validation1
Success Records in this batch:1
Failure Records in this batch:0
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 19989614.
Review your concurrent request log and/or report output file for more detailed information.
Regards
Dev -
Supplier Open Interface Import
Hi All,
I loaded data into AP_SUPPLIERS_INT but when I run the program Supplier Open Interface Import, it does not update the STATUS field in AP_SUPPLIERS_INT and report shows:
Atrium Corporation Report Date: 25-SEP-2010 12:39
Suppliers Open Interface Import Execution Report Page: 1
Import Options: New
Batch Size: 1000
Print Exceptions Only: No
Suppliers Open Interface Audit Report
Supplier Supplier
Number Name
Total Suppliers Imported: 0
*** No Data Exists for this Report ***
Suppliers Open Interface Rejections Report
Supplier Supplier
Number Name Reason
Total Suppliers Rejected: 0
*** No Data Exists for this Report ***
Any help, please.
Thanks
JohnHi,
Unhide the Debug (Debug Switch) parameter of the Report, Supplier Open Interface Import and run the program with Debug flag as Yes.
Please post the log to help us understand the issue.
Regards,
Sridhar -
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 -
Error in Supplier importing interface
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;
Duplicate post
Re: type_1099 error after submitting supplier open interface import
Please post once
Regard
Helios
Maybe you are looking for
-
Keyboard won't turn on since 10.6.8 update
Hi, I downloaded the 10.6.8 update yesterday went to bed, got up this morning, went into my iMac woke it with a press off my mouse, but the keyboard was typing! So changed the batteries now the keyboards not turning back on. Anyone else having this i
-
Hi, I am quite new to use explain plan in oracle. I want to know what are the important factors that we should emphasize to optimize a SQL query. Thanks in Advance, Dilip
-
IBook chargers - Must it be 45watt?
Hi I've just recently purchased an iBook, But its in need of a new charger. The piece that actually goes into the machine is no longer round and it its quite difficult to seat it properly. And occasionally it just stops charging so I'm guessing its n
-
HD space...
I am attempting to utilize as much HD space as possible. I run FCE HD which allows me to set scratch discs... I use my external HD's for this... My question is... my library Folder (the one with books on it) is 9.14 GBs... what is in there that takes
-
Hello everyone, I would help you if you can :). I have an add-ons that adds buttons to the "Sale". Now I would like to add a button to create a PDF invoice. I have call an internal SAP report , with code 'INV20001' in table [RDOC] Who can help me?