Asking about collecting inputs
-
Hi My name is Teame. I want to develop a cafeteria management system using C#. But, I want to compose the consumption and to reduce from master inputs balance. For example, when I want to make an output called pizza, I have to use a potato, tomato, oil, green paper, and so on inputs. Then the inputs I have used should be reduced from the master inputs balance and will made as an output product called Pizza. So, please, help me to how to reduce the input consumption automatically when the waiter orders a Pizza using C#. I would like to say thank you for your support.
-
Hi My name is Teame. I want to develop a cafeteria management system using C#. But, I want to compose the consumption and to reduce from master inputs balance. For example, when I want to make an output called pizza, I have to use a potato, tomato, oil, green paper, and so on inputs. Then the inputs I have used should be reduced from the master inputs balance and will made as an output product called Pizza. So, please, help me to how to reduce the input consumption automatically when the waiter orders a Pizza using C#. I would like to say thank you for your support.
The obvious answer would be to use a database. You would need to keep a table of ingredients in the database which includes counts of current stock. Then as you create a food item you get the count values from the database, reduce them by the amount used and update the counts. There are many database tutorials to be found.
-
The obvious answer would be to use a database. You would need to keep a table of ingredients in the database which includes counts of current stock. Then as you create a food item you get the count values from the database, reduce them by the amount used and update the counts. There are many database tutorials to be found.
Dear Richard MacCutchan, I would like to say thank you for your response. But, I need some example that how to reduce and count if you have any link for the database tutorials which matches the question I am asking. Thank you Very much.
-
Dear Richard MacCutchan, I would like to say thank you for your response. But, I need some example that how to reduce and count if you have any link for the database tutorials which matches the question I am asking. Thank you Very much.
-
The obvious answer would be to use a database. You would need to keep a table of ingredients in the database which includes counts of current stock. Then as you create a food item you get the count values from the database, reduce them by the amount used and update the counts. There are many database tutorials to be found.
Remind me never to eat Ethiopian Pizza - I'm not sure Potato or Green Paper belong in there, any more than Ham and Pineapple... :laugh:
Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
-
Remind me never to eat Ethiopian Pizza - I'm not sure Potato or Green Paper belong in there, any more than Ham and Pineapple... :laugh:
Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
OriginalGriff wrote:
any more than Ham and Pineapple
Do NOT denigrate the great Oz pizza, the Hawaiian, I have no idea of the origin of this pizza but Oz has claimed it apparently
Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP
-
Hi My name is Teame. I want to develop a cafeteria management system using C#. But, I want to compose the consumption and to reduce from master inputs balance. For example, when I want to make an output called pizza, I have to use a potato, tomato, oil, green paper, and so on inputs. Then the inputs I have used should be reduced from the master inputs balance and will made as an output product called Pizza. So, please, help me to how to reduce the input consumption automatically when the waiter orders a Pizza using C#. I would like to say thank you for your support.
Look into "Bill of Materials" databases and tutorials, you might want to look at these structures http://www.databaseanswers.org/data_models/[^]
Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP
-
Look into "Bill of Materials" databases and tutorials, you might want to look at these structures http://www.databaseanswers.org/data_models/[^]
Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP
thanks, MyCroft ! that's a good resource.
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
-
thanks, MyCroft ! that's a good resource.
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
Someone here recommended it and it was so instructive I have it booked marked so I can pass it on. There has been a serious amount of work put into the database structures.
Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP
-
OriginalGriff wrote:
any more than Ham and Pineapple
Do NOT denigrate the great Oz pizza, the Hawaiian, I have no idea of the origin of this pizza but Oz has claimed it apparently
Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP
You are talking about a continent whose major addition to global cuisine is the "meat pie floater": an "unnamed meat" pie in a bowl of pea soup ... :~
Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
-
You first need to decide which database you wish to use. Google will find you many samples, tutorials etc.
Hi Rechard, I am using Microsoft SQL Server to create the database for the cafeteria management system. If you have a link which will help me to refer and to get some tutorial, please, give me the link. Thank you for your help.
-
Hi Rechard, I am using Microsoft SQL Server to create the database for the cafeteria management system. If you have a link which will help me to refer and to get some tutorial, please, give me the link. Thank you for your help.
-
Hi My name is Teame. I want to develop a cafeteria management system using C#. But, I want to compose the consumption and to reduce from master inputs balance. For example, when I want to make an output called pizza, I have to use a potato, tomato, oil, green paper, and so on inputs. Then the inputs I have used should be reduced from the master inputs balance and will made as an output product called Pizza. So, please, help me to how to reduce the input consumption automatically when the waiter orders a Pizza using C#. I would like to say thank you for your support.
I've never seen potato in a pizza before!
========================================================= I'm an optoholic - my glass is always half full of vodka. =========================================================