Error while using PA_EVENT_PUB.CREATE_EVENT API when passing Null as P_PM_PRODUCT_CODE
Oracle EBS Projects Module V 12.2.4
We have several Projects defined in our system with null as PM_PRODUCT_CODE on PA_PROJECTSS_ALL table. For the Projects with a non null value for PM_PRODUCT_CODE, I am able to successfully create Events(PA_EVENTS) and bill them in our system. For the Projects with no Product Code, I keep getting errored out using the PA_EVENT_PUB.CREATE_EVENT API. The Update_EVENT and Delete_Event work just fine with null Product Code (events were already created from EBS forms) but the Create_Event always throws an error when I try to use the API. Any ideas?