Error Message

I keep getting an error message when I submit this check - Here is the error message:

Error: Check Update Failed: Can’t call method “id” on an undefined value at /home/Cetec-ERP/lib/Cetec/Reboot/Schema/ResultSet/GLEntry.pm line 5472.

Here is the program - under the check register