Advertisement
IDNPeterL

IPP .NET DevKit v2 - QBD AccountQuery - ListIdSet

Jun 12th, 2012
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.45 KB | None | 0 0
  1. //Retrieve QBD Accounts by ListIdSet
  2. //Documentation:  http://goo.gl/G5pCj
  3.  
  4. AccountQuery qbdAccountQuery = new AccountQuery();
  5. qbdAccountQuery.Items = new object[] { new IdSet(){ Id = new IdType[] { new IdType() { idDomain = idDomainEnum.NG, Value = "79841" } } }};
  6. qbdAccountQuery.ItemsElementName = new ItemsChoiceType4[] {ItemsChoiceType4.ListIdSet};
  7. List<Account> accountQueryResult = qbdAccountQuery.ExecuteQuery<Account>(context).ToList<Account>();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement