Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Suggested answer

INTEGRATION MANAGER 11 ERROR: DOC 2 ERROR: Macro execution error, Dynamics.DEXTERITY_IM_MACRO_INACTIVE_HIT (error DEXTERITY_IM_MACRO_INACTIVE_HIT): MoveTo field 'Customer Number' DOC 3 ERROR: You must provide a document number.

Posted on by 15

Hello,

I'm get this error when importing Sales Transaction  for two customers with several Item numbers. One transactions is imported successfully, and for the other one I get this error. Not sure how to fix it. Please, I need assistance. Thank you  

pastedimage1597786240265v1.png

Opening source query...
Establishing source record count...
Beginning integration...
DOC 2 ERROR: Macro execution error, Dynamics.DEXTERITY_IM_MACRO_INACTIVE_HIT (error DEXTERITY_IM_MACRO_INACTIVE_HIT): MoveTo field 'Customer Number'
DOC 3 ERROR: You must provide a document number.
Integration Complete -- Partial Success
Integration Results
4 documents were read from the source query.
4 documents were attempted:
2 integrated without warnings.
0 integrated with warnings.
2 failed to integrate.

Categories:
  • Suggested answer
    Isaac Olson Profile Picture
    Isaac Olson on at
    RE: INTEGRATION MANAGER 11 ERROR: DOC 2 ERROR: Macro execution error, Dynamics.DEXTERITY_IM_MACRO_INACTIVE_HIT (error DEXTERITY_IM_MACRO_INACTIVE_HIT): MoveTo field 'Customer Number' DOC 3 ERROR: You must provide a document number.

    Hi Rosa, 

    Its hard to say what specifically could be going on without being able to get my hands dirty and actually get a copy of the integration to check all the mappings and query relationships and verify that each folder you are mapping is using the proper default source field and such.  My recommendation would be to open a support case if you end up getting stumped on this one.   You could try doing a reinstall of IM just to make sure everything is lined up with the current version of GP that you are on too as a last effort before opening a case. 

    Thanks,

    Isaac Olson

    Microsoft Support

  • Rosa Diazvela Profile Picture
    Rosa Diazvela 15 on at
    RE: INTEGRATION MANAGER 11 ERROR: DOC 2 ERROR: Macro execution error, Dynamics.DEXTERITY_IM_MACRO_INACTIVE_HIT (error DEXTERITY_IM_MACRO_INACTIVE_HIT): MoveTo field 'Customer Number' DOC 3 ERROR: You must provide a document number.

    The two customers are active in the card file.  I just checked. Thank you for checking.

  • Bill Campbell Profile Picture
    Bill Campbell 22,647 on at
    RE: INTEGRATION MANAGER 11 ERROR: DOC 2 ERROR: Macro execution error, Dynamics.DEXTERITY_IM_MACRO_INACTIVE_HIT (error DEXTERITY_IM_MACRO_INACTIVE_HIT): MoveTo field 'Customer Number' DOC 3 ERROR: You must provide a document number.

    Not to put to fine a point on the error message - but it does mention that the Macro has HIT an INACTIVE object.  Is it possible that one of the items or one of the customers records is marked Inactive in the card file?

    Just wondering.

  • Rosa Diazvela Profile Picture
    Rosa Diazvela 15 on at
    RE: INTEGRATION MANAGER 11 ERROR: DOC 2 ERROR: Macro execution error, Dynamics.DEXTERITY_IM_MACRO_INACTIVE_HIT (error DEXTERITY_IM_MACRO_INACTIVE_HIT): MoveTo field 'Customer Number' DOC 3 ERROR: You must provide a document number.

    Isacc Thank you for your reply. I did the method 1 to 3 and checked for number 4 and I still get the same message. We have several users here and I just re-entered the registration keys that I had already there. We had had GP for 20 years now so not sure if the registration key should be different.  We don't have a 3rd party and we haven't modified the Sales Transaction Entry window.  

  • Suggested answer
    Isaac Olson Profile Picture
    Isaac Olson on at
    RE: INTEGRATION MANAGER 11 ERROR: DOC 2 ERROR: Macro execution error, Dynamics.DEXTERITY_IM_MACRO_INACTIVE_HIT (error DEXTERITY_IM_MACRO_INACTIVE_HIT): MoveTo field 'Customer Number' DOC 3 ERROR: You must provide a document number.

    Hello,

    I have seen similar errors resolved by doing one of the following:

    1. Readd the destination adapter as it may be outdated. Do this by opening up the integration. Click on the "Add Destination" button. Select the same destination you are currently using. For example, if you are running a Sales Transaction Integration, you would reselect the Sales Transaction Destination.

    2. Reenter the Integration Manager Registration keys by clicking on Tools and then selecting Registration. Type in the registration keys that were provided when the product was purchased.

    3. Save and rerun the integration.

    4. If you still have the error after this, I would verify that no Third Party products are installed, and that the Sales Transaction Entry window is not modified.  

    Using Method 1 or 3 would be best to rule out Third Party products.

    support.microsoft.com/.../EN-US

    Thanks,

    Isaac Olson

    Microsoft Support

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans