문제

I want to find out all transactions of a job and make sure the data synced with my application. I use CustomDetailReportQuery to get the data I need. The problem is that the data is in flat hierarchy and the txnID only returns the ID for the transaction. If there are two items in one transaction, they have the same ID.

Is there anyway to find the txnLineID for each item in the transaction?

I tried to use TransactionQuery, but when I input txnID of the transaction as the search criteria. No items of the transaction are returned.

Thanks.

도움이 되었습니까?

해결책

The CustomDetailReportQuery does not allow retrieving the txnLineId.

I think you are looking for InvoiceQuery and SalesReceiptQuery. This will retrieve the data from Invoices and Sales Receipts that you specify using multiple filters.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top