SQLitePlugin with changes for AgroOfficeM