Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any Suggestion on Cyclic Entity Relationship?!
Message
From
29/03/1998 20:49:00
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00085989
Message ID:
00087997
Views:
56
>>Of cos, Orderline should not have price column, hard to manage in security
>>reason and also duplicate on price column.
>>But the special price really need lookup on it! Who(Customer)+Which(Itemkey)!!
>Justok,
>
>This is where I really think you are incorrect. Spprice is used to match a customer to an itme and get the price for an order. Spprice may change over time as itme prices changes or customer buying patterns change, but an order that is set should never have its price changed. There fore the domain definition for the spprice price is;
>
> The current price for a specific item for a specific customer.
>
>While the domain definition for the price column in the orderlines would be;
>
> The price of this item for this customer at the time of this order.
>
>You can see that the domains are different, if that is so then they are NOT redundant data and if the above is true then trying to use the prices in spprice for creating a join to produce and order is flat relationally wrong. You might run a join that gets an order date 6 months ago, but you would be pulling todays price into it.


I see, spprice is to reflect the 'Current' particular item price for particular
client.
But the Orderline contain price will be the Real price for print-out.

Actually there will be fine if my boss don't ask for security control!!

Owing to price control, only manager or ppl having the password can edit the
price! So, the sales will hard to fill the orders on form... Quite inefficence.

Secondly, as my company want to fit the ISO and need confirmation on Update
and Add!! ~~~>_<~~~
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform