May 22, 2019 12:50 PM
Hello Airtable Rockstars!
Could you please help:
My Challenge: I want help with creating an invoice. I’ve built out the system, however I am having trouble getting certain information to automatically populate.
Details:
I have a weekly event happening for 6 weeks for a total of 6 events. I’d like to print an invoice by customer or table number.
I built out a system with the following:
Certain things on my invoice table work:
It doesn’t pull in the orders though. I have it linked to the order table, but I have to manually select each line item. Any thoughts on a way to have it automatically pull in the order information?
TIA!
Solved! Go to Solution.
May 23, 2019 02:17 PM
Hi @Matthew_Fox - you don’t have to add customers on the event table. This is the workflow I would follow:
(You’ll notice at this point that the event-customer combo has been added to the event table automatically)
JB
May 22, 2019 01:55 PM
Hi @Matthew_Fox - I’m not quite getting the structure of your base here. Are you able to share a link to a copy of this with sample data, so that we can see the table links you’ve got?
JB
May 22, 2019 02:09 PM
Hey @JonathanBowen
Thanks for the reply. https://airtable.com/shr11krIGzD6wOlZh
Take a look and let me know if you have any questions or need me to add more data?
May 22, 2019 06:52 PM
You can pull in the order information by adding a lookup field to your [Events]
table. It would reference the {Orders}
field, and bring in the contents of the {Food + Beverage Ordered}
field.
Is that what you’re looking for?
May 23, 2019 01:13 AM
Hi @Matthew_Fox - have a look at this simplified version of your base:
Maybe some reworking of the tables and some workflow changes will give you what you want.
I’ve got an “Orders/Invoices” table and an “Order Items” table. Obviously, an order item belongs to an order and an order can have one or more order items.
From a workflow point of view, you would go into the order items table, select (or create new) an order (which is a combo of event and customer), select a dish and add a quantity. Each order item is one dish (but a quantity of 1 or more) so when a customer orders two different dishes, this is two order items (two records in the table).
You’ll see that the order item record has the unit price and total price.
Your “Orders/Invoices” table should end up something like this:
Now you can create a page designed block on the “Orders/Invoices” table which will give you the order and order item information:
Don’t know if you have seen this in page designer, but when you add the “order item id” field to the page, you can access its detail records in the order item table:
In the “Orders/Invoices” table you can add rollup fields to give the order total:
Does this help?
JB
May 23, 2019 12:25 PM
It’s close and this might solve a different piece that I hadn’t gotten to yet. :slightly_smiling_face: Thank you for the suggestion.
Still stuck with a manual process to associate orders with invoice a missing link back to the invoice table though. :expressionless:
May 23, 2019 01:19 PM
Thanks Jonathan - This setup is interesting and does work. Though the place it falls apart for me is around adding a new customer.
If I add a new customer to the setup it also looks like I have to also add them to the Event table as well… correct? In short, it doesn’t look like this setup allows for new customers to be dynamically added in. I debated on something like this that used Zapier to auto populate fields.
I need to keep experimenting with this.
May 23, 2019 02:17 PM
Hi @Matthew_Fox - you don’t have to add customers on the event table. This is the workflow I would follow:
(You’ll notice at this point that the event-customer combo has been added to the event table automatically)
JB
May 23, 2019 03:30 PM
Thanks @JonathanBowen and @Justin_Barrett!
I think I have what I need now. JB the walk through above was helpful.