[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/08/2009 at 12:56AM PDT, ID: 24795065 | Points: 500
[x]
Attachment Details

Multi-level management logic

Asked by Ghitza in Databases Miscellaneous, Delphi Database, PostgreSQL Database

Tags: multi-level, database, delphi

I need an ideea of implementing a standard multi-level management system.
A product is being sold and depending on where the sales agent is positioned in the hierarchy, he will receive points for the sale accordingly , and the agents/managers that are above him in the hierarchy will also receive points for the same sale.
The logic is based on a 12 level hierarchy. I need ideas on implementing it, because I do not have time to make experiments.
I need to know the ideal tables structures, relationships and so on
I'm sure some of you guys have done it already in your programs.

Another thing. The main program that records in a database the sales is already done, so I need to modify it to accept the new logic. For now, you must know, that I already have a table that holds the sales as records, and for each record (sale) there is a sales agent that receives points for the sale. I must figure out how to implement the multi-level logic in all this.
[+][-]10/08/09 01:00 AM, ID: 25523001

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/08/09 01:33 AM, ID: 25523142

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/08/09 03:57 AM, ID: 25523900

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/08/09 04:11 AM, ID: 25523995

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/08/09 06:32 AM, ID: 25525115

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/08/09 07:01 AM, ID: 25525465

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/08/09 07:30 AM, ID: 25525836

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/12/09 02:48 PM, ID: 25555369

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625