Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Invoice returns to automatically re-set numbers in Products

Featured Replies

  • Newbies

We are using the invoice in FM Starting point as a library system of loaning more than an actual invoice. The items get returned and I want to be able to have a way to say invoice items have been returned and it automatically updates the amount in the Products quantity.  How do I do that? 

  • 7 months later...

Hello W.K.,

In order to do what you're suggesting, you'll have to make some significant modifications to the Invoice Table. See below for the steps required:

 

1.)  Add a field to "Invoice Line Items" to mark an item as out on loan

2.)  Add a secondary field in the same table to mark that item as returned.

3.)  Write a script that will run whenever you mark an item as "returned"

4.)  That script will go to the correct product via the relationship from "Invoice Line Items" and increase the "Amount in Stock" field by whatever the quantity loaned out was.

 

That's the basics of it. If you see this and still need help implementing it, please email us at [email protected], and ask about our FileMaker Coaching Program. We will get you paired up with a coach who can walk you through this process using Go to Meeting.

 

Thanks,

Jonathan Hogle

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.