QBXML,QGFC - 如何检索服务项目描述

时间:2013-07-10 09:23:20

标签: intuit-partner-platform intuit qbxml qbfc

我正在尝试从Quickbooks中检索服务项目。

检索ItemInventoryRetList时,我会获得一些可供使用的属性,包括SalesDescription

然而,ItemInventoryRetList不会返回服务项目。

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

查看回复,我发现看起来我必须访问SalesorPurchase。聚合以获得描述。

1 个答案:

答案 0 :(得分:0)

好吧,把它整理好了。似乎屏幕参考真的是你的朋友......

QBFC在填充RetList时已经构建了属性。很好......我的印象是我不得不遍历RetElement中子聚合/节点的“列表”。

使用以下内容,有魅力。

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