Jump to content
W. K. Witas

Invoice returns to automatically re-set numbers in Products

Recommended Posts

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? 

Share this post


Link to post
Share on other sites

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 Support@rcconsulting.com, 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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Who Viewed the Topic

    1 member has viewed this topic:
    splatto 
×
×
  • Create New...

Important Information

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