Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Multiple 1 : 0, 1 or many, but only one 1 : 1 or many


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

Recommended Posts

Posted

Apologies; I believe I've answered my own question (the way I envision this working, I don't have to worry). In any case, since I can't delete this post, I'll leave it here.

I have line items that will have a 1 : 0, 1, or many relationship between an order line item table and an asset table (the latter contains much more information about the item, after acquisition), i.e., if I order a hammer, there will be a field in the line item table where I can choose (via a pulldown) hardware, or software, etc., as a line item type. The line item then have a 1 : 1 or many relationship to the record in the appropriate 'type' table.

If the line item table has a 1 : 0, 1, or many relationship with each of the asset tables, I just wondering if I need to take any programatic precautions so that each line item can only have a valid relationship to one asset table.

I realize this may sound a bit cryptic. Here's more:

A line item record is filled out with quantity, unit of measurement, price, etc., and vendor part number, generic description, etc. Upon finalizing the order, a script creates an asset record in the appropriate table, and then duplicates it x times based on the quantity. Once the asset records are created, they relate back to the line item record, but are otherwise decoupled. In other words, I want to be able to modify the asset records without affecting the historical line item information.

thanks,

Bob

This topic is 4957 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.