To locate all write offs in the system by company name.
None. This is a selection query and no data is modified in the running of it.
select * from gl
where glaccountid=51
order by entrydatetime