ESYU: Importing Standard Purchase Orders에서 문제 발생시 진단 방법

Purpose
Oracle Purchasing - Version: 11.5.10.2 to 12.0.6
Information in this document applies to any platform.
ConcurrentProgram:POXPOPDOI - Import Standard Purchase Orders
이 문서는 reader게 Importing Standard Purchase Orders 실행 중 갑자기 발생하는 issue에 대해 어떻게
대응하는지에 대한 자세한 정보를 제공한다.
Instroduction
Purchase Document Open Interface는 다량의 Standard Purchase Order는 Oracle Purchasing으로 빨리
import 할 수 있게 한다. Import process는 import 되어야 하는 document information을 PO interface tables에
넣어주는 작업을 필요로하며, data를 validate 하고 application에 PO를 생성하거나 error message를 return 하는
Import Standard Purchase Orders concurrent program을 실행한다.
이 문서의 목적은 Importing Standard Purchase Orders에 관련된 process를 이해하거나 갑자기 발생한 문제의
원인을 찾는데 도움을 주기 위함이다. PO import 문제는 일반적으로 interface tables에 입력된 불일치하는 data가
원인이며, 일단 문제가 확인되면 Metalink는 비슷한 문제를 찾아주거나 Oracle Support에 Service Request를 log
할 수 있다.
Test case Information
1. 아래 insert 문장을 이용하여 PO interface tables에 data를 입력:
INSERT INTO po.po_headers_interface
(interface_header_id,
action,
org_id,
document_type_code,
currency_code,
agent_id,
vendor_name,
vendor_site_code,
ship_to_location,
bill_to_location,
reference_num)
VALUES
(apps.po_headers_interface_s.NEXTVAL,
'ORIGINAL',
207, -- Seattle
'STANDARD',
'USD', -- Your currency code
24, -- Your buyer id stock
'Advanced Network Devices',
'FRESNO',
'V1- New York City', -- Your ship to
'V1- New York City', -- Your bill to
'Currency test') -- Any reference num
INSERT INTO po.po_lines_interface
(interface_line_id,
interface_header_id,
line_num,
shipment_num,
line_type,
item,
uom_code,
quantity,
--unit_price,
promised_date,
ship_to_organization_code,
ship_to_location)
VALUES
(po_lines_interface_s.nextval,
po_headers_interface_s.currval,
1,
1,
'Outside processing',
'Flooring OSP',
'Ea',
1,
--17.50,
'10-APR-2009',
'V1',
'V1- New York City' )
INSERT INTO po.po_distributions_interface
(interface_header_id,
interface_line_id,
interface_distribution_id,
distribution_num,
quantity_ordered,
charge_account_id)
VALUES
(po_headers_interface_s.currval,
po.po_lines_interface_s.CURRVAL,
po.po_distributions_interface_s.NEXTVAL,
1,
1,
12975) -- Your Charge Account Id
2. Interface tables에 data가 insert 되었다면 import progra을 실행전 정보를 확인하기 위해 아래 query 문을 이용한다.
a - Select * from PO_HEADERS_INTERFACE where INTERFACE_HEADER_ID=&headerid
b - Select * from PO_LINES_INTERFACE where INTERFACE_HEADER_ID=&headerid
c - Select * from PO_DISTRIBUTIONS_INTERFACE where INTERFACE_HEADER_ID=&headerid
3. Data를 review 했으면 Import Standard Purchase Orders program을 실행한다.
Parameter >>
Default Buyer: Null
Create or Update Items: No
Approval Status: INCOMPLETE
Batch Id: Null
4. 만일 program에 문제가 있어 error가 발생한다면 error의 원인을 제공하기 위해 Purchasing Interface Error Report를
실행할 수 있다.
Parameter >>
Source Program: PO_DOCS_OPEN_INTERFACE
Purge Data: No
만일 PO가 import 되지 않았다면 Puchasing Interface Errors Report와 동일한 정보를 보기 위해 Interface Errors table을
아래 SQL을 이용하여 조회할 수 있다.
SELECT * FROM PO_INTERFACE_ERRORS WHERE INTERFACE_TRANSACTION_ID ='&recordsinterfacetransid';
Diagnostics
Import Standard Purchase ORder process의 troubleshoot 도움을 위해 아래 Diagnostics과 Reports를 이용한다.
1. Diagnostics Tool : Oracle Purchasing Purchasing Documents Open Interface Data Collection Test
(please refer to Note 224887.1 for assistance)
이 Diagnostics는 import program에 의해 import 되는 data를 validate 할 것이며 missing 되거나 맞지않는 정보를 highlight 한다.
이 Tool은 interface tables에 있는 맞지 않거나 불완전한 data의 자세한 정보를 제공할 수 있다.
Error는 PO를 import 할 때 발생한 문제 분석을 시도하는데 매우 유익하므로 SR을 log시 이 Diagnostic output을 upload 하는
것을 권장한다.
2. Purchasing Interface Errors Report
이 report는 Oracle Purchasing에서 사용가능하며 Import Standard Purchase Orders program을 실행시 발생하는
error를 강조한다.
Tracing
11.5.10 이상의 version에서 Import Standard Purchase Orders program의 trace를 생성:
1. Navigate to System Administrator responsibility
2. Navigate to Profiles->System
3. Query the Profile Option Concurrent: Allow Debugging and set it to Yes at User level
4. Navigate to Purchasing responsibility
5. From the Requests form, choose the Import Standard Purchase Orders program and set the required Parameters
6. Click the Debug button
7. Check the SQL Trace checkbox and specify Trace with Binds and Waits
8. Submit the Concurrent program
9. Retrieve the trace file created.
Logging
Import Standard Purchase Orders program의 FND Deug Log 생성:
1. Log_seq를 아래 SQL을 이용하여 확인.
select max(log_sequence) from fnd_log_messages;
2. Set the following profiles at the user level:
FND: Debug Log Enabled = YES
FND: Debug Log Filename = NULL
FND: Debug Log Level = STATEMENT
FND: Debug Log Module = %
3. Run Import Standard Purchase Orders program
4. Using a SQL client run the following query :
Select * from fnd_log_messages
where log_sequence > &log_seq_noted_above
order by log_sequence;
이 query의 output은 Import Standard Purchase Orders program이 실행 중 발생한 error를 표시한다.
Reference
Note 781351.1

Similar Messages

  • Import standard Purchase Order process and interface tables

    Hi all,
    We are populating three PO interface tables from our custom developed application. PO_HEADERS_INTERFACE, PO_LINES_INTERFACE and PO_DISTRIBUTIONS_INTERFACE. We are using 11.5.10.2 version of Oracle Apps.
    Initially we did not manage to populate the distributions interface table, but, now we are populating it. And after doing so, when we run the Import standard Purchase Order process for 'Approved' POs, the process_id for even the record which has correct distributions info also gets 'Rejected' as a value. The process is considering a mix of records : the approved POs that DO NOT HAVE distribution info in PO_DISTRIBUTIONS_INTERFACE (which we had not managed to populate) and the approved POs that HAVE distribution info in PO_DISTRIBUTIONS_INTERFACE.
    does the Import standard Purchase Order process populate partial data that could be good or it rejects the whole lot of records?
    Can anyone guide on this issue?
    Thanks and kind regards,
    Aparna
    Edited by: Aparna on Jul 24, 2009 3:45 AM
    Another piece of info I would like to share is
    I have run the process for an approved PO with distributions info in PO_DISTRIBUTIONS_INTERFACE. This time no mixed data. In PO_INTERFACE_ERRORS table, an entry was found: for column name : PO_DISTRIBUTION_ID in ERROR_MESSAGE column 'Error: Has no distributions'.
    Edited by: Aparna on Jul 24, 2009 8:03 AM
    After carrying out number of tests, I have found out that
    1) if the approval_status for the po is 'Approved' in the po_headers_interface table, it gives the above mentioned error and the process_id is 'rejected'.
    2) if the approval_status for the po is 'Incomplete' in the po_headers_interface table, the process add the 'accepted' value for the process_id. But, the charge account number is not populated in shipments.
    Edited by: Aparna on Jul 31, 2009 1:07 AM
    There has been some progress on this issue. The process sees distributions data into the PO_DISTRIBUTIONS_INTERFACE table. Yet the following errors are found in the process log file:
    Start dist default process
    before getting period name
    after getting period name
    -->Intfc error occurred ...PO_PDOI_INVALID_GL_ENC_PER
    before workflow
    unit price = 18.5, rate = , unit price in functional currency = 18.5
    after workflow
    Start dist creation process
    Start dist validation process
    -->Intfc error occurred ...PO_PDOI_INVALID_BUDGET_ACCT
    Start insert new record into po_distributions
    Distribution ID: 252
    dist num: 1
    last updated by: 1189
    po header id: 5283
    po line id: 5878
    line loc id: 5924
    sob id: 21
    cc id: 1560
    qty ordered: 10
    Req Header Ref num :
    Req line Ref num :
    Req dist id :
    ROW ID: AAHUc1AFPAAAQ04AAC
    call tax
    Rollback for the Last Errored Line: 10
    All Lines in error - Rolling back the header
    We opened new GL periods for the calendar and yet same errrors are seen. Can anyone suggest any solution?
    Kind regards,
    Aparna

    Hi
    Do you have a copy of your insert statement?
    regards

  • Re: Error in submitting Import Standard Purchase orders from Pl/Sql

    Hi All,
    Iam using the following code to submit a concurret program
    "Import Standard Purchase orders" from pl/sql
    Program is sucessfully submittted but it is Completing in error status i am stuck there please help me in resolving this
    My instance R12
    My Code
    ======
    DECLARE
    v_request_id VARCHAR2 (100);
    BEGIN
    mo_global.set_policy_context ('S', 204); --org_id for the operating unit which the purchase order records belong too
    mo_global.init ('PO'); -- sets the application
    FND_GLOBAL.APPS_INITIALIZE (1013436, 50578, 201); --Consists of the user_id, responsibility_id, responsibility_application_id which is 201 for purchasing
    v_request_id :=
    fnd_request.submit_request (application => 'PO',
    program => 'POXPOPDOI',
    description => NULL,
    start_time => NULL, -- To start immediately
    sub_request => FALSE,
    argument1 => '31348', -- Buyer_ID
    argument2 => 'STANDARD', -- Doc Type
    argument3 => '', -- doc subtype
    argument4 => 'N', -- update items
    argument5 => '', -- create sourcing rules not used
    argument6 => 'INCOMPLETE', -- Approval status
    argument7 => '', -- release generation method
    argument8 => '1021387', -- batch_id
    argument9 => '', -- operating unit null
    argument10 => '', -- global agreement null
    argument11 => '', -- enable sourcing null
    argument12 => '', -- sourcing level null
    argument13 => '', -- inv org enabled null
    argument14 => '' -- inv org null
    DBMS_OUTPUT.put_line ('Request submitted. ID = ' || v_request_id);
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line (
    'Request set submission failed - unknown error: ' || SQLERRM
    END;
    output
    =====
    when i check output i am getting the follwing error
    DECLARE
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at line 133
    Log message
    ==========
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    31348
    STANDARD
    N
    INCOMPLETE
    1021387
    Start of log messages from FND_FILE
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 945297
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    End of log messages from FND_FILE
    Thanks
    Manoj kumar

    Pass NULL instead of ''
    Check the flag
    SELECT multi_org_category
      FROM fnd_concurrent_programs
    WHERE concurrent_program_name = 'POXPOPDOI'Update it as per the below MOS Doc
    R12 / POXPOPDOI - 'ORA-01422' Error While Running 'Import Standard Purchase Orders' [ID 457628.1]
    Otherwise,
    Follow the below doc and insert values to the interface tables (headers, lines and distribution) and run the Import Standard Purchase Orders from the front end.
    How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
    HTH
    Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

  • Error While submitting Import Standard Purchase Order Concurrent Program

    Hello All,
    When I am trying to submit Import Standard Purchase Order Concurrent Program from front end, it gets submitted properly.
    and from backend,I am getting Following error.
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 27810853
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    When I looked in Parameters in both program(manually submitted and called from backend) I found a difference.
    difference is Parameter Operating Unit. It not get submitted while program calling from backend.
    Please anybody tell me solution for this. for setting this parameter.
    (Also I have applied for patch 13001705 as per Metalink suggested).
    Thanks in advance.
    Regards
    Ravi Raj.
    Edited by: Ravi Raj on Jan 23, 2013 10:50 PM

    Please paste the code here.. there may be some parameter issue while submission.

  • How to Check Log File for 'Import Standard Purchase Orders' program?

    Hi,
    When the run the standard program 'Import Standard Purchase Orders' after inserting data to PO interface tables. I am getting the log message as mentioned below.
    Start of log messages from FND_FILE
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 40499066
    End of log messages from FND_FILE
    When I go and check for the message in mentioned table against the AUDSID,I couldn't find any error listed.
    Even I verified the po_interface_errors table, It returns NO ROWS.
    Help me on this issue.
    Thanks.

    Did you checked the imported PO ? follow step 7-8 from MOS note and check
    Vision Demo - How To Import Standard Purchase Orders Using the Purchase Document Open Interface PDOI [ID 1054004.1]
    You can also check
    How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
    thanks

  • Import Standard Purchase Order not picking data when submitted from backend

    Hi,
    As part of my code, I am inserting Purchase order information in the interface tables with process_code = 'PENDING'. Then using fnd_request , i am triggering the Standard Program for importing these Purchase Orders. The standard program is getting triggered and completing normally. But it is not picking any records. I am calling the program as follows:-
                  -- Setting the org_id so that the import program will run for that particular org_id.
                  fnd_request.set_org_id(r_org_id.org_id);
                   -- Submit the Import Standard Purchase Orders by calling the standard program for respective org_id
                  l_req_id := FND_REQUEST.SUBMIT_REQUEST(application  => 'PO'
                                ,program      => 'POXPOPDOI'
                                ,description  => 'Import Standard Purchase Orders'
                                ,start_time  => SYSDATE
                                ,sub_request  => FALSE
                                ,argument1  => NULL
                                ,argument2  => 'STANDARD'
                                ,argument3  => NULL
                                ,argument4    => 'N'
                                ,argument5    => NULL
                                ,argument6  => 'APPROVED'
                                ,argument7  => NULL
                                ,argument8  => NULL
                                ,argument9  => NULL
                                ,argument10  => NULL                                                   
                  COMMIT;
    When I am submitting this same program from front end, for the same set of records using the same set of parameters, the records are getting picked.
    Any suggestions for this?                 

    Hi
    Do you have a copy of your insert statement?
    regards

  • Import Standard Purchase Orders Programs Rejects Records

    Hi Guys
    I have a simple PL/SQL Block to Insert Standard PO Orders into PO_HEADERS_INTERFACE Table.
    The following is the code :
    DECLARE
    V_REQUEST_ID NUMBER:=0;
    -- Start PL/SQL Block --
    BEGIN
    -- Insert Validated Records into PO Interface Tables --
    INSERT INTO PO_HEADERS_INTERFACE
    (INTERFACE_HEADER_ID,
    BATCH_ID,
    ACTION,
    ORG_ID,
    DOCUMENT_TYPE_CODE,
    CURRENCY_CODE,
    AGENT_ID,
    VENDOR_NAME,
    VENDOR_SITE_CODE,
    VENDOR_CONTACT_ID,
    SHIP_TO_LOCATION,
    BILL_TO_LOCATION,
    PAYMENT_TERMS,
    FREIGHT_CARRIER,
    FOB,
    FREIGHT_TERMS,
    APPROVAL_STATUS,
    CREATION_DATE,
    CREATED_BY,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    LAST_UPDATE_LOGIN)
    VALUES
    (1,
    100,
    'ORIGINAL',
    204,
    'STANDARD',
    'USD',
    13587,
    'Advanced Network Devices',
    'FRESNO',
    1506,
    'M1- Seattle',
    'V1- New York City',
    'Immediate',
    'UPS',
    'Origin',
    'Due',
    'INCOMPLETE',
    '14-NOV-2008',
    1008152,
    '14-NOV-2008',
    1008152,
    1008152);
    DBMS_OUTPUT.PUT_LINE('Header Records Inserted');
    COMMIT;
    END;
    The Records have been sucessfully inserted into PO_HEADERS_INTERFACE Table but whne i run the Import Standard Purchase Orders Program by passing my Batch ID = 100 as the parameter systems Rejects the Records but doesnt
    update the PO_INTERFACE_ERRORS Table.
    Could anybody please guide me. This is quite urgent.
    Regards
    Nakul.V

    Not sure of what release are You working with. Review if You have the Diagnostic Tools responsibility, it has a diagnostic for po documents open interface that reports warning on errors on data on staging tables.

  • Import Standard Purchase Orders

    Hi Experts,
    I'm working in EBS 12.1.3, i'm creating the PO (Purchase Orders) using interface method. I inserted data into po interface tables and running 'Import Standard Purchase Orders' to create POs; It's working fine. My requirement is to submit  the 'Import Standard Purchase Orders' program using fnd_request.submit_request in a procedure and register that as concurrent program; when i submit the procuedure concurrent program, it's not picking the records from interface table, but if i directly submit the 'Import Standard Purchase Orders', it's picking up records.
    Could somebody help on this at the earliest.
    Note: I have set below things in my procedure before submitting 'Import Standard Purchase Orders' using fnd_request.submit_request.
    1.set the org
    2.initiliazed apps
    Thanks

    Ensure you pass every  parameter for the request. As far as a know it has 16 parameters.
      fnd_request.submit_request (application 
    => 'PO',
    PROGRAM     
    => 'POXPOPDOI',
    argument1   
    =>  <Default Buyer>,
    argument2   
    =>  <Document Type>,
    argument3   
    =>  <Document SubType>,
    argument4   
    =>  <Create or Update Items>,
    argument5   
    =>  <Create Sourcing Rules>,
    argument6   
    =>  <Approval Status>,
    argument7   
    =>  <Release Generation Method>,
    argument8   
    =>  <Batch Id>,
    argument9   
    =>  <Operating Unit>,
    argument10  
    =>  <Global Agreement>,
    argument11  
    =>  <Enable Sourcing Level>,
    argument12  
    =>  <Sourcing Level>,
    argument13  
    =>  <Inv Org Enable>,
    argument14  
    =>  <Inventory Organization>,
    argument15  
    =>  <Batch Size>,
    argument16  
    =>  <Gather Stats>
    Regards, Andrei

  • Import Standard Purchase Orders return error

    Dear All ,
    when i ran the Import Standard Purchase Orders concurent program , it completed with the following errors
    DECLARE
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at line 133
    So please can anyone have a solution for this >>

    What is your application release? Please see if these docs help.
    Import Standard Purchase Order Process Fails With Errors 'ORA-06510' and 'ORA-06512' [ID 862819.1]
    PDOI Errors With Exec Fnd_conc_stat.Collect Ora-06510 [ID 735909.1]
    R12 PDOI Fails With ORA-6510 When Loading Quotation [ID 856940.1]
    Error POCIRM-158e : ORA-06510: PL/SQL: unhandled user-defined exception Returned When Running Requistion Import Process. [ID 430797.1]
    Thanks,
    Hussein

  • Import Standard Purchase Orders -For Standard Purchase Orders

    Hi,
    I'm trying to load STANDARD purchase orders using Import Standard Purchase Orders(POXPOPDOI). I'm getting following error in log file
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 3084626
    User-Defined Exception in Package po.plsql.PO_PDOI_LINE_LOC_PROCESS_PVT. Procedure validate_line_locs.20
    User-Defined Exception in Package po.plsql.PO_PDOI_MAINPROC_PVT. Procedure process_line_locations.60
    User-Defined Exception in Package po.plsql.PO_PDOI_MAINPROC_PVT. Procedure process.30
    User-Defined Exception in Package po.plsql.PO_PDOI_PVT. Procedure start_process.110
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    Output File:
    DECLARE
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at line 133
    Your help greatly appreciated.

    Hi,
    What is the application release? OS?
    Please see if (Note: 735909.1 - PDOI Errors With Exec Fnd_conc_stat.Collect Ora-06510) is applicable.
    Regards,
    Hussein

  • Migrating PO using Import Standard Purchase Orders program

    Hi All,
    When am trying to migrating auto created PO's, First i imported Requisition sucessfully and i took the newly generated DISTRIBUTION_ID for the
    imported REQ and i populated the value in REQ_DISTRIBUTION_ID column (PO_DISTRIBUTIONS_INTERFACE table) and then submited program.
    PO is imported sucessfully but the DISTRIBUTION_ID is not populated in the PO_DISTRIBUTIONS_ALL table. If any knows please help on this issuse ASAP.
    Details:
    ORACLE R12
    Version: 12.1.3
    Programs used:
    Requisition Import program
    Import Standard Purchase Orders program
    Regards,
    Siva.

    Hi Siva,
    THis forum is intended for migrating from non-Oracle to Oracle databases. Your questions looks like an EBS issue so try one of the forums that are listed under E-Business -
    Category: E-Business Suite
    https://forums.oracle.com/forums/category.jspa?categoryID=3
    or this fourm where I found a reference to the same table -
    Forum: SCM - General Discussion
    General SCM Discussion
    Regards,
    Mike

  • Import Standard Purchase Orders and matching to the invoice

    Hi Experts,
    Can we import standard purchase orders into oracle from 3rd party systems.
    And also there's a requirement to match the relevant invoice in AP to the purchase Order automatically when the PO is transferred.
    We are on 11.5.10.2
    Regards,
    Migara
    Edited by: user11337190 on May 13, 2010 1:52 AM

    Ensure you pass every  parameter for the request. As far as a know it has 16 parameters.
      fnd_request.submit_request (application 
    => 'PO',
    PROGRAM     
    => 'POXPOPDOI',
    argument1   
    =>  <Default Buyer>,
    argument2   
    =>  <Document Type>,
    argument3   
    =>  <Document SubType>,
    argument4   
    =>  <Create or Update Items>,
    argument5   
    =>  <Create Sourcing Rules>,
    argument6   
    =>  <Approval Status>,
    argument7   
    =>  <Release Generation Method>,
    argument8   
    =>  <Batch Id>,
    argument9   
    =>  <Operating Unit>,
    argument10  
    =>  <Global Agreement>,
    argument11  
    =>  <Enable Sourcing Level>,
    argument12  
    =>  <Sourcing Level>,
    argument13  
    =>  <Inv Org Enable>,
    argument14  
    =>  <Inventory Organization>,
    argument15  
    =>  <Batch Size>,
    argument16  
    =>  <Gather Stats>
    Regards, Andrei

  • India localization receipt error, import standard purchase order interface

    Hi
    I created PO using PO interface and then imported PO in Incomplete status. Now after applying taxes(India localization) i send it for approval and then tried creating receipt. at this point i got an error message which is about trigger JAI_RCV_RT_BRIUD_T1 and some routine and all.
    After doing little diagnostic here and there, i found that If i create Manual PO and apply Taxes i.e. Open Purhcase Order(Localized) select line level click on "Taxes" and apply a Tax on it and precedence, just after "Rate" there is a field of Curr which is defaulted with INR.
    In case of Import PO, at order localized form when I apply Tax, the field Curr is Null.
    Now when I somehow put currency INR in imported PO(by making that field editable and taking INR from LOV) everything goes smooth.
    So my doubt is, why INR is not coming by default at Tax screen at PO localized form when i create PO using interface.

    Hi
    Do you have a copy of your insert statement?
    regards

  • Getting error after submitting import standard purchase order from localization responsibility

    Hi All,
    I have manully inserted data in header,line,distribution interface table like below
    INSERT INTO po_headers_interface
    (interface_header_id,process_code,action,org_id,document_type_code,document_num,currency_code,vendor_name,vendor_id,vendor_site_code,vendor_site_id,comments,
    vendor_doc_num,amount_agreed,effective_date,expiration_date,vendor_contact,approval_status,terms_id,agent_id,creation_date,created_by,last_update_date,last_updated_by)
    VALUES  
    (po_headers_interface_s.NEXTVAL,'PENDING','ORIGINAL','7046','STANDARD','454545','INR','Madhura Enterprises','40179',NULL,'13922','XYZ',null,null,sysdate,sysdate+10,null,
    'Approved',13922,25,SYSDATE,fnd_global.user_id,SYSDATE,fnd_global.user_id);
    INSERT INTO po_lines_interface
    (interface_line_id,interface_header_id,process_code,line_num,item_id,item_description,uom_code,unit_of_measure,quantity,unit_price,ship_to_organization_id,ship_to_location_id,
    need_by_date,promised_date,last_update_date,last_updated_by,creation_date,created_by,line_type_id,vendor_product_num,note_to_vendor,shipment_num,closed_code,closed_reason,CATEGORY_id,tax_code_id)
    VALUES
    (po_lines_interface_s.NEXTVAL,po_headers_interface_s.CURRVAL,'PENDING',1,'208956','ESSEL CAPITAL ITEM','Ea','Each',2,100,'7087',
    '22885',SYSDATE+1,SYSDATE+1,SYSDATE,fnd_global.user_id,SYSDATE,fnd_global.user_id,'1',NULL,'aaaaaa','1',NULL,NULL,'1','1000');
    INSERT INTO po_distributions_interface
    (interface_header_id,interface_line_id,interface_distribution_id,distribution_num,quantity_ordered,quantity_delivered,quantity_billed,quantity_cancelled,destination_type_code,deliver_to_location_id,
    deliver_to_person_id,charge_account,charge_account_id,creation_date,created_by,project_id,expenditure_item_date)
    VALUES
    (po_headers_interface_s.CURRVAL,po_lines_interface_s.CURRVAL,po_distributions_interface_s.NEXTVAL,'1','2',NULL,NULL,NULL,
    'INVENTORY','22885','24',NULL,'134793',SYSDATE,fnd_global.user_id,NULL,NULL);
    When i am submitting the standard program then i am getting following error---
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_ERR_UTL. Procedure add_fatal_error.0
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_ITEM_PROCESS_PVT. Procedure update_master_item.60
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_ITEM_PROCESS_PVT. Procedure create_items.60
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_MAINPROC_PVT. Procedure process_lines_add.70
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_MAINPROC_PVT. Procedure process_lines.10
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_MAINPROC_PVT. Procedure process.10
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_PVT. Procedure start_process.110
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    Please help me in this issue.. when i am running this on vision without tax code it is working fine.
    But in localization its not working. Basically i need to do scripting for india localization for Open PO.
    The application Details -
    RDBMS : 11.1.0.7.0
    Oracle Applications : 12.1.3

    please everyone do needful help on this..

  • Expense Item - Standard Purchase Order Import

    Hi all,
    I am using import standard purchase order - open interface to upload po from legacy system. I can do that with an inventory item, Can anybody tell me what are the mandatory column or requirements for an EXPENSE ITEM .
    I have given destination_type_code='EXPENSE' in po_distributions_interface , and given category_id , description . Even then po is not created.
    Its urgent.
    Thanks
    AADITYA

    Hi
    Do you have a copy of your insert statement?
    regards

Maybe you are looking for