How to write the script in FDMEE below.

How to write the script in FDMEE below.

Script below is the FDM Script.How write in FDMEE.

If (varValues (14) '113101' =) OR (varValues (14) '113201' =) OR (varValues (14) '113301' =) OR (varValues (14) = "252111") OR (varValues (14) '156101' =) then

Result = "21_asd."

Please help me on this issue.

Kind regards

Satheesh, S

If you want to determine the id of the target account your opening assignment statement must be:

Account = fdmRow.getString ("ACCOUNTX")

As if - elif-instructions else keep lowercase stream operators. If you continue a command on multiple lines, then place parentheses is

If (account == "113101") or (account == "113201") or (account == "113301") or (account == "113401") or (account == "113501") or (account == "113601") or (account == "215101") or (account == "215201") or (account == "215301") or (account == "215401") or (account == "215501") or (account == "215601") or (account == "252111") or (account == "156101"):

fdmResult = "21_ADNIP".

should be (also get rid of the unnecessary parentheses)

If (account is "113101" account is "113201" or account is '113301' account is "113401" or account is "113501" or account is "113601" or account is "215101" or account is "215201" or account is "215301" or account is "215401" or account is "215501" or account is "215601" or account is "252111" or account is "156101"):

fdmResult = "21_ADNIP".

Tags: Business Intelligence

Similar Questions

  • How to write the script to apply the character style?

    Hello

    I'm on a Macbook pro and without a numeric keypad, so I can't assign a shortcut to character styles. I heard a roundabout solution where you can assign a shortcut to a script that applies the character styles. Can anyone write this script?

    My character style is called "features"bold. "

    I am new to scripting, sorry if this is a stupid question.

    See you soon

    Hello

    1. save this code as a file inside your Script Panel folder .jsx

    2. apply a shortcut using the menu Edit: shortcuts...

    Option to choose:

    • suggest you choose an option 'background': 'Text', so you can use several shortcuts that are occupied in other contexts.
    #target indesign
    if (app.selection && app.selection[0].hasOwnProperty ("baselineShift") ) {
      var cName = "Features bold";
      var mCstyle = app.activeDocument.characterStyles.item(cName);
      if (mCstyle.isValid)
           app.selection[0].applyCharacterStyle(mCstyle);
      else
           alert ("CharStyle: " + cName + " not found");
      }
    else
      alert ("Some text supposed to be selected...");
    

    Jarek

  • How to write the script in E-Tester

    Hi I'm new to e-tester. We do some R & D on the tool empirix e-tester. We are familiar with the QTP tool. We are able to save and read the script, but we cannot improve the script.

    But when I went through this son I did the knowledge that we can use the VBA or VB script script or etc. to improve the script. Currently we use version "oracle of functional tests for web applications 8.50.0260.

    Can any body please guide me and explain the procedure to improve the script and what is the use of the open script.
    It takes to e-load or e-tester. pls specify me its very urgent

    Thank you inadvance... pls

    Solène

    You can still add logic in the version 8.50 using VBScript, but the editor is not optimal; Right-click on the node in step-> select Insert Test -> Test Scriptlet , you have an API in the help files.

    OpenScripit is the new script tool, which, for the time being, only supports HTTP scripts (load), but with version 9.0, it will support functional testing, among other protocols, OpenScript DOM has a visual view script and java script view so you can make the most of scripts straight forward using the visual view and add more complex logic by using the view of java.

    Hope that helps

    Alex

  • How to write the script vb for both nodes in Windows Server 2003?

    I want to run vb script in windows server 2003.i have two nodes with two separate storage. MCE has been done in two storage. When another failure of a node node will get the storage and then run smoothly. But I did it manually.

    I want to do this role to transfer automatically wrote a vb script. So pls show me the process of writing it.

    Thank you

    With the help of script, please transfer your question in the TechNet forum. They will be better able to help your question in the official forum of script below.

    http://social.technet.Microsoft.com/forums/en-us/iTCG/threads

    Thank you

    Marilyn

  • How to write the script of commands to send an email without installing any email program (like outlook)?

    Hello

    We are able to send emails with mapisend in the batch script. MAPIsend command works very well as we installed it in our outlook computer.

    But we need to send e-mail to batch script without having any outlook e-mail program installed. Please help us on this.

    Thank you

    Sarah B

    Don't Mob No + 91 9095286870

    MB

    Which would be better asked here

  • How to write the query with parameters below and is null


    Hi, I need to recover the data if the parameter is passed on the ground, else retrieve all records where the field is null

    Example of


    CREATE TABLE DEPT
    (DEPTNO NUMBER (2),)
    DNAME VARCHAR2 (14).
    LOC VARCHAR2 (13));

    INSERT INTO DEPT VALUES (10, 'ACCOUNTING', 'NEW YORK');
    INSERT INTO VALUES DEPT (20, 'SEARCH', 'DALLAS');
    insert into dept values (30, 'SALES', 'CHICAGO');
    INSERT INTO VALUES DEPT (40, 'OPERATIONS', 'BOSTON');

    ALTER table dept add (object_id number);
    insert into dept values (50, 'OPERATIONS', 'BOSTON', 1);
    insert into dept values (60, 'OPERATIONS', 'BOSTON', 1);
    INSERT INTO VALUES DEPT (70, 'OPERATIONS', 'BOSTON', 2);

    Select * from Department where object_id =: p_object_id

    If I pass the object_id 1, it shloud retrieve the values of dept with object_id 1, but if I don't pass the object_id, it must retrieve all records where object_id is null

    IF 1 is passed as the id of the object, he must recover, 50, 60, if 1 is not passed as object_id it should 10,20,30,40 retive

    It works fine for me separately as,.

    Select * from Department where object_id =: p_object_id - 1

    Select * from Department where the object_id is null;

    Is it possible to do in a single query.

    Thank you

    SELECT *
    FROM dept
    WHERE object_id = :p_object_id
    OR (object_id is null and :p_object_id is null)
    

    is an approach.  It's a little talkative, but the meaning is clear.  If you can identify a value that would never appear in the data (for example-1)

    WHERE nvl( object_id, -1 ) = nvl(p_object_id, -1 );
    

    Justin

  • I'm new in indesign scripting, please tell me how to write a script to get the contents of an XML element and then sort all the content

    I'm new in indesign scripting, please tell me how to write a script to get the contents of an XML element and then sort all the content

    Hello

    Can the code below is useful for you, but I do not know how to sort.

    Change the tag based on your employment application.

  • How to write a script for date get to the Clipboard

    Hi experts,

    How to write a script for date get to the Clipboard.

    the date format will be like this:

    05 - may

    respect of

    John

    Thanks guys, thanks Sanon

    I finally use the .bat doc

    like this:

    @@echo off
    for /f "delims =" % in (' wmic OS Get localdatetime ^ | find ".") "") Set "dt = %% a"
    the value "YYYY = % dt: ~ 0, 4%.
    the value "MM = % dt: ~ 4, 2%.

    If MM % is 01 set MM = January
    If % MM == 02 set MM = February
    If MM % is MM value = March 03
    If MM % is 04 MM value = April
    If MM % is 05 MM value = may
    If MM % is 06 MM value = June
    If MM % == 07 set MM = July
    If MM % is MM value = August 08
    If MM % is MM value = September 09
    If MM % is 10 MM value = October
    If MM % is 11A set MM = November
    If MM % is game MM 12 = December

    the value "DD = % dt: ~ 6, 2%.
    the value "HH = % dt: ~ 8, 2%.
    the value "Min = % dt: ~ 10, 2%.
    Set "s = % dt: ~ 12, 2%.

    Echo DD - MM HH % %% % Min | Clip

    It works

    respect of

    John

  • How to write the Java script to reference the 1st page 2nd page text field?

    Hello

    I'm developing an interactive form of VISITOR info with webdynpro ABAP, his as well as 2 pages. Their hierarchy is,

    VISITOR_form
        |
        |
        |------Page_1
        |            |
        |            |
        |            |------Text_Field_A_1
        |            |
        |            |------Text_Field_A_2
        |
        |------Page_2
                     |
                     |
                     |------Text_Field_B_1
                     |
                     |------Text_Field_B_2
    

    Now, I chose the 'Text_Field_B_1' of page_2 and write the script Java, my requirement is; If Page_1's ' Text_Field_A_2' is set to 'Value_ABCD', THEN the 'Text_Field_B_1' of page_2 should be 'readOnly '. Pls let me know WHT is the Java script for this requirement?

    If (xfa.event.newText == "ABCD)."
    {

    VISITOR_form. Page_2.Text_FieldB_1.access = "readOnly";

    }

    Put the script on the Text_FieldA_2 change event

  • Open XML, how to write the path

    Hello

    I'm new to the Blackberry development and I hope you can help me with my problem. I try to work with an XML file, and so far, all that does very well as long I had the xml file, I work on, in the folder of my java application and deyployed using the desktop software. Now, I tried to put the file somewhere else on the Blackberry and I don't know how wirte the path to the source code. I tried the following, but it seems to be bad:

    private static String _xmlFileName = "file:///store/home/user/documents/test.xml";
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                DocumentBuilder builder = factory.newDocumentBuilder();
                InputStream inputStream = getClass().getResourceAsStream( _xmlFileName );
                Document document = builder.parse( inputStream );
    

    I hope you can give me a hint, how I write the correct path?

    Thank you very much!

    Best regards, jtr87

    PS: Sorry for my bad English, but I did not use it very often.

    You need to do something like that to get your InputStream:

    /** * @return an open InputStream for a file, or null if file does not * exist. * @throws IOException if there is an error opening the file */InputStream getInputStream(String name) throws IOException {
        FileConnection fc = null;
        try {
            fc = (FileConnection) Connector.open(name, Connector.READ);
            if (fc.exists()) {
                return fc.openInputStream();
            }
        } finally {
            if (fc != null) {
                try {
                    fc.close();
                } catch (Exception ignored) {
                }
            }
        }
        return null;
    }
    

    Notice that you must close the FileConnection at some point, regardless of if the call to openInputStream worked.

  • How to write the even-odd fill feature?

    How to write the even-odd fill feature?

    Maybe like this:

    app.executeMenuCommand ('* ');

    01.jpg

    There is a command in the PathItem object named evenodd. I think that if you change the property of evenodd and get a member of a composite path path, you can achieve a desired result.

  • How to write the query

    Hello

    How to write the sql query

    I have three type of table as

    1 table emp

    EMP_ID FIRST_NAME DEPT_ID

    ---------- -------------------- ----------

    1 kumar 10

    2 sam                          20

    3 30 damu

    2 table dept

    EMP_ID SALE_ID DEPT_ID

    ---------- ---------- ----------

    1 101 10

    2 102 20

    3 103 30

    3. table sale

    EMP_ID SALE_ID SALE_AMT

    ---------- ---------- ----------

    1 101 7

    2 102 8

    3 103 9

    I want the result as

    EMP_ID DEPT_ID SALE_AMT

    -------      ---------   -            --------

    1                10                  7

    Thank you

    Are you looking for this?

    SELECT T1. EMP_ID,

    T1. DEPT_ID,

    W3M SALE_AMT

    FROM EMP T1,

    SALE T3

    WHERE T1. EMP_ID = T3. EMP_ID;

    OUTPUT:

    EMP_ID DEPT_ID SALE_AMT

    ------- ---------- ----------

    1         10          7

    2         20          8

    3         30          9

    If this is not the case, after the actual output, you need. Because that gives you the amount of sales deptwise

  • How to fix the script error message: can not find script file "C:\program files (x 86) \uninstall scripts\creative cloud enterprise\install.wsf»

    How to fix the script error message: can not find script file "C:\program files (x 86) \uninstall scripts\creative cloud enterprise\install.wsf»

    Behalf of the company

    Packer links https://forums.adobe.com/thread/1586021

    http://forums.Adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent

  • How to write the 'C' alpabelt within a circle of author?

    Hello

    How to write the symbol of copyright on first Pro CC (ie the alpabelt 'C' inside a circle) ?

    Thank you

    On a Mac, Option + G.

    MtD

  • How to create the script to compile procedure files in oracle - urgent deadline...

    How to create the script to compile procedure files in oracle.    about to go live and have much .prc pkg in a directory usr/tmp/ar... Po... human resources etc. need to create a script to compile all the files in the folder, then do not open all necessary .prc suggestions on how to do it.   Thank you Tom.

    (1) an urgent need, ASAP,... are words that do not in a forum of volunteer. We are here to help if you need it now, for free, open a SR.

    (2) oracle procedures are not files.

    (3) I think you are trying to run operating system packages, no Oracle procedure. right?

Maybe you are looking for

  • IDVD of ilife 11 still works on a new mac pro?

    I have a new Mac Pro and wanted to know if the latest version of ilife with idvd will work on this subject?

  • MacBook Pro 13,3 "retina Logic Board failure?

    I bought my MacBook Pro 13,3 "Retina display nine in early 2014 before going to College.  This is the most expensive item that I have ever owned I always made sure to take the greatest care in the use and handling.  About a week ago, I went to turn i

  • Satellite P100 - recovery disk does not work

    After getting some annoying adware that I couldn't get rid of, I decided to format my hard drive and my notebook back to factory... something that I couldn't do. First of all, I inserted the disc, and in no way I couldn't take. I tried to run on the

  • How to install the windows installer?

    How to install the windows installer? I can't install Java because it tells me that I have to install windows install.

  • How can I uninstall / remove / disable Data Execution Prevention (DEP)?

    XP, SP3, Security Essentials, all current updates with Windows Update. While trying to install Microsoft Update:"Windows Data Execution Prevention detected an add-on tries to use system memory incorrectly. This can be caused by a malfunction or a mal