Error in Save Actions

Error in Save Actions

  
I have my application that under "Pawn" it has the basic info and then where they could input "Items" info in a table like in the Expense application provided by outsystems. When I click save I get the error :"outsystems"."DBO"."OSUSR_WMZ_PAWN1" with key 0 was not found
I have checked everything that I know to think of and can't find any issues in my Save Button commands. I will attach my .oml, an help or suggestion are greatly appreacated.

Michael Smith
I had a look at the OML and my guess is the problem is in the GetPawn action invocation you have 2/3 of the way down the Save screen action. You will be passing NullIdentifier() to it on a new record. Are you sure you don't want to pass in CreateorUpdatePawn_Custom.PawnId  instead of PawnId there?

Cheers,


Miguel
That solved it  Miguel and thank you very much.

Michael Smith