Hi aalmask, what we do is quite simple, after debug we found that the function autoApproveChangeRequest(); has been called whenever the PO is created from an Approved PR Line. For us we don't need to call this function, so we just comment this out. \Classes\PurchAutoCreate_PurchReq\endUpdate public void endUpdate() { super(); // Calculate discount before purchTable is automatically changed to approval status if (purchTable.ChangeRequestRequired) { purchTable.reread(); if(PurchParameters::find().AutomaticTotalDiscount) { purchTable.updateFinalDisc(); } } //purchTable.autoApproveChangeRequest(); //TING: Comment out to disable Auto Approve }
↧