Clear Cache of item in validation

Hi,
I am working on Form with Report. i want to clear cache of the item in validation code.
i am sending you my code:-
DECLARE
CNT NUMBER;
BEGIN
SELECT 1 INTO CNT FROM CURRENCY_MAS WHERE CODE =:P111_CODE;
APEX_UTIL.CLEAR_ITEM_CACHE('P111_CODE');    // This Statement is not working
RETURN FALSE;
EXCEPTION
WHEN NO_DATA_FOUND THEN
RETURN TRUE;
END;

Hi Jari,
Thanks to Reply me.
I am getting problem. I am using form with report. I am doing this Because i want to keep
the control to the "Create" New entry form until validation not satisfied.This problem has been resolved by the code.
But as i do the any entry in ":p1_code" Primary Key item It giving the error Unique constraint voilated even if value not exist into the table.
ORA-00001: unique constraint (TADEV.CURR_UK) violated
Unable to process row of table CURRENCY_MAS.

Similar Messages

  • Clear Cache for Items

    Hello again,
    i`ve made simple process with type "Clear Cache for Items (ITEM,ITEM,ITEM)" and with process point "On Load - Before Header" through wizard, in "Process" field i`ve inserted all items what i want to be clear on page load(from list below). When i run my page, error is:
    Error ERR-1002 Unable to find item ID for item "P12_BIT " in application "123".
    OK
    Unexpected error, unable to find item name at application or page level.
    but, item P12_BIT exists!! and it`s type is "radiogroup", such error is on all items that is in process.
    in another app this process works good.. Maybe error is because app 123 i`ve imported?? How can i solve it??
    Thanks for help anyway!!

    Jelena,
    In the message:
    Error ERR-1002 Unable to find item ID for item "P12_BIT " in application "123".
    I see some whitespace after the item name. Looks like we're not preparing that string as well as we should. Please try removing whitespace from the comma-delimited list of item names in the process definition and let us know if that doesn't work.
    Thanks for pointing this out.
    -Scott

  • Clear cache for items not working with multiple items

    APEX 4.0, 11g. I've made a session state process that clears cache for items (item_1, item_2, item_3) but I keep getting an error "Unexpected error, unable to find item name at application or page level" I have now created 3 session state processes, each with one page item in it, and it works fine but as soon as I try to put more than one item in the process field, separated by commas, I get this error. Is there some other setting I have to change to make it accept multiple values in this field?

    No, I wasn't using the parenthesis... just the items separated by a comma.
    I don't want to clear the cache for all page items, just these 3. It works okay in 3 separate clear cache for item processes, just thought it was odd that I can't put all three items into one process separated by commas.

  • How to clear cache for items after submitting the page ?

    db11gxe , apex 4.0 , firefox 24 ,
    hi all ,
    i have a non enterable pop-up lov and a report in the same page , and i search with the pop-up item , but the problem is when i click the search button ,
    the value in the pop-up is not deleted , and sure i want it cleared after i search ? how to do so ?
    thanks

    Surely, when you click the search button, the value in your item is required by the report (as a parameter).
    Create a button (RESET) with a branch back to the same page and use the clear cache in the branch
    Gus

  • Clear Cache-Single Page Item

    I need to clear the cache for a single page item. This is what I have done:
    - Created button call Reset Appt Time
    - Created Process - Clear Cache for items, Source has the page item I need to clear - P3_APPT_DT_TM
    - Created Branch - so that when Reset button is pressed it branches back to same page (3)
    Everything works, but the cache is cleared for all the items on the page not just the one page item I specified.
    Please advise.

    Hi,
    I am not sure if you could clear cache of a single item, but you can initialize any item to null or any values, look for the Action box of Page Branch, (set these items and set these values ).
    Regards,
    Manish

  • Item Clear Cache After Submit Press

    hi,
    i have 5 item on a page Like
    P1_A,
    P1_B,
    P1_C,
    P1_D,
    P1_E .
    I want here when i press submit button then value of P1_A, P1_B, P1_C, P1_D, P1_E should be in insert into table and clear Cache last item P1_C, P1_D, P1_E
    and value of item P1_A,P1_B should not be clear Cache.
    How can i Clear Cache the selected item .
    Thanks
    Manoj Kaushik
    Clear Cashe Selected Item On Press Submit Button

    hi ,
    I have one more proble,
    I have implement e-mail option in my application,i have two report first one contain List of all document and a Link In last Column in that report when i click at that link then respective Document are Add in Second Report .
    But problem is when i click Attach LinkThen page is Refresh and All Fill Value In ITEMS are clear which are on page 4.
    How can i stop to clear these item value if i attch document.
    Workspace: SKILLS IMPROVE
    User: [email protected]
    Password : desomu
    Application -42370
    Page No 4
    Thanks

  • API for clearing cache of page items

    Is there an API for clearing the cache of page items? I see there is a procedure called CLEAR_PAGE_CACHE in APEX_UTIL package to clear the cache of all the items on a page, but wanted the equivalent for an item. Maybe I'm making this harder than needed. No idea.
    I realize there is the option of creating a page process called "Clear Cache for Items (ITEM,ITEM,ITEM)" on a page, but I am trying to do this in an application-level process.
    Shane.

    FYI... I found that using [ apex_util.set_session_state ( 'item name', '' ); ] worked for me.

  • Clear Cache for Certain Items on Tab Click

    I found this in the forms:
    If you want to clear the cache of the page submitted when the tab is clicked, that should be the job of that page. You can create an after-submit process (before computations and validations) with:
    apex_application.clear_page_cache(:APP_PAGE_ID);
    However, I need to clear certain items not everything on the page. I tried substituting apex_application.clear_item_cache(:APP_ITEM); but that doesn't work. What is the process that clears the apex_application item cache?

    Is the page you're clicking away from executing a submit when you click away? If so, I would try either of these in a page branch.
    Assume you are on page 1 and clicking to page 2. On Page 2, let's say you want to keep the cache on items P2_A, P2_B but clear the cache for P2_C.
    In your page branch (defined on page 1) that fires to take you to page 2, try either of these:
    Clear cache on page: 2
    Set these items: P2_A, P2_B
    With these values: &P2_A., &P2_B.
    That should clear all of 2 but reset A and B back to their current values from the cache before it's cleared.
    Or, try this:
    Clear cache on page: (don't put anything here)
    Set these items: P2_C
    With these values: (don't put anything here)
    That should (I think) only clear P2_C

  • Validation not working when clearing an open item

    Hi SAP Gurus,
    We have a interesting scenario to discuss with you. We are using Legal Dunning Procedure so once legal action is intiated against the customer notifications are sent to the legal department if payments are received.
    Unfortunately this can happen only during the next dunning run which of course can occur in varying time intrevals. Therefore we need a validation to occur if a payment is received from a customer against whom legal action has been initiated.
    We tried using the following fields Date of the legal dunning proceedings, Dunning block, Dunning key, Dunning level but are not able to get the validation to work when attempting to clear the open item. These all work when trying to post a new document but fail when trying to clear a open item. Points will be given for helpful answers.
    Regards,
    Siva

    this is the radio button
    <af:selectOneRadio value="#{bindings.Gender1.inputValue}"
                                                     label="#{bindings.Gender1.label}"
                                                     required="#{bindings.Gender1.hints.mandatory}"
                                                     shortDesc="#{bindings.Gender1.hints.tooltip}"
                                                     id="sor5">
                <f:selectItems value="#{bindings.Gender1.items}" id="si7"/>
              </af:selectOneRadio>
    i use this sample
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/ADF_Insider_Essential_YesNoRadio/ADF_Insider_Essential_YesNoRadio.html

  • Don not excute valide query on MS explorer if i don't clear cache manualy

    I have a report taht execute a query on a table.
    I have notice that on some pc the query is not valid and the browser view old value.
    After a lot of test i have clear manualy the explorer'cache of Microsoft explorer. And then the query resul are valid.
    There i a solution ??
    Thank's

    See Re: ApEx Development Team: tab clear cache - new feature? .
    Scott

  • How to Clear Cache for all Items of the Current Page of a TAB

    Hi,
    I am having a TAB, when that tab is clicked..it goes to suppose Page 1, what I want to Clear the Cache of Page 1 ...as soon as Page appears...
    I don't see any option for that in the TAB Definition Properties....
    Thanks,
    Deepak

    I got the solution....
    refer by SCOTT...
    Re: ApEx Development Team: tab clear cache - new feature?
    thanks,
    Deepak

  • How to clear cache and other items

    How do you clear cache and check to see if Mac is running properly

    Settings > Safari > Clear Cache/Cookies

  • Clearing customer open items

    Hello!
    Can anybody help to find a way how to clear customer open items when there is no reference number in use for customer. In electronic bank statemen there is only billing document number in TXT field. How to configure "Make Global Settings for Electronic Bank Statement" and "Define Search String for Electronic Bank Statement" for that purpose.
    With all the best,
    Merlin

    Hello,
    IMG => Financial Accounting => Bank Accounting => Business Transactions => Payment Transactions => Electronic Bank Statement => Make Global Settings for Electronic Bank Statement
    Give your chart of Accounts
    1. Create your account symbols
    Create freely definable account symbols. Make sure that you are able to identify them when you are configuring in future steps.
    2. Assigning Accounts to Account Symbols
    Here you need to assign the account symbols to GL Accounts or you need to use masking logic. You must have designed your accounts in such a way that the end digits will work for posting the entries to FI. Account Modifier you use as + and use your local currency, if you do not have any foreign currency postings.
    3. Create Posting Rules
    Create freely definable posting rules.
    4. Define Posting Rules (This is the most important configuration for your FI Postings / Clearings)
    a) For all the payments you need to create the entries for posting area 1
    b) For all the receipt you need to create the entries for posting area 1 and 2
    c) Use the document type DZ in case if you want to clear the items. Use Posting type 8. If the invoice number is there in the reference field of bank statement, automatically the same will be selected by the system and cleared.
    d) If you want just only entries to be posted use posting type 1.
    e) If you want to clear the check, then use the posting type 4.
    f) Configure according to the entries to be posted.
    g) If you are going for clearing something the offsetting debit / offsetting credit (as the case may be) need not be given.
    5. Create Transaction Type
    Create freely definable Transaction Type
    Select the transaction type and assign the external transactions to your posting rules.
    For outgoing check use 13 as Interpretation Algorithm and 1 as the processing type.
    Remaining all case use 1 (Standard algorithm) and 5 as the processing type.
    Please also go through the below mentioned note in case if you are required to use further available interpretation algorithms or processing types.
    6. Assign Bank Accounts to Transaction Types:
    You need enter the Bank Key / Bank Account / Transaction type here.
    You can get the the bank key and bank account details from table T012K (Go to SE16)
    Further supplementary notes may be useful to you:
    There are different programs to upload electronic bank statement.
    FF.5 or FF_5.
    I think your case Multicash format you are using.
    You need have three files in FF.5 and two files in FF_5
    You can prepare a Z program in order to truncate the electronic bank statement into two or three part files and save them on the application server.
    1. Take all the external codes list from bank.
    2. Take any available documentation from the Bank describing the relevance of the external codes.
    3. Make sure that your Chart of Accounts (Bank Accounts) last digits logic is appropriate to meet the requirements.
    4. Based on this decide the Account Symbols that are required to be created.
    5. Make sure that the masking rules are configured properly.
    6. Decide the posting rules that needs to be created.
    7. Link up your external symbols provided by the bank with Posting rules and give proper algorithms for posting and clearing logic.
    6. Concentrate on the posting areas to be posted while uploading the bank statement.
    Further explanation would help you to understand the functionality when uploaded the electronic bank statement.
    Main purpose of uploading the bank statement into SAP is to make your Bank Main Account and physical bank statement balance in sync.
    You do not have any traditional Bank Reconciliation Statement (BRS) report in SAP.
    SAP is normally you maintain bank main account and bank sub account. Whenever you make a payment through F-53 or F-58 or F110, the entry would be:
    Vendor Account Dr
    To Bank Sub Account
    The ending digits of the sub-account would be important in configuring the masking rule. Based on this masking rule when you upload the bank statement the entry the system would pass is:
    Bank Sub Account Dr
    To Bank Main Account
    It depends on the configuration, either the sub account will be cleared by the system automatically or you need to run F.13 to clear the sub accounts.
    At the time of receipts, you have different accounting entries unlike payments. It needs to post to two posting areas. 1. GL Accounting 2. Sub-Ledger Accounting
    The entries would system itself pass is:
    Bank Main Account Dr
    To Bank Sub Account
    Bank Sub Account Dr
    To Cutomer account.
    Clearing logic mentioned for your posting rules and the alogrithm used for your external bank symbols will also play pivotal role in clearing the accounts.
    Ideally you will use
    FF67 / FF.5 / FF_5 for uploading manual or electronic bank statement
    FEBA / FEBA_BANK_STATEMENT is used for furthe rprocessing.
    GO THROUGH SAP NOTE 48854
    Please go through SAP Note. 48854. You will get an idea regarding the functionality of the algorithms.
    Though this note is in relevant to GB specific, you will find this very useful.
    description follows below regarding the normal procedure for maintaining table T028G. Due to the different bank codes and posting rules, pre-Customizing is not possible at this point.
    The following processing types are available - unless stated otherwise, you should use the interpretation algorithm: '000 - No interpretation' in each case.
    1. '00': There is no processing. The entry line is ignored.
    2. '01': A validation is made whether an entry exists for the transferred check number in the check table (PAYR). The check number and payment document number are transferred for further processing. Interpretation algorithm: outgoing check processing '011'-'013'; the update in the check file is via the interpretation algorithm.
    3. '02': Transfer of the ending balance to the electronic bank statement
    4. '03': Transfer of the opening balance to the electronic bank statement
    5. '04': Clearing via the allocation number which is delivered with the bank statement. No interpretation algorithm.
    6. '05': Clearing of BACS payments or BACS bank collection. The reference text field is first read to ascertain whether it involves payments initiated by users or bank collection via BACS. Providing it does involve a cash transaction initiated by the user, the payment document numbers concerned are determined via the reference number and transferred as a reference to further processing. Interpretation algorithm: '000 - No interpretation' or '019 - Reference number DME'.
    Note
    To differentiate between the two procedures in table T028G, you have to maintain two separate entries.
    Example: the bank uses bank code '62' for cash receipts and for BACS bank collection.
    Ext. Transaction +/- sign Posting rule Int. Algorithm Processing type 62 + GB62 001 5
    62 SAPBACS + GB63 000 5
    7. '06': Bank costs or interest revenues
    Recommended interpretation algorithm: '000 - No interpretation'
    8. '07': Total amount of cash disbursements
    9. '08': Total amount of cash receipts
    10. '09': Items not paid
    Recommended interpretation algorithm: '000 - No interpretation'
    Regards,
    Ravi

  • Removing Private Browsing, Clear Cache, etc. options from Safari

    This was discussed earlier, but the situation just came back up here at school as students have been found clearing history etc. to cover their tracks. This was originally posted by Yang in May 2006.
    "If you have the developer tools installed, or more specifically, Interface Builder, you can easily remove the 'Private Browsing' and 'Reset Safari' menu-items. Create a copy of Safari and browse to '/Safari.app/Contents/Resources/English.lproj/'. Open MainMenu.nib in Interface Builder. In the template of the menu bar which appears, browse to and highlight each menu-item and hit backspace to delete. Save and quit. That Safari application package will now be missing the menu-items.
    You can replace the original Safari package with the modified one, and maybe have the unmodified version in the 'Applications' folder of an administrator's home folder.
    Unfortunately, the 'Clear History' menu item seems to be generated dynamically. I can't seem to find the reference to it in Safari's resources. However, that said, I believe there are more elegant solutions to tracking a user's browsing history. In fact, it might be advisable to look at third-party solutions - ones which write history to a separate file. For instance, even if the menu-items are missing, it is possible to simply trash the relevant .plist after each browsing session to remove all traces of its history."
    In doing that, I found that while you can't remove the dynamically created "Clear History" from the History Menu, you can open "/Safari.app/Contents/Resources/English.lproj/Localizable.strings" with Project Builder from the Developers Tools and edit what shows in the menu. Just change what is after the = sign for the items you want to change and save it. It may not stop the practice completely, but it will slow things down. (Students may think twice before selecting a menu option that says "Permanently Archive History".) This doesn't change the function, just what it is called on the screen. I also removed "Empty Cache..." from the menu and changed the label and icon for History when you "View All Bookmarks" to reduce deleting them through that method. It makes them harder to find.
    Just be sure you are modifying a copy of the App so you keep the original. I then used Remote Desktop to copy the modified application into the Applications folder on the student computers. So far, only limited testing, but everything seems to work at this point.
    By the way, this was my first experience with Developers Tools and they really aren't that daunting if you think things through first.

    Seems I'm out of touch with school day issues.
    It appears you would rather snoop on behavior and punish Web "wrongdoers" than let students imagination and a few "rules" guide their Web experiences.
    If a child is smart enough to know how to "cover their tracks" then they've learned something wrong from your instructors.
    You may just want to take away their browsers and replace them with:
    http://www.makienterprise.com/kggg/kidsgogogo.html
    You also mention Apple Remote Desktop in your post. It allows you to view what any machine is doing.
    Instructor is not at a machine taking a "peak" over the students shoulder? Worked when I was in school.

  • Safari is running very slow.  I have cleared cache, reset safari, and put in new DNS 208.67.222.220 runs worse now.

    Safari is running very slow.  I have cleared cache, reset safari, and added DNS Servers 208.67.222.222.

    Mac Mini connected directly to modem by ethernet cable.  Ipad loads same web pages much faster.  Again thanks for help.
    Hardware Information:
              Mac mini (Mid 2010)
              Mac mini - model: Macmini4,1
              1 2.4 GHz Intel Core 2 Duo CPU: 2 cores
              2 GB RAM
    Video Information:
              NVIDIA GeForce 320M - VRAM: 256 MB
    Startup Items:
              HP Trap Monitor - Path: /Library/StartupItems/HP Trap Monitor
    System Software:
              Mac OS X 10.6.8 (10K549) - Uptime: 0 days 3:59:25
    Disk Information:
              Hitachi HTS545032B9SA02 disk0 : (298.09 GB)
                        (null) (disk0s1) <not mounted>: 200 MB
                        Macintosh HD (disk0s2) /: 297.77 GB (280.4 GB free)
              HL-DT-STDVDRW  GA32N 
    USB Information:
              Apple, Inc. Keyboard Hub
                        Apple, Inc Apple Keyboard
              HP Photosmart D110 series
              Logitech USB Receiver
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Computer, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
    Kernel Extensions:
    Problem System Launch Daemons:
              [failed] com.apple.suhelperd.plist
              [not loaded] org.samba.winbindd.plist
    Problem System Launch Agents:
              [failed] com.apple.Kerberos.renew.plist
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist
    Launch Agents:
              [loaded] com.hp.help.tocgenerator.plist
    User Launch Agents:
    User Login Items:
              iTunesHelper
              HP Product Research
              HPEventHandler
    3rd Party Preference Panes:
              Flash Player
    Internet Plug-ins:
              Flash Player.plugin
              FlashPlayer-10.6.plugin
              iPhotoPhotocast.plugin
              JavaAppletPlugin.plugin
              QuickTime Plugin.plugin
              Silverlight.plugin
    User Internet Plug-ins:
    Bad Fonts:
              None
    Top Processes by CPU:
                   4%          EtreCheck
                   4%          Safari
                   3%          WindowServer
                   2%          syslogd
                   1%          fontd
                   1%          activitymonitord
                   0%          Activity Monitor
                   0%          hpdot4d
                   0%          mds
                   0%          mdworker
    Top Processes by Memory:
              221 MB             WebProcess
              85 MB              Safari
              51 MB              WindowServer
              51 MB              Mail
              37 MB              Finder
              31 MB              mds
              27 MB              coreservicesd
              23 MB              HPEventHandler
              16 MB              HPIO Trap Monitor
              16 MB              mdworker
    Virtual Memory Statistics
              619 MB             Free RAM
              755 MB             Active RAM
              233 MB             Inactive RAM
              185 MB             Wired RAM
              200 MB             Page-ins
              0 B                Page-outs

Maybe you are looking for