Can not update PO via update_po api and getting error in Budgetary Control

Hi all,
I am trying to update PO by calling update_PO API. I am trying to follow the manual but am getting an error and can't update the PO. Here is the code:
declare
l_result NUMBER;
l_api_errors apps.po_api_errors_rec_type;
l_version_no NUMBER := 0;
l_po_header_id po_headers_all.po_header_id%TYPE;
l_po_original_amount NUMBER;
v_po_updated_price NUMBER;
l_oracle_promised_date DATE;
v_vendor_site_id po_headers_all.vendor_site_id%TYPE;
l_vendor_site_code po_vendor_sites_all.vendor_site_code%TYPE;
l_return_status VARCHAR2 (2000);
     v_error_message VARCHAR2(2000);
BEGIN
l_version_no := 0;
l_po_header_id := 0;
v_po_updated_price := 0;
v_error_message := NULL;
BEGIN
SELECT revision_num, po_header_id, vendor_site_id
INTO l_version_no, l_po_header_id, v_vendor_site_id
FROM po_headers_all
WHERE segment1 = '*****' --<PO#>
AND type_lookup_code = 'STANDARD';
END;
dbms_output.put_line('l_version_no is ' ||l_version_no);
--Getting 0 here          
BEGIN
          l_result := PO_CHANGE_API1_S.record_acceptance(
                    x_po_number => '****', --PO#
                    x_release_number => null,
                    x_revision_number =>l_version_no,
                    x_action => 'NEW',
                    x_action_date => null,
                    x_employee_id => 1359,
                    x_accepted_flag => 'Y',
                    x_acceptance_lookup_code => 'ACCEPT WITH CHANGES',
                    x_note => 'All valid',
                    x_interface_type => 'APITEST',
                    x_transaction_id => null,
                    version => '1.0');
          dbms_output.put_line('Record Acceptance l_result is '||l_result);
--Getting 1 here. Success.
l_result :=
po_change_api1_s.update_po
(x_po_number => '****', --PO#
x_release_number => NULL,
x_revision_number => l_version_no,
x_line_number => 1,
x_shipment_number => NULL,
new_quantity => 10,
new_price => NULL,
new_promised_date => NULL,
launch_approvals_flag => 'Y',
update_source => NULL,
VERSION => '1.0',
x_override_date => NULL,
x_api_errors => l_api_errors,
p_buyer_name => NULL
EXCEPTION
WHEN OTHERS
THEN
dbms_output.put_line('error is ' ||SQLERRM);
END;
dbms_output.put_line('l_result is '||l_result);
--Getting 0 here.... Failure
IF (l_result <> 1)
THEN
FOR i IN 1 .. l_api_errors.MESSAGE_TEXT.COUNT
LOOP
v_error_message :=
v_error_message
|| ' '
|| l_api_errors.MESSAGE_TEXT (i);
END LOOP;
END IF;
COMMIT;
END;
Final error message is:
Supplier site is either exempt from CCR registration or has not been added to agency vendor. Procedure PSA_FUNDS_CHECKER_PKG.glxfck returns an error without any details to the calling procedure PO_ENCUMBRANCE_POSTPROCESSING.execute_gl_call. Please contact your support representative. Your Budgetary Control action completed with exceptions. DO_UNRESERVE-100: User-Defined Exception
Cause: A SQL error has occurred in DO_UNRESERVE. The SQL error is User-Defined Exception.
Action: Take note of both this error number and the actions you were trying to perform. Contact your system administrator for further assistance.
Your Budgetary Control action completed with exceptions.
Please let me know what can be the croblem here. I can not find anything here on this issue. Please help.
Thanks.

Can you review these notes, may help you.
R12: Funds Check Error 'PSA_BC_XLA_PUB.Budgetary_Control Returns an Error' for Purchase Orders and Requisitions When Federal Financial is Installed [ID 1292042.1]
Procedure PSA_BC_XLA_PUB.Budgetary_Control Returns an Error Due To "XLA_AP_TECHNICAL_ERROR" [ID 950385.1]
Fund Check Is Failing - Procedure PSA_BC_XLA_PUB.Budgetary_Control Returns An Error [ID 1338545.1]
Error: PSA_BC_XLA_PUB.Budgetary_Control When Approving A Project Related PO [ID 1319065.1]
Procedure Psa_bc_xla_pub.Budgetary_control Returns An Error For Autocreated Blanket Release [ID 751635.1]

Similar Messages

  • I can not download Adobe reader. I am getting error message 1936. Can you help?

    I can not download Adobe reader. I am getting error 1936. Can you help?

    What is your operating system?  Is there anything else beside the number 1936?

  • HT2731 Can not open Itunes on my computer,i get error msg MSVCR80.dill is missing from your computer . What do i do?

    Can not open itunes on my computer,I get error msg MSVCR80.dill is missing from your machine. What do I do?

    Work through the user tip: https://discussions.apple.com/docs/DOC-6562

  • My Ipad on version 6.1.2 , I can not updated to 6.1.3  and I can not restore it as we'll . I have tried with ITunes and with the device it self , please help

    I can not restore my IPad and I can not update it  . I tried with ITunes and with the device as well
    Any help. Please

    It really helps if you describe what is happening, otherwise there is no way to offer meaningful suggestions. Just saying "I can't ..." Doesn't tell us anything helpful.

  • Can not update iPod Nano, brand new and error says there is not enough room

    I just purchased my son a 1 gig nano. After registering and setting up options for updates. I got a message saying that it could not update because there wasn't enough room. I was trying to download less than 100 songs and all of them have been downloaded from iTunes. I have already completed the "5R's" as suggested in the troubleshooting section and it still will not update. iTunes recognizes his iPod, all software has been updated, I've reset and restarted. Very frustrated and my 11 year old is very devestated. Could someone please help?
    Thank you
    3pigsmama
    Dell Inspirion 6000   Windows XP  

    There's not an actual limit number to the ammount of songs that any iPod can hold. It's all size dependant. You might have simply downloaded a lot of large songs. When you're in iTunes check at the bottom of the screen to see how many megs or gig they actually take up. And keep in mind a 1 gig iPod isn't actually 1 gig. There is always a bit of space used up by system files and whatnot.

  • Can't update data via ui-api

    this is my VB.NET sample code as following.
    <a href="http://odbc789.googlepages.com/b1test.rar">http://odbc789.googlepages.com/b1test.rar</a>
    I tried to edit data in matrix ( BP Foreign name column )and upadte it into database via DBdatasource.
    though the B1 return the message : success.
    but , it still don't work.
    hope somebody can tell what's wrong in my program.
    thanks lot.

    What ?? sorry , I am a rookie. I just finished my TB1300 course.
    so..
    the DBDataSource object , is only for query and binding data from DB to User interface.
    In the <b>official UI API sample</b> : <b>06.MatrixAndDataSources</b>
    when I press the "OK" button on the form , the green color <b>" success message "</b> on the status bar is ONLY a message.
    It's don't work for SAVE and UPDATE.
    <b>isn't ?????????</b>
    PS: sorry , now is weekend in my country.
        web site is the only way to research.
        hope somebody to answer my question kindly. :P

  • I can not update to itunes 10.4, and when I try manually it keeps saying error f drive not available??

    I have tried loads of times to update to Itunes 10.4 but it fails every time and tells me to try and download the file manually then install it but this also fails and keeps giving me a error of "F drive not available"
    I have itunes on a removable hard drive on my laptop if this makes any difference
    Please help
    Thanks

    Open a Windows Command prompt, e.g. Hit Start > Run, type in CMD and press OK. Type in SUBST F C:\<enter>
    This will map F: to C: until the machine is restarted or you enter
    SUBST F: /D at the command prompt. Now you can try uninstalling or upgrading the software again. (If upgrading the software, install the software in the default location, not on the F:\ drive.)
    tt2

  • Can't update to 3.6.15 because get error that I don't have permission to access some items

    When I try to update to Firefox 3.6.15, I get an error message saying I can't do so because I don't have permission to access all the items.

    * Download a new copy of the Firefox program: http://www.mozilla.com/firefox/all.html
    * Trash the current Firefox application to do a clean (re)install.
    * Install the new version that you have downloaded.
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • I can't burn cd's with windows and get error 4261

    Until yesterday I had no problem burning cd's with my iTunes-program in my Windows. All of a sudden (apparently) I constantley get the error-message 4261 having an unknown error. It seems that the problem has nothing to do with the selected tracks of the playlist. Often the burning is almost ready but then it stops sending a 4261.
    What am I doing wrong and/or how can this problem been solved?

    Could you post your diagnostics for us please?
    In iTunes, go "Help > Run Diagnostics". Uncheck the boxes other than DVD/CD tests, as per the following screenshot:
    ... and click "Next".
    When you get through to the final screen:
    ... click the "Copy to Clipboard" button and paste the diagnostics into a reply here.

  • After update apple tv 2 on itunes and get error 1602 i start my apple tv and see no contents or any programs there just i see settings and computers?

    after update my apple tv 2 and get error 1602 on itunes, i start it and found no content showing there only settings and computers?
    please any answer.
    my itunes is the latest.

    Welcome to the Apple Community.
    Unfortunately, a number of users appear to have encountered this problem. Some of these users have reported that the problem just disappears the following day or shortly after. Other users have found various other solutions to this problem.
    Firstly, are you receiving any date and time errors when you turn on your Apple TV?
    Check that you are properly connected to the Internet, by ensuring that you have a proper IP address and not one starting with 169. Also check that your location for the iTunes Store is set correctly, if so you might try changing it and then changing it back.
    If the problem persists try restarting the Apple TV by removing ALL the cables for 30 seconds, or resetting it using the reset option under general. You should also try restarting your router, or if this doesn't work you might like to try a restore.

  • I can not sign in via my desktop to update Lr

    I can not sign in via my desktop to update Lr

    Method 1. Reset Windows 7 Password with Reset Disk
    If you have created a password reset disk on your Windows 7 computer you can follow the steps below to reset the password:
    1. In Windows 7 log on screen, you can see "Reset password" below the password dialogue box. Click it to start the reset process.
    password incorrect
    2. In the pop up Windows 7 Password Reset Wizard, click "Next" to continue.
    reset disk
    3. Insert the password reset disk to the computer, select it and click "Next".
    reset windows 7 password
    4. Now you are in "Reset the User Account Password" screen. Type the new password and password hint there. Then click "Next".
    windows 7 password key disk
    5. Click "Finish" to close the password reset wizard.
    Method 2. Using Windows 7 User Password Reset Software
    If there is no reset disk available, don't worry! Windows 7 Password Reset allows you to create a password reset disk and bypass locked computer. Here is the detailed tutorial.
    Step 1. Create a Password Reset Disk:
    Download Windows 7 Password Reset (tinyurl.com/kw73gum) and install it in any available computer. Insert a blank CD/DVD or USB drive to the computer. Launch the program, select CD/DVD or USB device, then click "Burn" button to start creating.
    how to reset windows 7 password
    Step 2. Boot Up Locked Computer from Created CD/DVD or USB Drive:
    Insert created CD/DVD or USB Drive to the locked computer and change the BIOS setting to boot from CD/DVD-ROM or USB Drive.
    Step 3. Reset User Password in Windows 7
    1. Windows 7 Password Resetter will run automatically. Select Windows 7 installation and "Reset your password" option. Then click "Next".
    windows 7 user password reset
    2. Highlight the user account and "Remove the password", then click "Next" to erase forgotten password,
    reset user password windows 7
    3. Your password will be set to blank one at a time. When that finished, click "Reboot" to restart the computer and logon PC with no password.

  • Have updated from Snow Leopard to Lion with Safari Version 5.0.5. Now I can not update to Safari 5.1. There is no update in the Software Updater, and on the apple-download page, I only found a Safari 5.1 for Snow Leopard. When executing it, there is an e

    I have updated from Snow Leopard to Lion with Safari Version 5.0.5. Now I can not update to Safari 5.1. There is no update in the Software Updater, and on the apple-download page, I only found a Safari 5.1 for Snow Leopard. When executing it, there is an error message, that it is for 10.6 only.
    It seems that I should have first updated Safari, and then only to Lion, which I didn't. Any idea how I can fix this now without having to rollback to Snow Leopard, update Safari and then go back to Lion?

    Try this Safari5.1 from the installer package
    http://www.filefactory.com/file/cc9005d/n/Safari.pkg.zip
    The download worked better with Firefox not sure why. At the bottom of the page after the captcha>> slow down load is the Free link,  it took about 4 minutes to download on my test.

  • Can not update iTunes because I have iMac with 10.5.8 . How I will sync my iphone 6.0 with an older version of iTunes on my iMac???? There is no update for the software of my iMac and no update for the iTunes.... So how can I sync????

    Can not update iTunes because I have iMac with 10.5.8 . How I will sync my iphone 6.0 with an older version of iTunes on my iMac???? There is no update for the software of my iMac and no update for the iTunes.... So how can I sync????

    Requirements for iPhone 5:
    Syncing with iTunes on a Mac or PC requires:
    Mac: OS X v10.6.8 or later
    PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    iTunes 10.7 or later
    The highest version of iTunes you can install is 10.6.3 which will not sync with the iPhone 5.
    Roger Wilmut1 wrote:
    It's always a good idea to check the requirements before purchasing.
    The person I spoke with at 1-800-MY-APPLE gave me totally different info...she said the iPhone 5 would in fact sync with the older version of iTunes and that I could restore from my previous iPhone 4 backup and also bring in my music that way.  Hmmm....
    I'm inclined to go by the published specs, but now I have to jump thru a bunch of hoops I wasn't expecting to.

  • HT2968 I can not update several of my apps that i have purchased a while back in my Apps Store on my MacPro. Because it keeps using my old @me account for iTunes and i don't remember the password or security question, Please help?

    I can not update several of my apps that i have purchased a while back in my Apps Store on my MacPro. Because it keeps using my old @me account for iTunes and i don't remember the password or security question, Please help?

    Hi AlphaCentori,
    If you are having issues accessing the Apple ID that was used to originally purchase those apps, you may find the following article helpful:
    Apple Support: Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/ht5312
    Regards,
    - Brenden

  • Cant update apps. asks for password for another account i had on a dell notebook. either i forgot the pass word or its not taking it. i can download apps,music with present mac note book but not apps. how can i update apps on my mac and iphone 4?

    cant update apps on my mac or iphone4. asks for password for another account i had on a dell notebook. either i forgot the pass word or its not taking it  . i can download apps and music.  how can i update apps on my mac and iphone 4?

    I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
    Before you restore or reset, I would try that first.

Maybe you are looking for

  • Script Works on MacBook and Mac Mini but Not MacBook Air

    I just bought a new Mac Mini and 11' MacBook Air, and I have a script that works on the former but not the later. Running it on my Air generates the error, "error "Finder got an error: Can't set alias "My Hard Drive!:directory path:File Name copy.doc

  • What's the Successful Way of Taking Out Java Out Of Safari ?

    Disabled Java in Safari Preferences . Heck , Disabled Javascript too . Disabled Plugins . Disabled Extensions . i still get : Macintosh HD  >  Library  >  Java  >  Extensions  >  ( unable to view , it's only viewable with a System Administrator ( ie

  • Can i buy a apple product on the apple store and ship it to Saudi Arabia

    I want to buy a Macbook Pro Retina from the online apple store. Can i have it shipped to Saudi Arabia in particular. Thanks

  • Need some help with my Input.as file (error 1013)

    Hello, I have just started learning Flash & Actionscript this month and I'm very eager to learn and do new things. I wanted to learn to create some games in Flash and I managed to create a basic side scroller and a top down both with movement and col

  • Packing the Materials in Outbound delivary

    Hi All, I  used FM's WS_DELIVERY_UPDATE and SD_DELIVERY_UPDATE_PACKING for packing two different materials in a Delivary document. I made a loop for each line item coming from app server and tried to pack separately each time. But second material lin