QuickBooks: How to duplicate inventory items automatically? - quickbooks

Here is how I am doing manually.
Menu: "Lists" --> "Item List"
For items matching certain search criteria, do "right click" --> "Duplicate Item".
I would like to do it automatically using QBXML request. But when I search the programmer's guide, I don't seem to find related information using keywords like "duplicate".
Thank you very much for the help.

The QuickBooks SDK does not have a "duplicate" command like you're looking for.
If you want to duplicate an item, you'll have to query for the item details, and then create a brand new item using the details you queried.

Related

How to query stories without parent feature link?

In a given area path, I would to get the list of stories that does not have parent feature link. How should I write the query for it?
To achieve you could change the type of your query to the Work items and Direct Links query, then choose the option to pull back all work items without any matching links. The results will still be a flat list.
In the filters for top level work items, just add a filed to specify a detail area path and choose corresponding work item type.
More details please take a look at our official here: Use direct links to view dependencies
Hope this helps.

Gerrit - find the review comments globally

Is there any way to globally search review comments, given by other user. I tried message:"some word to search" in the gerrit search engine, however this is not the right way to find. I need to search using some common known string, like "remove this extra line", it should show all the matching review comments given by any user and should populate all such stories.
You should search using comment:text instead of message:text
message:'MESSAGE'
Changes that match 'MESSAGE' arbitrary string in the commit message body.
comment:'TEXT'
Changes that match 'TEXT' string in any comment left by a reviewer.

How can I view all the JIRA tickets I'm watching?

I clicked watcher for many JIRA tickets, but I can't find a filter that shows me all the tickets I am watching. Can someone direct me to the right link or filter to look.
Type in the Jira issues search (Issues > Search for issues): key in watchedIssues()
or go directly to the URL, like to your JIRA domain http://<your-jira-domain>/jira/issues/?jql=key%20in%20watchedIssues()
There is also a gadget you can add to your JIRA homepage (dashboard): Watched Issues
From the top right button "add gadget", then on the pop-pup search for "watched" and you will get it.
If you open up a "New search". Then the filter below will show you, your watched tasks:
watcher = currentUser() AND resolution = Unresolved ORDER BY priority DESC, updated DESC
Hope it suits you :-)

Algolia search with attribute name

Data on algolia is like this
objectID:3464542
Type:"Accelerator"
Country:"Germany"
City:null
Name:"ProsiebenSat1 Accelerator Batch #8"
I want to search any name which are in Germany. How I do that?
When I do Contact.raw_search("Batch"), I get all records even whose name include this even non-German. I want to get all those which are of specific country.
To do so, you'll first need to put the Country attribute in your attributesForFaceting list. You can do that using the REST API, your client of choice or from the Algolia Dashboard. Using the later one, go to the Indices page, select your index and click on the Display tab. Here, you could add your Country field to the Attributes for faceting list. After that, click on save and your index will be rebuild.
Now, your index is ready to filter the search queries according to the country you want. To perform the search query, you can use (using the Ruby client):
Contact.search("Batch", {
facets: ["Country"],
facetFilters: ["Country:Germany"]
})
For more informations about faceting, here is a quick intro from the FAQ and a more detailed guide in the documentation.

List of all jira tasks that I was assigner on

How can I get list of all tasks that I was assigned?
I just need to know all the tasks despite its current status or assignee.
Is it possible?
So here the answer to the changed question (tasks that I was assigned to):
Depending on the version of JIRA, you are now able to asked questions that go into history. See the example in the documentation and the documentation about the "WAS operator".
Your query should look like:
assignee WAS "wormhit" BEFORE "02/02/2011"
If you want to store your search (not the result), there are the following options:
Define your own filter by saving a search like the one as "Own issues". Steps:
Search > Edit > Issue Attributes > Assignee > Current User
Switch on the top to tab Summary
Under Operations, press Save it as filter
Give it meaningful name.
The filter is now available under Issues > Favorite Filters
You may store the shortcut for the search as a bookmark
General-purpose query for whichever 'current user':
assignee was currentUser()
This filter can be conveniently shared & anybody can put it on their dashboard, etc and it will return results specific to them.. Requires a not-too-old JIRA version, though.
This was my most-requested JIRA feature ever.
Yes. You can add a gadget "my tasks" to your dashboard.
Or you can use JQL like:
assignee = %yourname%
UPD To find tasks you WAS assigned, use JQL: "assignee was %username%"
By following this discussin I stumbled on HP/Palm Jira Search Plugin that can find what I'm looking for.
Go like this:
Issues -> search for issues -> Issue atrributes -> Assignee -> Current User -> Search

Resources