function getByTypeArrayByCompanyIdAndStatusId($company_id, $status_id)
 {
     $psealf = new PayStubEntryAccountListFactory();
     $psealf->getByCompanyIdAndStatusId($company_id, $status_id);
     $pseallf = new PayStubEntryAccountLinkListFactory();
     $pseallf->getByCompanyId($company_id);
     if ($pseallf->getRecordCount() == 0) {
         return FALSE;
     }
     $psea_type_map = $pseallf->getCurrent()->getPayStubEntryAccountIDToTypeIDMap();
     if ($psealf->getRecordCount() > 0) {
         foreach ($psealf as $psea_obj) {
             $entry_name_list[$psea_obj->getType()][] = $psea_obj->getId();
         }
         foreach ($entry_name_list[40] as $key => $entry_name_id) {
             if (isset($psea_type_map[$entry_name_id])) {
                 $tmp_entry_name_list[$entry_name_id] = $entry_name_list[$psea_type_map[$entry_name_id]];
             }
         }
         return $tmp_entry_name_list;
     }
     return FALSE;
 }