AP_VENDOR_PUB_PKG.Update_Vendor_Site updating inactive date doesn't work

Hi all-
So I used this API
AP_VENDOR_PUB_PKG.Update_Vendor_Site
to update the inactive date. It worked fine...but when I attempt to reactivate the date (by passing null inactive date) it keeps the same old date.
How can I reactivate a site??

Hi!
The solution is to set the inactive_date to FND_API.G_MISS_DATE
It works fine for me... here is sample test script:
DECLARE
lv_return_status varchar2(1);
lv_msg_count number;
lv_msg_data varchar2(2000);
lv_vendor_site_id ap_supplier_sites.vendor_site_id%type;
lv_vendor_site_rec AP_VENDOR_PUB_PKG.r_vendor_site_rec_type;
BEGIN
fnd_global.apps_initialize(&USER_ID,&RESP_ID,&RESP_APPL_ID);
mo_global.init('S');
lv_vendor_site_id:= &VENDOR_SITE_ID;
lv_vendor_site_rec.inactive_date:= FND_API.G_MISS_DATE;
AP_VENDOR_PUB_PKG.Update_Vendor_Site
( p_api_version => 1.0
, p_init_msg_list => fnd_api.g_true
, p_commit => fnd_api.g_false
, p_validation_level => fnd_api.g_valid_level_full
, x_return_status => lv_return_status
, x_msg_count => lv_msg_count
, x_msg_data => lv_msg_data
, p_vendor_site_rec => lv_vendor_site_rec
, p_vendor_site_id => lv_vendor_site_id
dbms_output.put_line(lv_return_status||'-'||lv_msg_count||'-'||lv_msg_data);
END;

Similar Messages

  • After updating to ios 7, my data doesn't work, help?

    After I updated it, my data doesn't work. Notifciations would pop up, but I cannot view it. My imesasge still works though.

    I also tried to restore my phone & reset my network... it doesn't work...

  • Lollipop upgrade, mobile data doesn't work

    I upgraded to lollipop today, all fine except my mobile data doesn't work.
    Any ideas?
    Tried turning off and on, switching to airplane mode and back, and changing mobile operator and back, still not working.
    Thanks

    See this topic too:
    https://talk.sonymobile.com/t5/Xperia-Z2/mobile-data-not-working-after-lollipop-update/td-p/956104/page/3

  • Mobile data doesn't work and I can't access the front camera.

    Hi, I received my new Xperia Z3 Compact in white just over a week ago and unfortunately I have few unresolved issued with it which kind of spoils the experience of owning a new phone.
    I  just switched from a number of Iphones and Xperia was the handset that really impressed me.
    I couldn't see the point of getting an overpriced Iphone with a limited storage capability.
    Unfortunately my Xperia Z3c has some issues;
    - I can't get the front camera work
    - I can get my internet only through Wi-Fi and my unlimited 3G data doesn't work at all (T-Mobile U.K)
    - Three Swipe Gesture doesn’t appear to be working as it should on any Android device (I'm told).
    So I am not a very happy user at the moment and slowly starting to miss the Iphone.

    Hi casson50ml,
    Welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    Sorry to hear about these issues, I would first suggest clearing the data for the camera.
    Menu > settings > Apps > All > Camera > Clear Data
    Once done try using the device.
    In regards to the Internet, try performing an Internet settings download.
    Menu > Settings > More > Internet Settings > Accept Disclaimer > Choose Network.
    Now try using the network data on the handset.
    Can you explain more about the 3 Finger Gesture issue?
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • SPGridView - sorting Dates doesn't work properly & how to display the title column as link?

    Hi,
    I've got a SPGridView that is being filled with data from several lists. Some of them are a date-field and a title-field. I already added sorting, paging and filtering options and at first look they seem to work fine. But now I noticed that sorting dates
    doesn't work as expected. If I select ascending sorting, the result is something like this:
    01.08.2014
    02.08.2014
    17.07.2014
    18.07.2014
    23.07.2014
    If I select descending sorting, the result is this:
    23.07.2014
    18.07.2014
    17.07.2014
    02.08.2014
    01.08.2014
    This isn't what I want obviously. 
    I just added the EventReceiver for the sorting like it is shown in several tutorials:
    (The date field is a BoundField.)
    grid.Sorting += new GridViewSortEventHandler(grid_Sorting);
    private void grid_Sorting(object sender, GridViewSortEventArgs e)
    if (ViewState["FilterExpression"] != null)
    gridDS.FilterExpression = (string)ViewState["FilterExpression"];
    And my second problem is how to add a link to the title column. In my grid I'm displaying tasks from different lists and I want to link the title to the related task. I stumbled accross HyperLinkFields and tried this:
    HyperLinkField hyperLinkField = new HyperLinkField();
    hyperLinkField.DataTextField = "Titel";
    hyperLinkField.DataNavigateUrlFields = new string[] { "Titel" };
    hyperLinkField.DataNavigateUrlFormatString = "{0}";
    hyperLinkField.HeaderText = "Titel";
    hyperLinkField.SortExpression = "Titel";
    grid.Columns.Add(hyperLinkField);
    The resulting link is something like ...sites/MySite/_catalogs/masterpage/A1-V1-2 where "A1-V1-2" is the name of the task and also shown in the title field.
    The actual link should look more like ...sites/MySite/Lists/mytasklistname/DispForm.aspx?ID=.... or something like that to display the task details. How could I achieve that?
    Thanks in advance

    http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/MS-SharePoint/Q_27718782.html
    Here is the exact code you need to use:
    http://social.msdn.microsoft.com/Forums/ar/sharepointcustomization/thread/c463a8c6-4806-4233-b6a4-8db8369c5fc2
    http://sharepoint.stackexchange.com/questions/53459/change-title-linked-to-item-with-edit-menu-to-different-column
    Open the AllItems.aspx page for the specific list.
    Search for the <ViewFields> tag
    List item LinkToItem="TRUE" to whichever column you want the link:
    <ViewFields><br/>
    <FieldRef Name="Attachments"/><br/>
    <FieldRef Name="LinkTitle"/><br/>
    <FieldRef Name="linkThisColumn" LinkToItem="TRUE"/><br/>
    <FieldRef Name="data_x0020_column"/><br/>
    <FieldRef Name="Another_x0020_column"/><br/>
    </ViewFields><br/>
    http://sharepoint.stackexchange.com/questions/58954/link-title-in-list-to-value-in-url-column
    Create calculated column.
    Insert following formula -
    ="<a href='"&UrlFieldName&"'>"&Title&"</a>"
    Set "data type returned from this formula is" to integer.
    As a result on list view you will see the title with link to your url.
    UPD: It seems that URL field is not valid for calculated column, as workaround you can copy url value in a receiver into the another text field, which is not shown on the view.
    If this helped you resolve your issue, please mark it Answered

  • Data doesn't work

    My data doesn't work on my new Iphone 5c but I can make calls and text.  The wifi works, but my data doesn't.  I have checked to make sure my data is on and everything.  How can I fix this issue? 

    Hello pcoffey31,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Best of luck,
    Mario

  • HT1918 I cannot access files I uploaded from an old computer.  The email account to which some tracks are connected is deleted. For some reason my birth date doesn't work either. Is there some way to transfer the files to my current address?

    I cannot access files I uploaded from an old computer. The email account to which some tracks are connected is deleted. For some reason my birth date doesn't work either. Is there some way to transfer the files to my current address and username?

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • HT5163 where do I get a SIM card tool for iPad 3?  My cellular data doesn't work now that I downloaded iOS6.  Instructions are to remove SIM card and then reinsert and it SHOULD work.

    Where di I get a SIM card tool for iPad 3?  My cellular data doesn't work now tht I downloaded iOS6.1.  Instructions tell me to remove SIM card and then return.  Will that work? Verizon tells me it's an Apple issue.

    I did that but was intimidated.  With your adivce I was more aggressive and it popped open. And I removed and replaced.  It works.  Thanks!

  • After update flash player doesn't work most of the time

    Hi Folks!
    Windows XP
    IE 6
    About 2 weeks ago I installed a flash player security update and ever since then flash player doesn't work most of the time. On most websites with embeded video all I see is an empty placeholder where the video is supposed to be.
    If I go to a site like Youtube all is fine. However, if I go to a site that has embeded a Youtube video all I see is the empty placeholder where the video is supposed to be.
    Some folks have recommended I uninstall and download and reinstall. The problem with this is that there isn't *anything* related to Abobe flash player in Add/Remove programs.
    Not sure what to do about this (read: I'm totally lost!).
    Here's a screencap of the empty placeholder:
    http://i27.tinypic.com/2wrdttf.jpg

    The standard warranty is for 12 months from the date of purchase, unless you bough AppleCare which would have extended it to 2 years.
    If it's out of warranty, then you pay for repairs, and it's expensive. There are 3rd party repairers who are cheaper.
    Did you try these?
    The Five Rs.
    As the previous poster said, it's more than likely a hardware issue, but there's no harm in trying the software fixes before you decide it needs repair.

  • Since updating Firefox, Dashlane doesn't work, but I am told you are working on it? When can I expect it to work again?

    I updated Firefox and started to use it again, after having problems with it freezing and crashing. I had used it for years, but suddenly it was not working well and I went to Safari. When they indicated an update to Firefox, I updated it and started to again use it, as I always liked the way it worked and most of my Bookmarks were still good. I found that Dashlane did not work with it and I have been told you are aware of this and working on the problem. Please notify me when it is solved, as I want to continue to use Firefox but have to switch back to another browser to get to my bank or stock brokers site. For the record, I use a MacBook with OS 10.6.8.

    Could you check to make sure Dashlane is up-to-date? Two other Mac users this week reported success:
    * [https://support.mozilla.org/questions/1030201 Updated to Firefox 33.1 on my MAC 10.10. My dashlane icon was grayed out (was a green dot) next to menu icon. How can I reactivate Dashlane?] - reinstalled from Dashlane site (4 days ago)
    * [https://support.mozilla.org/questions/1032480 Dashlane add-on doesn't work after update firefox 33.1.1] - updated from app store (today)

  • I can scroll down web pages with my Lenovo ThinkPad X200. I could, but then I got some updates and it doesn't work. I can scroll fine with an external mouse. I just can't use the "scroll controls" on my laptop. Any ideas why? It's frustrating!

    When I got my machine two years ago and loaded Firefox, I could scroll with the red button that's on the keyboard of the Lenovo ThinkPad x200. Then, a few months ago, Firefox was updated. Not sure which version. And, now I can't scroll. The keypad scroll works in MS Windows programs. It just doesn't work in Firefox. I can't get anywhere with the options so I'm stuck for now. (The scrolling works in Internet Explorer). So, I think it's something that going on with FireFox not with my computer.

    Hi there,
    When I inspect your site in browser tools, I'm getting 404 errors from your page:
    [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery-2.0.3.min.map, line 0)
    [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (edge.4.0.0.min.map, line 0)
    BarnardosIreland wrote:
    I would have thought that publishing should give a complete package that doesn't need any further edits to the code and can just be directly ftp'ed to the web - is this correct?
    In general, you are correct - but also your server does need to be properly configured (and those errors above lead me to think it may not be) to serve the file types that your uploading - but it could be something else entirely. Can you zip up your composition folder, upload it to your Creative Cloud files, set it to share, and then post a link here so I can download it? If you'd rather not share it publicly, can you PM me with a link to your composition files?
    Thanks,
    Joe

  • After las update some menus doesn't work properly. Ther is non possibility to use mouse. Why?

    After las update (9.2.1) some menus doesn't work properly. Ther is non possibility to use mouse. Why?

    Operating System?

  • IOS 5.1 Update, Home Button Doesn't Work.

    Ever since I installed the iOS 5.1 update on my iPhone 4, the home button does not work at all! I've tried every trouble shooting solution I could find. I've Restarted, I can't hard reset because the home button doesn't work, I've restored from back up, I've restored as new, I've vacuumed out and gently used a tooth brush in the port below the home button in attempt to remove any dust. I've tried opening a factory installed app such as Maps, Safari, Stocks etc and held the top button until the "Slide to power off" showed and then held down the home button until it went to home screen except it didn't go to the home screen at all the "slide to power off" disappeared after a while. I have extremely intermittent response with the Home Button. If i press it continuously it will work after 27 presses one time or 9 presses another but never when I try to do a hard reset and 9.999 times out of 10 it doesn't work. I am so frustrated! I didn't get it wet and it stopped working immediately after the software update. HELP!

    I talked to Apple today and was told that it's a "hardware issue" and they will not fix it. I will have to pay 169.00 to have it repaired because it is no longer covered. He told me that "the software update triggered a hardware problem" and that they haven't heard of this issue before either and this was after he went and "spoke with a senior service advisor". The thing is that if THEIR software update triggered the "hardware problem" meaning that if I hadn't updated at all my phone would be in perfect working order right now then HOW IS THAT NOT A SOFTWARE ISSUE?! I am beyond livid. I cannot continue using my phone with assistive touch, NOTHING else works and I know this isn't the first time they've heard of it because how can so many people be having this problem and Apple NOT be aware of it?!  My family has bought three MacBooks, three MacBook Pros, one iPad, two iPad 2s, seven iPhone 3s, one iPhone 3GS, five iPhone 4s, two iPhone 4S, four Apple TVs, one Time Capsule and COUNTLESS versions of iPods and have never had an issue having any of them repaired and only four of those products had to be and it was a fast and hassle free...then again they all were covered still at the time of repair...
    How do you restore to a previous firmware? I don't want a new phone...I want MY phone to work...the one that worked perfectly before their update....this is beyond ridiculous...I wish apple would take a look at their own support communities and see that this ISN'T our problem...it's a problem created by THEM.

  • Since update extended wifi doesn't work

    I updated my express extreme as required. Since my airport express that I use to extend my wifi doesn't work anymore. I did a reset and when I try to configuration it keeps telling me that an error has occurred and that I should try again.

    I reset modem and router.  Still have the same issue.  I have a laptop connected to the network as well as a PS3.  Both are working great.  Did a Speedtest app test on iphone.  With 3g it was working good.  When i switched to wifi, it was trying to get the ping test accomplished, and could not.  it was stuck in the ping test at 0% for a long time and never progress. 

  • Visio Automatically Link new data doesn't work

    Hi,
    I setup an orgchart using Visio 2010 and is connected to an Excel. Now, I am going to refresh the orgchart with newly added data (clicking "Refresh All"), I can see the data, but when I "Automatically Link" the data, the newly added data
    doesn't add/link to the orgchart. How can I make this automation possible?
    Thanks in advance. Your help would be greatly appreciated!

    Data refresh does not add any new objects within visio. It will only update existing objects. If data is added to an orgchart source the drawing must be recreated.
    al
    Al Edlund Visio MVP

Maybe you are looking for