Conversion logic question

Hi All,
Writing transformation logic and have below challenge.  I have lets say 100 accounts coming as  ACTXXXX
During data load i have to convert all the account ids to ACTXXXXYYYY  except for say 5 accounts. For those 5 accounts we have specific rules like
ACTABCD  should become ACTABCD1234
ACTABCE  should become ACTABCE2345  so on for 5 accounts. Rest all other accounts should be ACTXXXXYYYY
Is it possible ?

yes it is possible . You might need to list the hard coded ones first and then the rest  as below,in your conversion file
External      Internal
ACTABCD     ACTABCD1234
ACTABCE     ACTABCD2345
ACT????      ACT????YYYY
Hope this helps.

Similar Messages

  • Data Conversion Logic

    I am now trying to implement a data conversion logic(such as UOM field), I want to load all the data conversion rules in the cache from file and keep them in the cache. So when mapping starts it just picks up the data conversion rules from the cache.
    Using GlobalContainer it is ok for one mapping even several UOM fields(just load from file once). But it will load from file again when the mapping is triggered again.
    Is there any logic I can use to implememt the data conversion just load from file once?
    Regards,
    Nick

    Hi Arnold,
    normally every input should be made in LC, why you enter the data in group currency?
    However if you have to start from group currency the only solution to avoid this error is to put at the end of sprunconversion the ON_ERROR_CONTINUE clause.
    But remember he will stop to notify every type of error so you have to be very careful and have this clear in mind when some issue occurs with the currency conversion.
    Regards
         Roberto

  • Conversion logic for the following!!

    Hi,
    Experts
    can you help me to build a conversion logic for the following
    1.BKPF-BLART .setting it to 'ZF'.
    2.BKPF-MONAT derived from  posting date
    3.BKPF-WAERS set to GBP
    4.Dr/.Cr indicator BSEG-SHKZG.
    If Posting Key (BSEG-BSCHL) is u201840u2019 then this indicator (BSEG- SHKZG)is u2018Su2019 (Debit)
    If Posting Key (BSEG-BSCHL) is u201850u2019 then this indicator (BSEG- SHKZG)is u2018Hu2019 (Credit)
    5.a)If Cost Object Type is u2018Cu2019 (= Cost Centre), then Cost Collection Object Id shall be mapped to BSEG- KOSTL.
           BSEG- PRCTR should be derived from the Cost Centre Master data CSKS- PRCTR.
           Effective date should fall between the validity dates CSKS-DATAB and CSKS-DATBI
    b)If Cost Object Type is u2018Iu2019 (= Internal Order), then Cost Collection Object Id shall be mapped to BSEG- AUFNR.
           BSEG - PRCTR should be derived from the Internal Order Master data AUFK-PRCTR
    c)If Cost Object Type is u2018Wu2019 (= Work Breakdown Structure element), then Cost Collection Object Id shall be mapped to BSEG-PROJK.
           BSEG - PRCTR should be derived from the WBS Master data PRPS-PRCTR
    d)If Cost Object Type is u2018Pu2019 (= Profit Centre), then Cost Collection Object Id shall be mapped to BSEG - PRCTR.
    6.Ledger Group BKPF-LDGRP. Set it to u2018Blanku2019 so that the document is posted to all ledgers.
    7.Set BSEG-KOKRS (Controlling Area) to 1000.

    Please do not dump your specs here expecting others to do you work.
    matt

  • A few simple Logic questions...please help.

    I have a few probably simple Logic questions, that are nonetheless frustrating me, wondering if someone could help me out.
    1. I run Logic 8, all of the sounds that came with logic seem to work except organ sounds. I can't trigger any organ sounds (MIDI) on Logic, they won't play. I have a Yamaha Motif as my midi controller.
    Any idea why?
    2. I've starting running into a situation where I will record a MIDI track, the notes are recorded but they won't playback. The only track effected is the one that was just recorded. All other midi tracks playback.
    I have to cut the track, usually go out of Logic and back in, re record for it to playback properly. Any idea why this may be happening?
    3. How important is it to update to Logic 9. Are there any disadvantages down the road if I don't upgrade. If I purchase the $200 upgrade, do I get a package of discs and material, or it just a web download.
    Any help is appreciated!
    Colin

    seeren wrote:
    Data Stream Studio wrote:
    3) You get a full set of disks and manuals.
    They're including manuals now?
    I think his referring to the booklets ...on how to install etc
    It would be great to see printed manuals though ...I love books especially Logic/Audio related !!
    A

  • Uicode Conversion Project - Question on transaction UCCHECK

    Hello,
    We are about to start an Unicode conversion Project. We have SAP 4.7C & we are going to make it Unicode enabled. In order to plan the ABAP/4 resource requirements precisely, I ran transaction UCCHECK to get the list of the development objects with Unicode errors. I have an urgent question with the way the transaction is executed:
    When I run UCCHECK with selection screen option "Display lines that cannot be analyzed statically" , I get too many error & majority of them say that  "the system couldnu2019t perform the check on the current statement & it can only be carried out at runtime"  When I ran UCCHECK without option "Display lines that cannot be analyzed statically" , the total error count was way low u2026
    Can someone please explain me the correct way to use transaction UCCHECK?
    Thanks in avance,
    Umang

    Pl. see this help text. U can access the same from UCCHECK's selection screen.
    ABAP Unicode Scan Tool UCCHECK
    You can use transaction UCCHECK  to examine a Unicode program set for syntax errors without having to set the program attribute "Unicode checks active" for every individual program. From the list of Unicode syntax errors, you can go directly to the affected programs and remove the errors. It is also possible to automatically create transport requests and set the Unicode program attribute for a program set.
    Some application-specific checks, which draw your attention to program points that are not Unicode-compatible, are also integrated.
    Selection of Objects:
    The program objects can be selected according to object name, object type, author (TADIR), package, and original system. For the Unicode syntax check, only object types for which an independent syntax check can be carried out are appropriate. The following object types are possibilities:
    PROG Report
    CLAS Class
    FUGR Function groups
    FUGX Function group (with customer include, customer area)
    FUGS Function group (with customer include, SAP area)
    LDBA Logical Database
    CNTX Context
    TYPE Type pool
    INTF Interface
    Only Examine Programs with Non-Activated Unicode Flag
    By default, the system only displays program objects that have not yet set the Unicode attribute. If you want to use UCCHECK to process program objects that have already set the attribute, you can deactivate this option.
    Only Objects with TADIR Entry
    By default, the system only displays program objects with a TADIR entry. If you want to examine programs that don't have a TADIR entry, for example locally generated programs without a package, you can deactivate this option.
    Exclude Packages $*
    By default, the system does not display program objects that are in a local, non-transportable package. If you want to examine programs that are in such a package, you can deactivate this option.
    Also Display Modified SAP Objects
    By default, SAP programs are not checked in customer systems. If you also want to check SAP programs that were modified in a customer system (see transaction SE95), you can activate this option.
    Maximum Number of Programs:
    To avoid timeouts or unexpectedly long waiting times, the maximum number of program objects is preset to 50. If you want to examine more objects, you must increase the maximum number or run a SAMT scan (general program set processing). The latter also has the advantage that the data is stored persistently. Proceed as follows:
    - Call transaction SAMT
    - Create task with program RSUNISCAN_FINAL, subroutine SAMT_SEARCH
    For further information refer to documentation for transaction SAMT.
    Displaying Points that Cannot Be Analyzed Statically
    If you choose this option, you get an overview of the program points, where a static check for Unicode syntax errors is not possible. This can be the case if, for example, parameters or field symbols are not typed or you are accessing a field or structure with variable length/offset. At these points the system only tests at runtime whether the code is sufficient for the stricter Unicode tests. If possible, you should assign types to the variables used, otherwise you must check runtime behavior after the Unicode attribute has been set.
    To be able to differentiate between your own and foreign code (for example when using standard includes or generated includes), there is a selection option for the includes to be displayed. By default, the system excludes the standard includes of the view maintenance LSVIM* from the display, because they cause a large number of messages that are not relevant for the Unicode conversion. It is recommended that you also exclude the generated function group-specific includes of the view maintenance (usually L<function group name>F00 and L<function group name>I00) from the display.
    Similarly to the process in the extended syntax check, you can hide the warning using the pseudo comment ("#EC *).
    Applikation-Specific Checks
    These checks indicate program points that represent a public interface but are not Unicode-compatible. Under Unicode, the corresponding interfaces change according to the referenced documentation and must be adapted appropriately.
    View Maintenance
    Parts of the view maintenance generated in older releases are not Unicode-compatible. The relevant parts can be regenerated with a service report.
    UPLOAD/DOWNLOAD
    The function modules UPLOAD, DOWNLOAD or WS_UPLOAD and WS_DOWNLOAD are obsolete and cannot run under Unicode. Refer to the documentation for these modules to find out which routines serve as replacements.

  • A few protools to logic questions.

    Hello.
    long time protools user and returning logic user (version 3.x was the last interaction)
    am really enjoying the sequencing aspects to logic but am becoming increasingly frustrated by what seems to be a few really simple features but constantly used features of protools.
    hopefully someone might be able to point me in the right direction.
    they all have to do with audio editing.
    1) selection snapping to timeline. i have found the marquee tool, but how do then snap the playhead to where i want to place the copied selection?
    2) duplicating a region on the time line creates a second instance of the region, however its the same instance.. thus any editing will occur to all regions. is there was a way to default this to automatically create new regions (as in protools, well in protools it creates a new region once edited).
    3) another question on snapping.. in the main timeline you can select snap to bar.. but is there way to snap to smaller transients than a whole bar? i know you can set that in piano roll.. but what about for either the sample editor or the main timeline?
    these are all key features which are used constantly in protools.. and before i get a barrage of responses, i know logic isnt protools.. but some of these features i have mentioned are present across most if not all audio editing applications (cubase, live and even fruity loops)
    i would really like to cross back to logic, but i need to be able to perform the same basic tasks..
    help me obiwan..
    tom

    Not sure about question 1, mainly because I have always just manually moved regions where I wanted them. But because of the answer to question #3, it's never been an issue for me.
    If you click and hold on the "Snap" menu (upper right hand corner of the Arrange page), you'll see a drop down list of options, which include, bar, beat, division, ticks, frames, etc... this helps limit where the region will land while dragging. I personally leave it set to "smart", which, depending on zoom level, allows me to place regions exactly where I want, very quickly.
    My "nudge" key commands also help in certain circumstances.
    As far as duplicating a region, yes, you are merely copying the region, but it's still referencing the same audio file, so any edits done on one will affect all copies.
    After option/dragging a region, if you want to edit it, and ONLY that particular copy, simply go under the audio menu, and select "Convert Regions to New Audio Files". This can be assigned a key command, so it can be a pretty instantaneous thing. Now it's a separate audio file, and any edits done to it won't happen on the original.
    Hope some of that helps...

  • Model Object / Business Logic question

    Hello,
    Question about how to architect the model objects and services in our system. We are defining our own Model Object / Transfer Objects without the use of an ORM tool (long story). Some of these model objects have to maintain Association objects such as:
    public class Teacher {
         private List<StudentAssociation> kids;
    public class StudentAssociation {
         private Teacher teacher;
         private Student student;
         private Date fromDate;
         private Date toDate;
         // Getters / Setters ....
    }My question is, where should the logic be to add, remove student associations? Originally we had it defined in the Teacher model object with:
    public void addStudentAssociation(Student student, Date fromDate, Date toDate);
    public void removeStudentAssociation(Student student, Date fromDate, Date toDate);But I am hesitant to put such logic in the Model Object. I always thought those should be pretty empty of any sort of business logic. Instead I want to have a TeacherService that does that and instead just a getter/setter on the Teacher object for the Association List. However, in doing that, I find I have to create a new List of Associations then call the setAssociations method on the Teacher object, which seems kind of strange.
    Is it bad to put the add/remove method in the model object itself? The remove logic has a bit of business logic in it, so it seems weird being there.

    Not sure I can be of much help, but here's my two cents worth:
    You have a teacher object and student object. A teacher doesnt really have an association with a student. I think you need another object such as a class object. I class has a teacher and the students (an association can be a business association, social association, etc). That same teacher may be assigned to other classes (provided they dont occur at the same time since the teacher cant be in the two classes at the same time. Likewise, for a student. Complicating things is the fact that a teacher of one class may be a student in another class. Also, a class may exist that has students but no assigned teacher yet (your original idea wouldn't be able to handle this since you will need a teacher before you add students). Another case, you have a class without students. Still another case, you have people (either future students, or teaching staff that haven't been assigned as teachers yet), but no classes yet., I think it would be best to figure out a database schema first (you can use Oracle Lite, MySql, etc).
    here is an example:
    Assuming you are putting this in a database I would create tables and fields something like this:
    Person ((a person is either a student or teacher, or just someone that is no longer a student or teacher but may be one day))
    personId not null
    firstname not null
    middleName nullable
    lastname not null
    ssn not null
    Class ( a class is where a teacher teaches students))
    classId not null
    nameOfCourse not null
    building nullable (may not be assigned yet)
    room nullable (may not be assigned yet)
    startDate ((when the class starts)) nullable
    endDate ((when the class ends)) nullable
    teacherId ((this is the parentId from the person table)) nullable
    Students
    personId ((this is the personId from the person table))
    classId
    associations:
    a class has 0 or 1 teacher,
    0 or many students
    a teacherId must exist in the person table as a personId
    a studentId must exist in the person table as a personId
    (if you delete a personId in the person table, it cascades deletes any teacherId or studentId of the same value)
    your class has a collection of students. therefore:
    private List<Student> students
    Your class will also have something like
    addStudent(Student student) (throw exception if student already exists) (note you dont pass in the start and
    end date since its the class's responsibility for start and end date, not student)
    isStudent(Student student) (return true if student is already in class, false if not)
    deleteStudent(Student student) ((returns true if student found and deleted, false if student not found to delete)
    Your business logic can check things such as if the start date occurs before the end date (an error), you have a class with no teacher or no students, etc. The first case you can do in the database with constraints if you want, but the second you cant since you want to store info for a class even if a teacher isn't assigned to it yet.
    One way to do this is to have a validate() function in your class object. The validate() function checks such things as a class with no teacher and returns a collection of warnings if it finds anything wrong. All the above is just something off the top of my head. So there may be some issues with my approach that you will have to work out.
    Good Luck!

  • Logical question, it's not enought to know LabVIEW, it's necessary intelligence...

    Suppose that you have a while loop that generate random numbers between 0 and 9. Have you INTELLIGENT way to build an array in which you save data, but with FIFO LOGICAL: first in, first out. For example you generate this sequence:
    1 3 9 2 8 4 8 2 9 1 2 0 1 2 3 2 0
    SUPPOSE that array, that save data, is of 5 elements:
    0 0 0 0 0
    2 0 0 0 0
    3 2 0 0 0
    1 2 3 2 0
    0 1 2 3 2
    2 0 1 2 3
    etc. etc. When the loop finish? The loop must finish when arrive, for example the number 9, and when there is this situation it's necessary save FIFO array in EXCEL file: when it's generated 9 the loop must finisch and there is necessary to save data. If you have INTELLIGENT SOLUTION post VI for LW8.

    Michelle,
    I'm am simply trying to offer some advice. I, as most people here have a limited amount of time to volunteer here to help people. In almost everythread you have startedyou ask people to post their code solving the problem you are asking about. I have yet to see a single piece of code, or even a screen shot of any code that you have written. It is clear that English is not your primary language and it may be difficult to clearly express what you are trying to ask. Regardless, samples of what you have tried will go a long way to show that you are indeed putting effort into these problems and not simply asking for someone to do the work for you. Your original question in this post is not very clear about what you are even trying to accomplish. Therefore it is very difficult to even begin to offer any suggestions. All I am trying to say is that you will get more help when you show that you are trying different things and need some assistance with a particular issue. If you are posting this as a thought problem and challenge to see what types of solutions are possible than say that. I got the impression that you are trying to implement this problem and seeking someone to post the solution for you. If this is incorrect then I apologize.
    Mark
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Some Basic Logic Questions

    I used to use Cakewalk Sonar and I knew it really well. I just got my mac pro and logic 7.2 and I'm having trouble making sense of everything, including the manuals. Can anyone suggest some tips for me on the following simple items. I really thought they would be much more intuitive.
    1. Recording Audio with my Motu 896HD.
    2. Recording Midi with my M-Audio key Station
    3. Can I bus to a master fader? I don't see one in the mix board.
    4. I really need a good compressor. Can I rely on the Logic one or should I upgrade?
    5. rewiring Reason
    6. Can I build custom drum loops like I currently do in Reason?
    I just spent 3 hours tooling around and I'm a bit burnt out. I'm sure I'll get the hang of it but it's just overwhelming. I can't get used to the terms and the screens, etc.
    Your suggestions are appreciated.
    Mac Pro Mac OS X (10.4.8) Brand Spankin' New
    Mac Pro Mac OS X (10.4.8) Brand Spankin' New
    Mac Pro   Mac OS X (10.4.8)   Brand Spankin' New

    Yes Logic is extremely overwhelming at first, it was for me anyway. I have had it for a little over a year now and there is still a lot that I don't know, but I think I can answer the majority of your questions.
    I am not familiar with the MOTU 896HD, but I use a MOTU Traveler, so hopefully it is somewhat similar. It should be for the most part plug and play, so Logic should recognize it. When it comes to recording audio, open the mixer, and click tracks to view the audio channels. I've never used Sonar, but I'm guessing most things in this area are similar. First where a channel says something like "Input 1" you can click there and change the input source (this is the input on your MOTU), and then of course you engage for recording which I'm sure you know of this function.
    Recording midi with your m-audio is extremely self explanatory also, go to your mixer and select instruments, then load some type of soft synth in as an insert, then go to your arrange window (the main window that comes up as standard) and click the tiny little engage button next to that particular channel. If your m-audio is connected, it should automatically work just like that.
    Yes everything is in a master fader, if you click Outputs in the mixer, it should show your outputs, if nothing is there, then there is no output in the arrange, not to worry, click the Global button in the mixer window and then click to view the outputs, and there you go! There should be a fader for Outputs1-2, if you double click this, it will add it to your arrange window so you can automate and do stuff like that if you would like to.
    A lot of people rag on the Logic Compressor, but it does the job for me. If you search around these forums, there is a post about the Logic Compressor and EQs comparing them to other 3rd party productions.
    As for rewiring Reason, I have no experience with this whatsoever.
    Yes you can build custom drum loops, you can insert Ultrabeat into an instrument channel and use that. It is a extremely simplistic program if you need it to be, but it also allows you to change many parameters of the samples. It comes with tons of preset drum kits and banks, and of course you can use your own.
    Powerbook 15" 1.67 GHz PowerPC G4   Mac OS X (10.4.8)   User of Logic Pro 7.1.1

  • Conversion tool question

    Again, I have a question regarding the conversion tool, BIPBatchConversion and it's output.
    In the original report there is a line like this
    Report Year : 2008
    where 'Report Year :' is boilerplate text and 2008 is the selected parameter when the report was run.
    In the converted .rtf file this has been implemented as a two column table like this :
    Column 1 in the table:
    Report Year : &F_year ( all boilerplate, no form fields )
    Column 2 in the table contains a form field with syntax <?P_YEAR?>
    The strange thing is that this form field has the default text, F_year ,which is the same that is used in the boilerplate text in column 1 !
    Will this work ?
    What is the meaning of the boilerplate text &F_year ?
    My expected behaviour would be :
    'Report Year :' as boilerplate text, directly followed by the form field containing the parameter P_Year
    Customer has several hundreds of Oracle Reports which we would like to autoconvert with minimum hands-on.
    If simple things like this is failing, we will not be able to use the conversion tool.....
    I have no access yet to customers database, so I can not verify if the converted report is working.
    Edited by: user792912 on Oct 23, 2009 4:35 AM

    Nonsense. You can use the conversion tool to get the converted rtf files. Touch up work is usually required no matter what.
    To answer your question, you will need to fix the substitution variables that are used as boiler plate text.
    Example - Reports6i bad practice: Personally, it's a sloppy practice to do that since a frame could be used and should be used
    Report Year:  &P_YEAR  <-Will not convert
    Fix in BIP:
    Report Year:  <?.//P_YEAR?>  I believe I answered your question, don't forget to give me the points.

  • Basic Logic questions

    I'm new to Logic Express and having a hard time.
    Where do I go to set up the instrument I want to use to play on the keyboard?
    Also.. I have an external JV 1080 synth and I would like to use some of these sounds. Again, I can't figure out how to do this.
    Any help will be appreciated.

    It's very hot here in Rome, too hot to write very long answers.......
    But you could find something very helpful here:
    www.swiftkick.com
    In the Downloads/Logic Environments menu you will find the answer to your questions and a lot more.
    cheers
    rob

  • Conversion program question

    I have a JAVA question that may seem foolish, but I just can not figure it out! I have a Celsius to Fahrenheit conversion thing here, and it works, but I want to be intuitive and prompt the user for a second entry after the first conversion is made.
    The code I have thus far is this:
    import java.io.*;
    public class TempConversion {
    public static void main (String args[]) {
    String input;
    boolean badInput;
    float tempC, tempF;
    tempC = 0;
    System.out.print("Enter a temperature in degrees Celsius : ");
    do {
    try {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    input = in.readLine();
    catch(IOException ex) { return;} try {
    tempC = Float.valueOf(input).floatValue();
    badInput = false;
    catch (NumberFormatException ex) {
    System.out.println(ex.getMessage() + " is an invalid number\nEnter another number : " );
    badInput = true;
    } while (badInput);
         tempC = Float.valueOf(input).floatValue();
         tempF = tempC * (9.0F/5.0F) + 32.0F;
    System.out.println(" ");
    System.out.println(tempC + " degrees Celsius = " + tempF + " degrees Fahrenheit");
    Now I know there has to be a simple way to rerun the code after the system.out.println spits out the answer, but i can't figure out how to call the statement again. I played around a bit and was able to actually prompt for a second number, and actually input a number, but after that nothing happened. Any suggestions?
    I really appreciate your help. Thanks a bunch!
    -Chad

    The whole conversion process needs to be in a while loop that asks if they want to convert another temperature at the end. Your input validation loop would be inside that loop, because you still need to validate for each conversion. Here's what I came up with based on your code:
    import java.io.*;
    public class TempConversion {
         public static void main (String args[]) {
              String input;
              boolean badInput;
              boolean keepGoing = true; // Flags when to stop asking.
              float tempC, tempF;
              tempC = 0;
              do { /* while (keepGoing) */
                   do { /* while (banInput) */
                        System.out.println("Enter a temperature in degrees Celsius : ");
                        try {
                             BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
                             input = in.readLine();
                        } catch(IOException ex) { return; }
                        try {
                             tempC = Float.parseFloat(input);
                             badInput = false;
                        } catch (NumberFormatException ex) {
                             System.out.println(ex.getMessage() + " is an invalid number." );
                             badInput = true;
                   } while (badInput);
                   tempC = Float.valueOf(input).floatValue();
                   tempF = tempC * (9.0F/5.0F) + 32.0F;
                   System.out.println(" ");
                   System.out.println(tempC + " degrees Celsius = " + tempF + " degrees Fahrenheit");
                   System.out.println("Convert another temperature?  (Y/N)");
                   try {
                        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
                        input = in.readLine();
                        // keepGoing will be false for any input except Y or y
                        keepGoing = input != null && input.equalsIgnoreCase("Y");
                   } catch(IOException ex) { return; }
              } while (keepGoing);
    }

  • Emagic Logic Question

    I have an old Mac with Emagic Logic 2.5.4 (before Apple bought them). Can I save a song that can be opened with the current Logic software (or any other software for that matter), and if so, how?
    My computer is on the brink and I would hate to lose all the songs I've written.
    Many thanks

    Indeed, one has to save as a MIDI file and then it can be opened in any DAW, but you will lose Logic-specific references.
    I have a question for both of you however. I notice that both of you have Logic 2.0/2.5. I have suffered a catastrophic power surge on my Power Mac, which wiped out my HD in the process. I am now in the process of trying to find a copy of Logic 2.0 so I can re-install on a replacement Mac, as I've lost my original floppies a long time ago. My question is this: if you guys maybe have upgraded to a newer DAW, would you consider letting me have or selling me Logic 2.0? You would really be helping me out.
    Anyways, I would certainly appreciate it if you would get back to me.
    If this is not allowed, please let me know, I just don't know another way of asking such a question.
    Art

  • Custom calculation Script logic question

    I am trying to create the following logic in my form however cannot get it to work, help!
    I have two fields:  LocNumber and LocAddress.   If LocNumber=NY001, I want LocAddress to populate with "Times Square", if LocNumber=NY003, LocAddress should populate with "Wall Street Plaza", if LocNumber=NY005, LocAddress should populate with "Third Avenue", and so on and so on.  My javascript below results in the field populating with Times Square only.
    var n = this.getField("LocNumber").value;
    if (n = "NY001") {
        event.value = "Three Times Square,  11th Floor,  New York, NY 10036";
    else if (n = "NY003") {
        event.value = "Wall Street Plaza, 88 Pine Street, 32nd Floor, New York, NY 10005";
    else if (n = "NY005") {
        event.value = "750 Third Avenue, 27th Floor,  New York, NY 10017";
    else if (n = "NY006") {
        event.value = "156 West 56th Street, 19th Floor, New York, NY 10019";
    else if (n = "NY007") {
        event.value = "111 Great Neck Road,  Suite 416, Great Neck, NY 10021";
    else if (n = "NY008") {
        event.value = "909 Third Avenue, 20th Floor,  New York, NY 10022";

    The comparison operator of JS is "==", not "=", which is used to assign a value.
    So this code:
    if (n = "NY001")
    Should be:
    if (n == "NY001")

  • LOGIC QUESTION - Posting to an alternate account based on parent value

    Hi
    I need to calculate the value of an aggregate account and then if the value of that aggregate account is negative, post all of its base level accounts (whose values might be DR and CR values) to an alternate account stored as a property in the account dimension.
    I started with the logic below with PKBS11002 being the aggregate account.
    *MEMBERSET(%AccountsList%,"Descendants([Account].[PKBS110022],999,LEAVES)")
    *XDIM_Memberset ACCOUNT = %AccountList%
    *CALC_DUMMY_ORG ACCOUNT = Parenth1
    *WHEN ACCOUNT
    *IS #PKBS110022
    *WHEN %VALUE%
    *IS <0
    //In this section i need to determine all the base accounts for PKBS110022 and then post their values to the alternate account.
    *ENDWHEN
    *ENDWHEN
    Regards,
    Byron

    I tried removing the line
    *XDIM_Memberset ACCOUNT = %AccountList%
    but no luck
    The two processes that I go through are as follows:
    Unsuccessful process
    Step 1: Import data
    Step 2: Run logic as above
    Result: No records posted
    Successful process
    Step 1: Import data
    Step 2: Delete records that are not a parent of PKBS110022
    Step 3: Run optimize to ensure update of OLAP
    Step 2: Run logic as above
    Result: Records posted correctly
    What i did notice is that in the Unsuccessful Log contains "failed test:GET(ACCOUNT="#PKBS110022")<0  : 0<0"
    Link to log files: [2 x Log Files (Successful and Unsuccessful)|http://sites.google.com/site/byronwahl/home/bpc]

Maybe you are looking for

  • Need suggestion in sql

    I have 8 tables of which i need to do union of all tables and do group by ..all 8 tables consists of similar columns with small changes.. My question is which is best idea 1. do union first of all 8 tables and do group by or 2. group by each individu

  • Key Figues - SUMMATION in Expert Routine

    Hi All, Is there any to way to have to aggregation of Key Figures as "Summation" in Expert Routine?? Please let me know if there is any work around for this.. Thanks, Kapil

  • Can i use iCloud with one apple id but app store with another; especially on iOS 6?

    My household has multiple devices.  I own iPhone and iPod, both on iOS 5.1.1, and iCloud (used for apps, iMessage, and backup.) I almost never buy music, but I buy some apps. My SO has iPhone (also on 5.1.1), and she uses my apple id for purchases (m

  • BSOD after installing Boot Camp 4.0.4033

    I have recently installed Windows 7 Professional on my 15" Early 2008 MacBook Pro, 2.5 GHz Intel Core Duo w/ 4GB Ram. I have a solid state SATA drive. I have tried renaming the AppleHFS.sys & AppleMNT.sys drivers to no avail. Pulling my hair out here

  • HT1338 how do you install adobe flash player?

    How do you install, not just download, adobe flash player?