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() ) *] }