Hi all
I am looking for advise when to use self linking vs a seperate table.
I currently have a one-one relationship with buyer enquiries and seller quotes. However we now want to send the enquiries out to our selected suppliers to provide quotes to us before we approve them which sends the quote to customer with our markup.
I was setting up the supplier quotes line items table but now with self linking tables is it best to just self link the line items table?
Heres my desired setup for Multiple Supplier Quotes per Customer Enquiry.
Customer Enquiry
Customer submits one enquiry (master order table linked to line items).
Each line item = required product + quantity.
Supplier Quotes (Multi-suppliers)
Each enquiry has many supplier quotes self linked with many quote line items against Enquired line items. This is where I'm thinking I can just self link the line items but is it cleaner to have seperate tables for the line items?
For example:
Line item 1: 100 units of Product A
Supplier A offers: $100/unit for 100 units against line item 1
Supplier B offers: $80/unit for 50 units "..."
Supplier C offers: $80/unit for 50 units "..."
Customer Approval
Customer reviews all supplier quotes per their enquired line item.
They can approve one or more suppliers for the same enquired line item (e.g., split quantity across Supplier B and C).
