Make a field required in Standard page

Hi All,
I have a requirement to make a field required based on some codition.So I cannot personalise with "Personalize Page".I am extending the standard page CO.My code is as below:
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
String orgType=pageContext.getParameter("customerType");
if("ORGANIZATION".equals(orgType)) {
OAMessageTextInputBean acccntDesc=(OAMessageTextInputBean) webBean.findChildRecursive("AcctDesc");
acccntDesc.XXXXX }
Which method has to be placed instead of XXXXX ,to make that field mandatory.
Please help me.... its very urgent.
Akshata

Hi Akshata
Try this
"acccntDesc.setRequired("yes");"
Regards,
pavan

Similar Messages

  • Correct syntax to make a field required

    what is the correct syntax to make a field required
    i assumed it would be like setReadOnly(true); but its not.
    i searched the forum and got only 1 hit that shows leaf.setRequired(UIConstants.REQUIRED_YES); i tried this it didnt work
    i am doing this.
    OAMessageTextInputBean po = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("PurchaseOrder") ;
    po.setRequired(true);
    couldnt find nothing in the manual neither. wheres the mistake in the example.
    cheers
    Edited by: s-man on Oct 15, 2008 1:55 PM

    i did as suggested multiple ways it runs but when create button on page 1 is hit to go to page 2 i get the error page w/ the same error below the code
    any other suggestions or is a problem sticking out.
    i tried these options
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    OAMessageTextInputBean et = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("EtChoice") ;
    et.setRequired("true");
    Or
    OAMessageTextInputBean et = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("EtChoice") ;
    et.setRequired("yes");
    Or
    OAMessageTextInputBean et = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("EtChoice") ;
    et.setRequired("no");
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:544)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:920)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1536)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:866)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:833)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:575)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:363)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:866)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:833)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:575)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:330)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2121)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1562)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
         at OA.jspService(OA.jsp:45)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.ClassCastException
         at uaboaf.oracle.apps.xxuab.hr.orghierarchy.webui.manageOrgCO.processRequest(manageOrgCO.java:50)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:518)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:920)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1536)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:866)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:833)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:575)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:363)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:866)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:833)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:575)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:330)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2121)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1562)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
         at OA.jspService(OA.jsp:45)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.ClassCastException
         at uaboaf.oracle.apps.xxuab.hr.orghierarchy.webui.manageOrgCO.processRequest(manageOrgCO.java:50)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:518)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:920)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1536)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:866)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:833)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:575)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:363)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:866)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:833)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:575)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:330)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2121)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1562)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
         at OA.jspService(OA.jsp:45)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

  • SPEL? make REASON field required if user has changed the value in SALARY

    I have a requirement to make REASON field required if user has changed the value in SALARY field. Is it possible using spel? what are my options?

    Karan,
    You can change the Rendered Property through personalization.
    But in your requirement you need to attach the Spell through personalization & extend the existing CO to set the value of the SPELL based upon the condition.
    Note - Refer this thread http://forums.oracle.com/forums/thread.jspa?threadID=2176729&tstart=0. If you have worked on SSHRParams kindly help the user.
    Regards,
    Gyan

  • How to make a field required in OAFramework

    How to make a field required in OAFramework at runtime?? Please explain in detail if possible.
    Thanks
    Kumar

    Get the handle of the bean using the following Code
    <BeanType> bean = <BeanType>webBean.findIndexedChildRecursive("<Id of bean>");
    if(bean!=null && <condition>)
    bean.setRequired(true);
    }

  • Issue : Adding additional fields  to a standard page

    Hi OAF experts,
    My requirement is I have to add 2 custom fileds to a Standard Page,the 2 fields are not available in any standard table,
    So i have created one Custom table for the addtional fields,
    my VO is EO based VO , So i have created one standalone EO based on Custom table.
    I have extended my VO adding the custom EO,
    after all things like substuting ,importing,compiling .java files,bouncing server iam getting an error like 'unable to access the draft quote'.
    At the time of Extending VO my additional fileds coming from custom EO are becoming as Transient,
    Iam working on R12.1.1 ,Jdev 10.1.3.3
    can any body please tell approach of mine is correct or not,
    othervise Can you tell me the right approach,
    Thanks,

    Hi Prathap,
    Thanks for the reply,
    but i have already modified sql Query,after that only the error is coming
    my custom fields are Quote Type,Base Quote. which are in last part of select statement.
    iam giving my query:
    SELECT BidHeadersEO.BID_NUMBER,
    BidHeadersEO.AUCTION_HEADER_ID,
    BidHeadersEO.BIDDERS_BID_NUMBER,
    BidHeadersEO.BID_TYPE,
    BidHeadersEO.CONTRACT_TYPE,
    BidHeadersEO.TRADING_PARTNER_CONTACT_NAME,
    BidHeadersEO.TRADING_PARTNER_CONTACT_ID,
    BidHeadersEO.TRADING_PARTNER_NAME,
    BidHeadersEO.TRADING_PARTNER_ID,
    BidHeadersEO.PHONE,
    BidHeadersEO.FAX,
    BidHeadersEO.EMAIL,
    BidHeadersEO.BID_STATUS,
    BidHeadersEO.BID_STATUS_NAME,
    BidHeadersEO.AWARD_STATUS,
    BidHeadersEO.AWARD_STATUS_NAME,
    BidHeadersEO.BID_EFFECTIVE_DATE,
    BidHeadersEO.BID_EXPIRATION_DATE,
    BidHeadersEO.PUBLISH_DATE,
    BidHeadersEO.CANCELLED_DATE,
    BidHeadersEO.DISQUALIFY_REASON,
    BidHeadersEO.FREIGHT_TERMS_CODE,
    BidHeadersEO.CARRIER_CODE,
    BidHeadersEO.FOB_CODE,
    BidHeadersEO.NOTE_TO_AUCTION_OWNER,
    BidHeadersEO.ATTACHMENTS_FLAG,
    BidHeadersEO.LANGUAGE_CODE,
    BidHeadersEO.CREATION_DATE,
    BidHeadersEO.CREATED_BY,
    BidHeadersEO.LAST_UPDATE_DATE,
    BidHeadersEO.LAST_UPDATED_BY,
    BidHeadersEO.AUCTION_CREATION_DATE,
    BidHeadersEO.BID_CURRENCY_CODE,
    BidHeadersEO.RATE,
    BidHeadersEO.RATE_TYPE,
    BidHeadersEO.RATE_DATE,
    BidHeadersEO.MIN_BID_CHANGE,
    BidHeadersEO.ORDER_NUMBER,
    BidHeadersEO.PO_TXN_FLAG,
    BidHeadersEO.DOCUMENT_TRACKING_ID,
    BidHeadersEO.PROXY_BID_FLAG,
    BidHeadersEO.NUMBER_PRICE_DECIMALS,
    BidHeadersEO.PO_AGREED_AMOUNT,
    BidHeadersEO.BID_NUMBER_ORIGINAL_ROUND,
    BidHeadersEO.BID_NUMBER_PREV_ROUND,
    BidHeadersEO.DOCTYPE_ID,
    BidHeadersEO.BID_REVISION_NUMBER,
    BidHeadersEO.ORIGINAL_BID_NUMBER,
    BidHeadersEO.ORIGINAL_REVISION_NUMBER,
    BidHeadersEO.CANCEL_REASON,
    BidHeadersEO.VENDOR_ID,
    BidHeadersEO.VENDOR_SITE_ID,
    BidHeadersEO.AGENT_ID,
    BidHeadersEO.CREATE_SOURCING_RULES,
    BidHeadersEO.UPDATE_SOURCING_RULES,
    BidHeadersEO.RELEASE_METHOD,
    BidHeadersEO.PO_HEADER_ID,
    BidHeadersEO.PO_WF_CREATION_RND,
    BidHeadersEO.PAYMENT_TERMS_ID,
    BidHeadersEO.PO_ERROR_CODE,
    BidHeadersEO.RATE_DSP,
    BidHeadersEO.PO_START_DATE,
    BidHeadersEO.PO_END_DATE,
    BidHeadersEO.INITIATE_APPROVAL,
    BidHeadersEO.PO_ERROR_MSG,
    BidHeadersEO.DRAFT_LOCKED,
    BidHeadersEO.DRAFT_LOCKED_BY,
    BidHeadersEO.DRAFT_LOCKED_BY_CONTACT_ID,
    BidHeadersEO.DRAFT_LOCKED_DATE,
    BidHeadersEO.DRAFT_UNLOCKED_BY,
    BidHeadersEO.DRAFT_UNLOCKED_BY_CONTACT_ID,
    BidHeadersEO.DRAFT_UNLOCKED_DATE,
    BidHeadersEO.ATTRIBUTE_LINE_NUMBER AS ATTRIBUTELINENUMBER,
    BidHeadersEO.VENDOR_SITE_CODE,
    BidHeadersEO.SURROG_BID_FLAG,
    BidHeadersEO.SURROG_BID_CREATED_TP_ID,
    BidHeadersEO.SURROG_BID_CREATED_CONTACT_ID,
    BidHeadersEO.SURROG_BID_RECEIPT_DATE,
    BidHeadersEO.SURROG_BID_ONLINE_ENTRY_DATE,
    BidHeadersEO.COLOR_SEQUENCE_ID,
    BidHeadersEO.OLD_NOTE_TO_AUCTION_OWNER,
    BidHeadersEO.OLD_BIDDERS_BID_NUMBER,
    BidHeadersEO.OLD_BID_EXPIRATION_DATE,
    BidHeadersEO.OLD_MIN_BID_CHANGE,
    BidHeadersEO.OLD_SURROG_BID_RECEIPT_DATE,
    BidHeadersEO.OLD_BID_STATUS,
    BidHeadersEO.OLD_BID_NUMBER,
    BidHeadersEO.DISPLAY_PRICE_FACTORS_FLAG,
    BidHeadersEO.REQUEST_ID,
    BidHeadersEO.REQUEST_DATE,
    BidHeadersEO.IMPORT_FILE_NAME,
    BidHeadersEO.REQUESTED_BY,
    decode(auctionHeader.IS_PAUSED, 'Y',
    pon_response_pvt.get_header_close_bidding_date(BidHeadersEO.auction_header_id),
    auctionHeader.CLOSE_BIDDING_DATE) AS AUC_CLOSE_BIDDING_DATE,
    auctionHeader.AUCTION_TITLE AS AUCTION_TITLE,
    auctionHeader.BID_RANKING AS AUC_BID_RANKING,
    auctionHeader.MIN_BID_CHANGE_TYPE AS AUC_MIN_BID_CHANGE_TYPE,
    auctionHeader.MIN_BID_DECREMENT AS AUC_MIN_BID_DECREMENT,
    auctionHeader.NUMBER_PRICE_DECIMALS AS AUC_NUMBER_PRICE_DECIMALS,
    auctionHeader.OPEN_BIDDING_DATE AS AUC_OPEN_BIDDING_DATE,
    auctionHeader.SUPPLIER_VIEW_TYPE AS AUC_SUPPLIER_VIEW_TYPE,
    auctionHeader.FULL_QUANTITY_BID_CODE AS AUC_FULL_QUANTITY_BID_CODE,
    auctionHeader.AUCTION_STATUS,
    auctionHeader.AUCTION_TYPE,
    auctionHeader.BID_LIST_TYPE,
    auctionHeader.CURRENCY_CODE AUCTION_CURRENCY_CODE,
    auctionHeader.RATE_TYPE AUCTION_RATE_TYPE,
    auctionHeader.RATE_DATE AUCTION_RATE_DATE,
    auctionHeader.RATE AUCTION_RATE,
    auctionHeader.NOTE_TO_BIDDERS,
    auctionHeader.PROXY_BID_ALLOWED_FLAG ,
    auctionHeader.MULTIPLE_ROUNDS_FLAG,
    auctionHeader.AUCTION_ROUND_NUMBER,
    auctionHeader.BID_RANKING,
    auctionHeader.TRADING_PARTNER_CONTACT_ID auction_tp_contact_id,
    auctionHeader.CONTERMS_EXIST_FLAG,
    auctionHeader.SHOW_BIDDER_SCORES,
    decode( nvl(AuctionHeader.IS_PAUSED, 'N'), 'Y','Y', nvl2(AuctionHeader.STAGGERED_CLOSING_INTERVAL, 'S', 'N')) as is_paused,
    auctionHeader.HAS_PE_FOR_ALL_ITEMS AUC_HAS_PE_FOR_ALL_ITEMS,
    auctionHeader.HAS_PRICE_ELEMENTS AUC_HAS_PRICE_ELEMENTS,
    auctionHeader.PF_TYPE_ALLOWED AUC_PF_TYPE_ALLOWED,
    auctionHeader.BID_FREQUENCY_CODE BID_FREQUENCY_CODE,
    auctionHeader.BID_VISIBILITY_CODE BID_VISIBILITY_CODE,
    lookups.MEANING BID_VISIBILITY_CODE_MEANING,
    auctionHeader.EVENT_ID EVENT_ID,
    auctionHeader.RANK_INDICATOR RANK_INDICATOR,
    'Y' AS YES_STRING,
    auctionHeader.HAS_ITEMS_FLAG AUC_HAS_ITEMS_FLAG,
    auctionHeader.PUBLISH_RATES_TO_BIDDERS_FLAG PUBLISH_RATES_TO_BIDDERS_FLAG,
    auctionHeader.ALLOW_OTHER_BID_CURRENCY_FLAG ALLOW_OTHER_BID_CURRENCY_FLAG,
    auctionHeader.DERIVE_TYPE AUC_DERIVE_TYPE,
    auctionHeader.DOCUMENT_NUMBER AUCTION_DISPLAY_NUMBER,
    auctionHeader.AUCTION_HEADER_ID_ORIG_ROUND,
    auctionHeader.AUCTION_HEADER_ID_PREV_ROUND,
    auctionHeader.TRADING_PARTNER_ID AUC_TRADING_PARTNER_ID,
    auctionHeader.CONTRACT_ID,
    auctionHeader.CONTRACT_VERSION_NUM,
    PON_AUCTION_PKG.TIME_REMAINING(auctionHeader.auction_header_id) TIME_LEFT,
    auctionHeader.NUMBER_OF_EXTENSIONS,
    auctionHeader.AUCTION_HEADER_ID_ORIG_AMEND,
    nvl(auctionHeader.amendment_number, 0) AUCTION_AMENDMENT_NUMBER,
    auctionHeader.HDR_ATTR_ENABLE_WEIGHTS,
    auctionHeader.HDR_ATTR_DISPLAY_SCORE,
    auctionHeader.HAS_HDR_ATTR_FLAG,
    auctionHeader.POWER_BIDDING_ENABLED_FLAG,
    auctionHeader.PROXY_BIDDING_ENABLED_FLAG,
    to_char(null) POWER_BID_ON_LOSING_LINES,
    auctionHeader.supplier_enterable_pymt_flag,
    auctionHeader.progress_payment_type,
    auctionHeader.Advance_negotiable_flag, auctionHeader.recoupment_negotiable_flag,
    auctionHeader.progress_pymt_negotiable_flag,
    auctionHeader.retainage_negotiable_flag, auctionHeader.max_retainage_negotiable_flag,
    auctionHeader.po_style_id,
    auctionHeader.last_line_number,
    auctionHeader.number_of_lines,
    auctionHeader.display_best_price_blind_flag,
    auctionHeader.STAGGERED_CLOSING_INTERVAL,
    auctionHeader.PRICE_TIERS_INDICATOR,
    BidHeadersEO.TECHNICAL_SHORTLIST_FLAG,
    BidHeadersEO.SHORTLIST_FLAG,
    nvl(auctionHeader.TWO_PART_FLAG, 'N') TWO_PART_FLAG,
    auctionHeader.SEALED_AUCTION_STATUS,
    auctionHeader.LAST_PAUSE_DATE,
    auctionHeader.TECHNICAL_EVALUATION_STATUS,
    auctionHeader.TECHNICAL_LOCK_STATUS,
    BidHeadersEO.SUBMIT_STAGE,
    PFCQuoteEO.QUOTE_TYPE,
    PFCQuoteEO.BASE_QUOTE
    FROM
    PON.PON_BID_HEADERS BidHeadersEO,
    PON.PON_AUCTION_HEADERS_ALL AuctionHeader,
    FND_LOOKUP_VALUES lookups,
    PON.PFC_PON_BID_HEADERS_EXT PFCQuoteEO
    WHERE
    BidHeadersEO.BID_NUMBER = :1
    AND
    BidHeadersEO.AUCTION_HEADER_ID = AuctionHeader.AUCTION_HEADER_ID
    AND
    BidHeadersEO.BID_STATUS = 'DRAFT'
    AND
    lookups.lookup_type = 'PON_BID_VISIBILITY_CODE'
    AND
    lookups.lookup_code = auctionHeader.BID_VISIBILITY_CODE
    AND
    lookups.language = USERENV('LANG')
    AND
    lookups.view_application_id = 0
    AND
    lookups.security_group_id = 0
    AND
    PFCQuoteEO.BID_NUMBER = bidheaderseo.BID_NUMBER
    Edited by: user12260892 on Jan 19, 2010 4:46 AM

  • Disabling button depending on the Value of a field in a standard page

    Hi,
    How can I disable a button depending on the value selected in a particular field of the same page? Is it possible to do so in a Oracle standard page? Please guide me in resolving this requirement.
    Thanks,
    Swagatika

    Swagatika,
    You can attach PPR event to the textinput field and use method
    pageContext.ForwardImmediatelyToCurrentPage().As process request method will be called again,here you can use method setDisabled(boolean) in OAsubmitButtonBean, to enable or disable your button!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to make metadata fields required when creating folders

    Hello all....
    Related issue with SR 3-6472229431 and SR 3-6471130611.
    We're using DIS 11.1.6 64-bits (2011_11_29 (rev 9756) 11.1.6.97) in a Windows 7 64-bits workstation (with UCM 11.1.1.5 in a Linux machine). The check-in of images to UCM goes fine.
    I'm trying to make some metadata fields required when creating a folder. These fields are required when making a check-in, but not when creating folders.
    Folders_g is enabled. DesktopTag too.
    EDIT: Patch: 14695303 - WCC 11.1.1.5.0 BUNDLE ( MLR 16 ) NOV 6 2012 applied.
    Is it possible?
    Thanks for all.
    Edited by: fgomes on 22/11/2012 03:24

    After reading your response and rereading the original question a bit closer, the metadata prompting feature does not apply to creating new folders, only content.
    Again, though, I think the focus here is in the wrong place. The metadata applied to a folder is intended to be ultimately applied to the content. You can build global rules that fire on submission of content to check if a field has a value, and throw an error if the value is empty.
    If you expect users to create folders (and actually apply any metadata to the actual folder itself), you will be disappointed. Experience shows that users are not interested in that level of detail when creating content, let alone folders. Letting typical users create folders is a bad idea anyway, as they tend to create the same inefficient folder structures they previously created in file shares within Content Server.
    If you need to tightly control folder attributes, you'll be better served by locking down the ability to create new folders. Otherwise you're looking at some type of customization. Keep in mind that you won't be able to customize the right click behavior of DIS. Any changes to DIS would have to be an enhancement request.

  • Make a field required on record creation, read only after that

    Hello,
    Does anyone know of a way to make a pick-list field required on record creation, but read-only after that? The other twist to this is that we need to allow this field to also be read-write for all the integration edits, since this field's value could change in the enterprise database.
    Thanks,
    Neal G.

    Hi !
    I think you can add a validation rule for that. Something like :
    IIf(PRE('&lt;YOURFIELD&gt;') IS NULL, &lt;&gt; '', = PRE('&lt;YOURFIELD&gt;'))
    This means that if the previous value of your field is null (it's a creation), so the value must be different than blank. Else, it must be equal to the previous value, so not modified.
    I didn't tested it, but I let you get back to me if it works... or not !
    You'll just have to add a message saying that this field is required on creation and readonly after...
    Hope this will help, feel free to ask more !
    Max

  • Make a field required based on input in another field

    So I have researched the forum to answer the question of how to make certain fields in a form required if a value is entered in another designated field, and not required if no value is entered in the designated field.
    For example:
    There is a field titled QTY_paper, and if a value is entered into QTY_paper, then the field PROGRow1 should become required.
    If no value is entered into QTY_paper, then PROGRow1 is not required.
    I've tried both FormCalc and Javascript, but with no results. In FormCalc I added this script as a mouseExit event on QTY_paper:
    if ($.isNull == 0) then
         //Make the budget field Required
         PROGRow1.validate.nullTest = "error";
    endif
    and then I added this script in FormCalc to the mouseExit event on PROGRow1:
    if ($.isNull == 0) then
    $.validate.nullTest = "disabled"
    endif
    This came almost verbatim from another post on the forum, so I'm thinking I'm missing something obvious here... which isn't too odd as I'm still pretty new at adding the scripts. Please help if you can!

    You'd want to combine both scripts on the first field with an if/else statement. And I'd use the Exit event instead of Mouse Exit (not sure if Mouse Exit handles tabbing in and out of fields).
    The first script should have worked, but with the second script you were asking if PROGRow1 was null, not QTY_paper.
    FormCalc:
    if ($.isNull) then
         PROGRow1.validate.nullTest = "error"
    else
         PROGRow1.validate.nullTest = "disabled"
    endif

  • Need to make some fields mandatory in standard transaction XK01

    HI All,
    Is it possiable to make some fields in standard transaction like XK01 mandatory?
    or any work around ?
    thank in advance for your replies.
    Regads,
    Riyaz.

    Hi,
    From configuration(SPRO) u can easily make some fields mandatory in XK01. Otherwise create a transaction varition for XK01 using TC SHD0.
    Rewards points if helpful.
    Regards,
    Srinivas Ch

  • BDC Recording - Make a field required

    Dear Experts,
    We are using a BDC recording to call MIRO and send it to an agent via workflow using a z-table.
    The customer wants the baseline date on this recording grey'ed out and the business area field required.
    The baseline date is on the "PAYMENT" tab of MIRO and Business Area on the "DEATILS" tab. 
    I have created a screen and transaction variant a year ago and assigned it to the t-code, but now with the BDC calling MIRO for the INVOICE Scanning project, these fields can be overwritten and left out.
    How can I do it via BDC?
    Transnet Freight Rail
    Edited by: Annelize Meyer on Mar 17, 2010 1:39 PM

    You could create a on-submit pl/sql validation on 'p2_estim_val'. The validation code will return a failure if the value of p2_estim_val is not specified if the value of p2_reason_to_scap_sell is non-null
    The validation code could be something as simple as
    if not :p2_reason_to_scap_sell is null and :p2_estim_val is null then
       return 'A value is required for p2_estim_val';
    end if;varad

  • How to make a field required

    I'm using Adobe LiveCycle 8.0. I just created my first form. There is a few fields I would like to make required. I already have the TAB order the way I need it to be. Here's what I need to happen: If a user starts filling out the form & does not fill in any information in the client ID field, & they hit the TAb key, I want some kind of error to pop up telling them the client ID field is required. Is this possible? Thanks

    You can put the following JavaScript code into the exit event of the Client ID field:
    if (this.rawValue == '' || this.rawValue == null){
    xfa.host.messageBox("The client ID field is required.");
    Just make sure you have selected JavaScript from the Language drop down and not FormCalc. You can also set the field type as 'User Entered - Required' in the 'Value' tab of the 'Object' Palette and insert a message in the 'Empty Message' box. This will then validate on submitting the form and a red border will appear on that field.

  • Is it possible to make a field required when a "sales stage" is chosen?

    Hi all.
    We use certain sales stages for our opportunites.
    The higher ups would like to make it required to choose a "Reason Lost" when the "Sales Stage" "closed/lost" is picked.
    These fields are picklists currently used by everyone. "Sales Stage" is required currently.
    We cannot pull this from Dynamic Layout because it is a field that is not "Opportunity Type" driven.
    Thanks in advance!!

    yes it is possible. In the sales process detail where u have defined the Sales stage. Drill down on the closed/lost sales stage. In this section u will see a section called "Additional Required Fields"
    you can specify the fields you want to make required for that particular sales stage

  • How to make a field required before printing?

    I need to create PDF forms that include numerous required fields. These forms are Word (2013) documents that are converted to PDF. The problem I'm trying to figure out is it sounds like the "required" field option is only enforced when the form is submitted through a web browser. Is there a way to force the user to complete the required fields before printing the form? If it's not possible through Acrobat XI, any suggestions on easiest way or software needed to accomplish this goal?
    I will be using Acrobat XI Pro, but the users will mostly have Adobe Acrobat Reader.

    For that you need to write custom JavaScript to read the fields, and test the required fields to see if they have been completed or not. For many fields one can compare the value to the defaultValue and others may need some special coding for the specific field.
    It is not possible with JavaScript to prevent printing but one can hide or show fields or modify field properties before the PDF is printed.

  • Make one field required based on another field

    I am trying to set a form up, so that when a check box is marked, then the corresponding date field is required.  I set the script language to Javascript and entered this script: 
    if 
    (this.rawValue == "1") (PROPOSALDATE.mandatory = "error")
    However, I get an error message stating "syntax error near toekn '!' on line 1, column 20."  There is no ! in this script, so I don't know what it is talking about.  What am I doing wrong?

    Hi,
    The script that executes if the statement is true should be inside curly brackets. So the following in the click event of the checkbox should work:
    if (this.rawValue == "1")
         PROPOSALDATE.mandatory = "error";
    else
         PROPOSALDATE.mandatory = "disabled";
    The above is Javascript.
    Hope that helps,
    Niall
    Assure Dynamics

Maybe you are looking for

  • How do you reference assembly resources from MP in PowershellGrid Widget script

    Instead of shipping my custom assemblies to a known location on the system center 2012 server in separate files, I'm trying to use assembly resources to do this.  The issue I am having is referencing these assemblies in the script for the PowershellG

  • WinXPHomeEdition -JRE autoinstall error -1.4.2_05

    hai, We are using the following code to download the JRE automatically. ============ <HTML> <BODY> Downloading Java WebStart... <OBJECT CODEBASE="http://java.sun.com/update/1.4.2/jinstall-1_4_2_05-windows-i586.cab" CLASSID="clsid:5852F5ED-8BF4-11D4-A

  • Registration Page is wrong?

    the code on the registration is: date -u +%VLinux|sha256sum|sed 's/\w//g' that always resulting: it should be date -u +%VLinux|sha256sum|sed 's/\W//g'

  • E8500 fails to boot

    Hello, i installed a e8500 on my p6n sli platinum mb and it fails to do anything. Now i hear that there are some different version of the p6n mobo`s that are missing parts to work with the e8500. So what can i do about this? I've tried to contact the

  • JNI/Ada crashes with put_line

    Hello, i'm invoking a function/procedure in an ada-shared library under linux with works fine so far. when i insert a put_line into the ada function, the vm crashes while executing the put_line. I tried also using a small c library with some output.