正如标题所述,我正在尝试从Quickbooks中删除已删除的项目和导入的客户。主要的Quickbooks.php文件具有以下内容:
/**
* Query QuickBooks for lists of deleted list items (customers, items, etc.)
*/
define('QUICKBOOKS_QUERY_DELETEDLISTS', 'ListDeletedQuery');
define('QUICKBOOKS_IMPORT_DELETEDLISTS', 'ListDeletedImport');
因此,我试图使用QUICKBOOKS_IMPORT_DELETEDLISTS操作导入已删除的项目,但是我在任何地方都找不到要在xml中放置什么标签。
我尝试了以下操作:
$xml = '<?xml version="1.0"?'.'>
<?qbxml version="5.0" encoding="utf-8"?'.'>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<ListDeletedImport ' . $attr_iterator . ' ' . $attr_iteratorID . ' requestID="' . $requestID . '">
<MaxReturned>' . QB_QUICKBOOKS_MAX_RETURNED . '</MaxReturned>
<FromModifiedDate>' . $last . '</FromModifiedDate>
<OwnerID>0</OwnerID>
</ListDeletedImport>
</QBXMLMsgsRq>
</QBXML>';
但是ListDeletedImport似乎不是正确的XML标记,尽管这是在Web连接器代码中调用的操作(如上所示)。应该是什么?或者在哪里可以找到示例?
这是Quickbooks Desktop的。
这是Schema文件夹中的查询类型的列表,但我找不到与删除的项目或客户有关的查询:
AccountQuery.xml
BillingRateQuery.xml
BillPaymentCheckQuery.xml
BillPaymentCreditCardQuery.xml
BillQuery.xml
BillToPayQuery.xml
ChargeQuery.xml
CheckQuery.xml
ClassQuery.xml
CompanyQuery.xml
CreditCardChargeQuery.xml
CreditCardCreditQuery.xml
CreditMemoQuery.xml
CurrencyQuery.xml
CustomerMsgsQuery.xml
CustomerQuery.xml
CustomerTypeQuery.xml
DataExtDefQuery.xml
DateDrivenTermsQuery.xml
DepositQuery.xml
EmployeeQuery.xml
EstimateQuery.xml
HostQuery.xml
InventoryAdjustmentQuery.xml
InvoiceQuery.xml
ItemDiscountQuery.xml
ItemFixedAssetQuery.xml
ItemGroupQuery.xml
ItemInventoryAssemblyQuery.xml
ItemInventoryQuery.xml
ItemNonInventoryQuery.xml
ItemOtherChargeQuery.xml
ItemPaymentQuery.xml
ItemQuery.xml
ItemReceiptQuery.xml
ItemSalesTaxQuery.xml
ItemServiceQuery.xml
ItemSubtotalQuery.xml
JobTypeQuery.xml
JournalEntryQuery.xml
PaymentMethodQuery.xml
PayrollItemWageQuery.xml
PreferencesQuery.xml
PriceLevelQuery.xml
PurchaseOrderQuery.xml
ReceivePaymentQuery.xml
SalesOrderQuery.xml
SalesReceiptQuery.xml
SalesRepQuery.xml
SalesTaxCodeQuery.xml
ShipMethodQuery.xml
StandardTermsQuery.xml
TermsQuery.xml
TimeTrackingQuery.xml
UnitOfMeasureSetQuery.xml
VehicleMileageQuery.xml
VehicleQuery.xml
VendorCreditQuery.xml
VendorQuery.xml
VendorTypeQuery.xml
WorkersCompCodeQuery.xml
答案 0 :(得分:0)
我找到了答案。 qbXML标记的名称为ListDeletedQueryRq
。
这是我的出处: https://developer-static.intuit.com/qbSDK-current/Common/newOSR/index.html