Quintiq file version 2.0
#parent: #root
Method EnableDisableMaxQuantity (
  Boolean isenable
) id:Method_DialogCreateEditTransitionType_EnableDisableMaxQuantity
{
  #keys: '[146140.2.77830004]'
  Body:
  [*
    // Reset the default max quantity value if it is unchecked
    EditFieldDefaultMaxQty.Text( ifexpr( isenable,
                                         [String] DataHolderDialogData.Data().DefaultMaxQuantity(),
                                         '0' ) );
    EditFieldDefaultMaxQty.Enabled( isenable, '' );
    this.ChangeActionLinkText( EditFieldDefaultMaxQty );
  *]
}
