Quintiq file version 2.0
#parent: DataHolderFocusedSP
Response OnReadView () id:Response_ApplicationLibMacroPlanner_DataHolderFocusedSP_OnReadView
{
  #keys: '[107654.0.308490315]'
  Body:
  [*
    //Restore the drilled sp
    key := viewdata.Data();
    if( key <> '' )
    {
      stockingpoint := select( MacroPlan, StockingPoint_MP, sp, sp.Key().AsQUILL() = key );
      this.Data( stockingpoint );
    }
  *]
  DefinitionID: 'Responsedef_GUIComponent_OnReadView'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
}
