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.

Newbie .. filter value list

Featured Replies

  • Newbies

Hello

Loving FM, but very limited skills.

I want my drop down value list just to show my OPEN orders.

I've created value list, and can see all orders. 
I have a field in the Orders file with OPEN / Closed status.

How do I limit the items in value list = OPEN orders.

 

thanks

ken

Typically what I do is create a calculated field in the orders table,

isOpen: Case( orders::status = "open" ; Order::Number  )

Then based your value list on the isOpen field it will only display OrderNumbers that are open.

  • Author
  • Newbies

thank you Ocean, I'll dive into this soon as I'm home...

I’m curious, in what scenario are you selecting open orders? Are you relating an open order to another entity? I ask this because you may very well actually need to use Find mode. 
 

Also, picking a record is often accomplished using a card window that shows a list of records. That list can be pre-filtered (such as only open orders for customerA in 2022). 
 

please describe the use case. 

  • Author
  • Newbies

I am relating selected Open orders to my shipping plan.
I want to manually select the Order that I plan to ship, and build up a list of orders that will be included in the same shipment (from factory to our warehouse)
My present value list works ok, but it shows ALL of my POs (obviously then including all that have already been shipped, and those still in production and not yet ready to ship)
So yes, i just want to see open orders in my filter list.

The PO table has a field call Open, which has the word "OPEN" loaded.

thanks for asking

  • Author
  • Newbies

My current value list is set to .....'use values from field'

PO Nr Value list.png

Here’s how I’d go about it:

user clicks button, add order to shipment. 
card opens showing all orders that are not already on a shipment that are in “ready to ship” status. (This is done using a find after the card is shown in the show open orders script).
user selects 1+ orders 

on clicking done in card, each selected order’s shipmentId is set. Order status is possibly updated to “pending shipment”. 
 

edit: this assumes an order is not split across shipments. 

  • Author
  • Newbies

awesome thanks .... will get armed with a coffee and see if I can manage

Create an account or sign in to comment

Important Information

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

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.