Quintiq file version 2.0 
 | 
#parent: lsAccountCosts 
 | 
Response OnClick () inherited id:Response_lsAccountCosts_MenuCreate_OnClick 
 | 
{ 
 | 
  #keys: '[145730.0.2090102208]' 
 | 
  BaseType => //BaseFormAccountCosts/Response_lsAccountCosts_MenuCreate_OnClick 
 | 
  DefinitionID => //BaseFormAccountCosts/lsAccountCosts/Responsedef_lsAccountCosts_WebMenu_OnClick 
 | 
  Initiator: 'MenuCreate' 
 | 
  Precondition: 
 | 
  [* 
 | 
    return Form.CanCreate( feedback, DataHolderStockingPoint.Data() ); 
 | 
  *] 
 | 
  QuillAction 
 | 
  { 
 | 
    Body: 
 | 
    [* 
 | 
      // Pick one SP, Open dialog 
 | 
      stockingPoints := construct( StockingPoint_MPs ); 
 | 
      stockingPoint := select( DataHolderStockingPoint.Data(), Elements, sp, not sp.IsSystem() ); 
 | 
      stockingPoints.Add( stockingPoint );  
 | 
      dlg := construct( DialogCreateEditStockingCost ); 
 | 
      dlg.New( Form, stockingPoints, null( Account_MP ) ) 
 | 
    *] 
 | 
    GroupServerCalls: false 
 | 
  } 
 | 
} 
 |