1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method DisableCreate ( 
 |    output String feedback_o 
 |  ) as Boolean id:Method_FormSupplyCosts_DisableCreate 
 |  { 
 |    #keys: '[145730.1.1218001599]' 
 |    Body: 
 |    [* 
 |      // Disable Create menu as more intuitive for user to create supply cost via drag and drop external supply onto account 
 |      // Reason being: External supply has specific start, thus create via menu would be too 'free-form' as user unnecessarily need to 
 |      // select same start date as an external supply (not intuitive) 
 |      feedback_o := Translations::MP_AccountCost_SupplyCost_CreateViaDragAndDrop(); 
 |      return false; 
 |    *] 
 |  } 
 |  
  |