Answers.Body: <p>You can certainly create a custom group for the contact type "organization" with two custom fields: a yes/no type for defunct and a date type for date defunct. I think that would be your solution.</p>
  
  <p>If you need more information on how to create  custom fields read the user guide here: <a href="https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/" rel="nofollow noreferrer">https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-05T07:54:19.970Z
Answers.LastActivityDate: 2019-03-05T07:54:19.970Z
Answers.UserDisplayName: ErikH - CiviCooP
Answers.Body: <p>Some thoughts.</p>
  
  <p>Since 'is_deceased' is a field on the contact table i wondered what would be the effect of assigning a '1' to an Org.</p>
  
  <p>The record does now show with DECEASED in red after the Display Name</p>
  
  <p>The contact does show up if i search for is_deceased via Adv Search</p>
  
  <p>I then also set an Individual to Deceased.</p>
  
  <p>Neither of them showed email as On Hold nor Comm Pref as Do Not Mail.</p>
  
  <p>When I went to print a PDF records for the Deceased (both Org and Ind) were printed</p>
  
  <p>I got a whitescreen when I tried to do an export using " Exclude contacts with "do not mail" privacy, no street address, or who are deceased."</p>
  
  <p>Some of the above does not gel with my Answer at <a href="https://civicrm.stackexchange.com/questions/17039/what-is-effect-of-marking-contact-as-deceased">What is effect of marking contact as deceased?</a> but I haven't compared with dmaster.</p>
  
  <p>I suspect an extension could make the is_deceased field show for an Organisation and based on above I sense that it would then operate similarly for both Ind and Org (though clearly my testing above didn't give me the outcome i expected for Ind in some cases)</p>
  
  <p>Above was all done on 5.10.3 (ish)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-05T18:42:03.290Z
Answers.LastActivityDate: 2019-03-05T18:42:03.290Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>One of the organizations we work with is defunct now and I'm trying to create a field to capture this info.  It would be great to have similar functions as the Contact is Deceased button (ie, "Deceased" in red by name, taken out of mailings, etc).  </p>
  
  <p>Is that even possible?  What are other ways folks have captured this info?  </p>
  
  <p>Thanks. </p>
  
Tags: <custom-fields>
Title: Trying to create a custom field that works similar to "Contact is Deceased" function
ThreadText: # Trying to create a custom field that works similar to "Contact is Deceased" function
  
  (Asked by: username_0 on 2019-03-04)
  
  One of the organizations we work with is defunct now and I'm trying to create a field to capture this info. It would be great to have similar functions as the Contact is Deceased button (ie, "Deceased" in red by name, taken out of mailings, etc).
  
  Is that even possible? What are other ways folks have captured this info?
  
  Thanks.
  
  **Tags:** custom-fields
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2019-03-05. Score: 1 | Accepted answer
  
  You can certainly create a custom group for the contact type "organization" with two custom fields: a yes/no type for defunct and a date type for date defunct. I think that would be your solution.
  
  If you need more information on how to create custom fields read the user guide here: <https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/>
  
  
  ---
  
  ### Answer by username_2 on 2019-03-05. Score: 2
  
  Some thoughts.
  
  Since 'is\_deceased' is a field on the contact table i wondered what would be the effect of assigning a '1' to an Org.
  
  The record does now show with DECEASED in red after the Display Name
  
  The contact does show up if i search for is\_deceased via Adv Search
  
  I then also set an Individual to Deceased.
  
  Neither of them showed email as On Hold nor Comm Pref as Do Not Mail.
  
  When I went to print a PDF records for the Deceased (both Org and Ind) were printed
  
  I got a whitescreen when I tried to do an export using " Exclude contacts with "do not mail" privacy, no street address, or who are deceased."
  
  Some of the above does not gel with my Answer at [What is effect of marking contact as deceased?](https://civicrm.stackexchange.com/questions/17039/what-is-effect-of-marking-contact-as-deceased) but I haven't compared with dmaster.
  
  I suspect an extension could make the is\_deceased field show for an Organisation and based on above I sense that it would then operate similarly for both Ind and Org (though clearly my testing above didn't give me the outcome i expected for Ind in some cases)
  
  Above was all done on 5.10.3 (ish)
  
  
  ---
  
  