On the Requisitions screen, you can select a PO Type and create a PO from the requisition. I want to add the same Project Drop-Ship option that is available on the Purchase Orders screen to the Requisitions screen. I’ve added the Project Drop-Ship option to the DDL. When I go to Create Orders, it fails (obviously) because there is no project ID on a requisition. I added UsrProjectID to the RQRequisition table. I clicked Create Orders after selecting my custom DDL item and it looks like the code is “trying” to do what I want, but the Project ID is not provided to action. My thought is that I can override the Create Orders to provide the custom Project ID field I added.
When I look at the code for Create Orders, all the methods that do the work to create a PO are protected. It looks like I would have to practically rewrite the entire code base just to do what I am trying to do.
I think I can do an override on a protected method, but before I dive into copying 1000 lines of code, I’m wondering if that is the only option I have.
I am hoping that by some miracle, someone else has done something similar and can give me advice.
Thanks in advance.