limj
2023-09-18 9b1380399c9326124406cc9fdad8e57dcd9062a6
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;
  *]
}