Question: Create a stored procedure named prc_inv_amounts to update the INV_SUBTOTAL, INV_TAX, and INV_TOTAL. The procedure takes the invoice number as a parameter. The INV_SUBTOTAL is
Create a stored procedure named prc_inv_amounts to update the INV_SUBTOTAL, INV_TAX, and INV_TOTAL. The procedure takes the invoice number as a parameter. The INV_SUBTOTAL is the sum of the LINE_TOTAL amounts for the invoice, the INV_TAX is the product of the INV_SUBTOTAL and the tax rate (8%), and the INV_TOTAL is the sum of the INV_SUBTOTAL and the INV_TAX.
Step by Step Solution
3.43 Rating (175 Votes )
There are 3 Steps involved in it
CREATE OR REPLACE PROCEDURE PRCINVAMOUNTS WIN IN NUMBER AS WCHK NUMBER 0 WSUBT NUMBER 0 W... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
358-CS-DB (736).docx
120 KBs Word File
