有没有办法使用 qbsdk 和 qbxml 从 Quickbooks 离线删除客户?

Is there a way to delete a customer from Quickbooks offline using qbsdk and qbxml?

我想使用特定客户的 ListId 从 quickbooks 中删除该客户。在这种情况下,我的 qbxml 请求是什么?

您可以使用 ListDelRq 从 QuickBooks 中删除列表类型的事物(客户、项目、供应商等)。

有关完整语法,请参阅 OSR:

您的请求将如下所示:

?xml version="1.0" encoding="utf-8"?>
<?qbxml version="9.0"?>
  <QBXML>
    <QBXMLMsgsRq onError="stopOnError">
      <ListDelRq>
        <!-- ListDelType may have one of the following values: Account, BillingRate, Class, Currency, Customer, CustomerMsg, CustomerType, DateDrivenTerms, Employee, InventorySite, ItemDiscount, ItemFixedAsset, ItemGroup, ItemInventory, ItemInventoryAssembly, ItemNonInventory, ItemOtherCharge, ItemPayment, ItemSalesTax, ItemSalesTaxGroup, ItemService, ItemSubtotal, JobType, OtherName, PaymentMethod, PayrollItemNonWage, PayrollItemWage, PriceLevel, SalesRep, SalesTaxCode, ShipMethod, StandardTerms, ToDo, UnitOfMeasureSet, Vehicle, Vendor, VendorType, WorkersCompCode -->
      <ListDelType>ENUMTYPE</ListDelType>
      <ListID>IDTYPE</ListID>
    </ListDelRq>
  </QBXMLMsgsRq>
</QBXML>