entry is id - for gettting the description by using function db

Hi experts,

using jdev11.1.1.5.0 - adfbc.

My description of the scenario:

I had made oneexamplecurrentvo slide panelformlayout in that... I had field

tell as an example.
customer id:  ----      //this is fields as input lov. ok // it is not mandory
customer description.    // transist attr in other words non db fields
lov to entry retrieves the data of
customer vo.
select custid. custdescription from customervo where someid= : psomeid
what I've done. a lov and give them the customerid that belongs to onecurrentexamplevo.

Here, we had like this db function.
func_find_cust_desc ('somevalueparam', 'somevalueparam', custid) for pass id description.
what I've done. I take this func_find_cust_desc ('somevaluepassing', oneexamplecurrenteo.custid, 'somevaluepassing') except custid passing some values directly at.

Paste this statement as
select double func_find_cust_desc('somevaluepassing',oneexamplecurrenteo.custid,'somevaluepassing')
into my expersion of querycolumn of the description field of customer (which is trasnist attr) this attr is onecurrentexamplevo (as said above).

why I don't like it. keep the description at any time.
each first enter the page means that description so will present re-questioning means lost.

in order to avoid that. do like that. and another thing that we already have id of passage function description in forms10g

function work correctly and lov and descritption return correctly
CREATE OR REPLACE FUNCTION func_find_custgrp_desc

     (
          var_bu          VARCHAR2,
          var_id          VARCHAR2,
          VAR_LANG        NUMBER

     )RETURN VARCHAR2

     IS

     CURSOR c1 IS SELECT custgrp_desc1,custgrp_desc2 FROM customer_groups
          WHERE custgrp_bu = var_bu
          AND   custgrp_group_id = var_id;

     cr1 C1%ROWTYPE;

BEGIN
     OPEN c1;
     FETCH c1 INTO cr1;
     IF c1%NOTFOUND THEN
          RAISE_APPLICATION_ERROR(-20157,'ARM'||'-'||var_bu||var_id);
     ELSE
          --IF func_find_appl_cntrl(var_bu) = 1 THEN
          IF VAR_LANG=1 THEN
               RETURN cr1.custgrp_desc1;
          Else
               RETURN nvl(cr1.custgrp_desc2,cr1.custgrp_desc1);
          END IF;
     END IF;
     CLOSE c1;
END;
/
My problem is:
onecurrentexmpaletable is exposed oncurrentexamplevo.

that vo exposed as panelform (as said above)

oncurrentexampletabale Yes

in my db that onecurrentexmpaletable has 4 rows. Like this

column CustID

Row1: 12

row2: 13

row3: 14

row4: null value, value is not mandory in db

When the page rendered himself. problem starts

the RAISE_APPLICATION_ERROR (-20157, "ARM" |) " -'|| var_bu | error var_id) starts.
I found out the reason why he throws means function check every 4 rows.

latest data rows return nonzero if error survey.

but it is field is not mandatory in db and ui (sometimes the user may give or may not give). and but the function is also throwing error always. because the 4 rows is null

big reason:
If someone line vaues column has null values, this function is triggered automatically. like that, some of the fields is boring. If the client supplied value is average, no problem. but it's the customer's choice.




and some info:

Forms:
1. in forms10g we treat this function like this func_find_cust_desc('somevaluepassing',*:somedatablock.custid*,'somevaluepassing')
pin point the current value using bindvaraible ':' and also to manage this function when validate.

Why because that means field is not mandatory so db and user interface. so while the rendering error screen is not lifted. When customer enter in the specific fields all to perform some malfunction null above recovery error will be thrown.


the mistake I made in the adf. I didn't have anything in the adf
1 am not the value of pin pointing the current in the adf, or in other'm not providing currentvalue to operate while it controls all four lines.

Look here say only / / / / I did nt know how to provide the currentvalue in inexpersionfield of the trans attribute function
Select func_find_cust_desc ('somevaluepassing', 'somevaluepassing', custid) of double in my description of the customer (trasnist attr) expersion belongs this attr. oneexamplevo(as above said)
2. do not use when validating in the adf. I don't have how to use when validating in the adf.
If I use this function to validate when adf equivalent means I will avoid the error when rendering.


I hope that this great story says fight with requirement.
but you the wendrefull who read/helpng very difficult to understand.

here am explain some details.

Thank you & & Redargs
ADF7.

It's all in the docs http://docs.oracle.com/cd/E23943_01/web.1111/b31974/bcrules.htm...

Timo

Tags: Java

Similar Questions

  • How can I format my Macbook Pro? I am first timer for formatting the Mac after using it for 5 years. Could you give the steps in the process of formatting? Thank you

    How can I format Macbook Pro OS X Yosemite 10.10.5? Could you give me the steps of formatting?

    -Backup of data you want to save

    -Start in Recovery

    OS X: on OS X Recovery - Apple Support

    and then format the boot disk and resinstall OSX via recovery

  • How to store the XML Fragments using functions such as XMLElement

    Hello

    Don't know what I'm missing. I want to store XML fragments in variables so that can move around and concatenate it with the other fragments to make the final XML document. Even before trying to concatenate XML fragments, I fight to store any XML fragment in a variable. I try to use simple functions such as XMLElement to generate XML data can be stored in the variable. I've seen many examples of XMLElement in SQL select statement. XMLElement is usable in plsql? XMLElement said she returned the value of type XMLType. Functions such as XMLElement to generate XML easy to create all the tags manually.

    Here is a simple example that illustrates what I would do. I wish I could pass the XML as clob or XMLType fragment. I get error saying PLS-00201: identifier "XMLELEMENT" must be declared

    declare
    XMLType vTheData;
    CLOB vTheDataClob;

    Start
    vTheData: = XMLelement("empno",'1234567');
    vTheDataClob: = xmlelement("empno",'1234567').getclobval ();
    end;

    Wherever I can use below, but certainly do not use select double method of. I just can use the XMLElement function in plsql even than sql, like most of the other functions for example length, rtrim etc.

    declare
    XMLType vTheData;
    CLOB vTheDataClob;

    Start
    Select xmlelement("empno",'1234567')
    in vTheData
    Double;

    Select xmlelement("empno",'1234567').getclobval)
    in vTheDataClob
    Double;
    end;

    Hope it makes sense.

    Thank you

    That said, is there a more elegant way to achieve below. It is fill two XML fragments and concatenate together.

    Of course, why not just a single statement?

    Select XMLConcat)

    XMLElement (...)

    XMLElement (...)

    )

    in vTheResult

    Double;

    As is a second question, better to build and send XML as clob or XMLType fragments?

    I would say that staying with XMLType, but it depends on your condition.

    I generally avoid passing around data elements, SQL/XML functions are powerful in the way that they can be used with set operations, until their use in a piecemeal approach some deny what they are for.

  • How to change the Description of the c# step programmatically

    Based on user selections in my DLL I want to change the Description of step TestStand.  I use c# 2008 and TestStand 4.1.  I am able to read the Description by using Step.GetDescriptionEx, but I can't find a matching 'Set' command.

    It is a step in editing.  With the help of PropertyObjectFile.IncChangeCount () works fine.

  • Can I search for a word in the description of a bookmark?

    When I add a bookmark, I often add a description.
    Another reason why a lot of my favorites are the descriptions is that I am an old user of delicious and I imported these bookmarks in Firefox.
    So I would like to search for words that I wrote in the description, because the description is often more significant than the label, the name or the URL.
    But unfortunately Firefox does not resemble the description during the search in bookmarks.
    Nor find any extension.

    A backup of bookmarks HTML includes descriptions, so you could open such a backup in a tab and use the search bar to search the page.

    You can make Firefox create an automatic HTML (bookmarks.html) backup when you exit Firefox, if you set the pref to true on the subject browser.bookmarks.autoExportHTML: config page.

    This backup is created by default in the profile as bookmarks.html folder whenever you close Firefox, but you can set the file name and the path through the pref browser.bookmarks.file on the topic: config page.

    The pref browser.bookmarks.file does not exist by default and you must create a new pref to string with the name browser.bookmarks.file and set the value to the full path of the file backup bookmarks including the name of the file.

  • Can fix you this problem... no text cursor is available in the description box for step 4 from the sale of eBay.co.uk

    I use XP Pro SP3 + Firefox 16.0.2
    Since yesterday, trying to sell an item on eBay.co.uk, no text cursor is available in the description for step 4 box, is not possible to enter text.
    However, text can be entered in all the other text boxes on the sales page.

    For comparison, using Internet Explorer 7, the text can be entered in this text box.

    Hello. Thanks for this direction. Problem turned out to be coming through "Elegant". A style to remove ads from eBay has proved to be the root of the problem, and eBay has been fully functional as soon as I disabled the style.
    I really liked this style... think I'll keep it for viewing and clear to sell! Elegant, which is easy using the toolbar in the Firefox Add-on.
    Byee
    Norm

  • Event ID, errors, the description for event ID, 1307, 1312

    Hello

    I am getting following error messages inside my Application folder in the event viewer:

    The description for event ID (1312) in Source (ASP.NET 2.0.50727.0) could not be found. The local computer may not have the information necessary registry or message DLL files to display messages from a remote computer. You may be able to use the option/auxsource = flag to retrieve this description; See Help and Support for more details

    and also

    The description for event ID (1307) in Source (ASP.NET 2.0.50727.0) could not be found. The local computer may not have the information necessary registry or message DLL files to display messages from a remote computer. You may be able to use the option/auxsource = flag to retrieve this description; See Help and Support for more details

    Does anyone know how to remove them? Would be very happy to all general approaches, suggestions, ideas, comments etc...
    Thank you
    Colm

    Hi Selvavelan,

    As you mentioned that you use Microsoft Dynamic CRM 4.0, I recommend that you post your question in Microsoft CRM Dynamic support for assistance.

    Hope the helps of information.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • What is the value of a registry entry "PromptRunasInstalNetPath" Windows for?

    What is the value of a registry entry "PromptRunasInstalNetPath" Windows for?

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies]

    "PromptRunasInstalNetPath" = DWORD: 00000001; Guest ' run as ' install Net way -?

    It is not yet in the "WindowsServer2008R2andWindows7GroupPolicySettings.xlsx" Microsoft Excel spreadsheet Data-Base; so that is it for exactly?

    Ditto for the following RegEntries 3:

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Network]

    "NoWorkgroupContents" = DWORD: 00000000. No content of working group -?

    "NoFileSharing" = DWORD: 00000001; No file - sharing?

    "NoPrintSharing" = DWORD: 00000001; No print sharing -?

    JPD

    Hi JPD.

    Thank you for visiting the Community Forums of Microsoft.

    We don't have enough resources to provide a good explanation for this query. It is better suited for the professionals on the TechNet Forums. So, please post your question on the Forums Pro TechNet Windows 8 IT from this link:

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w8itpro

    Hope this information is useful.

  • How to create a model for the description of the product

    I need to make a model for the description of the product as well as the products have the same space and information.

    Select it and save it as a library item. Then you can re - use it as often as you want and on as many sites as you want.

  • Why people have suddenly begun to report their entire question in the place that is intended for a brief description of the problem.  Is there something inherently wrong with the new format of format?

    ... Only to repeat it once again here.

    Why people have suddenly begun to report their entire question in the place that is intended for a brief description of the problem.  Is there something inherently wrong with the new format of format?

    Ahhh, now I see.

    The man, who is just really, really bad design forum.

    I know that it will hurt, Adobe, but you will be away to Jive at a given time.  You're going to have to, as Jive moves further and further away from the ease of use.  So... Dick.22 now, or le.45 later.

  • How to create an additional column for the description of the virtual computer object?

    Hi all

    I would like to know if it is possible to add a column more in the description of VMware vsphere, for the moment we have column / field called 'Notes' in which we can add our comments on a particular virtual machine / items.

    I wanted to add a column called the backup status, is it possible to add it to the database of the VM? which can be edited client VSphere.

    Any ideas would be greatly appreciated.

    Thank you

    AWT

    You can add fields for virtual machines.

    Click on a virtual machine.

    Then, go to the menu Manager

    Choose custom attributes.

    André

  • Is there a a way to view again the description field by clicking on the gold star near the url (useful for typing memos on this site)?

    In previous versions of Firefox, when you click on the star next to the url, you can add this site to your Favorites. Another click and you can edit some fields on this bookmark, URL, file, etc...

    But with FF17, the Description field is gone. You can only find when you manage your bookmarks, which is really easy to use.

    Is it possible to add again the description field by clicking on the gold star? It is very useful to add notes about this Web site, and it's also resynchronize it with addins like Xmarks

    Add code to the file userChrome.css below default @namespace.

    Customization files (interface) userChrome.css and userContent.css (Web sites) are located in the chrome folder in the user profile folder.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #editBMPanel_descriptionRow { visibility: visible !important; }
    
  • BCDEdit to modify the Description of previous operating system

    I've implemented a system dual boot with XP and Windows 7. My question I change the description (text) of XP in my start using BCDEdit menu? If so, how can I go about it?

    You could use "bcdedit/set {ntldr} description Windows XP" (without the quotes, note spaces) (replace Windows XP with the description that you want)

    Or you can use EasyBCD (link in gadgets in GIS Web sites), click on edit settings, select the XP entry in the lower part and type the name that you want and click on save settings. Hello! Please respond quickly, if possible with the results in solutions to your problem!
    -JoelbX
    Of JoelbX son favorite | SkyDrive | Cool "widget" programs: visit Web sites
    Tips for guests of the win7 launch party

  • How to reconcile the description field of the ad to rights in IOM groups

    Hi all

    I reconciled the ad groups that the rights to the IOM and it works perfectly. I have hundreds of rights, but these rights have a blank description field. I would like to synchronize the description of the ad groups rights, but I do not now how to do it.

    My idea is, create a customized search with the CNs and the Descriptions of the groups and write a custom task that will read this list of choices and will update the description field of my rights.

    But I can't change the rights on the API of the IOM.

    Please, can you send me an example of the use of rights on IOM API? Or do you have any hint how can I fill the description of rights?

    Thank you

    Milan

    Fact

    Here is part of my task...

    ...

    Card lookupValues = getLookupValue (lookup);

    EntitlementService entServ = (EntitlementService.class) Platform.getService;

    HashMap retAttrs = new HashMap ();

    Criteria of SearchCriteria = null;

    {for (Map.Entry entry: {lookupValues.entrySet ())}

    String entitlementName = entry.getKey ();

    Dim description As String = entry.getValue ();

    entitlementName = entitlementName.split("~") [1];

    description = description.split("~") [1];

    criteria = new SearchCriteria (Entitlement.ENTITLEMENT_DISPLAYNAME, entitlementName, SearchCriteria.Operator.EQUAL);

    List entList = entServ.findEntitlements (criteria, retAttrs);

    If (entList.size ()! = 0) {}

    Right = entList.get (0);

    entitlement.setDescription (description);

    entServ.updateEntitlement (entitlement);

    }

    }

  • Change the Description of several photos

    I emphasize the relevant photos and change, the Description field within information (Cmd + I).

    But when I click on out of the box Info, he asks me if I want to change the description of 3 000 photos (pictures of this year, not only the photos that I have highlighted).

    No idea why it does this? Is there another method of updating the Description?

    Thank you

    How you change the descriptions is exactly how it should be done. Select the photos in the browser, open the Info Panel with ⌘I, and enter a new label.

    MacBook Pro with the retina, OS X El Capitan (10.11.5)

    Your profile signature OS X El Capitan is still valid?

    I had a similar problem when running left El Capitan.  Occasionally, Photos would change the description field of all the photos in the album, I was displayed and not only the description of the selected photos. And for the fields title, this would change a title that I had chosen.

    On the Sierra, I noticed that the browser is sometimes loses focus for the cursor. When I use the Trackpad and not by the mouse.  If the Info Panel is opened for a few selected photos, a reckless trackpad gesture can move the focus to another album in the sidebar and the Info Panel passes to this album, and then by typing in a different title or description will show the warning about editing thousands of photos.

Maybe you are looking for