Quintiq file version 2.0 
 | 
#parent: pnlRecord/cbRecord 
 | 
Response OnChanged () id:Response_pnlRecord_cbRecord_OnChanged 
 | 
{ 
 | 
  #keys: '[146874.1.152948064]' 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_WebCheckbox_OnChanged' 
 | 
  QuillAction 
 | 
  { 
 | 
    Body: 
 | 
    [* 
 | 
      Form.EnableDisableRecord(); 
 | 
       
 | 
      // Changes to 24 hours if is checked 
 | 
      if( this.Checked() ) 
 | 
      { 
 | 
        dsRecord.Duration( Duration::Hours( 24 ) ); 
 | 
      } 
 | 
      else 
 | 
      { 
 | 
        dsRecord.Duration( Duration::Zero() ); 
 | 
      } 
 | 
    *] 
 | 
    GroupServerCalls: false 
 | 
  } 
 | 
} 
 |