2013-07-10 30 views
0

我正试图从Quickbooks中检索服务项目。QBXML,QGFC - 如何检索服务项目描述

当检索ItemInventoryRetList时,我得到一些属性可以使用,包括SalesDescription

ItemInventoryRetList不会返回服务项目。

当运行ItemNonInventryRetListItemServiceRetList时,我没有从QBFC类获得任何Description属性。

看看回应,我看到它看起来像我必须访问销售员购买。汇总以获得描述。

回答

0

好吧,把它排序。看起来屏幕上的参考真的是你的朋友...

当填充RetList时QBFC已经建立了属性。尼斯......我的印象是我不得不遍历RetElement中的子集合/节点的“列表”。

使用以下内容,使魅力。

RetListObject(withid).name.GetValue (etc) 
'Sub Properties in Response 
RetListObject(withid).ORSalesPurchase.SalesOrPurchase.Desc.GetValue 
RetListObject(withid).ORSalesPurchase.SalesOrPurchase.ORPrice.Price.GetValue