如何从QuickBooks获取付款条款数据

时间:2014-02-25 14:40:45

标签: quickbooks qbwc com-object

我正在使用COM对象将QuickBooks数据集成到我的应用程序中。我可以使用IPaymentMethodRetList获得paymentmethod。

喜欢:

IPaymentMethodQuery CustQ = requestSet.AppendPaymentMethodQueryRq();
IMsgSetResponse responseSet = sessionManager.DoRequests(requestSet);


_QBPaymentMethodRet = default(IPaymentMethodRet);
_QBPaymentMethodList = default(IPaymentMethodRetList);

IResponse response = responseSet.ResponseList.GetAt(0);
if ((response.Detail != null))
{
    _QBPaymentMethodList = (IPaymentMethodRetList)response.Detail;

    if (_QBPaymentMethodList != null)
    {   ----------------------------
        --------------------
    }

但我无法找到付款条款的界面。我必须使用哪个界面?

1 个答案:

答案 0 :(得分:0)

您应该参考QuickBooks OSR获取有关此文档的文档:

QuickBooks 中的付款方式与条款不同。 付款方式是实际的付款方式(例如Visa,MasterCard,支票等),而条款是销售条款(例如Net 30,Net 60,收据上的到期日,等等。)。

如果您需要付款方式,则需要执行PaymentMethodQueryRq。如果您需要条款,则需要执行TermsQueryRq