Site icon DocMgt

QuickBooks Online Search Bookmark

QuickBooks Online Search Bookmark

This article explains how to make a QuickBooks Online Search Bookmark on your browser toolbar.

The basic scenario for this article is that you are viewing a Bill in QBO and want to see the invoice image and all the workflow that went into the PO matching, approvals, etc. DocMgt has direct URL searching that allows us to perform a search just by sending data in the browser’s URL. What this article shows you is how to automatically get the Invoice Number from QBO and do the search – All with a single button click!

 

Getting the Invoice Number

Getting the invoice number takes a little client-side JavaScript. Don’t be worried – it is not as scary as it sounds! We have that all ready for you. All you need to do is plug in a few bits of info about your DocMgt site and you are good to go!

 

QBO has 2 different UIs in use at the time this article was written. Which one you are using is hard to tell. It is probably easiest to try one then the other to see which works.

METHOD 1:

Javascript:window.open('https://YOURURL/v4/searchrecordtypevalue/RECORDTYPEID/FIELDNAME/' + document.getElementsByClassName('refNumInput')[0].children[0].value);

METHOD 2:

Javascript:window.open('https://YOURURL/v4/searchrecordtypevalue/RECORDTYPEID/FIELDNAME/' + document.querySelectorAll("input[data-testid='reference_no']")[0].value);

 

Running the Search

Now all you have to do is open a Bill in QBO that has a valid Invoice Number. When you click your new favorite button, the browser will launch the search in DocMgt!

 

Summary

This was a simple example of just grabbing an Invoice Number from QBO. This technique can also be used for many other purposes.

 

 

Exit mobile version