Name of Member validation must contains the five digits in the form of numeric if the account Type selected as ASSET

Hi team,

I have a business requirement that I like "validate a HFM member account name must contains the first 3 digits as digital if the user select type of HFM account as ASSET.

Ex; Member account name: 123_Cash, 125_Loans, 234_Machinery (these members returns true) if these accounts "Type of account selected as active.

I wrote a rule like below, but it is not validate properly and returns true for all members regardless of either digital or alphabets.

IF (is equal to (String, varValeurProp (Custom.HFMAccountType), Asset),is equal to (integer, substring (propvalue (Core.Abbrev), 1, 3), 1), True)


Please correct this validation rule.

Thank you is advanced...

Kind regards

Laurianne

Hi Andrew,

Try this,

If)

Equals (String, propvalue (Custom.HFMAccountType), Asset),

IsNumeric (substring (propvalue (Core.Abbrev), 1, 3), False), True)

Tags: Business Intelligence

Similar Questions

  • the associative arrays containing the record type, cannot be used first

    I am having trouble with the declaration of an associative array containing the Types of records and iteration using FIRST and NEXT functions.
    This problem of mine is only appear when I use that types of records, the FIRST and FOLLOWING operators work very well when you use the regular NUMBER.

    Trying to get the first element of the array, I get: ORA-06550: line 22, column 40: PLS 00382: expression is of the wrong type

    See the code snippet below. Anyone know if this can be done in PL/SQL?

    -----------------------------------------------------------------------------------------
    DECLARE


    -Set the record structure that will contain information on a post
    TYPE PostRec IS (RECORD
    post_type VARCHAR2 (4) - maybe DEB/CRED
    );

    lr_charge_back_post PostRec;

    TYPE post_table IS TABLE OF PostRec NOT NULL
    INDEX BY VARCHAR2 (4);

    assoc_posts post_table;

    BEGIN


    -lr_charge_back_post.post_type: = "asd";
    assoc_posts('1').post_type: = '1';

    lr_charge_back_post: = assoc_posts.first;

    END;
    /

    Returns the index, not the file FIRST:

    SQL> declare
      2  TYPE PostRec IS RECORD (
      3  post_type VARCHAR2(4) -- Can be DEB/CRED
      4  );
      5
      6  lr_charge_back_post  varchar2(20);
      7  TYPE post_table IS TABLE OF PostRec NOT NULL
      8  INDEX BY VARCHAR2(4);
      9
     10
     11  assoc_posts post_table;
     12
     13  BEGIN
     14
     15
     16  --lr_charge_back_post.post_type := 'asd';
     17  assoc_posts('1').post_type := '1';
     18
     19  lr_charge_back_post := assoc_posts.first;
     20  dbms_output.put_line('idx='||lr_charge_back_post);
     21  END;
     22  /
    idx=1
    
    PL/SQL procedure successfully completed.
    
    SQL> declare
      2  TYPE PostRec IS RECORD (
      3  post_type VARCHAR2(4) -- Can be DEB/CRED
      4  );
      5
      6  lr_charge_back_post  varchar2(20);
      7  TYPE post_table IS TABLE OF PostRec NOT NULL
      8  INDEX BY VARCHAR2(4);
      9
     10
     11  assoc_posts post_table;
     12
     13  BEGIN
     14
     15
     16  --lr_charge_back_post.post_type := 'asd';
     17  assoc_posts('idx').post_type := '1';
     18  lr_charge_back_post := assoc_posts.first;
     19  dbms_output.put_line('idx='||lr_charge_back_post);
     20  END;
     21  /
    idx=idx
    
    PL/SQL procedure successfully completed.
    

    Max
    http://oracleitalia.WordPress.com

  • You cannot change the account Type

    Hello:

    When displaying 'Select your new account type' I see the photo that I have assigned and to the right of the image, I see my log in name and under my name, I see "administrator."

    Standard user is the default bullet selected with the administrator being available option.  However, when I place the ball in the ball of the administrator below "change account Type" becomes gray.

    I won't be a standard user with standard user rights.  It comes to my computer at home and no one else is using the computer or lives with me.  So, my question is the following:

    What I do to activate the Administrator option?  And when I put the ball in the Administrator option I will then be able to "Change account Type".

    This computer and my laptop are both running the same operating system: Windows 7 Professional

    Your support and your help is appreciated.

    Thank you

    Eric

    Hi again:

    I am not connected as a Standard user.  I am logged in as administrator.

    That's what I told you at the beginning: you ARE connected under an administrator account, so you can not change your account type "Administrator".

    If you are unable to perform certain tasks, then this is because of the restrictions of UAC (User Account Control). Click Start, click Help, and then search for help on UAC. You can disable it if you want, at your own risk.

    P.S. Please do not change your past jobs as this would result in a very confusing thread.

  • CHOOSE BETWEEN STANDARD OR ADMINISTRATOR WHEN CONFIGURING THE ACCOUNT TYPE

    Windows recommends the introduction of standard user account Type no administrator because it is safer for the calculation of daily. I'm the only user who will never access my computer, why not choose administrator? Windows don't warn me (are you sure? Yes/No) if I try to edit or delete anything either by performing security or computer works? If not, please give an example of what could happen by choosing administrator. It's annoying to have passwords Setup and answer Yes or no jump - up when I have to.

    Thank you ~ T. Mustela

    In Windows Vista, you have the new feature called UAC, user account control. If it's on then whenever you try to do Admin tasks he will warn you though that you operate in admin account. If you want to use the administrator account, then make sure that user account control is enabled, check in the control panel in the Windows Security Center, if it is turned off it will show you.

  • Collection to contain the object type? OR typical hash in java?

    Hi people,
    I used to work in perl and use hashes a lot (a typical perl hash is String = > string). Well now, I am doing something a bit dirty - I need something that does what the class that I put in place down, it doesn't... Y at - it such an object which wouldn't bother me that the keys and values are not unique (can be same values with the keys and values). What I must apply myself, or is there something that does this...
    No collection seems to fit in this...


    public class CantFindYouInJava {}
    private String [] listOfKeys;
    private String [] listOfValues.
    ' Public Sub put (String key, String value) {}
    where int = listOfkeys.length + 1;
    listOfKeys [where] = key;
    listOfValues [where] = value;
    }
    ..
    }

    koszta5 wrote:
    I need an object that did what did the class that I've set up there... Y at - it such an object which wouldn't bother me that the keys and values are not unique (can be same values with the keys and values). What I must apply myself, or is there something that does this...

    It really depends on what the relationship between a key and its associated value, and the kind of performance you expect to recover from.

    Kayaman suggestion is probably the best if the relationship of key / value is 1-to-many; You can also write your own map> class. If it's really one-to-many, and you need good performance in both directions, you may need to wrap two MultiMaps - one go of the key values and a second to go in the other direction. Don't know what you'd call it however.

    Winston

  • ORA-01790 expression must have the same type of data, matching expression

    SELECT *  from award_test
            UNPIVOT(VAL for operator in(                                                                                                                                                                                                        
    AWARD_NAME,                                                                                                                                                                                                               
    TOTAL_PROCEEDS,                                                                                                                                                                                                              
    EARNING_PROCS ,                                                                                                                                                                                                               
    TOT_PROCS_EARNINGS ,                                                                                                                                                                                                            
    GROSS_PROCS    ,                                                                                                                                                                                                                
    PROC_REF_DEF_ESCR ,                                                                                                                                                                                                         
    OTH_UNSP_PROCS ,                                                                                                                                                                                                               
    ISSUANCE_COST ,                                                                                                                                                                                                             
    WORK_CAP_EXP ))
            PIVOT(max(VAL) for award_number in  ('XIAAE' as "XIAAE",'XIBNG' as "'XIBNG"))
    Expected results
    operator   XIAAE     XIBNG     
    AWARD_NAME ab          cd                                                                                                                                                                                    
    TOTAL_PROCEEDS   0     1                                                                                                                                                                                              
    EARNING_PROCS                                                                                                                                                                                                            
    TOT_PROCS_EARNINGS                                                                                                                                                                                                          
    GROSS_PROCS                                                                                                                                                                                                                  
    PROC_REF_DEF_ESCR                                                                                                                                                                                                         
    OTH_UNSP_PROCS                                                                                                                                                                                                               
    ISSUANCE_COST                                                                                                                                                                                                            
    WORK_CAP_EXP
    the data stored will be populated as columns

    Hello

    Is this the same probllem like
    Re: ORA-56901: no constant expression is not allowed to pivot. UNPIVOT values
    ?

    You do not post again and again the same problem. One of these threads mark as "Answered" right away; and only continue in the other. In this way, you will have only to look in one place to find answers.
    I suggest marking it as 'Response', given that the other has a few examples of data.

  • change the field type selection list of text based on the data in the other domain.

    Hello

    We have a requirement where we are looking to display the page as element select list or a free text field based on the value of the item to another page.

    Say, we have two fields

    Day:

    Products:

    If day = 'Monday' produced a drop in low field of another product would be a free text field.   Is this possible in APEX?

    This is the configuration I did.

    I used the field produced twice (as a text and list field select) as an element of a page., dependent on the value of the day I used the dynamic properties of actions to show/hide these fields.

    However, when I click on submit, it throws an error:

    ORA-06550: line 1, column 108: PL/SQL: ORA-00957: name of column in double ORA-06550: line 1, column 13: PL/SQL: statement ignored


    Kind regards

    Satya

    You can have both share the same database column, the process of the APEX DML does not know how to consolidate.

    You will need to add a calculation and determine the real value based on two fields, up to an only one mapped to db.

  • How to remove a family member account or change the name of the account on the family safety?

    On my control under account settings, I changed the names of user accounts, and they do not now show on my list of family safetly member account. Help, please. Thank you.

    Hi CS2013,.

    For this problem, you must delete the account of the children on the safety of your family. To do this, please see the following steps:

    1. connect to https://fss.live.com using your Parent account.

    2. click on change settings under the user name of your child.

    3. in respect of the accounts on behalf of the child: click Remove next to the user account.

    4. you will be asked confirmation, select Remove.

    On the change of name of the user account, you must reconfigure the user account is set to the child for the change of name to apply. You can simply add them by following the steps below:

    1. connect the customer to parental controls installed on the computer using the parent account.

    2. click on Add or manage the members of the family on this PC.

    3 select the renamed Windows user account, and then click Next.

    4. choose the Member of the safety of the family to be under this account, and then click on record.

    After doing the steps, you must do the steps mentioned on the link below to update the filter:

    Famly security filter

    Thank you!

  • Cannot delete a file in windows 7. Indicates the specified file name is not valid or too long.

    Hello everyone, I'm pretty stuck here. I can't delete a file in windows 7 or any other do with it besides. Says "the specified file name is not valid or too long. It has a funny name [~ t] and no extension. The file type, say "file". The properties are all screwed looking with a mistake on the Security tab, a size of 0 k, is a Windows (c) \Windows\en-US.The other files in this folder appear normal. The computer seems to work very well without any obvious problems. The only problem is my anti-virus reports with a kind of syntax for the file error and indicates it cannot parse this file. I do not. I can't do a thing with it either. Cannot open, rename, move, delete, change passwords, properties, permissions, nothing. It may be necessary for a good part with 0kb. According to me, I want to just delete the thing. Please, anyone? Thanks in advance.

    Hey bud, I figured out how fix it earlier. I am so happy. I came to remember a command called chkdsk which worked very well for various issues, that I had since the construction of my old 2000 Professional machine. I think that one was my first NTFS system. I always liked how well he error correction. Seemed a lot better than the old scandisk. Low and behold, I tried and star ANISE, it is went through it, found this file almost from the beginning of the analysis and a few lines later, he said has been removed. Says something about the file being orphaned some time ago. It was a very bad child, that I tell you. I ran it in safe mode command prompt. I guess he would have done the same thing in the normal windows well, but I happened to be in safemode, when it came to me. I used the switch /f with her. Since the C:\ command prompt or any drive letter your operating system is selected, type CHKDSK/F if I remember although the f was to have it automatically CORRECT errors. I hope this info helps others with their file or disk problems. It seems that many people say they get mistakes and cannot delete various files here in these forums. Thanks Sandeep for answering me and try to help. It does not matter whether or not it was the fix, it takes time to post and your helping people learn to be it. The only thing that remains unanswered for me is actually the thing of the answer. I mean I can't say someone at - it really answered my question and do not count me? Maybe I should mark so that people will bother to read it and get the fix. HMMMM... I come back here some time later and see whats up.  SeeYou, EWOO

  • PeopleSoft 8.49 "URL must contain field '.

    Hi all

    First of all, thank you for reading this topic.

    I have to migrate servers from Active Directory to another.
    on the Active Direcoty, I have little R & D PS servers.
    my job is not to know how works PeopleSoft but migrates.
    So, I have no competence on this product.

    I migrate the tests and since migration, whenever I connect to PS, I have the following message:
    The URL must contain MyOldDomainName

    I browsed the forum and found a lot of information:
    Your URL must contain the field '. " PeopleSoft.com
    Problem with PeopleSoft Sign-on url... not able to get the access code page

    But the problem still exists.

    This is the configuration:
    -PeopleSoft Enterprise 8.49
    -Weblogic Server 9.2
    -MS SQL 2005
    -Windows 2003 Server

    I have the first edit a large number of files:
    When I edit the host file, I am able to connect if I enter the old URL with the former domain name Windonws.

    in a config_prop file
    D:\PT8.49\webserv\peoplesoft\applications\peoplesoft\PORTAL\WEB-INF\psftdocs\ps\webprof\config_prop

    I replaced all occurrences to my old Windows domain by the new.

    I did the same thing with the following option_prop file:
    D:\PT8.49\webserv\peoplesoft\applications\peoplesoft\PORTAL\WEB-INF\psftdocs\ps\webprof\option_prop

    I deleted the cache Portal:
    D:\PT8.49\webserv\peoplesoft\applications\peoplesoft\PORTAL\ps\cache

    and replace all occurrences of my old windows domain name in the database with the new.


    When I restart PeopleSoft, my config_prop file and my database are updated by I don't know what, and the problem still exists.

    I'm clearly lost, and I don't know where to look.

    So, I send an SOS!

    Thanks in advance for your help.

    Best regards


    Vincent.

    answering your question:
    No, I wouldn't, I've never adjusted the values on the page.

    It can also be that the field of authentication is supply during the installation of the PIA.

    Sniped a PeopleBooks (PeopleBooks > PeopleTools 8.52: PeopleTools technology portal > configure the portal environment > setting properties of general Portal)
    http://docs.Oracle.com/CD/E28394_01/pt852pbh1/Eng/psbooks/tprt/book.htm?file=tprt/htm/tprt12.htm#H2001

    The default value of the field of authentication is that you specified when configuring the Internet Pure Architecture of PeopleSoft. This value is stored in the domain of the cookie session server web and saved to a file of internal web server.
    This file is for Oracle WebLogic weblogic.xml. The preferred method for changing this value is to re-run the installer site.
    For WebSphere, this file is deployment.xml. This is located under PIA_HOME\webserv\\config\cells\NodeCell\applications\.ear\deployments\\deployment.xml

  • niRFSG Initialize.vi error: AWG resource name is not valid

    Hello

    I use an SMU-5442 arbitrary signal generator and a PXI RF Upconverter - 5610. The RF PXI-5610 converter is PXI1Slot5 inside the MAX and the SMU-5442 AWG is PXI1Slot7.

    When I gohttp://ftp.ni.com/pub/devzone/epd/rfsg-generate-fm.vi of http://zone.ni.com/devzone/cda/epd/p/id/5620 , I get the error messages.

    For the resource name = PXI1Slot5

    code-1074117675

    niRFSG Initialize.vi a session cannot be created because the resource AWG name is not valid. Specifty the resource name of AWG Max by right clicking on the converter, and then select Properties. If you specify the working group through the chain of the Option, make sure that the resource name of AWG is valid.

    For the resource name = PXI1Slot7

    code-1074117636

    niRFSG Initialize.vi the specified device is not supported by this driver.

    which is correct, because PXI1Slot7 is the GTA and the VI is just using the niRFSG screws

    When I use a selector instead of the string of the Option, I can only choose the RF PXI - 5610 Upconverter is PXI1Slot5, but I still get the same error message.

    A you link them in MAX? In other words, the converter and the working group.

  • How do I correct the name of the child on the account

    Summary of the issue
    Other issues of Windows Live family safety

    What version of Windows Live Family Safety do you use?
    Version 2011 (15.4.3538.513)
    Choose your operating system version:
    Windows XP SP2

    Additional details
    I entered my name instead of my child on the account by mistake.
    How can I correct the name of the account of parental controls for my child?
    When I change the login of the child, it I cannot change the name.
    And connected as a parent, I can change the other detailsof its profile, but not its name.
    Thank you.

    Hello

    I understand the situation. If you entered by mistake the bad name of your child's account, you can change it by accesing the access to his account via https://account.live.com.

    A after logging in using the account of the child find name under account information , and then click Edit on the right side.
    Enter the name, then click on record.

    If you need assistance, do not hesitate to answer on this post.

    Best regards

    Eugene R.

  • Validation to check the length of point

    Greetings,

    I have a column that is defined with a length of 240 in the table, and I want to give a validation error if the user types more than 240 in the corresponding point on the Apex page. I have this code in my validation routine and it is listed as PL/SQL:
    TO_NUMBER (LENGTH (:P10_ACTIVITY_COMMENT)) < 241

    When I save a record with a comment more than 240 the validation error, but an Oracle error also shows at the top of the page:
    "Invalid PL/SQL expression condition: ORA-06502: PL/SQL: digital error or value: character conversion number expression invalid PL/SQL condition error: ORA-06502: PL/SQL: digital error or value: character of number conversion error."

    I changed the code in several different ways, but they all give the Oracle error.

    How should I code it?

    Thank you, Tony

    Tony - my mistake. When I saw my answer here, I saw the double quotes. However, they are good apostrophes, so this isn't the problem. The next thing to do is to run the page in debug mode and look at the HTML code in the browser. You should see something like this:

    Scott

  • The Types of attribute display only shows the Java Types

    Hello

    When I change an attribute of a view, normally I can choose its data type.
    containing the Java Types: "BigDecimal", "integer"...
    and Types of Oracle: number, Date etc.

    But after you have reinstalled the Jdeveloper, the drop-down list shows only
    types of Java and oracle types are missing. I can still enter the domain ("oracle.jbo.domain.Number") FULL name,
    but with regard to the criteria of view I can not choose the operator "less or equal to", it
    shows me 4 operators only "equal", "Is not equal", "Is empty" and "is not empty".

    It seems to be related to the parameters of this application, because when I open another application (with the)
    same database-connection), then the oracle types are available.

    Does anyone know why the types of oracle are not selection and how
    reinstall them in the present application.

    JDeveloper 11.1.1.4.0 (Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923)

    Thanks in advance
    Yves

    Yves,

    Have you tried to check the project properties-> the business components of the ADF-> Type mapping data to see if it uses Java extended for Oracle or just Java?

    Arun-

  • Problem with the DATA types, in a UNION

    Hello
    I m trying to disply a custom message when no data found using the structure below. Unfortunately I ve you have a problem with the data types I im trying to union
    I tried different types of data in the 2nd SELECTION tool but the rest of the problem. Help, please.

    SELECT HOSP_NAME 'HOSPITAL' DOC_SUR 'NAME', 'NAME' DOC_NAME, d.DOC_ID ID, diagnosis
    H., DOCTOR d, (SELECT d.DOC_ID, COUNT (d.DIAGN_ID) diagnosis
    OF PATIENT_DIAGNOSIS d
    GROUP BY d.DOC_ID)
    WHERE diagnosis > 1

    UNION ALL

    SELECT TO_CHAR ('test'), TO_CHAR ('test'), TO_CHAR ('test'), TO_CHAR ('test'), 0
    OF THE DOUBLE
    If NOT EXISTS (HOSP_NAME 'HOSPITAL' 'NAME' 'NAME' DOC_NAME DOC_SUR, d.DOC_ID ID, diagnosis
    OF ΝΟΣΟΚΟΜΕΙΟ h, ΙΑΤΡΟΣ d, (SELECT d.DOC_ID, COUNT (d.DIAGN_ID) diagnosis
    OF PATIENT_DIAGNOSIS d
    GROUP BY d.DOC_ID)
    WHERE diagnosis > 1);


    ORA-01790: expression must have same type of data, matching expression
    01790 00000 - "expression must have the same type of data, matching expression.

    DOC_SUR 'NAME' DOC_NAME 'NAME', ID d.DOC_ID, HOSP_NAME "HOSPITAL", diagnosis

    What is the data type for these columns

    To_char('test'), to_char ('test'), to_char ('test'), to_char ('test'), 0

    What you're doing here 'test' is already a character. Why do you use TO_CHAR?

Maybe you are looking for