Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method GetIsSoftDeleted ( 
 | 
  output Strings feedback_o, 
 | 
  output Strings sanityfeedback_o 
 | 
) declarative remote as Boolean 
 | 
{ 
 | 
  Description: 'For sanity check use, check if soft delete database is flagged.' 
 | 
  TextBody: 
 | 
  [* 
 | 
    isvalid := not this.IsSoftDeleted(); 
 | 
     
 | 
    if( not isnull( feedback_o ) and not isvalid ) 
 | 
    { 
 | 
      feedback_o.Add( SanityCheckMessage::GetFormattedMessage( Translations::MP_CampaignType_Instance( this.Name() ), 
 | 
                                                               Translations::MP_IsSoftDeleted() ) 
 | 
                                                               ); 
 | 
      sanityfeedback_o.Add( SanityCheckCategoryLevel::GetSanityCheckCategoryUnclassifiedError() ); 
 | 
    } 
 | 
     
 | 
     
 | 
    return isvalid; 
 | 
  *] 
 | 
} 
 |