Solved

Custom Event, ORA-01722 Invalid Number

  • 8 December 2022
  • 1 reply
  • 285 views

Badge +4

Hi,

 

I’m working with a customer on NCR’s and they want to prevent NCR’s from moving into Released status unless the NCR is connected to an object.

 

I can up with this event action:

And it works when an NCR isn’t connected to a Project. For example, the test NCR 120822-3 throws the error that I'm looking for when I try to release it:

 

However, after connecting the NCR to a project:

I get this error message:

 

And I’m not really sure why. When I run my select statement in Oracle I can see that it’s evaluating to 1:

So, right now I’m at a bit of a loss and I’m hoping someone can help me figure out how to get this over the finish line.

icon

Best answer by eqbstal 9 December 2022, 08:00

View original

1 reply

Userlevel 7
Badge +21

@TODDUNCLIFFE,

Should there not be single quotes around &NEW:NCR_NO? in the event. At least that I what normally do.

Steve

Reply