This content has been marked as final. Show 3 replies
you can try to override the controller. After the super controller finishes its call, get the webbean and set the value(invalid value).
Or Make the requester field a mandatory field and After the super controller finishes its call, get the webbean and set the value to null.
I checked the requester_id in the database (to_person_id) at various points in the checkout process and POR_CUSTOM_PKG is setting the it correctly to -1. However, the value is getting updated to the buyer when the requisition is retrieved into the cart (Save req, click on Requisitions tab, click on the incomplete req, click Complete button,"..items in cart, continue?...", click yes).
How do I find the code that updates the requester id when displaying the cart? POR_CUSTOM_PKG.custom_validate_req_line doesn't have any code related to the requester_id.
defaulting will be done based on the helpers. Helper logic needs to be changed which is quite complex. Its better to extend the controller and do it.