I keep getting this error when I try and run this script. It has run just fine for several days. It is in a Google Docs Spreadsheet.
TypeError: Cannot call method \"
Have you checked the return value of ss.getSheetByName("PO Form"). It is most likely null. You also have a class level variable namedss and method variables named ss as well. This sort of shadowing can lead to problems if you're not very careful.
ss.getSheetByName("PO Form")
null
ss