Quintiq file version 2.0
#parent: ListSalesLevel_593
Response OnDrawElement (
  SalesLevel_MP element
) id:Response_ListSalesLevel_593_OnDrawElement
{
  #keys: '[135040.0.162005730]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebList_OnDrawElement'
  QuillAction
  {
    Body:
    [*
      // Draw a selected sales level
      if( not isnull(  element.AsLast() ) )  //check AsLast instead of "= MacroPlan.ActiveSalesLevel()" because binding on MacroPlan is not triggered
      {
        drawinfo.Image(0, "CHECK2");
      }
      else
      {
        drawinfo.Image(0, "EMPTY");
      }
    *]
    GroupServerCalls: false
  }
}
