web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

I have the same question (0)
  • Tim Wappat Profile Picture
    5,713 on at

    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.

  • Serge Abi Dib Profile Picture
    685 on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans