Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

By using PL/SQL : You should create and Use this table to help you: Invoice (employee No, customerNo, total price ,invoiceNo,InvoiceDate, branchNo) procedure to add

image text in transcribed
By using PL/SQL : You should create and Use this table to help you: Invoice (employee No, customerNo, total price ,invoiceNo,InvoiceDate, branchNo) procedure to add new customer invoice addlnvoice(customername,employeeName, branchName, invoice_date) then the procedure will check from the exists of customername, employee Name, Branch Name 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 FUNCTION getrextinvoiceNo which return the maximum +1, then the method will display the message " one record has been created with invoice No:show the generated invoice No her in this message " else display a specific message that show the customer or emplovee or branch name doesn't exist please re-enter correct names

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions