0
我想使用該客戶的ListId從快速手冊中刪除特定客戶。在這種情況下,我的qbxml請求會是什麼?有沒有辦法使用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>
感謝您的幫助。 – Mainak