【发布时间】:2015-03-05 21:41:08
【问题描述】:
我正在使用 C# 和 QBFC13 连接到 QB Enterprise 13 的桌面版。我正在创建账单,然后创建账单支付支票来支付这些账单。我不断收到错误消息“无法找到请求中指定的对象 48E-1425590500。”该数字是支票支付的账单的 TxnID。我 100% 确定我使用了正确的 TxnID,因为我是直接从 Bill 获得的。相关代码如下。任何帮助将不胜感激。
billPaymentCheck.PayeeEntityRef.FullName.SetValue(payee);
billPaymentCheck.BankAccountRef.FullName.SetValue(reader["BankAccount"].ToString());
billPaymentCheck.APAccountRef.FullName.SetValue(reader["APAccount"].ToString());
billPaymentCheck.Memo.SetValue(reader["Memo"].ToString());
billPaymentCheck.ORCheckPrint.IsToBePrinted.SetValue(false);
IAppliedToTxnAdd txn = billPaymentCheck.AppliedToTxnAddList.Append();
txn.TxnID.SetValue(bill.TxnID.GetValue());
txn.PaymentAmount.SetValue((double)reader["Amount"]);
【问题讨论】:
标签: quickbooks qbfc