Add new Validation seed Page

Hi all

I have a paged HR seedlings that uses a non - EO VO. I want to add a validation to see if the new line added already exist for the employee. I think I'd need a VVO and VAM to verify this.

Since there is no EO to add business logic to, I think adding it to the CO as I want to throw an error if the registration information already existing.

(1) create a VVO and VAM package custom as xx.oracle.apps.per... schema.server

(2) extend the CO, in processFormRequest(), capture the parameters to pass to the VVO
where to write the initQuery () /executeQuery () for this VO or call the VVO of?

What are the exact steps to help achieve this validation or a better way to do it.

Thank you
Shankar

Write this code in processFormRequest()

Procedure of string = "start the package. Procedure (param1 =>: 1, param2 =>: 2); end; « ;

OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl) rootAM.getOADBTransaction ();
OracleCallableStatement oraclecallablestatement = (OracleCallableStatement) oadbtransactionimpl.createCallableStatement (procedure,-1);
oraclecallablestatement. Set (1, param1);
oraclecallablestatement. Set (1, param2);
oraclecallablestatement. Execute();

This code, you can use, you can help from the developer's guide.

Thank you

Tags: Oracle Applications

Similar Questions

  • How to add new area on page seeded

    I want to add the new area on page seeded
    I can do it through customization?
    If so, how?

    Hello

    -Don't create 2nd header region.
    directlty - create table region under staklayout.

    Concerning
    Meher Irk

  • How to reach new fileds to a presentation of componemt messages in a seeded page

    Dear friends,

    I have a requirement like:
    I have to add message three texts of presentation of componemt messages (which have no attached VO) style in a seeded page.
    This area of provision of message componemt is using hash map for print (set) values to the message existing style of texts (such as number of STDS. PO s, no. cover POs, no.of Realeases etc.)

    I created the below three custom through customization fields.
    xxAmount received
    xxAmount pending
    xxAmount to deliver

    Now how? I have to create a new VO and again. and attach the display attributes and instance of view to these custom fields? will it work?
    Or can I extend any vo seeded to add my fields and attach that stretches from VO to my custom fileds?
    Is not complicated one
    OR y at - it another way simpler than the latter.

    How to get there. Help, please.
    I want to know for any clarification, please help.
    Thank you
    Aravinda

    Hello

    Error clear.
    VONAME = xxotranshistVO; APPLICATION_MODULE = oracle.apps.pon.tools.supplierdetails.server.SupplierDetailsAM;

    Somwehre you give the instance vo as this xxotranshistVO... but you have joined xxtranshistVO... See the spelling of both. and try.

    Thank you
    Bharat

  • How can I add a new corresponding mobile page after I have already created the sites Office & mobile?

    I have a site very large desk and a smaller mobile version. Now, I need to add pages to version more mobiles that are linked and redirected the parent office. I don't see a way to get where you will consider 'related pages '. Note: I is NOT need to create a mobile version of my site. I already have a mobile version. Now, I need to add new mobile pages that are matched with the office pages. Thanks for any help!

    Unfortunately, there is no way where desktop content page could get copied to the mobile pages, you must do it manually by dragging the content of mobile pages and resize them.

    Thank you

    Sanjit

  • I would like to create an interactive pdf in Indesign - two guest on 1 page in Indesign that when exporting to adobe reader in pdf format, I can simply add new names that populate both copies and then be printable. Any help out there is how to make an ext

    Two invites on 1 page in Indesign that when exporting to adobe reader in pdf format, I can simply add new names that populate both copies and then be printable. Any help out there is how to make an invitation in Indesign, but now how to make 2 copies on a single page that someone else ie the customer can add their own names. So each field name must complete on both guest. Sounds simple, but is not really there to help. I think he called an interactive pdf. Thanks in advance.

    AutoFill is the easiest part, he lies. If both fields have the same name, they will have the same content: type in one and it appears in the other.

  • Can I add new photos to existing pages as a customer

    Hello

    The customer so we can I add new photos to an existing page in Muse?  Or can you only replace existing ones?

    Thank you

    Linda

    Hi Linda,.

    Using in the edition browser, the images cannot be replaced. News cannot be added via IBE.

    Kind regards

    Neha

  • What I can, and if so, how do I add new a whole scanned document page numbers?

    What I can, and if so, how do I add new a whole scanned document page numbers?

    Hi davidr28146245,

    Yes, you can add page numbers to PDF scanner in Acrobat by using header & foot help Acrobat | Add headers and footers Bates numbering in PDF format.

    Kind regards

    Nicos

  • How can I add new pages in the (fluid) reagent layout with Dreamweaver CC?

    I seem to be screwing up the CSS when I add new pages. I have to do it wrong. Help! @

    Build your prototype of FGLayout page so that it works well in all screen sizes (first mobile, then compressed, finally Office).    To create your home page, index.html SaveAs.   Then SaveAs page2.html, replace content.  Repeat for other pages of the site.

    Nancy O.

  • How to add new tabs to custome page

    Hello
    I created a new custom page
    now, I want to add new tabs to this page
    and desire to give the link to this tabs to other pages
    Server

    HA,

    The easiest way is to create a menu & even join page. Another approach is to create throught Jdeveloper, embedded in the Page of the OFA.

    Kind regards
    GYAN

  • How to add the new area on page EBS

    How to add the new area on page EBS via OFA

    What is the error... ?

    Try to explain any question in a post...

    Concerning
    Meher Irk

  • Add an attachment to a seeded page region.

    Hi I have a requirement where I need to add an entry to a seeded page box.
    Anyone can guide me please on how to do it?

    Simple, you can go with the creation of an autonomous region with its BC4j components, add the feature of your attachment there.

    Add this autonomous region using customization page stocked.

    Thank you

  • Cannot add new tab to look for something else while having another page up?

    I can't add new tabs to have different Web sites to the top at the same time, I click on add new tab and nothing happens. I have to do a whole new window please help?

    If you have the Ask toolbar, try to disable or uninstall.

    Tools > Modules > Extensions

  • Add button on seeded table advanced to catch the person_id for generating the xml report

    Hi all

    We have a requirement to generate PDFs seeded page report.

    And we ensure a success without end. So really looking for inputs or ideas.

    We have customized page to add a column with a button inside. We used javascript

    in destination URI to intercept the event in LICS.

    JavaScript:submitForm('DefaultFormName',1,{'xxdbPrintPDF':'YES'});

    Everything is good up to this point. But the EVEN_SOURCE_ROW_REFERENCE is displayed as null, when we hit that

    custom button to the page. Where she gives good values if clicked on other items stocked in the table.

    And each row has a distinct person_id. We must manage to person_id for this specific report of the person.

    Any thoughts would be greatly appreciated.

    Thank you

    Hari

    Solved my self, create the column and point programmmatically.

    The action of fire attached to the element. And the sending of the parameters dynamically to the view as object below

    public void processRequest (OAPageContext oapagecontext,

    {OAWebBean oawebbean)

    super.processRequest (oapagecontext, oawebbean);

    Add the param action

    Hashtable paramsWithBinds = new Hashtable (2);

    paramsWithBinds.put ("personId",

    new OADataBoundValueFireActionURL (oawebbean (OAWebBeanData),

    "{$AplPersonId}"));

    paramsWithBinds.put ("vacancyId",

    new OADataBoundValueFireActionURL (oawebbean (OAWebBeanData),

    "{$VacancyId}"));

    OAAdvancedTableBean = unUsedCCTxnsTable

    (OAAdvancedTableBean) oawebbean.findIndexedChildRecursive ("ApplicantQueryRegion");

    If (unUsedCCTxnsTable! =)

    not able to find the table, skip the process of null) //If

    {

    Create a new category to the table column

    OAColumnBean = categoryCol

    (OAColumnBean) createWebBean (oapagecontext, COLUMN_BEAN, null,

    "XxcfiCategoryColumn1");

    OASortableHeaderBean = column1Header

    (OASortableHeaderBean) createWebBean (oapagecontext,

    SORTABLE_HEADER_BEAN, null,

    "XxcfiCategoryColumn1Header1");

    column1Header.SetText ("score");

    categoryCol.setColumnHeader (column1Header);

    Create the item real leaf under the first column

    OAMessageStyledTextBean = leaf1

    (OAMessageStyledTextBean) createWebBean (oapagecontext,

    MESSAGE_STYLED_TEXT_BEAN,

    NULL,

    "XxcfiCategoryColumnLeaf1");

    leaf1.setViewAttributeName ("AplPersonId");

    leaf1.setFireActionForSubmit ("paRedirect", null, paramsWithBinds,

    false, false);

    categoryCol.addIndexedChild (leaf1);

    unUsedCCTxnsTable.addIndexedChild (categoryCol);

    //--------------------------------------

    Add submitbutton

    Create a new category to the table column

    OAColumnBean = categoryCol1

    (OAColumnBean) createWebBean (oapagecontext, COLUMN_BEAN, null,

    "XxcfiCategoryColumn2");

    OASortableHeaderBean = column1Header1

    (OASortableHeaderBean) createWebBean (oapagecontext,

    SORTABLE_HEADER_BEAN, null,

    "XxcfiCategoryColumn1Header2");

    column1Header1.SetText ("Print Application");

    categoryCol1.setColumnHeader (column1Header1);

    SubmitButton = OASubmitButtonBean

    (OASubmitButtonBean) createWebBean (oapagecontext,

    OAWebBeanConstants.BUTTON_SUBMIT_BEAN,

    (NULL, 'submitButton');

    submitButton.setText ("PDF");

    submitButton.setFireActionForSubmit ("printPDF", null,

    paramsWithBinds, false, false);

    categoryCol1.addIndexedChild (submitButton);

    unUsedCCTxnsTable.addIndexedChild (categoryCol1);

    }

    }

  • Adding a new Validation using OAAttrValException

    Dear Forum,

    I have a custom with the Currency Code fields page a) b) functional amount c) entered amounts
    If the currency code is NOT 'EUR', I want to check that the functional amount is entered, otherwise throws an Exception.
    for this, I did the following.

    In relevant OS, in the setFunctionalInvoiceAmount() method, added my validation before the setattributeInternal() method call.

    code snippet:

    public void setFunctionalInvoiceAmount (numeric value)
    {
    Add a validation logic for no currency EUR

    If (! getCurrencyCode () .equals ("EUR"))
    {
    System.out.println ("test");

    If (value.equals("")) / / check if the field is null?
    {
    throw new OAAttrValException (OAException.TYP_ENTITY_OBJECT,
    getEntityDef () .getFullName (), / / name of EO
    getPrimaryKey(), / / EO PK
    "FunctionalInvoiceAmount", / / name of attribute
    value, / / attribute value
    'XX', / / short name of the product
    "XX_VAL_FUNCTIONAL_AMT"); Name of the message

    } / / end of the if
    }
    setAttributeInternal (FUNCTIONALINVOICEAMOUNT, value);
    }

    However, I am getting an error, Error (728,6): illegal character for line starting to «throw new OAAttrvalException...» "
    what Miss me.
    Also, the my check to test if the value is null is OK? I've seen examples of the Toolbox use a check as
    If (value! = null) work, but I need to check if (value = null) and this syntax does not work.

    Thank you very much
    Shankar

    The value of the variable is a number. Thus, you should not use value.equals("");

    Instead directly check for null and not null
    if(value!=null) //or if (value is null)
    {
    }

  • I can't add new bookmarks

    I have been unable to add new bookmarks for awhile now,-either by click on the Star then the bookmarks icon in the toolbar (blue, flying star in the toolbar animation is happening, but the star remains empty) or in the menu on the right by clicking on a tab. I can add/edit the bookmarks if I go to the bookmark manager.

    I know that this issue was raised before, however, none of the answers posted (that I got at least) helped.

    I tried the solution places.sqlite. It did not help.

    I tried the addon in maintenance of places. It did not help.

    Thank you

    Most likely, this is caused by the IE Tab + extension. Try disabling or deleting on the page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then you can find IE Tab + on the right side.

    Often, a link will appear above a disabled/removed extension to restart Firefox for the changes to take effect. You can complete your work on the tab and click one of the links in the last step.

    Which solves the problem?

    Note: I don't know if all the IE Tab extensions will be updated to fix this all seem to cause in Firefox 40. If you need to load some sites in Internet Explorer, you can use the following extension place - it sends the URL IE to load: https://addons.mozilla.org/firefox/addon/open-in-ie/

Maybe you are looking for

  • How to track my iTunes purchases?

    I tried to buy a pre-order album. I thought that once I had bought the album, I'd be able to listen to this album files, but when I do the attempt I got to listen to a shortcut or a message that, in order to broadcast, I have to pay to enter a kind o

  • Camileo S10 freeze everytime I try to record videos

    I just bought the Camileo S10 and it does everything just for me. Everytime I try to record video, it freezes just straight up. All the buttons are non-functional, and the only way to turn it off, is to remove the battery! I tried it without any SD c

  • ITunes is invites me to upgrade to ios9.2.1. I already did

    My iPad is already running the latest version of iOS 9.2.1 but iTunes is invites me to upgrade to this version of iOS. I realized that I already had the update & close the update and now I can't sync in iTunes. What should I do?

  • not enough memory to complete the operation

    I looked in the forums for "memory to complete operation" error and despite the advice that I found, the error always happens. I'm using LabVIEW 2012 to try to constantly monitor our system, recording temperature, power, etc. vs time (values obtained

  • Blue Screen on HP ProBook 4520 s operating system: XP Pro

    My error is: Operating system: XP Pro Technical information: STOP: 0X0000007F (0X00000008, 0XBA34BD70, 0X00000000, 0X00000000) Run recovery WinPE, antivirus, scanned the disc, windows update (machine sat for six months after about 2 days of use in Ja