Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

How do I include a reason code when creating an inventory adjustment in Microsoft Dynamics GP via web services?

Posted on by 45

I have a C# app to create a inventory adjustment in Microsoft Dynamics GP via web services. It works fine. However, I need to add a reason code to each adjustment line. I cannot find any examples of this. How do I add a reason code to each line?

This is where the reason code is in GP:

 pastedimage1660846165738v1.png

Here is my code for the inventory adjustment line:

 pastedimage1660846165740v2.png

I based that off of the example here:

https://docs.microsoft.com/en-us/previous-versions/dynamicsgp/developer/cc508604(v=msdn.10)

Most examples I've online are based off of this example.

Categories:
  • Suggested answer
    RE: How do I include a reason code when creating an inventory adjustment in Microsoft Dynamics GP via web services?

    I don't see any Reason Code in Web Services, neither in the Policy/Behaviors, nor when I looked in the Help file for Web Services.

    Unfortunately, not every possible field is mapped for Web Services for use.

    You may need to look at eConnect procedures, where we're able to customize PRE and POST procedures for anything that the procedures themselves don't already give us. For example the taIVTranferLineInsert, taIVTransactionLineInsert, etc.

    Thanks

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans