Quintiq file version 2.0 #parent: SplitterWnd1/MatrixEditorSupply Response OnCreateValue ( Real value, Operation row, Period_MP column ) id:Response_SplitterWnd1_MatrixEditorSupply_OnCreateValue { #keys: '[110880.8.1141991702]' Body: [* // Create supplies for the selected cell selectedpisp := select( DataHolderProductInSPIP.Data(), Elements.ProductInStockingPoint_MP, pisp, exists( pisp, ProcessOutput.AsProcessOutput, process, process = row ) ); pispip := select( selectedpisp, ProductInStockingPointInPeriod, p, p.Period_MP() = column ); if( not isnull( pispip ) ) { pispip.CreateUpdateOperationNewSupplies( row, value ); } *] CanBindMultiple: false DefinitionID: 'Responsedef_MatrixEditor_OnCreateValue' Precondition: [* // The new supply or dependent demand which falls outside planning horizon is considered invalid return row.CanCreateSupply( feedback, column ); *] }