使用C#中的SDK在QuickBooks中检索特定供应商的详细信息,并使用该供应商的LIstID?
如何查询QuickBooks以获取特定供应商的详细信息以及该供应商的ListID。? 我只有那个供应商的列表ID。如何使用ListID进行查询?我检查了SDK,发现有一个IVendorQuery方法,可以用来查询特定的供应商。但我找不到一种方法将ListID传递给该方法以获取详细信息 我目前正在做的是从QuickBooks检索所有供应商,然后尝试使用for循环将他们的ListID与我需要的ListID匹配。是这样的,使用C#中的SDK在QuickBooks中检索特定供应商的详细信息,并使用该供应商的LIstID?,quickbooks,Quickbooks,如何查询QuickBooks以获取特定供应商的详细信息以及该供应商的ListID。? 我只有那个供应商的列表ID。如何使用ListID进行查询?我检查了SDK,发现有一个IVendorQuery方法,可以用来查询特定的供应商。但我找不到一种方法将ListID传递给该方法以获取详细信息 我目前正在做的是从QuickBooks检索所有供应商,然后尝试使用for循环将他们的ListID与我需要的ListID匹配。是这样的, IMsgSetResponse responseMsgSet = sessio
IMsgSetResponse responseMsgSet = sessionManager.DoRequests(requestMsgSet);
IResponse response = responseMsgSet.ResponseList.GetAt(0);
IVendorRetList vendorRetList = (IVendorRetList)response.Detail;
if (vendorRetList != null)
{
for (int j = 0; j < vendorRetList.Count; j++)
{
IVendorRet vendorRet = vendorRetList.GetAt(j);
if (dvVendors.GetRowCellValue(i, "ListID").ToString() == vendorRet.ListID.GetValue())
{
strSeqId = vendorRet.EditSequence.GetValue();
//code to edit that vendor using edit sequence id
}
}
}
IMsgSetResponse-responsemssgset=sessionManager.DoRequests(requestMsgSet);
IResponse response=responsemsgsset.ResponseList.GetAt(0);
IVendorRetList vendorRetList=(IVendorRetList)response.Detail;
if(供应商列表!=null)
{
对于(int j=0;j
请参见“查询QB并理解结果”一节中的本页
具体而言,如果过滤器不在以下位置的可用过滤器列表中:
IVendorQuery.ORVendorListQuery.VendorListFilter
然后它就不存在了,你只能像在你的原始问题中一样进行查询