Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

procedure to add new customer invoice addInvoice(customername, employeeName, branchName, invoice_date) then the procedure will check from the exists of customername, employeeName, BranchName by calling there

image text in transcribed

procedure to add new customer invoice addInvoice(customername, employeeName, branchName, invoice_date) then the procedure will check from the exists of customername, employeeName, BranchName by calling there check existsing function for each name and if all of them are exists then a new record will be created with total price equel to zero and the invoceno will be generated using method getNextInvoiceNo() which return the maximum +1, then the method will display the message" one record has been created with invoice No:show the generated invoiceNo her in this message " else display a specific message that show the customer or employee or branch name doesn't exist please re-enter correct names. tables: Items (itemNo, ItemName, Price, total_quantity, catNo), Items_stor_entry(entry_no number primary key,itemNo, entry_date , quantity), Employee (employeeNo, employeeName, job) , branch(No, Name), Customer (customerNo, costomerName, gender), , Invoice (employeeNo, customerNo, total price, invoiceNo, InvoiceDate, branchNo )

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 25th European Conference Adbis 2021 Tartu Estonia August 24 26 2021 Proceedings Lncs 12843

Authors: Ladjel Bellatreche ,Marlon Dumas ,Panagiotis Karras ,Raimundas Matulevicius

1st Edition

3030824713, 978-3030824716

More Books

Students also viewed these Databases questions

Question

4. Identify cultural variations in communication style.

Answered: 1 week ago

Question

9. Understand the phenomenon of code switching and interlanguage.

Answered: 1 week ago

Question

8. Explain the difference between translation and interpretation.

Answered: 1 week ago