soldgold 0 Newbie Poster

Dear Members
Let me introduce myself. I am new to this forum. I have trying to learn a new profession as a Requirements engineer.
I am trying to learn writing pseudo coding for business rules with the learning by doing method.
I am trying to write a business rule for the following process:

1. user enters values related to attributes (input field in a GUI)
e.g. product id, quantity, price, customer account nr., market place
2. business rule should collect these values and validate that all mandatory attributes
have a value.
3. if validation passes then proceed otherwise raise info “values missing”
4. validation success then sends a request to database through a interface.
(this database has all the related values for product related commissions, customer related commission, service fees etc. which are required to generate a final bill for the customer)
5. Business rule creates a event “query to Database sent”
6. Business rule receives a response from database through the interface
7. Business rule creates a event “response receive from interface”
8. Business rule validates if data received are complete and correct.
9. If validation fails then raise info “data received are missing or incomplete”
10. Validation success then begin calculate as follows
o price x quantity (from GUI)
o commissions calculated for the above (price x quantity) value. This result comes from the database
o service fees calculated for the above (price x quantity) value. This result comes from the database
o add the above received values and create net amount and brutto amount.

I would highly appreciate if any of you experts could write me a sample business rule for the above. This sample will really help to get a idea as to how such business rules are defined and written.
Thanks in advance and look forward for your kind help.
Regards, SG