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

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

问题描述:

我想使用该客户的ListId从快速手册中删除特定客户。在这种情况下,我的qbxml请求会是什么?有没有办法使用qbsdk和qbxml离线从Quickbooks中删除客户?

您可以使用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> 
+0

感谢您的帮助。 – Mainak