I am trying to find documentation on how to create a copy of a Stored Procedure that I can rename and then change the name of some of the fields it updates within.
Ultimately I am trying to make my own custom Customs Invoice Report that runs from the Shipment Master, however the code for updating the Checkbox that the Customs Invoice was printed is embedded in the stored procedure. I am using the Shipment ProForma stored procedure for my customs invoice report so I need to update the Proforma_printed_flag to the Customs_printed_flag which sounds so simple, however I can't figure out how to just create a copy that is not extended or changes the original Shipment Proforma since we still want that to function as well.
Any help would be greatly appreciated!