Quickbooks Sales rep Query

你说的曾经没有我的故事 提交于 2019-12-25 18:48:16

问题


I am using QuickBooks API to connect with my desktop QuickBooksand import the List id's of the sales reps from QuickBooks to my MySQL database.

Following is the xml code to query sales rep which is already there in QuickBooks but I am getting error 500 that this rep not found in QuickBooks . Even then when I tried adding new rep with same name it again showed me error that this name rep already exists...so i am totally confused why the initial search query didn’t work:

<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="2.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<SalesRepQueryRq>   
<FullName>firstname lastname</FullName>                 
</SalesRepQueryRq>                                  
</QBXMLMsgsRq>
</QBXML>

Please help me to find out the problem


回答1:


There is absolutely no way that that Sales Rep exists in QuickBooks.

QuickBooks Sales Rep names are limited to 5 characters. You have wayyyyy more than 5 characters here:

  • firstname lastname

Are you positive that you've created a Sales Rep in QuickBooks, and not something else closely related like an Employee?



来源:https://stackoverflow.com/questions/24465033/quickbooks-sales-rep-query

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!