Announcements
HI,
I want get all customers as a list using an eConnect.
Thanks & Regards,
*This post is locked for comments
Do you mean you want to show GP customers in your application? like in lookup or in grid? If yes you can query RM00101 table to get all existing customer list.
If you mean you want to import customer data inside your application database then you can do small integration to import data from customer related tables.
Thanks for reply, I want get all customers as a list using eConnect.
Refer to the GP eConnect Programmers Guide, look at "Transaction Requester"
If you use as the parameters:
eConnectOut= New eConnectOut() eConnectOut.INDEX1TO = "0" eConnectOut.INDEX1FROM = "z" eConnectOut.DOCTYPE = "CUSTOMER" eConnectOut.OUTPUTTYPE = 2 eConnectOut.FORLOAD = 0 eConnectOut.FORLIST = 1 eConnectOut.ACTION = 0 eConnectOut.ROWCOUNT = 0 eConnectOut.REMOVE = 0This should give you a long list of customers and assumes they will all have Customer numbers between 0 and z...Requesters are much more powerful, you can create custom ones too, read the docs and this post:www.timwappat.info/.../eConnect-Customer-Requester-Document-No-ShipToName-field
Thanks Tim Wappat,
I know till get the all customers output type as a xml, but I need to serialize and de serialize that output in the form of lists as a customer type using c#.
Thanks and Regards
T Vamsikrishna
Ah, well in that case see this example, it is in VB.NET but easy to convert to C#
msdn.microsoft.com/.../ff623173.aspx
Thanks Tim Wappat.
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Dan Liebl 2
Shravan Attelli 1