Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

DynamicsGPService.ItemKey

Posted on by 35

Does anyone know how to add a datagrid view to show the Itemnumber or ItemKey.Id?

Currently I am adding the Itemsummary datagrid from DynamicsGPService web services and I can only get the following table below:

*This post is locked for comments

  • Nick Larson Profile Picture
    Nick Larson 35 on at
    Re: DynamicsGPService.ItemKey

    I am using GetItemList, however I can't seem to get the datagrid to populate the Key.Id it only populates with the Key.

    This is what the datagrid column looks like.

               this.dataGridViewTextBoxColumn59.DataPropertyName = "Key";

               this.dataGridViewTextBoxColumn59.HeaderText = "Key";

               this.dataGridViewTextBoxColumn59.Name = "dataGridViewTextBoxColumn59";

    Changing "Key" to "Key.Id" does nothing.

    This is what the class looks like:

  • sandipdjadhav Profile Picture
    sandipdjadhav 18,265 on at
    Re: DynamicsGPService.ItemKey

    Nick,

    When web method you are using to get List of Sales Item? GetItemList web method is returning all items base on specific criteria.

    Below is link for sample code that may help you to get all details.

    msdn.microsoft.com/.../cc508488

    Thanks

    Sandip

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans