| Quintiq file version 2.0 | 
| #parent: #root | 
| Method GetHasSameUOM ( | 
|   output Strings feedback_o, | 
|   output Strings sanitycheckfeedback_o | 
| ) declarative remote as Boolean | 
| { | 
|   Description: 'Check if all routing input in routing input set has the same UOM.' | 
|   TextBody: | 
|   [* | 
|     // kent March-21-2016 (created) | 
|     feedback := ''; | 
|     sanitycheckfeedback := ''; | 
|      | 
|     pisps := selectset( this, OperationInput.ProductInStockingPoint_MP, pisp, true ); | 
|      | 
|     isvalid := this.CanAddProducts( feedback, sanitycheckfeedback, pisps ); | 
|      | 
|     if( not isnull( feedback_o ) and not isvalid ) | 
|     { | 
|       feedback_o.Add( feedback ); | 
|       sanitycheckfeedback_o.Add( sanitycheckfeedback ); | 
|     } | 
|      | 
|     return isvalid; | 
|   *] | 
| } |