API to add lines to an existing Standard Purchase Order on 11.5.8 version

Hello All,
Is there any API in Oracle 11.5.8 Version using which we can add a line to an existing open Standard Purchase Order.
In 11.5.10 we can do that using Purchasind document import program, how about 11.5.8, i am not able to find one.
Pls let me know the details, it is bit critical.
Regards,
Adarsh

Yes see http://oracle-ebspro.blogspot.com/2011/12/how-to-programmatically-close-po-using.html
Sandeep Gandhi

Similar Messages

  • Add the field in the standard purchase order

    Hi
      I have the requirement like this
    I want to add two extra field in the standard purchase order (Tcode me2n) and display the data.What are the process for that.
    Thanks
    Mrutyunjaya Tripathy

    hi,
    u have to use user exits for adding additional fields for ME2N....some of the exits available for this transaction are..
    MM06E001            User exits for EDI inbound and outbound purchasing documents 
    MM06E003            Number range and document number                             
    MM06E004            Control import data screens in purchase order                
    MM06E005            Customer fields in purchasing document                       
    MM06E007            Change document for requisitions upon conversion into PO     
    MM06E008            Monitoring of contr. target value in case of release orders  
    MM06E009            Relevant texts for "Texts exist" indicator                   
    MM06E010            Field selection for vendor address                           
    reward if useful

  • Modify and add new field in standard Purchase Order script

    Hi All,
           I have some problem with Modify and add some new fields in Standard Purchase Order script. From ME22n transaction code it display PO detail. In <b>item detail</b> with <b>condition</b> tab all data will display in Currently PO script output.
           But I want to display ME22n->Item Detail->Invoice->Taxes Data. how to display this data in standard PO script. All data are fetch from <b>Structure</b> like ( KOMV,KOMVD..etc) then How it can be Display?
    Waiting for Replay.
    Himanshu Patel.

    Work with an Abaper.Tell your requirement [ addition of a field] and ask him to include this field by using the functionality " Field Exit".

  • How to add Signatre to Standard Purchase Order Template XSL-FO

    I need to add digital signature to the standard Purchase Order Template which is sent to supplier.
    could you let me know the process.
    thanks
    Edited by: 855902 on May 24, 2011 8:00 PM

    Thanks for your response.
    I tried to change the code in below format but it was giving error.
    Original code
    <xsl:value-of select="LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE"/>
    modified to
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    also tried with
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd-mmm-yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    also tried like
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    Tried above 3 methods but it didn't work.
    right now the date format in pdf file is 24-MAY-2011 21:56:24 i need to remove 21:56:24 and have only 24-MAY-2011
    any suggestions.
    thanks

  • Add fields to Standard Purchase Order

    How can I change the standard order data definition. I need to add some fields that are not in the standard po definition.
    Must i add fields to po_headers_xml.
    But i think I also have to change the .xsd file. But how can I change them ?

    Nike,
    That is indeed the way of working but what I find strange is when you download the Standard Purchase order XSL-FO.
    You see that Oracle uses Boilerplate messages to fill up the labels on there PO
    print.
    These messages are hard coded in the procedure for generating the xml that is
    used for filling up the data of the database.
    For my customer it is useful to change the messages (labels) in the database
    and not in the template. Now why does the standard PO support this. It is build
    up with boilerplate messages ! And why can you not use these way of programming
    for your custom messages. Or will be this supported in the future?
    Maybe it is usefull to build up the part where the messages are selected in the
    PO_COMMUNICATION_PVT.POXMLGEN not hard coded but dynamicly. So you can set up
    which messages are used.Alse the part wich language the xml is generated based
    upon the language of the supplier. So that you can do View > Document in PO
    summary screen with the language of the supplier.
    These are the problems I have, it seems logical to me that the way the standard
    PO is presented, it also can be used in customisations.
    But these customisations are not supported.

  • 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

  • Need to modify Standard Purchase Order Stylesheet (PO_STANDARD_XSLFO.xsl)

    Hi
    We need to modify Standard Purchase Order Stylesheet (po_standard_xslfo.xsl) . Current stylesheet generating PO like the following.
    <FOR-EACH>
    ITEM_NUM
    ITEM_DESCRIPTION
    <FOR-EACH>
    SHIP_TO_ADDRESS_LINE1 NEED_BY_DATE QUANTITY
    </FOR-EACH>
    </FOR-EACH>
    Based on this, we are getting the output like this:
    Item Num 1
    Itme Description 1
    Ship To: Needed: Quntity
    1234. A1 Avenue JUL 200
    SomeCity, CA 90706
    1234. A1 Avenue AUG 200
    SomeCity, CA 90706
    4567 B1 Avenue JUL 100
    City2 , CA
    Itme Description 2
    Ship To: Needed: Quntity
    5689. c1 Avenue JUL 200
    SomeCity, CA 90706
    Our requirement is like this:
    Item Num 1
    Itme Description 1
    Ship To: 1234. A1 Avenue, SomeCity, CA 90706
    Month: JUL AUG SEP
    Quantity: 200 200 100
    Ship To: VVV4567 B1 Avenue , SomeCity, CA 90706
    Month: JUL AUG SEP
    Quantity: 100 200 100
    So we need to add ship_to group (ITEM/SHIP_TO) .
    How can we use group by item, ship_to..
    <fo:block> <xsl:value-of select="ITEM_NUM"/> </fo:block>
    <fo:block> <xsl:value-of select="ITEM_DESCRIPTION"/> </fo:block>
    <xsl:for-each select="/PO_DATA/LINES/LINES_ROW/LINE_LOCATIONS/LINE_LOCATIONS_ROW">
    <fo:block> <xsl:value-of select="SHIP_TO_ADDRESS_LINE1"/> </fo:block>
    <fo:block> <xsl:value-of select="substring(NEED_BY_DATE,4,3)"/> </fo:block>
    <fo:block> <xsl:value-of select="QUANTITY"/> </fo:block>
    </xsl:for-each>
    </xsl:for-each>
    In the above code I need split the data by ITEM_NUM/ SHIP_TO_ADDRESS_LINE1.
    I am new to xsl-fo. I tried different ways,but ship_to_address_line1 is generating wiith each quanty and need_by_date.
    Please guide me.
    Thank you
    Raju
    Edited by: subbaraju on May 7, 2009 2:36 PM

    Hi Chandra
    Thank you very much for your suggestion.
    I tried that way, I created some sample xml file, I created sample rtf file and I generated xsl-fo file. I copied the part of code into my PO_STANDARD_PO.XSL. I am getting some error.
    I noticed PO_STANDARD_PO.XSL is xsl version 1.0 and the generated sample data is with xsl version 2.0.
    The generated code is using “for-each_group”, “sum()”, “current-group()” etc. Is these functions will work in xslt 1? Or do we need to code different way?
    We are in Oracle APPS 12.0.4.
    Thank you
    Raju
    Edited by: subbaraju on May 26, 2009 11:56 AM

  • 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

  • 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

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

  • Logo on a Standard Purchase Order Stylesheet      Inquire -- View Document

    Hi
    I did add "LOGO" to Standard Purchase Order Stylesheet and customized required fields.but, something weird thing is happening.
    After changing the Setup to "Customized_Template" which is the new custom template in Document Types->Document type layout , I created new Purchase Order and when i opened document from Inquire -->View Document I see the PDF with the changes as implemented in custom template but i don't see the Log , the strange case is that when i copy this PO Tools-->Copy Document i will get a new PO here when i open the Inquire -->View Document i get the LOGO on the PDF document.
    Not sure why LOGO is not appearing for new purchase orders created, could you let me know how i can troubleshoot this?
    thanks
    praveen

    1. You don't create a new data definition. You create a new template and assign the seeded data definition to it. (XML Publisher Administrator).
    2. On our version of the EBS there is a parameter on the PO Output for Communication concurrent request which lets you specify the template to use. However for the normal day to day use you need to do the setup in Purchasing:
    Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF'
    setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to your new template.
    For the white paper on this see metalink doc id 387670.1 - Incidentally, when checking this I note that appendix C tells you how to change the logo in the XSL-FO template so that may give you a shortcut to your new PO Template. I haven't tried it though!
    Cheers,
    Dave

  • How to round unit price in XSL-FO Standard Purchase Order

    I have been trying to round the unit price of the Standard Purchase Order stylesheet that is written in XSL-FO. Please could someone suggest I how I could achieve this? As my attempt have been unsuccessful. In the stylesheet the following line of code returns the unit price.
    <xsl:value-of select="UNIT_PRICE"/>
    Thank you,
    Mark

    I assume you are talking about number formatting:
    You can use the XPATH function format-number:
    <xsl:value-of select="format-number(UNIT_PRICE,"####.#")"/>
    This will ONLY work if UNIT_PRICE is a correct XSL number (meaning no thousand seperator). Otherwise you can probabley remove the , out of say 1,234,567 using the
    translate function translate(UNIT_PRICE,",","") - Please check any XSL reference for additional information.
    Hope that helps,
    Klaus

  • BOM in standard PURCHASE order/requisition

    I would like to use BOM as a specification of a "group" of materials procured many times in the same or similar configuration.(eg. servers with specific configuration listing all parts).
    Is it possible, to use material BOM in standard purchase order (NEITHER SUBCONTRACTING NOR PRODUCTION ORDERS) as a kind of "recipe" for eg. server configuration.
    What I would like to achive is to reduce ammount of work in document entry. Instead of entering 30-50 position for each purchase requisition/order, I would like to use for this material BOM.
    Is it possible?
    If not, what other object can serve for preparing a list of materials to procure?
    How the buttons "BOM Explosion" and "Components" can be turned on on standard purchase order/requisition?
    Thanks in advance for help.
    Best regards,
    Wojciech

    Hi,
    To the best  of my knowledge - BOM's are used in the context of value addition say - a manufacturing or processing involved in converting the inputs to the final prodcut.
    While configurable items are used in a scenario where in a simple putting together / packaging in to a kit kind of activity is involved.In this scenario the final product is packaged to the requirements from picking the items of choice from the available prodcut list.
    As it seemed the requirement as indicated in the question are in line with this concept I had suggested this solution of usage of Configurable materials.
    I have not come accross a scenario of BOM and BOM explosion in Procurement excepet for Sub contracting.
    How ever , I appreciate if any one can share information on BOM & Explosion in  Purchase order.
    Hope this information helps.
    Thanks & regards
    Raghuramam

  • How to modify date format for Standard Purchase Order  Template XSL-FO

    I am editing the XSL-FO for the Standard Purchase Order.
    I need to modify the promised date column to 'DD-MON-YYYY’' , tried to use substring in below line but it didn't work
    <xsl:value-of select="LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE"/>
    Any solution for this ?
    thanks
    Pravin

    Thanks for your response.
    I tried to change the code in below format but it was giving error.
    Original code
    <xsl:value-of select="LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE"/>
    modified to
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    also tried with
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd-mmm-yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    also tried like
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    Tried above 3 methods but it didn't work.
    right now the date format in pdf file is 24-MAY-2011 21:56:24 i need to remove 21:56:24 and have only 24-MAY-2011
    any suggestions.
    thanks

Maybe you are looking for