Complex key on ActiveSync 6.0

Does any know how to build complex keys in ActiveSync for "Unique Key for Diff "? eg: in ActiveSync we can have the process only the records that are changed and by default it is somthing like AccountID or EmpID. I am wondering if building a more complex key like AccountID+ManagerLevel+status.

Does any know how to build complex keys in ActiveSync for "Unique Key for Diff "? eg: in ActiveSync we can have the process only the records that are changed and by default it is somthing like AccountID or EmpID. I am wondering if building a more complex key like AccountID+ManagerLevel+status.

Similar Messages

  • Building expression for complex key

    Hi
    I have an object with a complex key. I'm trying to create an expression that will generate a select to retrieve a list of objects by the complex primary key.
    The select should look like :
    select *
    from <table_name>
    where (<col1>,<col2>) in ( (val1,val2) , (val1, val3) )
    The problem is i cannot find a way to create the expression (<col1>,<col2>).
    Can anyone give me an example on how this can be done ?
    Thanks
    Inbal

    TopLink expressions do not currently support the IN((..), (..)), or nested array IN SQL. You will either need to generate your own custom SQL for this. Or build the expression dynamically using AND and OR instead of an IN.
    i.e.
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression inPrimaryKeys = null;
    Iterator iterator = primaryKeys.iterator();
    while (iterator.hasNext()) {
    List primaryKey = (List) iterator.next();
    inPrimaryKeys = builder.get("id1").equal(primaryKey.get(0)).
    and(builder.get("id2").equal(primaryKey.get(1))).
    or(inPrimaryKeys);

  • No phrase or multi-term search feature? I am using iBooks 4.1 on an iPad Air I thought it would support complex key word searching (even Adobe reader supports phrase searches in PDF files) is it really just limited to one key word per search?

    No phrase or multi-term search feature? I am using iBooks 4.1 on an iPad Air I thought an eBook reader would support complex key word searching (even Adobe reader supports phrase searches in PDF files) is iBooks really just limited to searching for one key word at a time?  Am I missing something  basic in the search interface?

    Greetings NoNameGiven,
    If I understand the problem correctly (I’m not sure I do) you would prefer ‘iii’ to be read as “eye eye eye” rather than “three”? The alt text property is the only way that I know of to make this happen. Hope this helps.
    a ‘C’ student

  • Unsing findByKey on non-primary, complex keys

    Hello!
    Can anyone show an example of how to use
    the ViewObject.findByKey to find a row
    using a (perhaps complex) non-primary key ?
    Thanks.

    Victoria:
    Please run your test case with diagnostic turned on. It will show the SQL statement used for your findByKey() request. See if the SQL makes sense. If still doesn't work and if you cannot figure out what's going on, please post the diagnostic output.
    To turn on diagnostic, you need to specify
    -Djbo.debugoutput=console
    as one of the JVM switches.
    If you're invoking your app (middle-tier app) from command line,
    include -Djbo.debugoutput=console as in
    java.exe -Djbo.debugoutput=console ...
    If you're running your app from within JDev:
    1. Select the project.
    2. Do right mouse click and select "Project Settings..."
    3. On the Settings dialog, select Configurations/Runner.
    4. In the righthand side pane, you should see a textbox for "Java
    Options". Please add the following JVM switch:
    -Djbo.debugoutput=console
    Then, rerun. The run command should include
    -Djbo.debugoutput=console as in
    "D:\JDev9i\jdk\bin\javaw.exe" -Djbo.debugoutput=console -classpath ...
    You should now see a lot more output on the IDE's message window.
    Thanks.
    Sung

  • Complex key combinations get eaten by keyboard layout changer

    I am using gnome 3 and have a layout switcher on ctrl-shift. However any key combination which involves ctrl-shift (for instance ctrl-shift-n in chrome) causes a layout change (ctrl-shift) and nothing happens when I press N. I also can not select any text in words since it involves ctrl-shift + arrows while selecting by ctrl-arrows works fine.

    I am getting desperate. Is it only me having this problem and no solution?

  • OS Level and License Key Question?

    Hi Everyone, new potential Apple user here.
    I am going to buy 2 Apple G4 notepads for our children. I know they will not come with an OS so I my question is, is it like Windows where you have a license key on the bottom and you can use the same CD to install the OS on both machines and just use the License Key that comes with the Laptop or will have to buy 2 copies of the OS one for each machine?
    Next question, is what is the highest level of OS I can go to?
    Sorry if the questions seem a little dull.
    Thanks
    Martin.

    Hey Martin and Welcome to Apple Discussions,
    I am going to buy 2 Apple G4 notepads for our children.
    It would help to know which model you're buying, especially the CPU speed since that will determine which OSs can be run.
    .. like Windows where you have a license key on the bottom and you can use the same CD to install the OS on both machines and just use the License Key that comes with the Laptop or will have to buy 2 copies of the OS one for each machine?
    There is no "license key" in Mac OS X land ;<). Get used to not having to type those ridiculously complex keys in at the 4 minute mark.
    With the single user license you can officially load on one machine. With the family pack you can load up to 5.
    <div class="jive-quote">Next question, is what is the highest level of OS I can go to?
    In general all the G4 iBooks will run Leopard so 10.5.8 updated. The 12" 800 Ghz will run Tiger so 10.4.11 updated. That's official but the installer can be hacked to run in that machine.
    Richard

  • How does the so-called duplicated data saved?

    I am confused with this question now.
    If a DB supports duplicate data. My question is: if I put 10 record, their data with same key, would BDB save key once and data 10 times, or 10 (same)key and 10 data?
    I mean, the same key is "100001", different data are "a1", "a2", "a3", ..., "a10".
    How they were kept in DB file?
    like:
    Type A:
    "100001", "a1"
    "a2"
    "a3"
    "a10"
    or Type B:
    "100001", "a1"
    "100001", "a2"
    "100001", "a3"
    "100001", "a10"
    If they are stored in "Type A" style, that must mean we can save a lot of disk space. And I would like to use a complex key rather than simple key.

    Hi Lesslielee,
    If your db is configured to allow duplicate data items, only one such equivalent key (the first) is stored in the database.
    Best Regards,
    Bogdan Coman

  • WRT600N loss of internet connection on reboot

    Folks
    I realise this is an older router, but its been very dependable with one exception.
    I have the latest flash installed. I am making use of all the options available to this router. USB drive set up as a file server, both radio bands have devices which attach. All wifi security is wpa2 with a complex key string. Also have pc’s attached to all lan ports. I also have all the wireless devices registered on the mac address filter for access set to enable/allow. I have a total of 9 mac address in the list. One lan device is on the DMZ. One address is reserved. Not sure what other details you need.
    Router is used for online gaming, video streaming, and typical internet browsing.
    The problem I have is if the router is powered off for any reason. After power back on, the internet access is severed. Intranet activity works fine, and even can run a “trace” to an out side address, but devices on the network don’t have access. The only way I have been able to recover the access, is factory reset the router, and reprogram it from scratch, which it will then work again until the router has a loss of power.
    When I look at settings after a power outage, all setting seem to be there. I don't see any loss or change of settings.
    Any ideas? (config save/restore never works)
    Mark

    This isn't a really cheap answer, but I'd consider having my router and modem on a UPS (uninterruptible power supply).  This will save your router, in most cases, from experiencing power outages and brownouts.  My router and cable modem are both on a UPS, and they stay on for quite a bit of time after the power fails, and usually don't even experience a power outage.  This is kind of an indirect answer to your concern, but I'm a firm believer in UPS's for the health of my electronic devices.  They provide both power and surge protection as well, but do cost a little money.  I've lost some expensive items as the result of power failures that did weird things (like rapid on/off cycles).
    This doesn't help you if you have to power it off yourself for some reason.  I can certainly see how this would be frustrating, but I don't know if there's a solution to the basic problem of loss of connection after you power it back on.

  • Finding brand penetration per customer for sales representative

    Material-Brand-----Sales-Rep----Customer
    GW--XYZ--
    Super-Cuts
    SE--XYZ--
    Super-Cuts
    GW--XYZ--
    Super-Cuts
    SE--ABC--
    Scissors
    GW--ABC--
    Scissors
    Wella--ABC--
    Scissors
    Wella--XYZ--
    Colors-and-Cuts-Salon
    GW--XYZ--
    Colors-and-Cuts-Salon
    SE--XYZ--
    Colors-and-Cuts-Salon
    SE--ABC--
    Planet-Beuty
    Wella--ABC--
    Planet-Beuty
    Kadus--ABC--
    Planet-Beuty
    Clariol--ABC--
    Planet-Beuty
    SE--ABC--
    Planet-Beuty
    Clariol--ABC--
    Planet-Beuty
    Wella--XYZ--
    Colors-and-Cuts-Salon
    GW--XYZ--
    Colors-and-Cuts-Salon
    SE--XYZ--
    Colors-and-Cuts-Salon
    Clariol--XYZ--
    Colors-and-Cuts-Salon
    the requirement is to find the brand penetration which
    is defined as  average no of brands per customer for a sales representative.
    in the above case XYZ is having two customer super cuts and color and salon
    XYZ----
    Brand pentration
    Super-Cuts--     2--(NO-OF-DIFFERENT-BRAND)
    Color-and-Cuts-Salon----
    4
    Average-Brand-Penetration-per-Account----
    3
    ABC----
    Brand-Penetration
    Planet-Beauty--4--(NO-OF-DIFFERENT-BRAND)
    Scissors----
    3
    Average-Brand-Penetration-per-Account----
    3.5
    THE REPORT LAYOUT SHOULD BE
    SALES-REP-----BRAND-PENTRATION
    XYZ----
    3
    ABC----
    3.5
    HOW  this requirement can be achieved in bex 3.5?
    Edited by: Omprakash Mishra on Jun 27, 2008 5:53 AM

    Hi praveen,
                     Actually this is much complex report .
                     there are many other complex key figures along with it .
                     i have just published a part of it as i am unable to find solution for it.
                     it is just an example so that people can understand it easily.

  • Drop squence in a trigger

    i have made a statment trigger that drop a sequence and start a new one for each day:
    SQL> create table b2 (n number(10),da date);
    Table created.
    SQL> create sequence seq_b2;
    Sequence created.
    1 create or replace trigger b2 before insert on emp
    2 declare
    3 i date;
    4 begin
    5 select max(da) from b2 into i
    6 if sysdate > i then
    7 drop sequence seq_b2;
    8 create sequence seq_b2;
    9 end if;
    10* end;
    SQL> /
    Warning: Trigger created with compilation errors.
    SQL> show error;
    Errors for TRIGGER B2:
    LINE/COL ERROR
    4/1 PL/SQL: SQL Statement ignored
    4/24 PL/SQL: ORA-00933: SQL command not properly ended
    7/1 PLS-00103: Encountered the symbol "CREATE" when expecting one of
    the following:
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
    <an identifier> <a double-quoted delimited-identifier>
    <a bind variable> << close current delete fetch lock insert
    open rollback savepoint set sql execute commit forall merge
    <a single-quoted SQL string> pipe
    so is there any suggestion(''Hint'' i am droping the
    squence and recreate it becuause i want the squence to be unique only at the same day)

    Mohannad,
    if you REALLY want to do it
    you may use nigthly started job which
    will recreate you sequence.
    Also one of the option would be to create cycled sequence
    with large enough MAXVALUE parameter and recycle it
    each night to 1:
    SQL> create sequence cycled_seq start with 1
      2  increment by 1 maxvalue 10000 cycle
      3  /
    &nbsp
    Sequence created.
    &nbsp
    SQL> select cycled_seq.nextval from dual;
    &nbsp
       NEXTVAL
             1
    &nbsp
    SQL> /
    &nbsp
       NEXTVAL
             2
    &nbsp
    SQL> /
    &nbsp
       NEXTVAL
             3
    &nbsp
    SQL> /* At the day end */
    SQL> declare
      2   id number;
      3  begin
      4   id := 0;
      5   while(id != 10000) loop
      6     select cycled_seq.nextval into id from dual;
      7   end loop;
      8  end;
      9  /
    &nbsp
    PL/SQL procedure successfully completed.
    &nbsp
    SQL> select cycled_seq.nextval from dual;
       NEXTVAL
             1Oracle jobs description is there:
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_job.htm#999107
    But to be quite franky
    there are hardly any reasonable motives
    to restart sequence number
    every day and to compose this complex key.
    Rgds.

  • Urxvt-keyboard-select - mouseless text selection in urxvt

    Hello again,
    my next urxvt extension reached a stable stage, so it's time to post it here: keyboard-select
    Please have a look at the top of the file for details on how to use it, or read the README on github.
    The usage is comparable to tmux/gnu screen, but its mappings are more vim-like.
    As for now, the most basic cursor movement keys are available, I'm planning to add the following in the near future: [fFwWbBeE;,/?nN]
    And this time I've also managed to upload a PKGBUILD before writing this post...
    Last edited by ber_t (2011-03-29 12:36:50)

    @hitsmaxft: Your extension looks nice, I will try it out later. But your one always uses urxvt's selection for highlighting; I use rendition bits for that, because I want a chance to cancel visual mode without losing the content of the primary buffer. It also misses some delete statements, for example, it always creates a new overlay without deleting the old one.
    I will continue developing mine (at least just for the fun of it), even if your one already features everything I'd plan to implement.
    For all the emacs lovers: I will try to provide vim and emacs keybindings, but I didn't come up with a nice way of handling this. And by nice I mean no code duplication and no complex key dispatcher, taking up more code than the real functionality.
    Be patient, or:
    VCoolio wrote:... but we could also modify the keys in the script ourselves of course. If only I wasn't that lazy... but who knows.

  • Mapping BW TO CRM?

    Hi Gurus
    How to Map BW info cube and BW info set to CRM
    Cheers
    Mahi

    hi
    Using InfoSets and BW Queries in the Segment Builder
    InfoSets and BW queries are used to access business partner master data (stored for example in the R/3 System) and transactional data stored in the SAP BW System respectively.
    The attributes used within these InfoSets and BW queries can be fields belonging to:
    ·         Business partner tables (business partner master data)
    ·         Key figures determined in SAP BW
    ·         Marketing attributes
    InfoSets
    To create InfoSets, from the SAP Easy Access menu, choose Architecture and Technology ® ABAP Workbench ® Utilities ® SAP Query ®  InfoSets.
    Any InfoSets you create for use in the Segment Builder must be created in a cross-client work area.  Therefore, on the interface for creating InfoSets, you should first choose Environment ® Query Areas, and select Global Area (Cross-Client). This setting ensures that your InfoSets appear for selection in the input help for the field InfoSet when creating data sources (Marketing ® Segmentation of Business Partners ® Marketing Segments ® Maintain Data Sources for Segment Builder).
    For information on how to create InfoSets, see the SAP Library under mySAP Technology Components ® ABAP Workbench (BC-DWB) ® SAP Query (BC-SRV-QUE).
    Tips for InfoSets
           1.      The most important and simplest point is that the Segment Builder creates target groups containing business partners. Therefore the InfoSet must make its selections using fields relating to the business partner and must be able to return business partner keys. Ideally these keys are GUIDs. If this is not possible (for example because this InfoSet lies in a system in which the GUID is not known, such as an SAP BW or an SAP R/3 System) then it must be a key that can be converted into a GUID in CRM. If this is the case, you must specify a function module in data source maintenance to perform the conversion in the field Function Module). For InfoSet queries, for example, we recommend function module CRM_MKTTG_PF_BP_TAB_TO_GUID, and for other data sources, CRM_MKTTG_PF_CONV_ID_TO_GUID is available.
    If the InfoSet is a table join, then it is safest to use BUT000 as the basis table.
           2.      If you are using a report program, then the structure belonging to this report must contain the business partner GUID (or a field that can be converted into the GUID).
           3.      The InfoSet should be constructed so that it contains every field that is required for selection in the Segment Builder and these fields only! When you create an InfoSet, the system displays the dialog box InfoSet: Title and Database. On this dialog box, ensure that you select the field No automatic text recognition (under Options) since otherwise the system will generate the texts for all the fields in the InfoSet behind which text fields are defined. These fields are then written into the InfoSet which may lower performance.
           4.      Do not build one large InfoSet containing a large number of joins. Instead, build InfoSets which join only those tables required for the selection attribute to be created. For example, if you want to create the selection attribute “Date of Birth” your InfoSet should use table BUT000 only (because “Date of Birth” is one of the fields in this table). It is not advisable to read the date of birth from an InfoSet which joins the BUT000 with the address table ADRC.
    Tips for BW Queries
    Query Definition
           1.      In the Business Explorer Analyzer (Business Explorer  ®Analyzer) ensure that you set the indicator "Release for OLE DB for OLAP" for the query (under Properties).
           2.      Ensure that your BW user is a dialog user, since otherwise the input field for queries in data source maintenance will not work (RFC connection between SAP BW and SAP CRM). To check this setting, in the BW system choose Tools ® Administration ® User Maintenance ® Users.  Under the Logon Data for the relevant user, ensure that Dialog is selected as User type.
           3.      Do not specify any variables as "required".
           4.      Ensure that the query has business partner as info object.
           5.      Ensure that the business partner is in the row, the key figures in the column(s).
           6.      Do not define any conditions for the key figures in the query itself. Instead define conditions in the Segment Builder by specifying filter values for the relevant attributes.
    Performance Points:
    To ensure the best possible system performance, try where possible to avoid:
           1.      Unnecessary characteristics, attributes, or key figures
           2.      Superfluous conditions or variables
           3.      Complex key figures
           4.      Large cubes
           5.      Complex hierarchies
           6.      A lot of coding in variables filled by means of user exits
    In addition, specify for characteristics either variables or restrictions but not both together.
    best regards
    ashish

  • Does anyone have shortcut issue while working in PHOTOSHOP CS6 recently?

    I found that a couple of my friends have similar shortcut issues recently. (We all use Photoshop almost everyday)
    It seems weired that those shortcuts using single key are working fine but those shortcuts using complex keys like command + Z,T,S and etc,.
    We tried to quit photoshop and start agiain. It seems working good sometimes but it does not working some other times.
    Anyone has similar issues?
    2 of them are using Mac OS X and one using Window 7.
    Thanks,

    You haven't applied ANY of the CS6 updates at all.
    Go apply them right away, see of the issue goes away; if not, come back here with more detailed, sensible information:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • AE CS3/Keylight crashes, sometimes seriously...

    HELP! I've been rendering some reasonably complex keyed footage with animated backgrounds etc from AE CS3 on Windows XP quad processor box.
    All was well until a couple of days ago when renders started crashing whilst rendering the Keylight effect. On checking The Foundry's website I could see there was an update (v1.2.8), so loaded that in. Still had crashes. Then had one severe crash where footage files got deleted. Honestly! I'd narrowed the work area slider down to the specific bit of the comp that was crashing and after the crash, footage that was in the comp, but outside the work area, got deleted. Crashes should never, ever cause footage files to be deleted - I can't even think how this would be possible. I would blame myself but the specific files in question (7 in total) are all c.1Gb each and in a folder with other footage that was untouched, so I would have to be selective and wait while they were deleted. There is nothing in the Recycle Bin.
    Some parts of comps render with Keylight quite happily.
    Between each crash I reboot and delete any partial output that has been created. Is there anything else that needs to be "cleared" to make the subsequent renders error free? Are there any "optimum" settings for memory/cache, disk space, etc that can help this along?
    Thanks,
    J

    1.) close AE and try trashing AE preference file (save a backup copy or just rename .txt extension to .old) try then opening your project.
    2.) make a copy of your project file. try opening it.
    3.) open a new project, go preferences >> Memory & Cache >> then lower Maximum RAM Cache size to 45% and enable disk cache with size of 20.000 or higher, now try opening your project youre working on.

  • Performance of query built on infoset

    Hi,
    I have a query built on infoset which takes data from seven(7) different master data tables. The structured made is a bit complexed comprising on many inner joins & the report built on it doesnt fetch data & shows timed out error.Please suggest.
    Thanks
    Sakshi

    Check the below points
    Performance Points:
    To ensure the best possible system performance, try where possible to avoid:
           1.      Unnecessary characteristics, attributes, or key figures
           2.      Superfluous conditions or variables
           3.      Complex key figures
           4.      Large InfoCubes
           5.      Complex hierarchies
           6.      A lot of coding in variables filled by means of user exits
    In addition, specify for characteristics either variables or restrictions but not both together.
    Did you try to check the display data for that infoset weather you are getting data records out of the infoset join conditions or not.
    Whats the volume of data in the Infoset?

Maybe you are looking for