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.

Multiple delivery addresses for 1 client

Featured Replies

  • Newbies

Hi Everybody,

I am new to FM and I am stuck with this relationship. Can someone help me please?

1 client has multiple delivery addresses.

1 Address = 1 client

I want to show a list limited to addresses for 1 client ID selected.

1 TO : CLIENTS

Key: Client ID

1 TO: CLIENT ADDRESS

Client ID

Address ID (key)

Examples:

CLIENT ABC

DELIVERY ID : 1,3,5

CLIENT FGE

DELIVER ID : 7,3

Thanks a lot guys! :laugh:

I didn't follow your question. If a client has multiple delivery addresses, then you need a relationship between the Client table and the Addresses table by ClientID.

If you are also creating an order, I would imagine that it has only one address for ShipTo. That can be address selected from those associated with the Client. Is that the question -- how to limit the ShipTo choices to those of the Order's Client?

Perhaps you can restate the question.

  • Author
  • Newbies

That's true, I was not clear enough.

There is only one address to ShipTo.

So, I want a list to display only delivery addresses limited to one client.

Thanks again.

So it's possible that multiple clients can have the same delivery address?

Or are there multiple shipments and some might be to the same address?

If so you need to normalise the address table (that is, make sure there are no duplicates).

I want a list to display only delivery addresses limited to one client.

If I understand your request correctly, you want a button on the Clients layout to perform the Go to Related Record[] script step, with the 'Show only related records (match current record only)' options checked.

So it's possible that multiple clients can have the same delivery address?

Careful with that.

@benderFR - which Client? The client on the Order? You haven't told us what entities you have. Do you have Clients, Addresses, Orders, OrderLineItems?

to provide an proof of evidence of what went, where, when, you really should have duplicate address fields and their content into the actual document that controls the activity such as the Shipping Document or Invoice.

if you rely on the relationship chain to an address table and you edit or delete these records it will ruin years of data on past invoices/orders/etc. effectively invalidating any forensic proof.

Any mechanism using relationships would be for data entry and user selection for assignment to said document / entity.

Stephen, excellent point.

I was waiting to get a reply from the OP before mentioning the fact that address info is temporal and a good place to use an auto-enter or lookup.

Simply sounds like he needs a conditional value list or filtered popup-selector.

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.