Inspection Processing -> Corrective Action Error

Folks, has anyone came across this? Not sure why this is happening but here is the issue, no customization/no personalization nothing just base layer:

Inspection Processing Board: Inspected → Failed → Reason Added → Create Corrective Action checkbox marked → Save → DMR created → Corrective Action Window opens. DMR number should be transferred together with Non Conf Number but only DMR number is transferred and it throws error for non conf number: “Invalid NonConformance number”.

I was able to locate the event which is being triggered for this:
For NonConf number it shows “%value%”


However, for DMRNumber it shows:

So, I then created customized layers for both Inspection Processing(overriding app open event for Corrective action and passing the parameters) and Corrective Action. And made the change as follow:

Partially, it works but error still comes up. Once you hit on OK button for error, Non-conformance number appears which was not appearing in Base layer.

I am not sure how to get rid of this error. Is anyone facing this issue?