==== 3.4.2. Enable a custom stored procedure ==== Every custom stored procedure related to Produmex WMS should be called from the PMX_TransactionNotification stored procedure as this stored procedure is executed from all Produmex WMS flows and processes when creating or modifying a document. The SBO_SP_TransactionNotification is only called when creating or modifying a standard SAP document. **1.** Open the custom stored procedure. In this example: PMX_SP_OECTransactionNotification. {{:implementation:5.2.1.png?nolink|Enable a custom stored procedure}} **2.** Select the commented text and copy it to the clipboard (Ctrl+C). **3.** Open the PMX_SP_TransactionNotification for modification. **4.** Paste the text to the PMX_SP_TransactionNotification (Ctrl+V) and uncomment it.\\ Note: If you have an older custom stored procedure, the header of the commented text may say that you should add it to the SBO_SP_TransactionNotification, but it should be added to the PMX_SP_TransactionNotification in this case as well. **5.** Alter the PMX_SP_TransactionNotification with this modification.\\ === Stored procedure call hierarchy === {{:implementation:wms:fancy_flowchart.png?nolink|Stored procedure call hierarchy}}