Making Entries In General Ledger

Hi, I’m trying to create an entry in the general ledger. Here below is my code


But an error appears

Can anyone help me with this?