dynamics

How Does One Sum Dimensions of an Array Specified at Run-Time?

Hi all, I am working on a function to establish the entropy of a distribution. It uses a copula, if any are familiar with that. I need to sum up the values in the array based on which dimensions are "cared about." Example: Consider the following example... Dimension 0 (across) _ _ _ _ _ _ _ _ _ _ _ _ _ |_ 0 _|_ 0 _|_ 0 _|_ 2 _| D...

Is there a standard approach to generating sql dynamically?

I want to ask how other programmers are producing Dynamic SQL strings for execution as the CommandText of a SQLCommand object. I am producing parameterised queries containing user generated "WHERE" clauses and SELECT fields. Sometimes the queries are complex and I need a lot of control over how the different parts are built. Currently...

AX trace file reader utility

Does anybody know where I can download a utility to convert the .trc trace files output by MS dynamics AX server? We have a dev version of the server running locally but no access to an MS account as we are not regular AX developers. ...

How can you scan an image with X++

Does anyone know how to scan an image with X++? ...

How can I identify an Axapta class Name from the class ID?

Please can someone help me make sense of the Batch madness? I'm trying to debug an Axapta 3.0 implementation that has about 50 Batch Jobs. Most of the batched classes do not implement the description() method, so when you look at the Batch List form (Basic>>Inquiries>>Batch list) the description field is blank. You can see the Batch Gro...

How is your experience with Microsoft Dynamics CRM

I would like to know about your experience with Microsoft Dynamics CRM. Strengths, weak points. How good are its features. How hard is to develop some funcionality? How it is perceived by its customers and potential clients? Whatever you think I should know. Please refer to the version you hae work with as it seems to be a lot of r...

Why do I get 401 errors connecting to the Dynamics CRM Metadata service?

I am connecting to CRM with the intention of retrieving a list of picklist values. On my development machine I am working under my own login name and all works fine. On the test server, the code executes under the NETWORK SERVICE account. When it connects to the CRM web service everything is great. When it connects to the metadata servic...

MS Dynamics AX / AXAPTA - Where is the code that prevents reprint of payment advices of unposted cheques?

We want to reprint a payment advice, even before it is posted. The report BankPaymAdviceCheque should be able to do this but only prints advices for already posted cheques. The report's dialog, however, allows you to choose unposted ones as well. No matter how I searched in the code, I cannot find the bit that prevents unposted rem...

Capture Keystrokes on Symbian OS?

Hey, How would one go about capturing users keystrokes in the SMS composer on the Symbian OS, specifically for a Nokia N73 (or any of the symbian supported devices http://en.wikipedia.org/wiki/Symbian_OS#Devices_that_have_used_the_Symbian_OS)? I'm new to symbian development and I'm trying to write an application to analyse writing style...

How can you make the footer axapta reporting tool print at the bottom of the page?

I'm trying to print something at the bottom of a report. I'm am using a section Pagefooter. I thought that if you used Pagefooter that it would print at the bottom on the report. ...

Strange behaviour opening pop-up window in Internet Explorer

I have the following JavaScript code to pop up a window in Internet Explorer. The code is executed from a page within a Microsoft CRM modal dialog box. (RequestID is a string that is always the same in the test system - at the moment it contains "abcdefg" - without the quotes). var cancelUrl = "CancelRequest.aspx?RequestID=" + RequestID...

How to share a record in MS Dynamics CRM using workflow

I would like to do the following: when a Sales person assigns a custom entity (let's call it 'Primary Expertise') to an Opportunity in MS CRM 4.0, the system would share the Opportunity with the user that is defined as the Owner of the associated 'Primary Expertise' record. I would like to do it automatically via workflow but cannot fi...

SVN with Axapta

Does anyone know if you can use subversion to manage Axapta projects? We're currently on 3.0 which has no support for Team Foundation Server, but would like a repository like SVN. We also have several C# projects that need a repository as well. ...

Filtering on linked table in Axapta/Dynamics Ax

I have a form in Axapta/Dynamics Ax (EmplTable) which has two data sources (EmplTable and HRMVirtualNetworkTable) where the second data source (HRMVirtualNetworkTable) is linked to the first on with "Delayed" link type. Is there a way to set an filter on the records, based on the second data source, without having to change the link typ...

Range on integer fields in Axapta/Dynamics Ax

Is there a way, in Axapta/Dynamics Ax, to create an Extended Data Type of type integer which only allows enering values in a specified range (i.e., if the extended data type is meant for storing years, I should be able to set a range like 1900-2100), or do I have to manage the range using X++ code? And if I need to use X++ code to manag...

Master/detail form in Axapta/Dynamics Ax

How do I create a master/detail form in Axapta/Dynamics Ax, with a master grid and a detail grid, where choosing a record in the master grid changes the content of the detail grid accordingly? ...

Custom search in Dynamics CRM 4.0

I have a two related questions. First: I'm looking to do a full text search against a custom entity in Dynamics CRM 4.0. Has anyone done this before or know how to do it? I know that I can build QueryExpressions with the web service and sdk but can I do a full text search with boolean type syntax using this method? As far as I can tell...

Nested notExists joins X++ (Dynamics AX3.0)

When the following code executes: select sum(qty) from inventTrans index hint TransTypeIdx where inventTrans.ItemId == itemId && inventTrans.TransType == InventTransType::Sales && inventTrans.InventDimId == inventDimId notExists join custTable where custTable.AccountN...

DOS Script to take file name and path dyanmically based on date

I have to write some batch/dos script in windows which will put the files in UNIX box. But the path and filenames are getting changed every year and month respectively in windows. Suppose a directory in windows at path C:/2009MICS which will hold the files for whole year( 12 files). My batch will run monthly and should pick the files fo...

UnauthorizedAccess in DynamicsSecurityConsole

In the DynamicsSecurityConsole (for administering the Dynamics Web Services), I'm having an issue trying to add users to new Role Assignments. Though my windows user is part of the Security Administrators defined at the top of the tree, I get an error trying to do anything with users, groups or roles. Each time I get an error message tha...