Dynamics Matrices

I am trying to make a class of something called tensors. What the user puts in is an integer which defines the rank of the tensor.
What the rank does is it tells us how many "[]" operators there will be. So a rank 1 tensor would have
private Object[] myStuff;
a rank 2 tensor
private Object[][] myStuff;
rank three
private Object[][][] myStuff;
and so on.
I would prefer not using multiple classes for each rank tensor (have a rankOneTensor class, a rankTwoTensor class, etc.), but I don't see how this can be done quickly and effeciently!
I thought about having a init() method defined as
protected void init(Object[] myStuff, int ranker)
//myStuff = new Object[4];
//if ranker>1, then have each Object in the myStuff array be an array of
//objects and call the init() method for these arrays with a
//decremented ranker
//else make the Objects 0
but I had compiling errors (what luck!). I googled other peoples methods and they defined other classes (the problem is what if I have a rank, say, 20 tensor?) which seemed rather tedious.
Is there any dynamic way to define the number of "[]" operators there can be? That is my next guess on doing this effeciently.

You can do this dynamically using reflection, or you can (assuming non-sparse rectangular tensors) flatten the tensor into a single array, much like a fortran or lisp multidimesional array, and calculate the offset into this array from the indices:
public class Tensor {
  final int rank;
  final int[] dims;
  final int size;
  final Object[] data;
  public Tensor (final int...dims) {
    this.rank = dims.length;
    this.dims = dims.clone();
    int size = 1;
    for (int dim : dims) { size *= dim; }
    this.size = size;
    this.data = new Object[size];
  public Object get (final int...indices) {
    return data[flatten(indices)];
  public void set (final Object value, final int...indices) {
    data[flatten(indices)] = value;
  private int flatten (final int...indices) {
    if (indices.length != rank) {
      throw new IllegalArgumentException("incorrect number of indices, should be " + rank);
    int index = 0;
    for (int i = rank - 1; i >= 0; --i) {
      final int i_i = indices;
final int dim_i = dims[i];
if (i_i < 0) {
throw new IndexOutOfBoundsException("i[" + i + "] less than zero : " + i_i);
if (i_i > dim_i) {
throw new IndexOutOfBoundsException("i[" + i + "] greater than " + dim_i + " : " + i_i);
index = (index * dim_i) + i_i;
return index;
public static void main (final String...args) {
Tensor t = new Tensor(2, 3, 4);
for (int i2 = 0; i2 < 4; ++i2) {
for (int i1 = 0; i1 < 3; ++i1) {
for (int i0 = 0; i0 < 2; ++i0) {
System.out.print(t.flatten(i0, i1, i2) + ", ");
t.set("(" + i0 + "," + i1 + "," + i2 + ")", i0, i1, i2);
System.out.println();
for (int i2 = 0; i2 < 4; ++i2) {
for (int i1 = 0; i1 < 3; ++i1) {
for (int i0 = 0; i0 < 2; ++i0) {
if (!("(" + i0 + "," + i1 + "," + i2 + ")").equals(t.get(i0, i1, i2))) {
System.out.println("oops");

Similar Messages

  • Dynamics CRM 2015 Install requires Active Directory on VM Windows 2012 R2 Server

    Hello,
    I'm trying to install Dynamics CRM 2015 on a standalone VM not connected to a domain (it's running under WIndows 8.1 Professional). The VM was configured using WIndows Server 2012 R2. I'm getting an error message shortly into the install process stating
    it needs to access Active Directory.
    How can I get around this issue - I just want to Install this CRM on the VM without getting into complicate network/AD issues.
    Can you please advise ?
    SO many thanks,
    John

    CRM requires AD no way around that so the most likely solution is to install it on that server or on a VM not connected to your other networks
    Jason Lattimer
    My Blog -  Follow me on Twitter -  LinkedIn

  • How to track the sharepoint documents from MS Dynamics end???

    Hi,
    I want to track the SharePoint documents from MS Dynamics CRM end.
    When the document is added or deleted i need to show the message that docuement is added at so and so document library.
    If i use event receivers what else i need to do after that.
    Any suggestions or solution for/on this.
    Thanks,
    Jiteendra SapathiRao.
    Jitendra.S

    Hi,
    To track the added or deleted event of a SharePoint Library, I would suggest you use workflow which can be triggered when there is file added or deleted, then we can send an
    email for notification.
    Send email in a workflow:
    http://www.youtube.com/watch?v=nNxD82KiUhQ
    Best regards
    Patrick Liang
    TechNet Community Support

  • How Can I use Microsoft Dynamics CRM to SharePoint

    I did the integration of CRM with SharePoint, but I would to know if I need buy a license to this product, because i bought SharePoint Server, or is sufficient with the integration about the file list.wsp 
    Thans.

    Dynamics CRM is a separate server license and separate User CALs. Yes, you do need to purchase it completely separately.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Outlook 2013 with Dynamics 2013 CRM Plugin extremely slow

    I have recently upgraded my Dynamics CRM server from 2013 to 2013 SP1
    All of my user machines (VDI) have office 2013 with the Dynamics CRM 2011 plugin installed (I previous had Dynamics CRM 2011 on a seperate server, but 2013 was released before we set it up and so I removed the old 2011 server).
    The website has a GlobalSign SSL against it and runs fine internally and externally. I also have a terminal server running Server 2012 with Outlook 2013 and the Dynamics CRM 2011 plugin and this also runs fine.
    My machine was running fine but I decided to upgrade the Outlook plugin to 2013 and that's where my problems started. I removed the 2011 plugin (and even followed the detailed guide on how to completely remove it) and then installed the 2013 plugin.
    It installed fine but when I use it, it is ridiculously slow. For example, I highlight an email and then click "Track" in the tool bar. What should happen is the little icon of the blue/green people should appear next to it and then the options for
    "Convert To" text should be available, but they are not. The button at the top changed to read "Untrack" but that's it, making it completely unusable. If I go an make a tea, and then come back and then go an make another tea, sometimes
    it will have updated by the time i get back, but generally it does not. I can close and re-open outlook and still the icon does not display next to the email. Interestingly although the button at the top reads "Untrack" which indicates that it is
    being tracked, the pane at the bottom reads "This email is not being tracked in CRM".
    Now, if I logon to the terminal (RDS) server (that I mentioned above) everything works fine and Outlook updates immediately, all the machines are on the same VLAN and so I should be able to rule out firwall issues (that terminal server is still running the
    2011 plugin) so that would indicate that this is a problem with my machine. I created a fresh machine and installed that same applications and the same problem was had, so that now indicated that its a problem with the plugin perhaps or something very specific
    to my setup.
    I had tried to download and install SP1 for Dynamics CRM 2013 for Outlook but on 2 separate machines I received the same error when installing
    The log for my attempt last night shows:
    23:11:44| Info| Refreshing previous hotfix ARP entries
    23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2466084_Client_1033
    23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2466086_Client_1033
    23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2547347_Client_1033
    23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2556167_Client_1033
    23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2567454_Client_1033
    23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2600643_Client_1033
    23:11:44| Info| Retrieving current hotfix ARP entries for 0c524d20-1409-0060-8a9e-0c4c490e4e54
    23:11:44| Info| Retrieving entry KB2466084_Client_1033
    23:11:44| Info| Retrieving entry KB2466086_Client_1033
    23:11:44| Info| Retrieving entry KB2547347_Client_1033
    23:11:44| Info| Retrieving entry KB2556167_Client_1033
    23:11:44| Info| Retrieving entry KB2567454_Client_1033
    23:11:44| Info| Retrieving entry KB2600643_Client_1033
    23:11:44| Info| Retrieving entry KB2888948_Client_1033
    23:11:44| Info| value 'RegistryLocation': ''
    23:11:44| Info| value 'HelpLink': 'http://support.microsoft.com/kb/2888948'
    23:11:44| Info| value 'ParentKeyName': 'Microsoft Dynamics CRM 2013 for Microsoft Office Outlook'
    23:11:44| Info| value 'UninstallString': 'C:\Windows\\$CrmUninstallKB2888948_Client_1033$\CrmUpdateWrapper.exe /uninstall'
    23:11:44| Info| value 'NoRemove': '0'
    23:11:44| Info| value 'ParentDisplayName': 'Microsoft Dynamics CRM 2013 for Microsoft Office Outlook'
    23:11:44| Info| value 'NoRepair': '1'
    23:11:44| Info| value 'DisplayVersion': '6.0.0000.0809'
    23:11:44| Info| value 'Publisher': 'Microsoft Corporation'
    23:11:44| Info| value 'DisplayName': 'Service Pack 1 for Microsoft Dynamics CRM for Outlook (KB2888948)'
    23:11:44| Info| value 'NoModify': '1'
    23:11:44| Info| Retrieving entry KB2941390_Client_1033
    23:11:44| Info| value 'HelpLink': 'http://support.microsoft.com/kb/2941390'
    23:11:44| Info| value 'UninstallString': 'C:\Windows\\$CrmUninstallKB2941390_Client_1033$\CrmUpdateWrapper.exe /uninstall'
    23:11:44| Info| value 'DisplayName': 'Service Pack 1 for Microsoft Dynamics CRM for Outlook (KB2941390)'
    23:11:44| Info| value 'NoRemove': '0'
    23:11:44| Info| value 'NoRepair': '1'
    23:11:44| Info| value 'RegistryLocation': ''
    23:11:44| Info| value 'NoModify': '1'
    23:11:44| Info| value 'ParentDisplayName': 'Microsoft Dynamics CRM 2013 for Microsoft Office Outlook'
    23:11:44| Info| value 'DisplayVersion': '6.1.0000.0581'
    23:11:44| Info| value 'Publisher': 'Microsoft Corporation'
    23:11:44| Info| value 'ParentKeyName': 'Microsoft Dynamics CRM 2013 for Microsoft Office Outlook'
    23:11:44| Error| System.Exception: Action Microsoft.Crm.UpdateWrapper.MspInstallAction failed. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
    at Microsoft.Crm.Setup.Update.HotFixArpEntryHandler.<>c__DisplayClass7.<RemoveSupercededEntries>b__5(ArpEntryDescriptor entry)
    at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
    at Microsoft.Crm.Setup.Update.HotFixArpEntryHandler.RemoveSupercededEntries(IEnumerable`1 arpEntries, Version minimumVersionToKeep)
    at Microsoft.Crm.UpdateWrapper.MspInstallAction.Do(IDictionary parameters)
    at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
    --- End of inner exception stack trace ---, Error, RetryCancel, Option1
    23:11:50| Info| InputResult: Cancel
    23:11:50| Info| CrmAction execution time; MspInstallAction; 00:01:12.9310905
    23:11:50| Error| Install exception.System.Exception: Action Microsoft.Crm.UpdateWrapper.MspInstallAction failed. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
    at Microsoft.Crm.Setup.Update.HotFixArpEntryHandler.<>c__DisplayClass7.<RemoveSupercededEntries>b__5(ArpEntryDescriptor entry)
    at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
    at Microsoft.Crm.Setup.Update.HotFixArpEntryHandler.RemoveSupercededEntries(IEnumerable`1 arpEntries, Version minimumVersionToKeep)
    at Microsoft.Crm.UpdateWrapper.MspInstallAction.Do(IDictionary parameters)
    at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
    --- End of inner exception stack trace ---
    at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
    at Microsoft.Crm.UpdateWrapper.HotfixMspInstaller.Install()
    at Microsoft.Crm.Setup.Shared.ComposedInstaller.InvokeInstall(Installer installer, IDictionary stateSaver)
    at Microsoft.Crm.Setup.Shared.ComposedInstaller.InternalInstall(IDictionary stateSaver)
    at Microsoft.Crm.Setup.Shared.ComposedInstaller.Install(IDictionary stateSaver)
    at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
    at Microsoft.Crm.Setup.Shared.SetupBase.ExecuteOperation()
    23:11:50|Verbose| Method exit: Microsoft.Crm.UpdateWrapper.UpdateSetup.ExecuteOperation
    23:11:50| Info| failed.
    23:11:50| Info| Setup did not complete successfully.
    Action Microsoft.Crm.UpdateWrapper.MspInstallAction failed.
    The given key was not present in the dictionary.
    23:11:50| Error| Setup did not complete successfully.
    23:11:50|Verbose| Method exit: Microsoft.Crm.UpdateWrapper.UpdateSetup.RunInternal
    23:11:50|Verbose| Update Not Completed
    23:11:50|Verbose| Update Not Completed
    23:11:50| Info| Service Pack 1 for Microsoft Dynamics CRM for Outlook (KB2941390) was not completed successfully because of the following problems:
    Action Microsoft.Crm.UpdateWrapper.MspInstallAction failed.
    The given key was not present in the dictionary.
    23:11:50| Info| ActivatePage(HotfixFinishPage)
    I also tried manually installing Rollup 2 before installing SP1 but I still get the same error.
    Now I'm not sure if the Outlook plugin update is going to fix the problem, so as it stands I have 2 problems:
    Very very slow Outlook CRM Plugin when updating emails and icons
    Cannot install 2013 CRM SP1 for Outlook
    So, I'm stumped, and this is really holding me back. I will post any updates here, but if anyone has any ideas, please let me know.

    I have Outlook 2013 with the CRM 2013 Outlook client and it was running fine until about a week ago.  I ran windows update and suddenly everything stopped working. I am going to try to uninstall all the updates until I determine which one is the cause
    of the problem.  It would be nice if MS tested before releasing updates...
    Ken Compter

  • SSRS Dynamics Date Parameter

    Hi,
    I have an SSRS report with Dates Parameter. it is compsed of FROMDATE and TODATE. The default value of FROMDATE is the current date and TODATE i added plus 1. This reports will get the transaction for Shift 1 and Shift 2. the shift1 start at 6:00AM of the
    current date until 6:00PM, then the shift2 will start from 6:00PM of the current date until 6:00AM of the next day.
    Here is the code: I set this code in the expression parameter value
    FROMDATE :   =DATEADD("d",0,Today)  --the value is 6/11/2014 --current date
    TODATE: =DATEADD("d",+1,Today)  --the value is 6/12/2014 --next day
    My requirements:
    I wanted the date parameter to be dynamics. WHen the time of TODATE falls on 6:00AM, the FROMDATE will change to 6/12/2013 while the TODATE will change to 6/13/2014.
    For ex. tomorrow 6/12/2014 6:00AM the value of these two paramter will be change to
    FROMDATE: 6/12/2014 
    TODATE: 6/13/2014
     Thank you in advance.

    Hi Lenoj,
    Was the problem resolved after performing the Visakh’s suggestion? If you are satisfied with his solution, I’d like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings or concerns you may have.
    For the issue related to Browser IE9, I would suggest opening a new thread with details information in a corresponding forum. It is more appropriate and more experts will assist you.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • MS dynamics crm 2011 edit xml of chart to get count of Won vs ALL opportunities

    Dear Support Team,
    We are currently working on a dashboard for our on-premise CRM dynamics 2011 instance. What we need is to display Won VS ALL opportunities of a certain account manager. I have tried exporting one of the default chart in CRM which is the Won Deals VS Lost
    Deals. I have modified the XML to get the COUNT of opportunity number for WON and LOST deals instead of  the SUM of revenue. Now, i have imported the modified xml content and was able to import it successfully. Upon checking the chart data, it shows the
    same count for WON and LOST records which is incorrect. How do i able to correct this. Please refer below to the xml codes i have imported. Looking forward to any help. Thank you.
    <visualization>
      <visualizationid>{7842C8AF-0FD2-E411-9758-F5ACB647B220}</visualizationid>
      <name>Test Chart For Comparison</name>
      <description>Shows the amount of revenue for won deals versus lost deals.</description>
      <primaryentitytypecode>opportunity</primaryentitytypecode>
      <datadescription>
        <datadefinition>
          <fetchcollection>
            <fetch mapping="logical" aggregate="true">
              <entity name="opportunity">
                <link-entity name="opportunity" from="opportunityid" to="opportunityid" link-type="outer">
                  <attribute alias="sum_lost" name="opportunityid" aggregate="count" />
                  <filter>
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                </link-entity>
                <link-entity name="opportunity" from="opportunityid" to="opportunityid" link-type="outer">
                  <attribute alias="sum_won" name="opportunityid" aggregate="count" />
                  <filter>
                    <condition attribute="statecode" operator="eq" value="1" />
                  </filter>
                </link-entity>
                <attribute groupby="true" alias="groupby_column" name="nexus_accountmanager_lookup" />
              </entity>
            </fetch>
          </fetchcollection>
          <categorycollection>
            <category>
              <measurecollection>
                <measure alias="sum_won" />
              </measurecollection>
              <measurecollection>
                <measure alias="sum_lost" />
              </measurecollection>
            </category>
          </categorycollection>
        </datadefinition>
      </datadescription>
      <presentationdescription>
        <Chart Palette="None" PaletteCustomColors="97,142,206; 168,203,104; 209,98,96; 142,116,178; 93,186,215; 255,155,83; 148,172,215; 217,148,147; 189,213,151; 173,158,196; 145,201,221; 255,180,138">
          <Series>
            <Series Name="opportunity_statecode,1" Color="149, 189, 66" IsValueShownAsLabel="False" BackGradientStyle="TopBottom" BackSecondaryColor="112, 142, 50" Font="{0}, 9.5px"
    LabelForeColor="59, 59, 59">
              <SmartLabelStyle Enabled="True" />
            </Series>
            <Series Name="opportunity_statecode,2" Color="255,124,31" IsValueShownAsLabel="False" BackGradientStyle="TopBottom" BackSecondaryColor="235,98,0" Font="{0}, 9.5px" LabelForeColor="59,
    59, 59">
              <SmartLabelStyle Enabled="True" />
            </Series>
          </Series>
          <ChartAreas>
            <ChartArea BorderColor="White" BorderDashStyle="Solid">
              <AxisY LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59" TitleFont="{0}, 10.5px" LineColor="165, 172, 181">
                <MajorGrid LineColor="239, 242, 246" />
                <MajorTickMark LineColor="165, 172, 181" />
                <LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59" />
              </AxisY>
              <AxisX LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59" TitleFont="{0}, 10.5px" LineColor="165, 172, 181">
                <MajorGrid Enabled="False" />
                <MajorTickMark Enabled="False" />
                <LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59" />
              </AxisX>
            </ChartArea>
          </ChartAreas>
          <Titles>
            <Title Alignment="TopLeft" DockingOffset="-3" Font="{0}, 13px" ForeColor="0, 0, 0" />
          </Titles>
          <Legends>
            <Legend Alignment="Center" LegendStyle="Table" Docking="Bottom" Font="{0}, 11px" ForeColor="59, 59, 59" />
          </Legends>
        </Chart>
      </presentationdescription>
      <isdefault>false</isdefault>
    </visualization>
    Best regards,
    Honey Dulatre

    You'll need to create a filter for each of your two series in the xml.
    This blog post describes the process
    for filtering invididual series within the chart xml.
    Ulrik,
    Blog: http://crmchartguy.wordpress.com - Exclusively for MS CRM Charts
    Twitter: crmchartguy

  • ECC 6.0 integration with Microsoft Dynamics CRM

    Hi All
    I am working on a ECC 6.0 integration with Microsoft Dynamics CRM. I need to send the customer master data, va01/va02, vl01n/vl02n/ vf01/vf02 to CRM system. One option I have is to send in the form of IDOC with TRFC - TCP/IP. But looks like this needs a middleware like Biztalk.
    Is there a way I can send this data using a Internet service in ECC 6.0 ??? As this would cut the cost of the Biztalk.
    I really appriciate your thoughts on this. We don't have XI either.
    Thanks a lot
    Van

    HI Van Dan Jan,
    We have just implemented integarion of SAP with Microsoft stack (Microsoft CRM, Share point and Axapta), But in all integration BizTalk as a middleware used.
    There is two way requirements :
    1. whenever Most of the control are at the Microsoft level like : Customer creation, Creation of orders, which need to be synchronus activity we have used RFC which internally calls BAPI. (So SAP adapter Configured at BizTalk). and whenever Biztalk receives request file from CRM or share point to there location they call SAP RFC's.
    2. When DATA is needed from SAP to microsoft stack like to syncronize the missing transaction like customer pad and all.
    Scheduled job at BizTalk end which call SAP to get the DATA via RFC mode :
    In SAP we have two things
    1.  if DATA size is small (below 2 MB) like  in last 1 hrs what are the sales contract created in SAP that need to updated in Microsoft other system than Biztalk will trigger a job at 1 hr interval or on deemand to get the detail which directly we pick from data base or using BAPI to get the detail via RFC.
    2. If Data Size is large (more than 2 MB)  like total transation happened in a day for all customers: then we wriiting the data in OS or application server  and that job also get initiated from Biztalk end by sending any parameter to SAP.
    advantage of using BizTalk is most of the control you can give it to them so they can run there job on deemand basis.
    There is a something known as web service we can use to avoid Interfacing tool, but I dont have much Idea about that,
    and  please check how many interfacing point is there with SAP in your project, because if Interfacing points are more then I think it is not good to write a web services for so many things.
    do let me know if you need further information.

  • ECC 6.0 integration with MS Dynamics CRM 2011 on-demand thru PI

    Hi Gurus,
    sorry in advance if some of my doubts will appear to you experts as stupid....
    Scenario: we're on the way to realize the integration between SAP ECC and Microsoft Dynamics CRM Online (so...in the cloud) using SAP PI 7.11. In our scenario SAP PI will be the client, consuming webservices provided by MS CRM.
    Unfortunately during the PI configuration (following SAP HELP instructions) we're facing the following problems:
    1. The system (PI, dual-stack installation) has the parameter 'ssl/pse_provider' set to 'ABAP'. Considering that we would like to use SSL with SOAP adapter, questions are: 
      - Can we use the ABAP stack to maintain the PSEs, or it's mandatory to do it into the AS Java in order to use SSL with SOAP adapter.
    - If so, we need to switch the ssl/pse_provider parameter to JAVA. Could this change create some kind of problems?
      For information, currently in transaction STRUST we only have a Local node, neither Server nor Client nodes.
    2. We have already installed the SAP Cryptographic Library for SSL but: 
      - In NWA we can't find ICM_SSL_<instance_ID> view or CLIENT_ICM_SSL_<instance_ID> keystore view into the list of Keystore Views.
      - We would like to change the default Profile into RZ10 but we Can't find the profile... 
      - MS CRM (ws server) give us only a public certificate but do we need a private key too or we have to generate it from SAP?
      - We need to know if is possible to use the MS 'LIVEID' authentication with SAP PI or SAP ECC.
      - Do we need additional modules for the SOAP adapter(maybe an Axis one in order to use soap protocol 1.2)?
    Could you please suggest the right configuration and give us some tips about this kind of integration?
    Thanks a lot,
    MR

    Hi Mauro,
    Looking at your background I thought maybe you could help me out wit this integration question.
    I'm looking for some feedback on how best to integrate Microsoft Dynamics AX (DAX) with SAP CRM. We have a PI server.
    From reading on the net, I see many people are using a middleware product called Scribe or BizzTalk. We already made an investment with SAP PI and we'd like to use it.
    Do you have any references for Microsoft DAX integration with SAP CRM via SAP PI/ XI?
    Thanks in advance!

  • Error while uploading report in Microsoft Dynamics CRM Online

    I have created a report using fetch-xml query for Microsoft Dynamics CRM Online. In this field, I have created a custom enity which has "Last Accessed Date Time" field of type "DateTime". This field stores the value in GTM. I am retrieving
    the value of this field using fetch-xml query. Also, I want to calculate the difference between the current DateTime and the value (in the locale and not in GMT) of this field in "Hours Minutes Seconds" format. I
    have written an expression for the same in reportas follows.
    (IIF(((INT((DateDiff(DateInterval.Second, DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value), DateTimeKind.Utc).ToLocalTime(), DateTime.Now))/60))>60), INT(((((DateDiff(DateInterval.Second, DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value),
    DateTimeKind.Utc).ToLocalTime(), DateTime.Now)))/60)) / 60), 0))
    & "Hours"&
    (IIF(((INT((DateDiff(DateInterval.Second, DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value), DateTimeKind.Utc).ToLocalTime(), DateTime.Now))/60))>60), INT((((DateDiff(DateInterval.Second,DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value),
    DateTimeKind.Utc).ToLocalTime(), DateTime.Now)))/60) Mod 60), INT((DateDiff(DateInterval.Second, DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value), DateTimeKind.Utc).ToLocalTime(), DateTime.Now))/60)))
    & "Minutes" &
    ((DateDiff(DateInterval.Second, DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value), 
    DateTimeKind.Utc).ToLocalTime(), DateTime.Now)) Mod 60)
    & "Seconds"
    This works fine in visual studio. But, when tried to upload the same report in CRM Online organization, it gives the following error.
    Any idea how to solve this issue?

    I have found the following useful link-
    - support.microsoft.com/.../en-us
    The error occurred because I have used some functions("Int", "DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value), DateTimeKind.Utc).ToLocalTime()") in my ssrs report which are not supported by CRM Online., though
    it works fine in visual studio.

  • PRINTING ERROR WHILE PRINTING ON THE ACCOUNTING SOFTWARE DYNAMICS NAV ON MY HP LASER JET 1022n

    I am having printer error while I print reports on accounting software MS Dynamics Nav. I am using IE 10 and my laptop is HP Pavilion Entertainment Pc and the printer is HP Laser Jet 1022n.
    this is the error message: res://ieframe.dll/preview.js
    The printer is printing well on all other programs such as MS Word/Excel, Outlook etc.
    Could anyone help please.
    Thank you,
    Sri Rajah

    Hi Narayani,
    I have researched your error message and found a link for your IE error. Follow the steps provided by Vincenzo Di Russo.
    Let me know if this helped.
    Thank you,
    I worked on behalf of HP.

  • Printing problem with EPSON DOT MATRICS 1600

    Dear All,
    I am doing the reporting package, and need to print smartform on printer: EPSON DOC MATRICS 1600.
    But the problem is:
    1. if print from SAP using device type: CNEPSON, all the contents on the form which should be display on one line becomes out of two. And it can't print sequencely, it print on one page, then skip, then print again, then skip, one print one skip.
    2. if print from local using device type: CNSAPWIN: if you choose print one page, an error occur; if you chosse two print from page 1 to page 2, and the contents on two pages printed on one page. It can't print continuously. Print one page, then stop.
    I don't know what to do with the problems, and I think the basis should try to fix it, but the basis told me that abap need to do this. so, confusing.......
    Please help me, it's in a urgent. Thank you very much.
    Sandra

    hi,
    It is a printer configuration,switch of the printer and then press and hold the "online button" and switch on the printer,then the printer will go into the printer settings mode,which will give u the current setting and the procedure to change the setting,you change the page length to your required length and print your output.
    Try this it works for me.
    regards,
    venkatesh

  • Pen Tilt for Size Dynamics - not working.

    I am using Photoshop CS and a Wacom Intuos3 with updated drivers.  (6.1.3-5)
    Using Photoshop's brush tool dynamics, I set Size Dynamics to pen tilt - not pressure - yet the pen's pressure still exclusively aff
    ects the brush size when drawing.
    I would like to have the tilt of the pen control the brush Size, much like using a blunt end of a pencil vs. the sharp tip.
    In a separate test, I set the brush Opacity dynamics to pen tilt, and it worked as expected: a near full opacity with a vertical pen
    , and almost no opacity with a highly tilted pen. Pressure had no effect, as specified. So, the tilt functionality of the pen defini
    tely works.
    How can I resolve this issue and get the Wacom pen's Tilt to affect Photoshop's Brush Size Dynamics?

    This is a known issue that has plagued PS for many interations. The team has to re-write the code and is not sure when the problem will be corrected so that it will be fully functional. Don't hold your breath for CS5.
    There is a really long thread on this.

  • Java.lang.exception : no such matric

    Dear My Friends
    I am using 10g 10.2 on Windows 2000 As when i start Oracle Enterprise Manager Database Console the console given me error Java.lang.exception : no such matric how i fix to this problem.
    Thanks in advance
    Rgds
    Muhammad Tahir Khan (TeeJay)

    Hi,
    Sometimes the DB page shows this error if this is a RAC DB especially. OS just try to configure the DB again using the CONFIGURE button. It resolves the issue.
    Regards,
    vamsi

  • Best way to change Matrices/Articulations in VSL...

    Hi...
    I've been using VSL for quite a while now, but with things getting more complicated I was hoping to streamline how I change matrices/articulations.
    Firstly, I'm not a fan of keyswitching. I think it's messy and an odd way of doing things. It interferes with scores and isn't displayed clearly in the event list.
    So my usual technique is to assign them to a controller (usually #73) and write the data in the hyper editor. That works to an extent, but when you have more than 3 articulations, it becomes difficult to work out which articulation you are selecting (either physically or as data). I have further issues though...
    1/ When this data is written to (say) controller #73, it doesn't appear in the Hyper Editor (like vol/mod etc). So every time I have to select 'Create Hyper Set for Current Events' to see it which is a pain. How can I get this to always display in Hyper Editor?
    2/ Is it right that VSL won't change articulation in time if it receives the matrix change and the note at the same time: on the beat. Currently I always have to write the matrix change just before the note change otherwise its not picked up in time.
    3/ How do you guys do it?!
    Thanks as always - Barack Obama

    Well I think keyswitching in VSL combined with velocity/cell crossfading techniques is the best way to go. If you don't want to see your keyswitches in the score editor just set the note range of your Staff style so it doesn't display them. So if you have keyswitches from e.g. C1-F#1 set the note range in the staff from C2-G8 and you´ll be fine.
    Also I susally use a combination of the piano roll and in the "view" tab click->Hyper Editor->Other->a little menue opens with Controller numbers, choose the Controller number (e.g.#73)->your controller data gets displayed below the piano roll-> save that as a screenset, so you can always switch screensets to see that combination of the Piano Roll and the selected Corntroller.

Maybe you are looking for

  • Using bean to get value

    This is what happens in my website index.jsp -> gets value from user and sends it to NewServlet.java -> after processing value redirects to result.jsp result.jsp - declares result from servlet I am doing this because my .jsp page contains a lot of ex

  • Table maintenance view - tcode

    Hi experts, We have a tcode (already in production) created for table maintenace view of z-table. Everything is working fine. Now I added one new field to the z-table and changed the table maintenance view accordingly. In SM30 I can maintain the tabl

  • Sorting Audiobooks by Series

    Is there a way to treat audiobooks like the music? I would like to be able to see all books in a series. As of right now I can only see all of my books in one list but with 20 plus books listed I never remember which one goes with which series and in

  • Help on creating Java Classes from WSDL in JDev 10.1.3

    Hi all, I am creating Java Web Service Class in JDev 10.1.3 based on my WSDL file, but I am getting a JAVA class for each Element in my WSDL, and each class has its own methods. But what I need is to have Only ONE Class with the Elements wrapped as m

  • Message_type_x short dump while deleting request from infocube

    Hi, While deleting one of the erroneous requests from some infocubes, system is resulting in short dump "MESSAGE_TYPE_X". This is happening only with respect to some infocubes. Description of short dump: Short text of error message: