Quintiq file version 2.0
#parent: MatrixEditor951
Response OnUpdateValue (
  OfflinePlanRow row,
  OfflinePlanColumn column,
  OfflinePlanCell cell,
  String value,
  String oldvalue
) id:Response_MatrixEditor951_OnUpdateValue
{
  #keys: '[413988.0.1362713696]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMatrixEditor_OnUpdateValue'
  Precondition:
  [*
    return not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      if ( row.Type() = "1" and column.ColumnDate() >= MacroPlan.StartOfPlanning().Date() ) {
        cell.IsQuantityChange( true );
        cell.Value( value );
        cell.Quantity( [Real]value );
      } else if ( row.Type() = "2" and column.ColumnDate() >= MacroPlan.StartOfPlanning().Date() ) {
        cell.Value( value );
      }
    *]
    GroupServerCalls: false
  }
}
