| Quintiq file version 2.0 | 
| #parent: #root | 
| Method GetHasMatchedUserAvailableSupply ( | 
|   output Strings feedback_o, | 
|   output Strings sanitycheckfeedback_o | 
| ) declarative remote as Boolean | 
| { | 
|   Description: 'Check if this pipsip either has no available user supply or if the user available supply matches the real supply' | 
|   TextBody: | 
|   [* | 
|     isvalid := not this.GetHasMisMatchAvailableUserSupply(); | 
|      | 
|     if( not isnull( feedback_o ) and not isvalid ) | 
|     { | 
|       rounding := this.MacroPlan().GlobalParameters_MP().NumberOfDecimals(); | 
|       instance := ProductInStockingPointInPeriod::GetInstanceText( this ); | 
|       message := Translations::MP_ProductInStockingPointInPeriod_ViolateHasMatchedTotalAvailableSupplyUser( this, rounding );  | 
|      | 
|       feedback_o.Add( SanityCheckMessage::GetFormattedMessage( instance, message ) ); | 
|       sanitycheckfeedback_o.Add( SanityCheckCategoryLevel::GetSanityCheckCategoryPlanningIssue()); | 
|     } | 
|      | 
|     return isvalid; | 
|   *] | 
| } |