Buyer update on a purchase order

Does anyone know what interface or api I can use to update purchase order? I want to just update the field of the buyer.

I tried the following code and it fails with this error message:
"You must enter a value in all the required fields.
Cause: You tried to leave the area without entering a value in all the required fields.
Action: enter a value in the required fields. »

DECLARE
l_status number: = NULL;
v_error_message VARCHAR2 (2000);
l_api_errors apps.po_api_errors_rec_type;
l_user_id NUMBER;
l_resp_id NUMBER;
l_appl_id NUMBER;
BEGIN
SELECT user_id
IN l_user_id
OF fnd_user
WHERE user_name = "P21734";

SELECT responsibility_id, application_id
IN l_resp_id, l_appl_id
OF fnd_responsibility_vl
WHERE responsibility_name = 'shopping Super User ";

fnd_global.apps_initialize (l_user_id, l_resp_id, l_appl_id);

FOR C IN (select PO.segment1, in. REVISION_NUM
of po_headers_all in.,.
hr_employees em
where po.agent_id = em.employee_id
and em.full_name in ("Judd, Joy", "Guzman, Melissa")
and po.closed_code = 'OPEN')
LOOP
V_ERROR_MESSAGE: = NULL;
l_status: = PO_CHANGE_API1_S.UPDATE_PO (X_PO_NUMBER = > c.segment1,)
X_RELEASE_NUMBER = > null,
X_REVISION_NUMBER = > C.REVISION_NUM,
X_LINE_NUMBER = > null,
X_SHIPMENT_NUMBER = > null,
NEW_QUANTITY = > null,
NEW_PRICE = > null,
NEW_PROMISED_DATE = > null,
LAUNCH_APPROVALS_FLAG = > NULL,
Source_de_la_mise_a_jour = > null,
VERSION = > ' 1.0', '.
X_OVERRIDE_DATE = > null,
X_API_ERRORS = > l_api_errors,
P_BUYER_NAME = > "Budrius, Denise");

dbms_output.put_line ('PO #: ' |) C.SEGMENT1);
IF (l_status = 0)
THEN
BECAUSE me in 1... l_api_errors. MESSAGE_TEXT. COUNTY
LOOP
v_error_message: =.
v_error_message
|| ' '
|| l_api_errors. MESSAGE_TEXT (i);
END LOOP;
dbms_output.put_line (V_ERROR_MESSAGE);
END IF;

END LOOP;
END;

Any help would be appreciated. Thank you!

Instead of an API, see if you can run concurrent demand for 'Purchasing Documents mass update'.

Hope this helps,
Sandeep Gandhi

Tags: Oracle Applications

Similar Questions

  • Unable to print the purchase order

    We have a buyer who left our society and we must close their account and the end of the user account used Oracle date to satisfy the audit, but we can't print it orders now?

    Thanks for any help on this

    Hello
    As a solution, have you tried the option "Update statement IN. mass"... Through this process, you can update old name of the employee (who resigned) with an existing employee. Once it's done, try printing the purchase order by using the credentials of the employee of the new connection...

    We know if this approach works for you.

    Kind regards
    S.P DASH

  • I need to get a discount on a purchase order do not advance a rate

    I need to apply a discount on a purchase order and do not want to use advance pricing

    How can I do?

    is there a solution?

    tiny customization?

    only I need to get the price list and discount get the final net price

    Hey m,

    There is a more common requirement raised by many customers, please note the following

    (a) a purchase order is not a negotiating document, is a document authorizing the delivery of goods at an agreed price. Rationally so it can a discount on a purchase order

    (b) where the buyer feels the need to highlight the savings realized by him, he can use the field 'Market price' to enter the previously negotiated the issue price.

    (c) at the end of the quarter, you can run a report entitled "savings by the buyer" which will highlight the cumulative discounts obtained by the buyer.

    If still need be, create a FDF at header level called discount percentage, you enter a value, decrement, all prices evenly through elements using a custom pl/sql procedure.

    Rgds,

    Aerts

  • How can I find applicant, trainer and owner of a purchase order?

    Hello

    I know that the buyer is the agent_id in the po_headers_all table.

    But how to find the applicant and the trainer/owner of the Po?

    How to get populated these values?

    What happens if the OP is no contact? How the preparer attribute is filled?

    Thank you

    Hi Sudarshan,
    Your question is: which can be the preparer if the purchase requisition for the purchase order is being prepared since iProcurement and PO is created automatically with AUTOMATIC workflow without intervention of the buyer?

    Rep. (: a) when you create an application for assistance iProcurement (catalog request), normally looking under shop items that are related to BPA. When requisition is approved then standard order is created auto and auto approved IN. Std bears the name of the buyer of the BPA that was used when creating the application.

    (b) to request off catalog (request from) / martForm he refer the PRM to the buyer when creating a PO STD.

    Earlier you asked: How do I find the applicant and the trainer/owner of the Po? How to get populated these values?

    Rep. : Sandeep said correctly that there is no concept of the applicant/preparer etc. in PO,... The buyer of the order is considered as applicant and trainer/owner of the Po. This is completed as mentioned above in paragraph has).

    Kind regards
    S.P DASH

  • updates are planned in order to install when it updates and I made it impossible to get on internet explore? __

    updates are planned in order to install when it updates and I made can not get on internet explore

    Hi Marc,

    • You receive an error message when you try to access the internet?

    I suggest you to reinstall the update from Windows update and reproduce the error and check the update is the origin of the problem and after return.

    Step 1

    You can check which was the update has been installed on the computer and after return. To view the update history, follow the steps below:

    a. open the Control Panel, select display by the small icon and click the Windows Update icon.

    b. click on the link to view update history.

    to view the details of a single Windows Update. Select and right-click on a Windows Update list, and then click details.

    Step 2

    You can also access see installed updates on your computer and check the updates have been installed on your computer until this problem started and after return to the update's KB number.

    To do this follow the steps below:

    a. click the Start button.

    b. click Control Panel.

    c. click on programs and then, under programs and features, click on view installed updates.

    Uninstall the update has been installed before this problem began, view installed windows updates and see if it helps you to solve the problem.

    Step 3

    You can try to download the stand alone, updates and try to install it and check if it helps.

    To download the standalone version of windows updates follow the steps below:
     
    a. take note of the update with the Ko only when your computer tries to update and install it.
    b. visit the following Microsoft Web site: http://www.microsoft.com/downloads/Search.aspx
    c. search by downloading the update.
    d. save it on the desktop.
    e. try to install it manually.

    Step 4

    You can also try self-test built in Windows 7 Internet Explorer troubleshooting after you install the update and check if that helps you solve the problem.

    To run the Internet Explorer troubleshooter, follow these steps:

    a. close all programs.

    b. Click Start and then click Control Panel.

    c. under system and security, click on find and fix problems.

    d. in the left pane, click View all.

    e. click Internet Explorer Performance. This opens a new window.

    f. click Next.

    (g) the resolution of the problems run and try to solve all the problems identified automatically. Click Close.

    After the store has run successfully, check to see if you receive the same error.

    Also access the link below and follow the steps to solve the problem with Internet Explorer.

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-solving-problems-with-Internet-Explorer

    Hope this helps and let us know the result.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • How can I open a purchase order that has been closed for a reception


    have a couple IN. that tolerance was set to 100%, while they were closed for the reception following the approval.   How to open them again please.

    Thank you, Scott

    Hello

    Please follow the steps below:

    1. go to the purchase of Super User RESP > orders > purchase order summary

    2 ask the PO you want to open

    3. click on tools > control and choose "Open to receive.

    This will open all the lines if you wanty to open a specific line press the button lines and click Tools > control

    You can also open by shipping as well by pressing the Send button by clicking Tools > control

    Hope this helps,

    Please mark responds 'Proper' or 'Useful', as appropriate, to facilitate solutions to the other participants in the community

  • Why this error is coming "APP-PO-14082: a Charge IN account is mandatory and cannot be determined" while creating a purchase order manually?

    Dear Experts,

    I am creating a purchase order manually from the purchase order. The type of line IN is goods and shipped to Destination is the inventory. If naturally on behalf of fees of PO on the Distribution line must be the material the Destination Organization account (configuration > organization > settings > information of costs) and the accrual account should be the accumulation of AP account financial possibilities of purchase installation.

    I checked the configurations above and accounts are registered properly there.

    Even if, after entering the shipping information, I get the error message above - "APP-PO-14082: a Charge IN account is mandatory and the Workflow of Builder account cannot process the same.

    You never had such scenario? Can you please help here?

    Thank you

    Golliet

    Yes, you are right, accounts for the PO document for destination inventory would be by default based on the stock material organization account configuration and control unit.

    The account generator workflows is responsible for failed all these information.

    The error could be due to people with disabilities of any procedure used in this flow, or what validation setup for one of the segments of the accounting, etc..

    Check if you have the same problem of creation of requisition for the same point, or check if you can post a journal entry manual for the account string that must be the charge account. These are to eliminate the problem of installation or system.

    If all fail, best way to learn what could be the error is to gather a DNF note as R12 use debugging: how to get the Debug Log DNF for on-line process and concurrent requests (Doc ID 1320736.1)

    The debug file could be light on what might be incorrect, or where the error can be.

    I hope this helps.

    Released

  • purchase order, shipping instructions

    We need to specify a statement special expedition to the supplier for a particular item at point of purchase. The requirement is that the statement automatically when all come a purchase order is created for this article

    Hi Martin,

    The other option is to enter shipping instructions using the "Note to provider" field under the purchase order > "More" tab or "Provider Note" field to the title of the order > 'Terms and conditions '.

    System will print these instructions on the order form once printed and therefore, you will integrate shipping instructions notes in the purchase order.

    Unfortunately, it is not possible to send a note based on article because there is no standard functionality to support this

    Hope this helps,

    Please mark responds 'Proper' or 'Useful', as appropriate, to facilitate solutions to the other participants in the community

  • exclude bills with some SOUL purchase order approvals in Payables

    Hello


    I configured SOUL for accounts payable module but it request approval for invoices who have associated purchase order, I need to exclude these bills.


    Use of attribute SUPPLIER_INVOICE_MATCHED but still keep looking approval accounts payable for these invoices


    J’ai pu say How to do?


    Thank you


    Claudia Soto

    Your production of invoice match cheque header rule should be as below.

  • API to create the purchase order in the Oracle applications?

    Hi all

    Can you please tell me the API to create the purchase order in the Oracle Applications.

    Hello

    Please read the screenshot. There is no standard API to create a purchase order.  Better go to the open Interface to create the purchase order.

  • Find the purchase order ADF service

    Hello

    Hoping that you can help with the search service to FIND criteria.

    I am able to retrieve an entire purchase order and all child objects by using the service.  When I try to reduce the result set to return only the PO_LINE_ID, the service seems to ignore my child criteria.

    I think it's a problem with my childAttrName entry: I tried PurchaseOrderEntryLine, purchaseOrderEntryLine and PurchaseOrderLine.

    Thank you

    Here's my envelope:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderServiceV2/types/" xmlns:typ1="http://xmlns.oracle.com/adf/svc/types/">
       <soapenv:Header/>
       <soapenv:Body>
          <typ:findPurchaseOrderByOrderNumber>
             <typ:findCriteria>
                <typ1:fetchStart>0</typ1:fetchStart>
                <typ1:fetchSize>-1</typ1:fetchSize>
                <typ1:findAttribute>POHeaderId</typ1:findAttribute>
                <typ1:findAttribute>OrderNumber</typ1:findAttribute>
                <typ1:excludeAttribute>false</typ1:excludeAttribute>
                <typ1:childFindCriteria>
                   <typ1:fetchStart>0</typ1:fetchStart>
                   <typ1:fetchSize>-1</typ1:fetchSize>
                   <typ1:findAttribute>POLineId</typ1:findAttribute>
                   <typ1:excludeAttribute>false</typ1:excludeAttribute>
                   <typ1:childAttrName>PurchaseOrderEntryLine</typ1:childAttrName>
                </typ1:childFindCriteria>
             </typ:findCriteria>
             <typ:OrderNumber>DB104</typ:OrderNumber>
             <typ:SoldToLegalEntityId>300000000781286</typ:SoldToLegalEntityId>
             <typ:findControl>
                <typ1:retrieveAllTranslations>false</typ1:retrieveAllTranslations>
             </typ:findControl>
          </typ:findPurchaseOrderByOrderNumber>
       </soapenv:Body>
    </soapenv:Envelope>
    

    I'm not sure that I understand the requirement. Assuming that the name of the child attribute is "PurchaseOrderEntryLine" I think you need to add to the 'mother' would find criteria. If I understand correctly you need to have something like:

    POHeaderId

    OrderNumber

    PurchaseOrderEntryLine 

    to add the child to the result set. Also if your plan is to filter based on the order number etc. I think that there should be a filter. See an example of a similar case in the PDF file linked above in the section "example of building blocks 3 - findLocation.

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • Web service - creation of purchase order

    Hello

    I'm about to start the construction of a proof of concept around to integrate a site system on with merger of cloud.

    One of the requirements is to create a purchase order in Fusion on demand using data from the site system on.

    I'm pretty comfortable with the whole process having similar with a Journal entry.

    However, the web service to create PO is much more complex than newspapers and I know that I'm likely to spend an amount disproportionate time trying to find the SOAP payload.

    Someone at - it an example of the minimal SOAP envelope required.  The WSDL requires that all fields are optional, which is clearly not the case.

    Thank you

    David, there is a document with examples available on the Support site:

    Doc support ID - 1940817.1

    Hope this helps,

    Oliver

    Fusion applications Developer Relations

    https://blogs.Oracle.com/fadevrel

  • Is there a way applicants can finally close a purchase order of iProcurement

    Hello

    Is it possible to FINALLY CLOSE a purchase order using iProcurement?

    I know that applicants may cancel assistance iProcurement. They finally close the purchase order as well.

    Kind regards

    Simona

    N ° order cannot be closed or permanently closed of iProcurement.

  • Purchase order preferences?

    Hello

    How to buy the Preferences command help? What is its use?

    I don't have to buy the super user > summary of purchase order > tools > Preferences

    Kind regards

    Pavla

    Hello

    Purchase order preferences window to enter information about preferences for the purchase order lines, expeditions, distributions and releases. You can save time and effort by entering valid values by default here. When you save your work in the area of replacement of lines in the command window, purchases creates an expedition using the Organization and the place of delivery if you have provided valid values in the defaults area.

    To display further information: purchase order entering Preferences (Oracle purchase help)

  • Account distribution for applications creation and purchase orders.

    Hi all

    creating purchase order if we select on a/c load on distributions, it automatically fill a / cs as expenses a/c, a/c, a/c accrual budget and the a/c variance. I want to where we need to define those.

    I know it will be filled with account generator. but I want to know where I have to set up these accounts. ?

    Thanks in advance

    If asked to inventory items then the account charge is filled by the mentioned material account on setting of organization of the inventory, for fees, whether the applicant HR maneuver. Spending for the purchase of the Oracle account rule configuration can also be configured to replace one of the segment account to a specific value. All other accounts are financial Options.

Maybe you are looking for

  • iMac does not stop

    After the upgrade to 10.11.6:- 1. my iMac (21.5 in. 500 GB) used stop - it just goes to the picture of the screen. + pointer. 2. after a forced shutdown it starts very slowly with many "beach ball". 3. many applications also takes ages to open (with

  • Problem with the keyboard and audio on Satellite L40

    Hello worldI just installed XP SP2 on my Satellite L40 (BTW thanks to all of you who helped me overcome the problems during this operation with your son), but I have a problem with my keyboard. I have a QWERTY keyboard and after I installed xp, he wo

  • Lost volume after connecting the external hard drive

    I had some movies I wanted to copy in one of my sharing folders, so I tied a drive hard usb at the back of my camera, but the nas don't seem to notice. I rebooted my nas and all of a sudden my internal volumes were absent and did not show the externa

  • network printer sharing Kodak 3250 connected to my WINDOWS 7 (32 bit) desktop computer with my XP (32 bit) desktop (I lost the installation disc.)

    I spent too much time trying to do.  When I 'Browse' for printer, it does not work, I do not know "computer / / printer...» "I don't know how to find the 'URL '. I have searched the HELP (?) with no results, in fact, when I search help and ask a very

  • understand an empty space

    The error:Error occurred while processing requestInvalid list index 16.In the function ListGetAt (list, index [, delimiters]), the index value, 16, is not valid as the first argument (this list has 15 items). Valid indexes are between 1 and the numbe