I need category list from Quickbooks Account.
So here I am using this query
select * from Item where Type='Category'
But I get all the item list instead of the category list. What have I done wrong?
Please help, thanks in advance.
I got the solution.
For Category, we have to change minorVersion to 4 in sdk.config
file of API.
Related
I want to retrieve QuickBooks detail record. For example, estimatelinedetail, estimatelinegroupdetail,journalentryline, salesorderlinedetail
,salesorderlinegroupdetail etc.
You can mention the tag <IncludeLineItems>true</IncludeLineItems> so as to return the line items in a transaction.
thanks,
Rajesh Iyer
For example, there are 884 channels under beauty and fashion, however, Youtube only shows about 50 of them. How do i get the complete list? Either through API or web.
https://www.youtube.com/channels/beauty_fashion
Thanks,
The first thing to do is to get the Guide Category ID that you're interested in. If you do a call to
https://www.googleapis.com/youtube/v3/guideCategories?part=snippet&hl=en®ionCode=US&key={YOUR_API_KEY}
where the hl parameter is the language and the regionCode is the country code (as some categories may not be available for particular languages/regions), you'll get a list of all the categories and their IDs.
For example, that call tells us that the Beauty and Fashion guide category ID is GCQmVhdXR5ICYgRmFzaGlvbg. With that ID, we can then do a channels list call:
https://www.googleapis.com/youtube/v3/channels?part=snippet&maxResults=50&categoryId=GCQmVhdXR5ICYgRmFzaGlvbg&key={YOUR_API_KEY}
This will give you 50 channels in that category. It will also give you a 'nextPageToken' ... you do the same request as above, but add "&pageToken={WHATEVER THAT NEXT PAGE TOKEN VALUE IS}" to get the next 50, and so on.
You can retrieve up to 500 that way ... that's the limit through the API.
Note that all of these calls require an API key from console.developers.google.com
Visit this site: http://www.channelcrawler.com/
You can list the channel in selected category and many other options.
I wrote a program that downloads orders from a website and creates invoices using the SDK.
A few products are listed as Groups in QuickBooks, so when adding them to the invoice, I can't list the price.
If IList.Item(x).Type = 2 Then
Dim ORInvoiceLineAddListElement2 As IORInvoiceLineAdd
ORInvoiceLineAddListElement2 = newInvoice.ORInvoiceLineAddList.Append()
ORInvoiceLineAddListElement2.InvoiceLineGroupAdd.ItemGroupRef.FullName.SetValue(IList.Item(x).FullName)
ORInvoiceLineAddListElement2.InvoiceLineGroupAdd.Quantity.SetValue(IList.Item(x).Quantity)
'ORInvoiceLineAddListElement2.InvoiceLineGroupAdd.Desc.SetValue(IList.Item(x).DESC)
End If
This will input into QuickBooks just fine, however, the price will be based on a retail customer, even if the customer class is set to wholesale. I know that the customer class is correct because everything else shows up correctly in the generated invoice.
Any suggestions on what i could try to get this group item priced correctly?
Thanks for your help!!!
QuickBooks Class codes have nothing at all to do with pricing. They have no effect what-so-ever on pricing in any form or manner.
What makes you think setting the Class should change pricing in any way?
I was having the same issue. what is happening is the Group line items are being assigned the Default Price from the Items table. shouldn't have anything to do with the Class. I did find the following support answer which seems to apply to both Desktop and Online versions of QuickBooks:
"The SDK does not currently support adjusting the price of group items when adding an invoice, even though the default UI in QuickBooks allows this. You can modify an invoice and change the line item amounts, so you would need to first call create the add, read the response to get the transaction id and edit sequence, then do an Invoice Mod request on the invoice to set the rates that you want."
Intuit Developer Page
I am using osclass3.1 in my site www.carsangrah.com. I have deleted all the categories except one (buy used car). I am able to get non user friendly url for this category i.e. http://www.carsangrah.com/index.php?page=search&sCategory=2. Please suggest me how to get used friendly url for this category.
Thanks.
This is the solution
View::newInstance()->_exportVariableToView('category', osc_get_category('id', $id)); //Optional if the category is already exported
echo osc_search_category_url() ;
Hi I can't find anywhere how to get a list of product by category id in Magento API. I am using Ruby XMLRPC library. When i call product.list, I get all my products, each one of them is like this:
{"product_id"=>"165", "sku"=>"mycomputer",
"name"=>"My Computer", "set"=>"39",
"type"=>"bundle", "category_ids"=>["27"]},
{"product_id"=>"166", "sku"=>"HTC Touch Diamond", "name"=>"HTC Touch Diamond",
"set"=>"38", "type"=>"simple", "category_ids"=>["8"]}
client.call('call',session_id,'product.list') gives me every product.
I tried client.call('call',session_id,'product.list',[:name=>{:like=>"%%computer"}]) gives me products with name containing computer.
I tried
client.call('call',session_id,'product.list',[:category_ids=>{:include=>"8"}])
client.call('call',session_id,'product.list',[:category_ids=>"8"])
client.call('call',session_id,'product.list',[:category_ids=>["8"]])
all these fail. I even tried replacing "category_ids" with "category_id"
In addition, the following line is not working either. What did I do wrong?
client.call('call',session_id,'product.info',[:product_id=>xxx])
Neither Magento API and Ruby XMLRPC API can tell me what the correct syntax should be. Anyone has any other suggestions?
You need to use the catalog_category.assignedProducts API method.
From the documentation:
Retrieve list of assigned products
Return: array
Arguments:
int $categoryId - category ID mixed $store - store ID or code
Aliases:
category.assignedProducts