Standard Purchase Order in Pre-Approved status

Hi,
When I approve the standard PO, it's goes into Pre-Approved status.Following error found in workflow.
Failed Activity Reserve Document
Workflow Errors: POAPPRV, 13-45, 63544
Activity Type Function
Error Name WFENG_ITEM_ATTR
Error Message 3103: Attribute 'DOCUMENT_ID' does not exist for item 'POAPPRV/13-45'.
Error Stack PO_REQAPPROVAL_ACTION.ReserveAutonomous(010) PO_REQAPPROVAL_ACTION.ReserveDoc(ReserveDoc 020: Doc Header Id = 13) PO_REQAPPROVAL_ACTION.Reserve_Doc(POAPPRV, 13-45, PO_REQAPPROVAL_ACTION.Reserve_Doc: 01) Wf_Engine.GetItemAttrNumber(POAPPRV, 13-45, DOCUMENT_ID) Wf_Engine_Util.Function_Call(PO_REQAPPROVAL_ACTION.RESERVE_DOC, POAPPRV, 13-45, 170068, RUN)
Please help to resolve.
Thanks
Regards
GSM

Hi,
Thanks.
Doc ID 563649.1 is applicable.As per doc suggest to apply 1) patch 6717387 2) patch 5251823 & 3) patch 5263523.
But which patch should I apply.
Thanks
Regards
GSM

Similar Messages

  • Purchase order in 'awaiting approval' status but no approval required

    Hi
    I am using SRM 4.0 SP 13. There is a purchase order which shows that no approval is required in the approval tab, but the overall status is 'awaiting approval'. Please can you advise if this is a Support pack issue? I have checked the workflow WS14000075 which is active.
    Regards
    Rajeev

    Hi
    You would need to check if the workflow has been able to release the PO properly. Only after successful release completion by workflow, PO status gets changed to ordered from awaiting approval. Check the workflow log to see if there are any errors. Use txn-SWI1 or SWI6 to go into workflow log. Also reactive your workflow WS14000075 using txn swdd and try creating new PO.
    Regards,
    Sanjeev

  • 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

  • Can we setup automatic sourcing for standard purchase order

    hi all,
    can we setup automatic sourcing for standard purchase order. i have done automation for bpa. can anyone help me in setting up automatic sourcing for spo.
    thanks.

    Hi,
    In order to create a Standard PO from requisition automatically, Requisition should be sourced to Contract Purchase agreement / Quotation / Global BPA.
    Please create ASL, Sourcing Rule and Assign the sourcing rule in Assignment Set.
    Also Set the Profile option "PO: Automatic Document Sourcing"
    Refer the note
    Automatically Create PO's from Drop Ship Requisition (Doc ID 835412.1)
    How to Create an Automatic Standard Purchase order for an Approved Purchase Requisition Sourced to a Contract Purchase Agreement (CPA) (Doc ID 334601.1)
    Thanks,
    Subhashini

  • Unable to approve standard Purchase order

    Hi ,
    We are into 11.5.10.2 , We are getting following error when trying to approve the purchase order by approver . PO Status is in "Pre approved"
    unable To Approve Standard Purchase Order 975761
    Line # 17 At least one or more item attributes failed validation.
    Action: Verify values for the following attributes: purchasing_enabled_flag, stock_enabled_flag, outside_operation_flag and bom_item_type.
    Please, fix the problem and try approving again from this notification or send the document back to the preparer.
    PO is going to top Hierarchy inspite of having enough aprroval limits .
    Item attributes was set to Inactive in Master Level and was active in Organization items . Changed to Active in Master Item and still getting the issue .
    PO is getting forwarded to next approver and finally it is in "pre approved status " with above error
    Thanks in Advance
    Kiran

    Hi Kartik,
    1) In Item Master , status is set to OBSOLETE and purchasable check box is unchecked . Item master organization was set in purchasing options .
    2) Organization item , status is Active . stockable and Purchasable check boxes are checked and outside processing item unchecked . This is receiving org in Purchasing .
    I think Purchasing is considering Master org status as it is validation org for purchasing .
    Thanks
    Kiran

  • How does a Purchase Order get into 'Approved, Reserved' status?

    How does a Purchase Order get into 'Approved, Reserved' status?

    Hi,
    When an approved purchase order is unreserved and the GL date is modified and re-submitted for approval, the document (PO) gets reserved and approved status.
    I believe you put this question in a wrong thread (Financial), next time onwards, please put your question in correct thread and I am sure you will get the solution faster :).
    Regards,
    S.P DASH

  • Standard Purchased Order Re-approval (R12.1.3) - Reg

    Hi Friends,
    I couldnt able to generate a re-approval notification for the Standard Purchase Order.
    My higher approvers dont want to re-approve the approved purchased order again with in the tolerance days, if the days exceeds the tolerance days then needed re-approval.
    Flow as follows:
    1. Needed by date set to 150 days in Tolerance and Routing.
    2. Created a standard PO  with a current date as 28-10-2013 and got approved with the higer approvers.
    2. Now i have changed the needed by date to 25-03-2013 (148 days- with in tolerance days), got re approved at the user itselft with a revision.
    3. Now i have changed the needed by date to 31-03-2013(above 150 days) now  a re-approval notification should go to the hierarchy approvers.
        But in my case the re-approval notification is not generating.
    Kindly look into this issue and suggest me as the earliest.
    Thanks

    SQL> alter package APEX_030200.WWV_FLOW_JOB compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show errors;
    Errors for PACKAGE BODY APEX_030200.WWV_FLOW_JOB:
    LINE/COL ERROR
    21/3 PL/SQL: SQL Statement ignored
    21/15 PL/SQL: ORA-00942: table or view does not exist
    82/3 PL/SQL: SQL Statement ignored
    84/10 PL/SQL: ORA-00942: table or view does not exist
    SQL> alter package APEX_030200.WWV_FLOW_PLSQL_JOB compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show errors;
    Errors for PACKAGE BODY APEX_030200.WWV_FLOW_PLSQL_JOB:
    LINE/COL ERROR
    66/5 PL/SQL: SQL Statement ignored
    66/17 PL/SQL: ORA-00942: table or view does not exist
    122/5 PL/SQL: SQL Statement ignored
    122/17 PL/SQL: ORA-00942: table or view does not exist
    154/3 PL/SQL: SQL Statement ignored
    154/15 PL/SQL: ORA-00942: table or view does not exist
    SQL>
    Thanks,
    Raj

  • 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.

  • 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

  • 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

  • STANDARD PURCHASE ORDER에 대한 ARCHIVE DATA 읽는법

    제품 : MFG_PO
    작성날짜 : 2005-11-08
    STANDARD PURCHASE ORDER에 대한 ARCHIVE DATA 읽는법
    ==================================================
    PURPOSE
    Standard Purchase Order에 대한 archive data 읽는법을 알고 이를 issue
    해결에 사용할 수 있다.
    (R11 ~ R11i)
    Explanation
    Standard PO no 125가 생성되고, 이 PO는 하나의 line,shipment,distribution
    을 가지고 있다고 가정한다.
    User가 이 PO를 approve 했고 status는 'Approved' 상태라고 가정한다.
    또한 Standard PO document type이 'Archive on Approve'로 setting 되어 있
    다고 가정한다.
    아래는 Tables에서 data가 어떻게 보이는지를 보여준다...
    PO_HEADERS_ALL:
    PO_HEADER_ID SEGMENT1 REVISION_NUM
    888 125 0
    PO_HEADERS_ARCHIVE_ALL:
    PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
    888 0      Y
    PO_LINES_ARCHIVE_ALL:
    PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
    888 777 1 0 Y
    PO_LINE_LOCATIONS_ARCHIVE_ALL:
    PO_LINE_LOCATION_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
    555           777 1 0 Y
    PO_DISTRIBUTIONS_ARCHIVE_ALL:
    PO_DIST.ID PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
    222 888 777 1 0      Y
    이때 PO에 새로운 line을 추가하고 approve를 한다.
    관련된 tables의 변화를 볼 수 있다.
    PO_HEADERS_ALL:
    PO_HEADER_ID SEGMENT1 REVISION_NUM
    888 125 1 <- because we added a line
    PO_HEADERS_ARCHIVE_ALL:
    PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
    888     0 N
    888 1 Y <-- latest rev on the header is now 1
    PO_LINES_ARCHIVE_ALL:
    PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
    888 777 1 0 Y <--note line 1 didn't change
    888      778 2 1 Y <--note line 2 was created in rev 1
    PO_LINE_LOCATIONS_ARCHIVE_ALL :
    PO_LINE_LOCATION_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
    555 777 1 0 Y
    556 778 2 1 Y <--note line 2 was inserted
    PO_DISTRIBUTIONS_ARCHIVE_ALL:
    PO_DIST.ID PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
    222 888 777 1 0 Y
    223 888 778 2 1 Y <--note line 2 was inserted
    PO header만 변경 후 approve를 한다.
    PO_HEADERS_ALL과 PO_HEADERS_ARCHIVE_ALL tables 만 유일하게 영향을 받을 것이다.
    PO_HEADERS_ALL:
    PO_HEADER_ID SEGMENT1 REVISION_NUM
    888 125 2
    PO_HEADERS_ARCHIVE_ALL:
    PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
    888 0 N
    888 1 N
    888 2          Y
    Line1의 수량을 변경한다. shipment나 distribution은 변경하지 않는다.
    PO_HEADERS_ALL:
    PO_HEADER_ID SEGMENT1 REVISION_NUM
    888 125 3
    PO_HEADERS_ARCHIVE_ALL:
    PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
    888 0 N
    888 1 N
    888 2 N
    888 3 Y
    PO_LINES_ARCHIVE_ALL:
    PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
    888 777 1 0 N <---latest ext flag
    change to N
    888 777 1 3 Y <--this row inserted rev num matches header revision in which change was made.
    Lower rev for this line had latest external flag changed to N.
    888 778 2 1 Y <--no changes
    All other tables do not change.
    PO line에 세번째 line을 추가 후 다시 approve를 한다.
    PO_HEADERS_ALL:
    PO_HEADER_ID SEGMENT1 REVISION_NUM
    888 125 4
    PO_HEADERS_ARCHIVE_ALL:
    PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
    888 0 N
    888 1 N
    888     2 N
    888 3 N
    888 4 Y
    PO_LINES_ARCHIVE_ALL:
    PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
    888 777 1 0 N <---didn't change
    888 777 1 3 Y <---didn't change
    888 778 2 1 Y <---didn't change
    888 779 3 4 Y <--line 3 added to lines archive.
    PO_LINE_LOCATIONS_ARCHIVE_ALL:
    PO_LINE_LOCATION_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
    555 777 1 0 Y
    556 778 2 1 Y
    557 779 3 4 Y<--line 3 added to archive.
    PO_DISTRIBUTIONS_ARCHIVE_ALL:
    PO_DIST.ID PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
    222 888 777     1 0 Y
    223 888 778 2 1 Y
    224 888 779 3 4 Y<--line 3 added to archive.
    마지막 test로 2번째 line의 distribution 정보를 변경 후 PO를 다시 approve한다.
    PO_HEADERS_ALL:
    PO_HEADER_ID SEGMENT1 REVISION_NUM
    888 125 5
    PO_HEADERS_ARCHIVE_ALL:
    PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
    888 0 N
    888 1 N
    888 2 N
    888 3 N
    888 4 N
    888 5 Y
    PO_LINES_ARCHIVE_ALL:
    PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
    888 777 1 0 N <---didn't change
    888 777 1 3 Y <---didn't change
    888 778 2 1 N <--latest ext flag when to N
    888 778 2 5 .Y <--row inserted & latest ext flag set to Y
    888 779 3 4 Y <---didn't change
    PO_DISTRIBUTIONS_ARCHIVE_ALL:
    PO_DIST.ID PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM
    LATEST_EXTERNAL_FLAG
    222 888 777 1      0 Y
    223 888 778 2 1 N <--latest ext flag set to N
    223 888 778 2 5 Y
    224 888 779      3 4 Y
    Reference Documents
    Note 251537.1

    the error might be that you are just executing programs and you dont know the correct chain.
    Better you do archiving always from SARA transaction
    there you enter the object MM_EKKO and hit enter.
    You get a button for each step.
    first you usually have a preprocessing step which sets the deletion indicators
    next step is the write step. you always have to check the log and the spool file to be certain that you had written records to an archive. A bigger archiving step may write several archives depending on the customizing of file size.
    In the delete step you have to select from against which archive you want delete the records from the table.
    SAP checks then if the archive can be read and deletes the corresponding tables entries in EKKO and EKPO and all other related tables.
    Depending on customizing the Delete step can be an automatic executed step when the write job has finished, and does not need to be executed manually.
    after the deletion you usually store the archive somewhere.
    The administer button can give you info about the archive  run and files that were created and the status.

  • 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

  • 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

  • Standard purchase order upload to oracle

    hi,
    we are on oracle apps 11i, database 9i.
    I have a custom requirement that requires importing purchase orders to Oracle Apps through database. I was advised to use the following interface tables:
    PO_HEADERS_INTERFACE
    PO_LINES_INTERFACE
    PO_LINE_LOCATIONS_INTERFACE
    PO_DISTRIBUTIONS_INTERFACE
    insert the data to these tables using a PLSQL procedure and then running the program IMPORT STANDARD PURCHASE ORDERS from front end.
    If someone confirms the above is the right method, it would be appreciated.
    thanks & regards

    Looks correct. Refer to the below links.
    http://docs.oracle.com/cd/E19509-01/820-4390/ggtjd/index.html
    http://api-wizard.blogspot.com/2012/10/purchase-order-import.html
    http://raghuoaf.blogspot.com/2012/03/po-creation-and-import-po.html
    Thanks
    Shree

  • Customized R12 Standard Purchase Order report with custom data and layout

    Hi all,
    We need to customize the seeded Purchase Order report in R12 to add an additional section to include cost data coming from our custom table. The key is that our customized report should be launched instead of the seeded report via various PO forms (e.g. View Document menu option, PO Communications form to email, fax and print PO, etc).
    I manually set up a custom Document Type Layout for the Document "Standard Purchase Order" to use my customized template so my custom layout is shown instead of the R12 layout, but according to Oracle support the report can only draw data from a set of seeded Oracle views like po_headers_xml,po_lines_xml etc.
    Any suggestions how we can add our custom data to PO report in R12?
    Thanks! Mike.

    Hi Mike
    thats a tough one, the PO generation is a bit restrictive to say the least when it comes to customizing. It sounds like you have worked out how to get your own template in there to render the PO.
    On the data front, all I can think of is to customize and replace the seeded PO view with one that incorporates your extra data.
    Or, get into the page customization world and write your own extract and format concurrent program/procedure and then hook it onto the buttons where you want to launch it.
    You might have more luch, response wise from the EBS PO forum.
    Procurement : Procurement
    OAF: OA Framework
    Regards
    Tim

Maybe you are looking for

  • Credit Memo distribution issue..

    Strange Credit Memo Distribution In the distribution of credit memo, revenue posted 5 times for each line. can any one please help & let us know the reason. Thanks, Atul

  • HT4623 How do I go back to iOS5 from iOS6

    How do I get rid of iOS6. Google maps was one of my most used apps and its been replaced with the less than adequate apple maps. I  want to go back to iOS5.

  • ROXIO MEDIA MANAGER - Desktop manager

    Just got my Storm 9530! All is good except when installing Desktop Manager 4.7 the installation process stops when it tries to install Roxio Media Manger. near the end of the installation I get this window: Roxio Media Manager Error 1402 Could not Op

  • Looking for printer driver

    Hi, I'm looking for a third party driver for canon b&w laser model;lbp1120 any experiences or suggestions appreciated

  • Sprachausgabe Adobe Reader XI funktioniert nicht

    Hallo, die Sprachausgabe funkioniert nicht. Es sollen damit englische Texte vorgelesen werden. Folgende Stimmen stehen im Reader zur Auswahl: "Microsoft Anna - Englisch (US)", "Mary", "Mike" - wenn sie eingestellt werden tut sich garnichts; bei "Samp