Quintiq file version 2.0
#parent: dh_Paramer_SCustomOrder_FCOS
Response OnDataChanged () id:Response_FrmCustomOrderSpliteRow_dh_Paramer_SCustomOrder_FCOS_OnDataChanged
{
  #keys: '[414724.0.303295647]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      Form.lb_OrderID_FCOS().Text(this.Data().OrderID());
      Form.lb_CustomName_FCOS().Text(this.Data().CustomerName());
      Form.lb_OrderRowNum_FCOS().Text(this.Data().OrderLineID());
      //Form.np_Qty_FCOS().Max(this.Data().Quantity());
      //Form.np_Qty_FCOS().Number(this.Data().Quantity());
      Form.ds_ForcastDate_FCOS().Date(this.Data().EndDate());
      Form.de_splisteDetailsFCOS().FixedFilter( "object.OrderID() = " + this.Data().OrderID().AsQUILL());
      HQty:=sum( MacroPlan,S_DT_SpliteStruct,Obj,Obj.OrderID()=this.Data().OrderID(),Obj.Qty());
      Form.np_Qty_FCOS().Max(this.Data().Quantity()-HQty);
      Form.np_Qty_FCOS().Number(this.Data().Quantity()-HQty);
    *]
  }
}
