Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Purchase Order Application
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mafifi
Junior Member

USA
308 Posts

Posted - 27 April 2001 :  22:28:18  Show Profile  Send mafifi an ICQ Message
Greetings,
I am trying to build an ASP web-based purchase order application for use on my company's Intranet site. I am playing with a sample code from "Instant ASP Scripts" by "Greg Buczek". The person will fill the request order Form on-line. Once the Form is submitted, an e-mail with a URL will be sent to the cost center manager for approval. The cost center manager will click on the URL and either approve or disapprove the purchase request. The problem I am having is that if an item costs more than $10,000 it will require 3 cost center managers to approve the purchase. The reason for that is that cost manager level III can only approve up to $2,000 and cost manager level II can approve from $2,001 to $5,000 and cost manager level I can approve from $5,001 to $10,000. The challenge is that for an item that costs $10,000 it must have the approval of all three managers. I need help with the logic on how to approach this problem. Any code samples will be appreciated. Thanks.

Mo

e3stone
Average Member

USA
885 Posts

Posted - 27 April 2001 :  22:43:04  Show Profile  Send e3stone an AOL message
Could you set it up as a series of approvals? Perhaps email the purchase request to the Level III manager, if approved by him/her, then email to Level II, if not then trash it. etc, etc, through Level I manager. However, I think using email would be a bad idea. Personally, I hate opening my inbox and finding tons of messages. Half the time I don't even look at all of them.
Do you have Snitz Forum? Just for the coding samples, you might take a look at the Links Manager MOD. Its set up with a feature where users submit links and the admin can either accept the link or reject it. That might be better for you.

<-- Eric -->


http://insidewaco.com/forum
Go to Top of Page

mafifi
Junior Member

USA
308 Posts

Posted - 27 April 2001 :  22:58:08  Show Profile  Send mafifi an ICQ Message
Hello Eric,
Which file has the "Links Manager MOD" Thanks.

Mo
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 28 April 2001 :  00:40:20  Show Profile  Send e3stone an AOL message
Try this:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=6988&FORUM_ID=25&CAT_ID=17&Topic_Title=Snitz+Links+Manager&Forum_Title=MOD+Add%2DOn+Forum+%28W%2FCode%29

<-- Eric -->


http://insidewaco.com/forum
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 28 April 2001 :  06:31:58  Show Profile  Visit Gremlin's Homepage
A series of good old "If" statements whilst perhaps not the most perfect solution would probably suffice ie

If PurchaseOrder > 10000 Then
' Generate email to Manager Level I
' Generate email to Manager Level II
' Generate email to Manager Level III
ELSE
If PurchaseOrder <= 2000 THEN
' Generate email to Manager Level III
ELSE
IF PurchaseOrder <= 5000 THEN
' Generate email to Manager Level II
ELSE
' Generate email to Manager Level I
ENDIF
ENDIF
ENDIF


Cheers



Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07