Script question - create invoice
I have a button that truggers the following script to open and create a new invoice. it works as intended.
I'd like to also auto-populate the line items portal with the inventory based on location. It is far easier to remove a handful of items from an invoice than it is to type in each line item, around 70 right now. Location is just a filter that will be in use later on down the line as more locations are created.