How to use expression script to trip off all trailing non-numeric character

Hi,
I used JDev11.1.1.2.
Now a field value like “7.5.3.10BQF”, “7.8.2.XFP”, and another dynamic LOV depends on this value to filter, so we want to trip off all trailing non-numeric characters (including whitespace and periods), for example to “7.5.3.10BQF”, we will filter LOV using "%7.5.3.10%",for "7.8.2.XFP", we will filter LOV using "%7.8.2%".
But I don't know how to write groovy expression to implement this function.
Any advice will be great help.
thanks,
zeroxin

Hi,
The third syntax you used is correct i.e.
DW_CRF.PKG_LPS_CRF_LOAD_TRANS.sp_load_target(''LOAD_CRF'', ''LOAD_LOAN_TRAN'', CURRENT_TIMESTAMP, NULL);
Alternatively you can use
DW_CRF.PKG_LPS_CRF_LOAD_TRANS.sp_load_target(''LOAD_CRF'', ''LOAD_LOAN_TRAN'', CURRENT_TIMESTAMP, '''');
all the other calls give syntax errors that are expected. The third call is giving an application error which you will need to look into (maybe starting at "DW_CRF.PKG_LPS_CRF_LOAD_TRANS", line 958). One thing that may help clarify things is if you were to switch to naming your parameters e.g. target_name=>''LOAD_CRF'' since that helps clarify exactly what parameter is called with which value.
Hope this helps,
Ravi.

Similar Messages

  • How to use java script when popups are blocked in browser

    How to use java script when popups are blocked in browser

    Not. When people install a popup blocker they don't WANT popups, so stop trying to force them down their throats.

  • I am a high school teacher.  My district purchased the entire CC Suite.  Where can I find a tutorial in book form to learn how to use your products?  Do you all provide free book samples to teachers?

    I am a high school teacher.  My district purchased the entire CC Suite.  Where can I find a tutorial in book form to learn how to use your products?  Do you all provide free book samples to teachers?

    Good day!
    This is a user to user Forum, so you are not really addressing Adobe here, even though some Adobe employees thankfully have been dropping by. (edit: Actually they are more likely to frequent the regular Photoshop Forum.)
    Regards,
    Pfaffenbichler

  • How to use import script with FDM using adapter ERPI?

    Hi,
    I use FDM and ERPI 11.1.2 to load data from EBS R12 to Planning 11.1.2
    Data loaded from eBS are YTD data.
    I have seen that I could use an import script to calculate manually the amount with the periodic_net_cr and periodic_net_dr fields.
    But how to use this import script? Because in my import format in FDM, I don't use a file but directly the adapter, so no "Expression" field.
    Thanks in advance for your help
    Fanny

    Hello Fanny,
    No you will not need to put anything in the BatchAction. If you review the FDM API Documentation posted it will outline all the scripts that will execute for a particular event ... and the order in which they execute. The BatchAciton only affects the execution of the batch ... it does not control processing of data. Processing of data is controlled by many others.
    There is a script that can be written and placed (as Tony mentioned) in the ImportAction that will be able to recaculate the values from ERPi to be YTD values. You can possibly open an SR and a support Engineer can help you .... or you can search the current KM base and use that information there from the v11.1.1.3.00 version to build your own for v11.1.2.x
    Thank you,

  • How to use Java Script in jspx pages of ADF Faces?

    I wanna invoke an Applet in a jspx using Java Script...
    How can I do this? :)

    check my other post..that's to know how to use js in jsf pages...not to invoke applet..
    Re: how to Add inline JavaScript to a Page 11G

  • How to use --version-script option of gnu ld on SunOS

    I use --version-script=gnu-ld-script to build my c++ source on linux successfully.
    The file gnu-ld-script has only one line like this: EXPORTED { global: mozembed_main; local: *; };
    how can i build the source on SunOS/Solaris, given that there is on --version-script option for ld on SunOS.
    help me. thanks.

    i mean there is no option of --version-script for ld command on SunOS.
    then how can i do, if i want this feature.

  • How to use Java Script in Oracle Forms 10g

    Hello,
    Appreciate if anyone could help me using Java Script in Oracle Forms 10g?
    Thanks
    GM

    Thank you for your reply. I was reading on the metalink that we could use the to call the java script from oracle Forms 10g (Doc ID 265863.1)
    Example:
    WEB.SHOW_DOCUMENT ('javascript:void(window.open("http://www.oracle.com","","location=no,toolbar=no,menubar=no,status=no,"));self.close()','_blank');
    I tried it but it did not open the any window as it claims. Am I missing anything? Is there any IE related setting which I need to modify for the above to work?
    Regards
    GM

  • How to use stored script from with Grid Control 10gR2

    HI
    My backup method uses a stored script in the recovery catalog that is separated from Grid Control's repository database.
    In Scheduled Backup, there is no way to connect to recovery catalog; let alone use stored script. Is that true?
    Thanks,
    Kevin

    it works, here is a test case , I use this functionality a lot
    $connected from HOST
    rman target / catalog <mycatalog>
    connected to target database: TOPAZ (DBID=3348250252)
    connected to recovery catalog database
    RMAN> create script testbackup
    2> {backup current controlfile;
    3> }
    created script testbackup
    RMAN> run {execute script testbackup;}
    executing script: testbackup
    Starting backup at 12-JUN-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=217 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=251 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=200 devtype=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: sid=337 devtype=DISK
    allocated channel: ORA_DISK_5
    channel ORA_DISK_5: sid=182 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    channel ORA_DISK_1: starting piece 1 at 12-JUN-07
    channel ORA_DISK_1: finished piece 1 at 12-JUN-07
    piece handle=/rman_backup/d_TOPAZ_s_12344_p_1_t_625077001 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 12-JUN-07
    Starting Control File and SPFILE Autobackup at 12-JUN-07
    piece handle=/rman_backup/c-3348250252-20070612-06 comment=NONE
    Finished Control File and SPFILE Autobackup at 12-JUN-07
    NOW in grid control I have configured my Recovery catalog settings, check for OS username , that should be owner of oracle home for recover catalog
    I schedule a RMAN backup job with these parameters in script
    {execute script testbackup;}
    Status          Running
         Step ID          203585
         Targets          topaz.ucas.ac.uk
         Started          12-Jun-2007 16:34:56 (UTC+01:00)
         Step Elapsed Time          1 minutes, 37 seconds
         Management Service          stardb1:4889_Management_Service
         TIP      Management Service from which the job step was dispatched.
    Output Log
    Recovery Manager: Release 9.2.0.6.0 - 64bit Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN>
    connected to target database: TOPAZ (DBID=3348250252)
    RMAN>
    connected to recovery catalog database
    RMAN>
    echo set on
    RMAN> {execute script testbackup;}
    2> exit;
    executing script: testbackup
    Starting backup at 12-JUN-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=164 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=134 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=22 devtype=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: sid=198 devtype=DISK
    allocated channel: ORA_DISK_5
    channel ORA_DISK_5: sid=145 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    channel ORA_DISK_1: starting piece 1 at 12-JUN-07
    channel ORA_DISK_1: finished piece 1 at 12-JUN-07
    piece handle=/rman_backup/d_TOPAZ_s_12346_p_1_t_625077300 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 12-JUN-07
    Starting Control File and SPFILE Autobackup at 12-JUN-07
    piece handle=/rman_backup/c-3348250252-20070612-07 comment=NONE
    Finished Control File and SPFILE Autobackup at 12-JUN-07
    null

  • How to use java script in  sun stdio crator  jsf

    in sun stdio creator
    Checkbox cb;
    cb=new checkbox();
    ch. markforDeletion.setOnChange("submit()");
    it is giving identifier excepted .
    how to use setOnChange and other functio
    with regards
    shannu sarma

    in sun stdio creator
    Checkbox cb;
    cb=new checkbox();
    ch. markforDeletion.setOnChange("submit()");
    it is giving identifier excepted .
    how to use setOnChange and other functio
    with regards
    shannu sarma

  • How to use a script to kill only forms sessions idle for over 30 minutes?

    We want to use a script to kill forms users idle for over 30 minutes, but we don't want to kill background concurrent processes waiting for resources. even though we set up the timeout but it won't work for users who exit forms ungracefully.
    thanks!

    Java runs at the serverside, while you need a clientside solution. Javascript is perfectly suitable. Pass the current maxInactiveInterval() value to a Javascript variable and write a function around it. You can use for example the onkeypress attribute of the body to clear the timeout counter.

  • How to use the script placemultipagePDF with reduction?

    In need to use the script placemultipagePDF, but in need this have a reduction 77%

    try below code, i modifide sample cone provide adobe as per ur requirement.
    main();
    function main(){
        //var myCounter = 1;   
        var myDocument = app.documents.item(0);
        var myPage = myDocument.pages;
        var myPDFFile = new File("E:\\Work\\Scripting InDesign CS3-4 with JavaScript April 2009.pdf");
            if((myPDFFile != null)){
                for (var p=0; myPage.length>p; p++){
            myPlacePDF(myDocument, myPage[p], myPDFFile);
    function myPlacePDF(myDocument, myPage, myPDFFile){
        var myPDFPage;
        app.pdfPlacePreferences.pdfCrop = PDFCrop.cropMedia;
        var myCounter = 1;
        var myBreak = false;
        while(myBreak == false){
            if(myCounter > 1){
                myPage = myDocument.pages.add(LocationOptions.after, myPage);
            app.pdfPlacePreferences.pageNumber = myCounter;
            myPDFPage = myPage.place(File(myPDFFile), [0,0])[0];
            myPDFPage.verticalScale =77;
            myPDFPage.horizontalScale = 77;
            if(myCounter == 1){
                var myFirstPage = myPDFPage.pdfAttributes.pageNumber;
            else{
                if(myPDFPage.pdfAttributes.pageNumber == myFirstPage){
                    myPage.remove();
                    myBreak = true;
            myCounter = myCounter + 1;

  • MAP Toolkit - How to use this MAP tool kit for all SQL Server inventory in new work enviornment

    Hi Every one
     Just joined to new job and planning to do Inventory for whole environment so I can get list of all SQL Server installed . I downloaded MAP tool kit just now. So looking for step by step information to use this for SQL Inventory. If anyone have documentation
    or screen shot and can share would be great.
    Also like to run It will be good to run this tool anytime or should run in night time when is less activity? 
    Hoe long generally takes for medium size environment where server count is about 30 ( Dev/Staging/Prod)
    Also any scripts that will give detailed information would be great too..
    Thank you 
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.Shah

    Hi Logicinisde,
    According to your description, since the issue regards Microsoft Assessment and Planning Solution Accelerator. I suggestion you post the question in the Solution Accelerators forums at
    http://social.technet.microsoft.com/Forums/en-US/map/threads/ . It is appropriate and more experts will assist you.
    The Microsoft Assessment and Planning (MAP) Toolkit is an agentless inventory, assessment, and reporting tool that can securely assess IT environments for various platform migrations. You can use MAP as part of a comprehensive process for planning and migrating
    legacy database to SQL Server instances.
    There is more information about how to use MAP Tool–Microsoft Assessment and Planning toolkit, you can review the following articles.
    http://blogs.technet.com/b/meamcs/archive/2012/09/24/how-to-use-map-tool-microsoft-assessment-and-planning-toolkit.aspx
    Microsoft Assessment and Planning Toolkit - Technical FAQ:
    http://ochoco.blogspot.in/2009/02/microsoft-assessment-and-planning.html
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How to use Expression Edit in the LabVIEW control (teststand category)?

    Hi All,
    I am developing the teststand specify module using LabVIEW. I found that is Expression Edit control in the Labview Controls pallete. does anyone have any example?
    I have enabled the expression browser button but I dont know how to link it to the teststand. Pls advise.
    Thanks
    - toko -

    Hey Toko,
    You basically need to refer the button to the sequence context.  For a great description of this and an example, please refer to this previous discussion forum:
    http://forums.ni.com/ni/board/message?board.id=330&message.id=10609&requireLogin=False
    Thanks,
    Andy McRorie
    NI R&D

  • How to use expressions to check if a value is containted in another table.

    Hello,
    I have a flat Material table ("Material_table" with a Mat_ID) and a main table that stores MAT_ID and (e.g) Manufacturer. I DO NOT want to use a lookup table (since I don`t want to use the drop-down boxes), but I want to create a (simple) validation that checks, if the MAT_ID that is entered into field MAT_ID in the main table is contained in the Material table.
    This serves as a simple "foreign key" check, checking if a value into a table can be found in another table.
    Can anyone post the code that has to be written into the validations-Editor.
    The expression in the main table could look something like:
    Logically:
    Check IF (MAT_ID IS_CONTAINED_IN(Material_table[MAT_ID]) then return true
    or something like:
    HAS_ANY_VALUES(MAT_ID,Material_table[MAT_ID])
    Thanks a lot!
    (I couldnt find any solution for that in the forums - We are using MDM 5.5. SP6)

    See thread: "How to create a validation that access another MDM-Table?" in this forum.

  • How to use express as a wireless extender ?

    One last attempt before it goes in the bin.....
    How do I setup and use the airport express as a wireless extender ?
    I have a netgear dg384g wireless router, connected via a wire to a imac.
    The router has a wireless sid on it called "ebony".
    Upstairs I have a mac mini ( intel 1.6GHz ), which I would like to connect to the wireless router network.
    Unfortunateley the mac mini seems to have a wireless range of about 10cm !! Everything else ( an Apple tv, imac, pc laptop, wii, gameboys ) works with the wireless network from upstairs apart from the mac mini.
    What I want to do is place the airport express upstairs and connect the mac mini to it, either wirelessley or wired.
    I have run through the airport express setup using the imac and the mini using all combinations of options with no success.
    The install and instructions seems very orientated to assuming that you have an airport extreme.
    Does anyone know how to setup the express as a wireless extender (WDS) on a netgear wireless router ?
    Thanks.

    First, I would ascertain, whether or not, the Netgear supports DD-WRT or if the manufacturer's supports WDS on this model. If the answer is no for either of these, then there would be little chance of success trying to create a WDS between these two.
    Unfortunately, I have not come across any specific WDS set up instructions between these two devices on the Internet to offer, as most likely, no one has been successful in making this work.
    If you like examples of other WDS pairings with the AX, take a look at the following links:
    o http://discussions.apple.com/thread.jspa?messageID=607414
    o http://www.belkin.com/support/kb/kb.asp?a=2814
    o http://rgbdream.com/?p=44
    o http://ryanschwartz.net/2004/08/05/airtunes-airport-express-and-the-wrt54g

Maybe you are looking for

  • F.27 A/R Periodic Account Statement

    Dear experts, I am running transaction F.27 but when i try to print, i can`t get any output. Could someone advise what could be causing this problem. Thank you for all your support. J Thomson

  • Three tier architecture questions

    Hello, My question is in regards to using Toplink in a three tier architecture situation. If I wish to send an object A which has a collection of Bs and B has a collection of C ( A nested object structure with two or more levels of indirection). Is t

  • Oracle EBS 11.5.9 and Database 9i

    Hello, We have a situation, We want to use RAID COntroller on Pseries Machine which requires that we must have AIX 5.3 TL 003 But if we install AIX 5.3 TL we get with it APAR IY68989 and APAR IY73497 After Cloning OR upgradation of OS mainentance lev

  • NetFlow on MPLS PE

    Hi, I have a customer requiring NetFlow data sent to them from the PE router. Is there a way to enable NetFlow only for a specific VRF?

  • 3.68 GB capacity on a 4GB Nano???

    I just bought a refurbished 4GB Ipod nano via apple online. After connecting it to my computer, I discovered that it lists it's capacity at 3.68GB. Is that normal? I thought it's capacity would be 4GB.... Thanks for any help!