To prevent this from occurring, it's possible to put a business rule in place:

1. In Accounts Payable > Configuration > Business rules, select Requisition
2. For "Require a General Ledger account distribution" select Before each requisition line item is saved.