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.

Purchase Orders with portals ?

Featured Replies

  • Newbies

Hi there ! I have a database of items I have in stock with a reorder level field and a database of purchase orders. What I want to do is when I create a new purchase order, all the items that need to be reorder appears automaticaly in the new purchase order. Is it possible to do this with portals ?

Thanks !

It can be done with a looping script. Not all items are ordered from the same vendor, right? So, you'd need to find all items that need to be reordered. Sort by vendor. Then loop, creating a PO and POLineItems whenever you encounter a new vendor.

This is one of those scripts that makes you love Filemaker, btw.

  • Author
  • Newbies

I'm maybe a noob, but I don't understand what you mean by a loop script. I know how to find what items that I need, but I don't understand the script part.

BTW, I just have only one vendor !

In order to do this, you'll need to study up on scripting. If you only have one vendor, it's much easier. You can find all the items to reorder, then create a new PO (in a new window), capture its ID and then import your items into a POLineItems table, setting the parent POID.

Find Items that need reorder.

Create new PO in new window. Set _kF_VendorID and capture $PO_ID.

Switch to POLI layout.

Import records from found Items.

Replace _kF_PO_ID with $PO_ID

Go to Related PO form view.

  • Author
  • Newbies

Thanks for your help !!

How do I capture ? Just a "Copy" ?

Will I be able to add manually some items in the PO in the portal after ?

Here's a quick demo. You'd need Receipts or some way to close a PO to reduce QtyOnOrder. This demo's purpose is to illustrate how to import from a found set in the same file to create the PO Line Items.

CreatePO.fp7.zip

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.