Thanks a lot for your detailed explanation. I have come up with the following structure, it is not solves yet but made a progress:

Data Type: Product
fields:
product_name: text

Data type: Company
company_name: text
company_sizeranges: List of Size Range(s)

Data type: Size Range
SizeRange_no: number
SizeRange_product: Product
SizeRange_company: Company
SizeRange_thickness: Numeric range
SizeRange_diameter: Numeric range
SizeRange_width: numeric range
SizeRange_length: numeric range
SizeRange_coating: numeric range
SizeRange_AvailableColors: text (to be chosen from an Option Set)
SizeRange_AvailableGrades: text (to be chosen from an Option Set)

Data Type: Inquiry
Inquiry_no: number
Inquiry_Lots: A list of Inquiry Lot(s)
Inquiry_client: company

Data type: Inquiry Lot
Lot_no: number
Lot_inquiry: Inquiry
Lot_Items: A list of Item
Lot_Product: Product

Data Type: Item
Item_no: number
Item_diameter: number
Item_thickness: number
Item_width: number
Item_length: number
Item_coating: number
Item_color: text
Item_AdditionalSpecs: text

When the company receives an inquiry it will input that with a form to the database. And the a repeating group within Inquiry_Details page must list all the producers that can produce these materials and sizes and specifications.

The issue is:
with the above structure;
I am creating redundant data slots for database where the value will be void. Also this is a very rigid structure limiting the flexibility.
Additionally, making a search for a RG for potential producers is very complex and I couldnt achieve to formulate it yet.

1 Like