Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LINES and unique values

0 views
Skip to first unread message

Smurf

unread,
Nov 7, 2009, 9:32:02 PM11/7/09
to
FM8.5

I have a system for Purchase Orders wherein I select product to be
purchased through a LINES portal referencing a PRODUCT table ID.
Sometimes I need to incorporate miscellaneous entries - entries and
values that are not part of the PRODUCT table (unique to any
particular order). Is there an obvious or elegant approach to marrying
these two needs into one Purchase Order?

Thanks
Matthew

Christoph Kaufmann

unread,
Nov 8, 2009, 3:03:14 AM11/8/09
to
Smurf <weare...@yahoo.ca> wrote:

[FMP 8.5]

table products
table orders
table lines

Lines must have an Order ID (foreign key) and may, but do need to have a
product ID. You are free to add lines without product ID

OR:

Add a record for miscellaneous to the product table and use this.

In both cases, the line table needs it's own field for text and price
information. You don't want old orders and invoices to change if you
make changes in the order table.

--
http://clk.ch

0 new messages