Quintiq file version 2.0
#parent: ListNewSupply
Response OnClick (
  structured[NewSupply] selection
) id:Response_ListNewSupply_MenuEditNewSupply_OnClick
{
  #keys: '[112884.1.1364587129]'
  Body:
  [*
    // Edit product in trip
    dlg := construct( DialogCreateEditProductInTrip );
    productintrips := selectset( selection, Elements.ProductInTrip, pit, true );
    dlg.EditProductInTrip( this, productintrips );
  *]
  CanBindMultiple: false
  DefinitionID => /ListNewSupply/Responsedef_ListNewSupply_Menu_OnClick
  Initiator: 'MenuEditNewSupply'
  Precondition:
  [*
    return forall( selection, Elements, ns, ns.IsNewSupplyOfTrip() );
  *]
  UserRequiresReadWrite: true
}
