Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
SledgeHammer017-Feb-12 19:30
SledgeHammer017-Feb-12 19:30 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
Mycroft Holmes7-Feb-12 20:08
professionalMycroft Holmes7-Feb-12 20:08 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
SledgeHammer018-Feb-12 3:58
SledgeHammer018-Feb-12 3:58 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
SledgeHammer017-Feb-12 19:27
SledgeHammer017-Feb-12 19:27 
Questionprogramming unknown conditions Pin
SilimSayo7-Feb-12 15:40
SilimSayo7-Feb-12 15:40 
AnswerRe: programming unknown conditions Pin
R. Giskard Reventlov7-Feb-12 15:53
R. Giskard Reventlov7-Feb-12 15:53 
AnswerRe: programming unknown conditions Pin
candogu7-Feb-12 20:32
candogu7-Feb-12 20:32 
AnswerRe: programming unknown conditions Pin
BillWoodruff8-Feb-12 4:06
professionalBillWoodruff8-Feb-12 4:06 
I find myself wondering how this question could possibly reflect a real-world scenario.

The fact that there are "any number of approval levels" does not justify an assumption that the possible conditions are "infinite:" there is probably a fixed number of maximum approvals possible, or required. And, probably, a certain minimum of approvals required to even process the order.

That the set of all possible permutations of approvals would require a unique action for each permutation: also seems a dubious assumption.

And, isn't there some "hierarchy" involved here: a decision by upper-management to cancel/void/dis-approve takes precedence over other lower-level decision makers, which means you can deduce the action required without consideration of certain other levels ?

In the real world, "hierarchy" also "kicks-in," in financial transactions, dependent upon customer credit, and $ize of order, as well as customer history, or internal (or external credit agency) rating.

My guess is there is a finite, and well-defined, set of actions to be taken based on approvals of purchase order.

So, present an interface with CheckBoxes: logical analysis of which are Checked then can be mapped to a list of appropriate actions. Or, present a TreeView with CheckBoxes, where you handle "hierarchy" by activating, or de-activting, sub-nodes, depending on whether "parent" nodes are checked. Then iterate the TreeView (recursively), and generate a list of actions based on all Checked Nodes.
"The first principle is that you must not fool yourself, and you are the easiest person to fool." Richard Feynman

AnswerRe: programming unknown conditions Pin
BobJanova8-Feb-12 4:07
BobJanova8-Feb-12 4:07 
AnswerRe: programming unknown conditions Pin
jschell8-Feb-12 8:23
jschell8-Feb-12 8:23 
AnswerRe: programming unknown conditions Pin
GParkings14-Feb-12 0:24
GParkings14-Feb-12 0:24 
Questionmysql table to Access database Pin
srscuda7-Feb-12 9:42
srscuda7-Feb-12 9:42 
AnswerRe: mysql table to Access database Pin
Richard Andrew x647-Feb-12 10:35
professionalRichard Andrew x647-Feb-12 10:35 
AnswerRe: mysql table to Access database Pin
SilimSayo7-Feb-12 15:43
SilimSayo7-Feb-12 15:43 
AnswerRe: mysql table to Access database Pin
brendanpi7-Feb-12 17:55
brendanpi7-Feb-12 17:55 
Questionhelp with access and C# error Pin
goldsoft7-Feb-12 1:12
goldsoft7-Feb-12 1:12 
AnswerRe: help with access and C# error Pin
Dave Kreskowiak7-Feb-12 1:57
mveDave Kreskowiak7-Feb-12 1:57 
AnswerRe: help with access and C# error Pin
V.7-Feb-12 2:19
professionalV.7-Feb-12 2:19 
Questionfile conversion into udf Pin
anikbutt227-Feb-12 0:15
anikbutt227-Feb-12 0:15 
GeneralRe: file conversion into udf Pin
harold aptroot7-Feb-12 0:35
harold aptroot7-Feb-12 0:35 
GeneralRe: file conversion into udf Pin
anikbutt227-Feb-12 0:59
anikbutt227-Feb-12 0:59 
GeneralRe: file conversion into udf Pin
harold aptroot7-Feb-12 1:04
harold aptroot7-Feb-12 1:04 
GeneralRe: file conversion into udf Pin
anikbutt227-Feb-12 1:08
anikbutt227-Feb-12 1:08 
GeneralRe: file conversion into udf Pin
harold aptroot7-Feb-12 1:11
harold aptroot7-Feb-12 1:11 
GeneralRe: file conversion into udf Pin
anikbutt227-Feb-12 1:13
anikbutt227-Feb-12 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.