From :Sent : Thursday, October 28, 2004 11:26 AM To : Robert Low Subject : Re: Progess report problem | | | Inbox For this one, you may rephrase LOOKUP credit_card_number IN credit_card_info STORE IF credit_card_number.CREDIT IS GOOD //SPECIFY WHAT CREDIT YOU REFER TO IF sub_total < limit_amount SET new_balance=last_blance + subtotal ELSE DISPLAY over_limt_error ON SCREEN ENDIF ELSE DISPLY bad_credit_error ON SCREEN ENDIF Process 1.3 Process credit card SET sub_total = 0 FOR transaction WHERE transaction_id = current_ transaction LOOKUP item_id in local_inventory STORE Sub_total = Sub total + item_listed_price * quantity ENDFOR LOOKUP credit_card_number IN credit_card_info STORE IF good_credit = true IF sub_total < limit_amount SET new_balance=last_blance + subtotal ELSE DISPLAY over_limt_error ON SCREEN ENDIF ELSE DISPLY bad_credit_error ON SCREEN ENDIF Quoting Robert Low : > Doctor Mak: > > here is my porcess specification and data dictionary. > I think my process specification is too simple. > can you please take a look and see if there is anything incorrect? > > > > Ho Yin, Low > > _________________________________________________________________ > Linguaphone : Learning English? Get Japanese lessons for FREE > http://go.msnserver.com/HK/46165.asp > Robert, It would be nice if you can show a process specification for the lower level process, since all these are only 2nd level processes. Are they already the primitive processes and your group will not be expanding them? Process specifications are for primitive processes only. Also You may also need to define the terminologies you used in the process specifications in your data dictionary. For example, the following is fine if process 1.1 is the primitive process and you will not expand it further. However, you may need to make sure entries like transaction_id, item_unit_price, and return_amount are all defined in the data dictionary. Process 1.1 Process refund SET return_amount = 0 LOOKUP transaction_id IN trasaction STORE FOR each item ACCEPT item_id FROM cashier ACCEPT reason_of_returning FROM cashier ACCEPT accept_return FROM cashier IF accept_return = true READ item_unit_price from purchased_item STORE SET return_amount = return_amount + item_unit_price SET item_returned_day = today ENDIF ENDFOR Have a nice week and see you tomorrow. Your instructor, Brenda Quoting Robert Low : > Doctor Mak: > > here is my porcess specification and data dictionary. > I think my process specification is too simple. > can you please take a look and see if there is anything incorrect? > > > > Ho Yin, Low > > _________________________________________________________________ > Linguaphone : Learning English? Get Japanese lessons for FREE > http://go.msnserver.com/HK/46165.asp >