Not validating against LOV if the field is not null

hi all,
i am using form6i.
i have two fields called p_code,p_doc.
p_code is optional and p_doc is mandatory. Both the fields is having LOV. Based on the p_code, p_doc should be filtered.
both fileds i have given validate_from_list true.
if user entered some values and processed after that without clearing the fields(p_doc) if user enters the data p_code the values in the LOV for p_doc is filtering(refreshing) but the value is not validate against the LOV.
that means
p_code p_doc
aa 123
bb 456
first time for the code 'aa' the p_doc value was 123. now again user entered bb so that in the lov p_doc 456 is present but in the item still 123 is there. If user press the ENTER or TAB the cursor is going to next field with out valudating the value in the p_doc(old value is 123 but it should replace by 456) but is not showing any error also.
if my requirement is not clear.please let me know.
Thanks..

Because the value in P_DOC is not getting validate. How about trying the below code in WHEN-VALIDATE-ITEM trigger of P_CODE
:P_DOC:=:P_DOC;-Ammad

Similar Messages

  • Excel cannot open the file beacuse the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file [help]

    Hi,
    I have a excel file that I have been using since beginning of year.
    Yesterday, I tried to open it but a message comes out "
    Excel cannot open the file beacuse the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file"
    After I click yes, the page is blank. The file is about 400kb in size.
    I have try open and repair and third party repair program and not working also.
    I would appreciate a lot if you can help me.
    Thank you very much.

    Per your post, this problem might be caused by malware on the affected machine.
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/09/07/quot-cannot-open-the-file-because-the-file-format-or-extension-is-invalid-quot-opening-office-files.aspx
    In order to clean your machine, run Microsoft Safety Scanner (http://www.microsoft.com/security/scanner/en-us/default.aspx) to kill the malware, and then repair Excel file itself.
    If this is not the case, feel free to post back and let me know. Thanks.
    Tony Chen
    TechNet Community Support
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Additional validation for one of the fields in down payment request

    Hi All ,
      I have a requirement for doing some additional validation for one of the fields in down payment request
    (F-47) .
    I need to validate a field u2018Assignmentu2019 in the down payment request .
    Here, assignment field is mandatory and user has to enter a valid contract number. Then we have to  validate the contract number entered against the tracking number field (BEDNR) in EKPO table corresponding to the vendor.
    If the contract number entered is incorrect, then system displays a message with the valid contract number. The user can modify the assignment field with this contract number. Once the field is modified, system once again validates whether the contract number entered is valid.
    Can you please provide me your valuable inputs how to achieve this.
    Regards,
    Tripti.

    Hi Vishal ,
      Thanks for your reply. I tried searching for  them but couldn't find any.
    Regards,
    Tripti.

  • How to compare two currency form fields and display a message if the fields do not equal?

    My form has 2 fields named Total_1 and Total_2. If one of the fields does not equal the other, a hidden field will display a message in red on the form alerting the user. Otherwise, the message does not display. Looks like a validation script but I would greatly appreciate help in getting it started. Any ideas?
    Thanks, Charlie
    charlie6067

    Since the field values that you want to compare are the results of calculations, you should not normally compare their string values, but rather their numeric values when rounded appropriately (and perhaps then converted to a string). For example, if you have two values that display as 3.14, one could be 3.1400000001 and the other could be 3.13999999999991234. When you get the field values as strings and compare them, they won't be equal though they appear to be. Even some values that are numerically identical won't be equal when compared as strings ("0.0" != "0.00") So the code could be changed to:
    // Get the two field values, rounded to two decimals
    var v1 = util.printf("%.2f", getField("Total_1").value);
    var v2 = util.printf("%.2f", getField("Total_2").value);
    // Hide/Show the error message
    event.value = (v1 === v2 || (+v1 === 0 && +v2 === 0)) ? "" : "Error message here.";

  • Your account is not valid for use in the store,

    Hi all,
    I am new the the forum so apologies if this is in the wrong place.
    I have both an iphone (4s) and an ipad 2.  I have just upgraded them to IOS6 with no problems.  I was able to download the new IOS 6 app after the upgrade.  However now my iphone recieves the above error, complaining that it should be connected to the UK itunes store when it is currently linked to the Maltese store.  My itunes account is ok and against a UK credit card and address.  However I am currently physically based in Malta.
    My iPad seems ok and I can still upgrade apps and purchase new ones on it.  I had had my phone for circa 1 year prior to this without issues and have been based in Malta for most of this time.
    Any help will be appreciated.

    Looks like iOS6 caused it. Here's solution which works.
    http://www.survivalguide4idiots.com/ios-6-bug-your-account-is-not-valid-for-use- in-the-xxx-store-you-must-switch-to-yyy-store-before-purchasing.html

  • Whenever I updated or downloaded a new app from the App Store, a message appears saying:   "Account Not In This Store Your account is not valid for use in the U.S. store. You must switch to the Swedish. store before purchasing."   I made some research onl

    Whenever I updated or downloaded a new app from the App Store, a message appears saying:
    "Account Not In This Store
    Your account is not valid for use in the U.S. store. You must switch to the Swedish. store before purchasing."
    I made some research online and asked a few of my friends with the same problem. All they did was sign out of iTunes from settings>iTunes & App Stores or from the App Store itself and signed back in. It worked for many of them but not with my iPhone 4s. It really does get on my nerves to always sign out and back in to the App Store as it sometimes works and allows me to update and download or most of the time it doesnt.
    When viewing my Apple ID account on my iPhone (after entering the password) it either views my account or says:
    "This Apple ID is only valid for purchases in the U.S. iTunes Store. You will be switched to that Store. Try your purchase again."
    So I press on OK then either switches me to the App Store app of its choice, or says "Cannot connect to iTunes Store".
    I tried restoring iOS6 hoping it was a bad installation, but i still have the same problem.
    Can anyone help me please?
    Arian

    Are you sure your AppleID is NOT tied to the US store? If you are trying to buy an app from the Swedish store you will be unable to do that. Some apps are only available on certain stores. That is why you get the "Cannot connect to the iTunes store" message when trying to buy that app. Your updates are being done from the US store ; thats why you can update sometimes and sometimes not.
    If you keep encountering problems contact iTunes support. They will help you sort it out.

  • Why do I get the message when I try to purchase an app or song on itunes using my iPhone5? "Account Not In This Store. Your account is not valid for use in the U.S. store. You must switch to the New Zealand store before purchasing."

    When I try to buy either an app or a song via iTunes, I have just started getting the following message and I am unable to change the store location. "Account Not In This Store. Your account is not valid for use in the U.S. store. You must switch to the New Zealand store before purchasing."
    This problem has only just started happening. I am on an iPhone5 iOS 7.0.4.
    Very frustrating. Can someone please tell me why & where the change has occured and how to fix it? In the past I have purchased many apps and songs on itunes and never had this problem.
    Thanks a mill :-)

    Click here and follow the instructions to change the iTunes Store country.
    (97125)

  • How to switch to a different app store? I am trying to update my apps but am getting a popup that says your account is not valid for use in the uS store. you must switch to the Canadian Store before purchasing. How do I do this?  I can't find the place

    I am trying to update my apps but keep getting a popup that says "Your Account is not valid for use in the US store. you must switch to the Canadian Store before purchasing." I can not find where to do this! Please help! Thank you!

    [Apologies to pdesteele for this slight OT bit, but it's all relevant to your question, I think ]
    We do have a place in the UK which we could use as an address, but for various reasons it gets a bit complex even though we still have a UK bank account. We moved to France when there were no iDevices and apps around, just bought the occasional music, so it wasn't a problem. Funny thing is I can't even download the free UK bank app because it's not available in the French store .
    I'll live with the problem for now as we plan to move back to the UK in a year or so - we miss the weather .

  • I am traveling out side of the U.S. and I am trying to up-date some apps on my iPod touch and now I'm getting this message... "Account Not In This Store Your account is NOT valid for use in the Ecuadorian store. You must switch to the U.S. store... help!

    I am traveling out side of the U.S. and I am trying to up-date some apps on my iPod touch. Now I'm getting this message... "Account Not In This Store. Your account is NOT valid for use in the Ecuadorian store. You must switch to the U.S. store"
    Please, is there anyone one out who can help me solve this problem? I just can seem to figure out how to get to the U.S. store... thanks!

    I just read this solution, tried it & now it's working...
    I think I found a fix...I went to Settings, iTunes & App Stores, then click on your Apple ID...view Apple ID...change country region to USA (even though it was already USA...just do it again...go through the steps making sure the United States store is selected...agree to the Terms of Service, THEN I think what the key is is to RE-auhorize your credit card...in my case all I had to do was enter the security code...and it worked...I am now able to download the YouTube app for example...couldn't do it before.

  • Error :cannot show the value of the filter.The Field may not be filterable or the number of items returned exceeds the list view threshold enforced by administrator

    Issue : In sharepoint 2013, I am experiening below error while using filter in the list view due to the number of items in this list exceeds the list view threshold, which is 10000 items. Tasks that cause excessive server load (such as those
    involving all list items) are currently prohibited.
    Error :cannot show the value of the filter.The Field may not be filterable or the number of items returned exceeds the list view threshold enforced by administrator
    Could you please suggest a way to avoid this issue apart from incrementing the list view threshold limit .
    Prashanth

    Reorganizing content, or creating more specific views. sharepoint is warning you that the content is structured in such a way that it can cause performance issues, which should be addressed in some way.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • P6 user name is not valid for connecting to the reporting database

    No data is available because your P6 user name is not valid for connecting to the reporting database
    I am getting above error in the following environment:
    P6 running on wls instance 1.
    BI Publisger running on wls instance 2
    MS SQL server 2005
    Note that the error appears when I clink on the 'Reports' tab in P6. My admin user on P6 has access to report/analyser modules.
    To connect P6 to BI Publisher I am using 'PxRptUser' in the P6 configuration for Bi Publisher. I know as well that the WSDL URL is correct and I can test this in SoapUI tool.
    In BI publisher I have created the PMDB data source using PxRprUser, and the test of this connection works.
    (Because the report samples come with Oracle flavoured SQL that SQL server does not like, I have configured BI Publisher so I have just a single report left that sources it data from an xml file. This works in BI Publisher. It also helps me in that I do not need to add 'WHERE' clauses and parameters required for SQL server?)
    Furthermore, using a DB tool, I can connect to my SQL server using PxRPTUser.
    So why do I get the error above?
    I picked up somewhere that I should not be adding users to BI Publisher. Funny enough, testing the 'login' method the BI Publisher exposes through its WSDL (as above) I noticed I HAD to create the user PxRptUser in BI publisher application itself (on top of PxRptUser in database) for the login web service to work with PxRptUser
    That did not solve the connection between P6 and BI Publisher though. What am I missing ...
    Edited by: user3674522 on 10/11/2011 20:16

    Thought I found something but can't repliacte, som issue is still there:
    Had a look at the wls instance logs where BI publisher is running, and the error I get is:
    111111_023646955][][ERROR] javax.naming.NamingException: Unresolved naming: cn=admin, dc=user, dc=users, dc=principals at [cn=admin]
    That user, admin, is the one I have used to access P6. Why is this passed on to BI Publisher? I thought the idea was that the PxRptUser set in BI Publisher configurations in P6 would be used?
    Edited by: user3674522 on 10/11/2011 20:17

  • When I try and download app updates via wi-fi to my Ipad I get an error message "Your account is not valid for use in the Australian Store. You must switch to the US store before purchasing."  I am in the US how do I switch?

    When I try and download app updates via wi-fi to my Ipad I get an error message "Your account is not valid for use in the Australian store. Your must switch t the US store before purchasing. I am currently in the US on wi-fi. How do I switch

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3. Tap on your Apple ID
    4.Tap "View Apple ID"
    5. Enter your user name and password.
    6. Tap "Country/Region."
    7. Tap "Change Country/Region"
    8. Select the country/region where you are located.
    9. Tap "Done".
    Note: If the change doesn't take effect, sign out of account and sign in again.

  • TS1702 when i try to update an application it tells me that my account is not valid for use in the UK and have to switch to the australian store to update?how do i switch stores/countries for the applications?? Thanks.

    when i try to update an application it tells me that my account is not valid for use in the UK and have to switch to the australian store to update?how do i switch stores/countries for the applications?? Thanks.

    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311

  • TS1424 IOS 6 update completed.  Can't update apps now because I get warning stating "Your account is not valid for use in the Japanese store.  You must switch to the U.S. store before purchase."  How do I switch back?

    Ysterday I updated to the new IOS6 on my Iphone 4.  The phone service is provided by the Softbank carrier in Japan but I am an American and my Itunes account is U.S.  After the update I get this warning when trying to install app updates "Your account is not valid for use in the Japanese store.  You must switch to the U.S. store before purchase."  This is something that must have occured during the the IOS6 install so my question is how do I get my Iphone 4 to recognize the U.S. store again?

    Open the App Store and tap "featured", go down untill you see your Apple ID... enter there and tap "View Apple ID"... it should automatically ask you if you want to switch the store. Switch and thats all.

  • App store and itunes store are stuck in Japanese store. Says: Account not in Store. Your account is not valid for use in the Japanese store. You must switch to the Philippines store before purchasing.

    My app store and itunes store are stuck in Japanese store. I already moved to the Philippines for about a year ago and my stores still won't change its location.
    I already changed the region/country in my apple id. I tried to sign out and sign in back to my account. Tried it in app store, in itunes store, in settings app, in itunes in my laptop, in the apple website. It shows that my apple id is already set to Philippines, no matter where I sign in my account.
    The problem is when I open my app store (or itunes store) in my iphone, it appears that it is in the Philippines store; however, when I sign in my account (and I tried to sign in everywhere), I cannot download any app from the Philippine store. When I try to download an app, it always says "Account not in this store. Your account is not valid for use in the Japanese store. You must switch to the Philippines store before purchasing." I have read everywhere and most of the answers say that it should automatically direct me to the correct store. It doesn't happen to me, apparently.
    I have the same problem in both my iPhones. Both are iPhone 3GS and in version 5.1.1. I don't want to upgrade to iOS6 so please don't tell me to do so. Thanks!

    try logging out of of store and then log in again
    and check this out
    http://support.apple.com/kb/HT1311

Maybe you are looking for

  • How to update all the record for a particular column in a table based on search criteria.

    Hi All, I am new to ADF. I have a requirement, where i have to perform mass update on a table. Scenario: Ex: I have a dept manual search region. where i search with deptId: 20. I get 20 records in my table. now i have  another region where i have a i

  • Ipod classic 80 freezes itunes and won't work

    upgraded itunes to 10.1 (etc). plugged in formerly operating ipod classic 80. it showed up in the device list,. but i could not move the cursor off music. had to use ctrl-alt-delete to close itunes. ipod would not disconnect. tried to disconnectg by

  • What methods should a controller interface contain? (MVC)

    Implementing MVC architecture in hope of achieving good design in OO. Using Observer pattern (java,util. Observable/Observer etc...) Many people talk about having an Interface for both Controller code and View (GUI) code. I don't see the point really

  • I keep gettin sign in prompts for iCloud since I updated to Yosemite

    I keep getting sign in prompts for iCloud since I updated to Yosemite.  I repeatedly get them for Face Time and iMessage also. Haven't found any way to stop them.  I click cancel on every one and then they show up again about 5 seconds later. I final

  • Getting count of days

    I have a query... SELECT to_char(t.traffichour, 'Day') as theDay, to_char(t.traffichour, 'D') as day, to_char(t.traffichour, 'hh24') as hour, Round(100*SafeDivide(sum(t.traffic) over ( PARTITION BY to_char(t.traffichour, 'D'), to_char(t.traffichour,