Quintiq file version 2.0 #parent: #root Method ValidateInput ( output String feedback_o ) as Boolean id:Method_DialogCreateEditSupplyCost_ValidateInput { #keys: '[145730.1.1215147582]' Body: [* // Validate supply cost uniqueness when create/edit account := guard( ddlAccount.Data(), null( Account_MP ) ); costDriver := guard( account.DefaultCostDriver(), '' ); sanityfb := ''; InventorySupplyCost::ValidateInput( feedback_o, sanityfb, account, costDriver, dsContentDate.Date(), '', // Irrelevant for supply cost 1, // Irrelevant for supply cost ApplicationMacroPlanner.FormatStringToReal( EditFieldCost.Text() ), DataHolderOwners.Data(), DataHolderDialogDatas.Data() ); return feedback_o = ''; *] }