Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

eConnect Integration including a (Dag) dexterity Chunk File as a DLL reference

(1) ShareShare
ReportReport
Posted on by 685

Dears,

I have been developing integrations/Customizations for Microsoft Dynamics GP since 5 yrs and i appreciate if someone who can find a solution/WorkAround for my current issue.

It's a Vb.net project where am integrating Sales Orders, Sales Returns, Cash Receipt... from a handheld device using eConnect functions. In addition i have a customization done on Dexterity called (MS_Holds) which i need to include it in my Integration in order to put the HOLDs automatically on my integrated Sales Order for a certain criteria/Conditions given from my client (Exceed the Credit Limit, bla bla...).
Using DAG.exe i created a DLL for this dexterity customization and add it as a reference in my code. Everything is working fine since the Visual Studio APPLICATION TYPE (Properties) is "Class Library" and Deployed in the AddIns subfolder in GP FOLDER.

The clients needs now the Integration project to be AUTOMATED and scheduled every 30 min. In this context i changed the Visual Studio Project Application Type (properties) to "Windows Form Application" (executable file .exe) and I created a New Task using "Windows TASK Scheduler" in order to call the INTEGRATION Project every 30 min and import the Sales Orders.
There is a Dexterity Procedure that am calling in my VB.net Code in order to apply the automatic hold for the integrated SALES ORDERS. (below is the code line calling the procedure of the holds)

Imports Microsoft.Dexterity.Applications.MsHold.MsHoldProcedures

MsHold.Procedures.RunHoldsIntegration.Invoke(L_cCustomer, L_NextDocumentNumber, Amount, DocDate)

While running the Executable file the below error will occurs:
"Could not load file or assembly 'Microsoft.Dexterity.Bridge, version 11.0.0.0 .... or one of its dependencies"

This error is clear and i have face it  several times before and was solved by putting Dlls in the AddIns folder.

But now it's an executable file and the scenario is different. When I remove the above 2 lines of codes the application will run smoothly. i have tried several solutions (Copyind the Bridge Dlls and Dependends Dlls like the Shell Dll and Dynamics...) but the error still occurs.

SERIOUS Replies only Please


Thank you.
Serge

*This post is locked for comments

  • Serge Abi Dib Profile Picture
    Serge Abi Dib 685 on at
    RE: eConnect Integration including a (Dag) dexterity Chunk File as a DLL reference

    thanks for the reply Tim, honestly i thought about this solution but i will leave it as the last option since the Procedures in Dexterity are too complicated and needs time to re implement in in .NET or as SQL Stored procedures.

  • Tim Wappat Profile Picture
    Tim Wappat 5,703 on at
    RE: eConnect Integration including a (Dag) dexterity Chunk File as a DLL reference

    I would be solving a different problem, removing your dependency on the DEX code here, if that is all it is there for, to simplify your integration.

    Do you know the logic in the Dexterity code, so that you could reimplement it in .NET or as a SQL stored procedure?

    You could then call the stored procedure from eConnect or .NET after your transaction is complete.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans