Value doesnot hold between screen multi-tab-Iprocurement

Gurus,

Thanks in advance.

Module:-Iprocurement

Screens - Requistions, Requitions lines.

Requisition lines:-this screen has got several tabs namely attachments, delivery, billing, accounts.

Customization:-on the Billing tab we have customized and make a rendered true field.

Required:-this field is called product tax category and it must be true.

Validation:-do the real fire necessary from the main screen of requisition controllers CheckoutLinesCO and checkoutsummaryco have been extended. Thereby the user is obliged to go in demand lines and fill in a value in the category of tax. Validation is therefore works very well if the user is on the main screen Requistions.


But the problem is:-

(1) if the user is on the lines of requisition form and delivery or the tab accounts and the tax category of the product (under the Billing tab)) is filled (is not null) he concludes that this field is not filled in
(2) the user is obliged to go on the Invoicing tab, then click on apply.
(3) we want that the user can click on apply on any tab on screen lines application and validation of should not fire if the tax category is populated.


-request lines extended controller / CheckoutLinesCO

package xccc.oracle.apps.icx.por.req.webui;

import com.sun.java.util.collections.ArrayList;

import java.sql.Connection;

Import oracle.apps.fnd.framework.OAApplicationModule;
Import oracle.apps.fnd.framework.OAException;
Import oracle.apps.fnd.framework.OAViewObject;
Import oracle.apps.fnd.framework.server.OADBTransactionImpl;
Import oracle.apps.fnd.framework.webui.OAPageContext;
Import oracle.apps.fnd.framework.webui.beans.OAWebBean;
Import oracle.apps.fnd.framework.webui.beans.OAWebBeanTextInput;
Import oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean;
Import oracle.apps.icx.por.req.webui.CheckoutLinesCO;

SerializableAttribute public class XCCCCheckoutLinesCO1 extends CheckoutLinesCO {}

' public void processRequest (OAPageContext oapagecontext, OAWebBean oawebbean)
{

super.processRequest (oapagecontext, oawebbean);

}


public void processFormRequest (OAPageContext oapagecontext,
{OAWebBean webBean)

Var e = oapagecontext.getParameter("event");

If (return".equals (e)" ")

{

String Prod_category ="";


OAApplicationModule xxam = (webBean) oapagecontext.getApplicationModule;
OADBTransactionImpl ax = (OADBTransactionImpl) xxam.getOADBTransaction ();
Connection con = ax.getJdbcConnection ();


OAMessageLovInputBean fieldProdCat = (OAMessageLovInputBean) webBean.findChildRecursive ("ProdCat");
Prod_category = (String) fieldProdCat.getValue (oapagecontext);

String x = Prod_category;

If (Prod_category! = null)
{

oapagecontext.putSessionValue ("p_prodcat", "true");

}
Else if (Prod_category == null)

{

Exceptions of the ArrayList = new ArrayList();

exceptions. Add (new OAException ("Please fill in the Product Category of the tax tab billing for each line of your request.", OAException.ERROR));
exceptions. Add (new OAException ("once all fields have been filled in click the button apply, under the Billing tab", OAException.ERROR));

OAException.raiseBundledOAException (exceptions);

}

}
super.processFormRequest (oapagecontext, webBean);
}

}


Thanks in advance
Regis.

Always try to post the resolution so that it can help all of us.

Thank you
-Anil
http://oracleanil.blogspot.com/

Tags: Oracle Applications

Similar Questions

  • IProcurement - field of ShoppingHomePg CheckoutLinesPG-Required/Multi-tab

    Hello

    CheckoutLinesPG page is a multi tab pages in under the Pg ShoppingHome Iproc.

    We made a field made (active) by using the customization and the field is required in the CheckoutLinesPG page.

    Now, properties required fires if a user accesses the CheckoutLinespage and click on apply.

    ShoppingHome PG. is a home page that has multiple tabs which is the CheckoutLinesPG pages.

    But if the user does not have the CheckoutLinespage and click on submit from the main ShoppingHome pg I want the property needed in the fire.

    What is the best way to go about this?

    Advice would be a great help.

    Thank you very much
    Regis

    Hello

    you write the writeDiagnostic in if block, maybe it isn't updated as event capture

    Try with this code before the block yew and check

    oapagecontext.writeDiagnostics (this, "in processformRequest of the valCEHKKKKKKKKKKKKKKKKKKk lines" + oapagecontext.getParameter ("update"), 1);

    If (oapagecontext.getParameter ("update")! = null)
    {
    oapagecontext.writeDiagnostics (this,' in processformRequest lines val ", 1);
    System.out.println ("Running extended controller processformRequest...");
    }

    Thank you
    Pratap

  • Print screen (lenovo tab a8-50)

    How to print screen lenovo tab a8-50?

    Press Volume down and the power at the same time button, hold them for some time and your tablet will automatically a screen shot of your current screen. Go back to your menu and go to your gallery application for screenshot image.

  • Why did the the screen saver tab missing from real estate to XP

    Under display properties, my screen saver tab is missing and I can't change the time-out settings...

    Hello

    1. have you made changes on the computer recently?

    Method 1.
    a. click on start, then run.

    b. type gpedit.msc in the Run dialog box.

    c. press ENTER on your keyboard.

    d. in the Group Policy Editor, navigate to:

    User configuration > administrative templates > Control Panel > display

    e. double-click the tab hide screen saver.

    f. Select not configured.

    NOTE: If the screen saver tab is missing on a per user account basis then the method above does not work, you must use the registry editor to remove the group policy.

    Method 2.
    Manual steps using the Windows XP registry

    Registry warning:

    Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows:

    http://support.Microsoft.com/kb/322756

    a. click on start, then run.

    b. type regedit.exe in the Run dialog box.

    c. press ENTER on your keyboard.

    d. navigate to:

    HKCU

    e. NoDispScrSavPage do a right-click to select Edit.

    f. change the value to 0.

    g. access:

    HKLM

    h. NoDispScrSavPage do a right-click to select Edit.

    i. replace the value 0.

    j. exit the registry (Regedit.exe) editor.

    I hope this helps.

  • bbUI.js - passing variables between screens

    Hello

    I tried something using the framework bbUI.js and it seems to be pretty easy to use if it becomes more stable in future releases. But I could not find a way to set some global variables between screen-change (push and pop/back). Is it possible to define some vars on the bbUI init and use them on a screen to change the values and also back on the same screen to read values?

    Concerning

    Hello!

    Please search the forums before posting

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/how-to-pass-params-to-the-next-s...

    See you soon

  • "Multi Tab Handler" recorded not several tabs

    Extension Manager multi-onglet in FF17 recorded not several tabs. It is possible to select them, even to click on 'Save selected as files tabs' but then... nothing happens.

    Hello.

    Multi Tab Handler is not a Mozilla add-on: while the addons are reviewed by Mozilla to ensure safety and performance, Mozilla does not support end-user for Addons; This task is located on the addon developers.

    As related by https://addons.mozilla.org/en-US/firefox/addon/multiple-tab-handler/ support site is https://github.com/piroor/multipletab/issues and you can submit questions here.

    Please let us know how it works for you. Thank you!

  • With multi tabs open I'm going to close Firefox 5.0 and it will not keep the tabs closes all tabs

    With multi tabs open I'm going to close Firefox 5.0 and it will not keep the tabs it closes all tabs so when I restart I have to reopen the tabs. I was using firefox 3.6 and had the opportunity to close, but keep the tabs so they would open when I restarted firefox.

    upgrade your browser Firefox 8 and check

  • Since the upgrade to 8.0, when navigation between screens, my computer screen becomes black for 1 second before the screen is redrawn. This happens regularly and is a major nuisance. It simulates a power failure. It does not happen with IE.

    Since the upgrade to 8.0, when navigation between screens, my computer screen becomes black for 1 second before the screen is redrawn. This happens regularly and is a major nuisance. It simulates a power failure. It does not happen with IE.

    Here I answer to my problem: I upgraded my graphics card and the problem seems to have disappeared.

  • Why can't I get the First Citizens Bank account without waiting several minutes between screens?

    I have an account with First Citizens Bank. Online banking is a nightmare. It takes minutes between screens! My iPhone works in seconds. When I call the Bank they say they have the latest security technology and my Apple is probably not being updated, but they don't tell me what to update on my IMAC.  I've updated to Yosemite and I checked for the latest Adobe Reader. No update is pending from anywhere. Can someone tell me what to check? I have NO problem with any other website, but really need to be able to use it. Thank you!!

    Thank you for posting a report EtreCheck of your computer and we can look for obvious problems. Click on the link, then download and run the report. Then copy and paste the results in response to this message.

  • difference of initial value of string between the steps in the process and an external instance of LabWindows/CVI

    Hello

    I'm curious to know what I see using TestStand, LabWindows/2013 2013 with regard to initial in TestStand string values when you perform the steps in the process or an external instance of LabWindows/CVI.

    I have a step (CVI) string value that is used to check an array of characters stored in an EEPROM to test.  I pass on the Step.Result.String in the CVI by reference.  I then read the table charater of the EEPROM in the chain (Step.Result.String).  The string is then compared against the limit as specified in the test step breast.

    When I run this test step to perform the steps in the process selected in the popup Configuration of the adapter of LabWindows/CVI, it seems that the memory allocated for the string is filled with null characters.  Which is what I expected.

    When I run this test step to execute the steps in an external instance of LabWindows/CVI iselected of the Configuration of the adapter of LabWindows/CVI popup, it seems that the memory allocated for the string is filled with something else.  That is not what I expected.  For example what I see in the memory, it's the first characher is one byte NULL but the remaining bytes are some other values, as shown below:

    F0 00 AD BA 0D F0 AD BA 0D F0 AD BA 0D AD BA 0D AD BA 0D BA 0D AD F0 F0 F0
    F0 AD BA 0D F0 AD BA 0D F0 AD BA 0D F0 AD 0D AD BA 0D AD BA 0D F0 F0 F0 BA...

    In my code I make sure to write a null character in the following location table charater I just write in the chain so I have no problem with the test is working properly.  I have remove the writing from my code null character and was able to verity that the test passes when executing the steps in the process and fails during execution of the steps in an external instance of LabWindows/CVI.

    The returned string contains what I wrote for her, and then the rest of the string is filled with the values that are in the memory allocated for the string.

    Here's my Question: is this the expected behavior for the original string values in TestStand between both types of stage performances?

    Thank you

    Chris Young

    In general teststand not Initializes the unused portion of the string buffer, so it is expected that the values of the memory after character no endpoint will be different, or even to each call. If you happen to be get zeros after the null terminator which was probably due to random character (i.e. the memory allocated just arrived already having zeros in there) or perhaps a debug setting you use perhaps in the Visual C runtime (if you are debugging the process in visual studio or modify visual C runtime heap parameter). TestStand is not initializaing memory after the null terminator character in both cases (I checked the code).

    -Doug

  • My screen Display Properties lack the screen saver tab?

    Recently, I installed XP on a new drive hard and now when I go to Display Properties screen by right-clicking on the desktop, there is no screen saver tab that allows the selection of a screen saver. What can I do to fix this?

    Try the fix of Ramesh Srinivasan:

    Restore missing tabs in the display properties dialog box
    http://www.Winhelponline.com/articles/38/1/restore-missing-tabs-to-the-display-properties-dialog.html
    Download: showalldisplaytabs - xp.vbs

  • How to develop an MDI application as the editor of Visual studio (multi tab)?

    How to develop an MDI application as the editor of Visual studio with the MULTI TAB that can be dragged from parent window?

    I used EnableMDITabbedGroups (true, CMDITabInfo) which creates a multi tabs, but does NOT allow to drag the tab of the window parent, unlike the editor of VC ++.

    In addition, he will honor the parent/child relationship normal (as normal to the MDI child windows) windows associated with the e-mail even after hanging out?

    Thank you

    PR

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • I have a problem with the mouse cursor moving left to right and not conversely when switching between screens.

    Original title: change the direction of the mouse moves from the main screen to the external monitor

    My mouse movements from left to right when moving from one screen to the other, I want that he move right left how do that change

    Hi Jayson Bourne,

    Welcome to the Microsoft community. According to the description of problem cursor mouse moves from left to right and not vice versa when switching between screens. Provide the following information:

    ·         Did you do changes on the computer before the show?

    ·         You get the error message?

    ·         What is the brand and model of the mouse?

    I'll help you with this problem. I suggest you follow these methods.

    Method 1: Follow the steps in the article.

    Change the settings of the mouse

    Method 2: Update the latest drivers/software for the mouse.

    Updated a hardware driver that is not working properly

    I hope this helps. Let us know if you need help with Windows related issues. We will be happy to help you.

  • Impossible to select the value from the search screen (quick select, then) on OFA

    Hello

    We have a problem with a user who are not able to select any value from the LOV on any page of the Oracle.

    1. click the button of LOV

    2. search + go

    3. Select or quick selection nothing happens (error on the Page appears in the left corner of the homepage)

    4. only cancel works.

    Any suggestion would be appreciated.

    I saw a similar question posted Impossible to select the value from the search screen (quick select, then) on OFA

    But unfortunately this is not the answer.

    Thank you

    Sam

    Display of the solution to help others. I tried to connect a SR and suddenly a pop Note ups that helped.

    The problem is related to the profile "Self Service Accessibility Features" customer has defined for the user concerned.

    Follow these steps:

    1 change the value of 'None' profile at the user level.

    2 disconnect / connect to the application and testing.

    See you soon.

  • How do I change the view between the multi-screen in Dreamweaver CS5

    I have a question about Dreamweaver CS5.

    I have a model I bought, I downloaded it, but when I open the file it opens on the mobile phone view and not the full view of the site.

    I can't understand how to do this in the full view of the site.

    Any help would be appreciated!

    Use of the Multiscreen preview (if you have one).

    http://www.dwcourse.com/Dreamweaver/free-Dreamweaver-multiscreen-template.php

Maybe you are looking for

  • I have 2 files for the same artist and I can't put it together

    After downloading many CDs from the same artist, I had 2 files with the same name of artist.

  • Is Satellite A105 - compatible with Windows 7?

    Hi all I want to install Windows 7 on my Satellite A105-S4344. I run Windows 7 compatibility test and it said the laptop is compatible, but on the Toshiba site it says my laptop does not support Windows 7. Who to believe?

  • G8316 does not start

    We have a G8316 IBM 40 GB switch. It worked very well, but foolishly, I downloaded the latest version of the OS and uploaded the image to the switch (picture 1). the old operating system is on the picture 2. When starting the machine, he is stuck in

  • Please help I can not access my laptop

    "BOOTMGR is missing Press Ctrl + Alt + Del to restart" it's the message that's on my screen, whenever I try to on it, this has happened while I was trying to get it back, but it seems that I don't have a data recovery... Help, please

  • Windows 7 interrupted factory reset and will not a factory reset

    I have upgraded to Windows 10 a few months ago and now I had problems so I tried to do a factory reset on my computer, and so that the reset happening during 24 h + the power or the smething happened stopping power and it turned off until it was done