Quintiq file version 2.0 #parent: #root Method New () id:Method_DialogCreateEditSalesDemand_New { #keys: '[136682.1.803157119]' Body: [* // New Sales demand owner := select( DataHolderProduct.Data(), Elements, e, not e.IsSystem() ); data := owner.SalesDemand( relshadow, Forecast, ID := "" ); // Temporary set ID to empty, will be set during OnOK DataHolderDialogData.Data( &data ); Form.SetDefaultValue(); ApplicationMacroPlanner.ShowFormModal( Form ); *] }