yanweiyuan3
2023-08-09 588bc7829387dfc761cc25f06f77d4c81818bd10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Quintiq file version 2.0
#parent: #root
Method ValidateInput (
  output String feedback_o
) as Boolean id:Method_DialogCreateEditInventoryCost_ValidateInput
{
  #keys: '[145730.1.435122148]'
  Body:
  [*
    // Validate inventory cost before saving
    data := DataHolderDialogData.Data();
    return InventoryValueAndCost::ValidateInput( feedback_o,
                                                 DataHolderPISPs.Data(),
                                                 DropDownListAccount.Data(),
                                                 DropDownStringListCostDriver.Text(),
                                                 DateSelectorCostStart.Date(),
                                                 data.TimeUnit(), // Default values are used because no UI elements are built
                                                 data.LengthOfTime(),
                                                 ApplicationMacroPlanner.FormatStringToReal( EditFieldCost.Text() ),
                                                 DataHolderDialogDatas.Data() )
  *]
}