1 Reply Latest reply: Sep 4, 2013 7:11 AM by Raghuatdell Branched from an earlier discussion. RSS

    Re: How to Set VO Attribute Value to NULL

    Siva Prasad Nidimamidi

      You can do in this way

      XXNCVSiteEstaVOImpl vo1 = (XXNCVSiteEstaVOImpl)am.getXXNCVSiteEstaVO1();

      XXNCVSiteEstaVORowImpl vorow =    (XXNCVSiteEstaVORowImpl)vo1.first();

      vorow.setCity(null);  

       

      let me know if you need more info.

        • 1. Re: How to Set VO Attribute Value to NULL
          Raghuatdell

          Hi Siva ,

           

          In ProcessRequest I need to do it  right ?

           

          Here is the piece of code which I framed which might look as below

           

          import oracle.apps.irc.employeeReferral.server.IrcReferralInfoVOImpl;

           

            public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
              {
                  super.processRequest(oapagecontext, oawebbean);
            OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);

            OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);  
            IrcReferralInfoVOImpl vo = (IrcReferralInfoVOImpl)am.getIrcReferralInfoVO();
            IrcReferralInfoVOImpl vorow =    (IrcReferralInfoVOImpl)vo.first();
            vorow.SourceValue1(null);

              }

           

          This is how I can try the above suggestion ?