Jump to content
Server Maintenance This Week. ×

Invoice returns to automatically re-set numbers in Products


This topic is 1491 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • 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? 

Link to comment
Share on other sites

  • 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

Link to comment
Share on other sites

This topic is 1491 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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