Today's little slice of joy comes installing an eConnect/VSTools application onto a Windows 7 machine. There's not much documented on what's needed, so here's the errors and how I got past them.

We have a combination of GP 10, VS Tools, eConnect, Enterprise Library 4.1, and Windows 7. It all worked fine on the server, but the workstation went through a series of errors

Error 1: 

Rattliff.fll: the type initializer for 'Microsoft.Dexterity.applications.root' threw and exception.InnerException: Specified argument was out fo the range of valid values.

Parameter name: productID

Error 2:

Ratliff.dll: Could not load file or assembly 'file:///c:\Program Files\Microsoft Dynamics\GP\Addins\Ratliff.dll or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded

Error 3:

The current build operation (build key Build Key[Microsoft.Practices.EnterpriseLibrary.Data.Database, RATL]) failed: The type initializer for 'Microsoft.Practices.EnterpriseLibrary.Data.Database' threw an exception. (Strategy type ConfiguredObjectStrategy, index 2)The type initializer for 'Microsoft.Practices.EnterpriseLibrary.Data.Database' threw an exception.

When I start debugging, the cmd window opens and it appears to be integrating the new customer into GP10 TWO - but I do not see the new customer created in GP?  I have setup the econnect, loaded all of the programs and tools per the instructions and ran the sample - but there is no indication that it failed yet it did?  The Fabrikam sample is a fresh copy as well..

Could the problem be due to running the VBexpress version of VS2010?  Any advise would be greatly Appreciated[:)]

Is it really not possible to create an XML document with multiple transaction types?  My process creates cash transactions with distributions as well as checking to see if the applicable account for deferred revenue has or has not been created.  XML is below.  Each transaction type works fine alone, but not in a single document. 

 <?xml version="1.0" encoding="utf-8"?>
<eConnect xmlns:xsi="" xmlns:xsd="">
    <eConnectProcessInfo xsi:nil="true" />
    <taRequesterTrxDisabler_Items xsi:nil="true" />
    <taUpdateCreateCustomerRcd xsi:nil="true" />
    <taCreateCustomerAddress_Items xsi:nil="true" />
    <taAnalyticsDistribution_Items xsi:nil="true" />
      <DOCDATE>12/17/2009 12:00:00 AM</DOCDATE>
      <GLPOSTDT>12/17/2009 12:00:00 AM</GLPOSTDT>
    <eConnectProcessInfo xsi:nil="true" />
    <taRequesterTrxDisabler_Items xsi:nil="true" />
      <ACTDESCR>BAMA BCS 2010 Deferred Revenue</ACTDESCR>
      <CATEGORY>Other Current Liabilities</CATEGORY>
    <taCreateVariableAllocationAccountRcd_Items xsi:nil="true" />
    <taCreateFixedAllocationAccountRcd_Items xsi:nil="true" />
    <eConnectProcessInfo xsi:nil="true" />
    <taRequesterTrxDisabler_Items xsi:nil="true" />
        <PArecordid>BAMA BCS 2010  </PArecordid>

 Hello, I see in the eConnect help file there is a RMApply schema.  Has anyone used this?  If so, please provide feedback.

Also, I don't see a PMApply in the help file.  Does anyone know if there is a PMApply?  I find it hard to believe MS would only do a RM and not a PM apply schema.



Sometimes the stuff I code can be best described as arcane. Or obtuse. Even better: stuff not many people care about. That's OK, I like it.

Todays topic involves getting the CMRECNUM field from the CM Transaction Entry form in Dynamics GP 10. You can't see the field on the form, only the 'Document Number' (00000000000000005 in the image below); and Document Number is not unique.


This piece of VS Tools code will get that value for you.


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables