Quintiq file version 2.0
|
#parent: #root
|
Method GetHasValidInput (
|
output Strings feedback_o,
|
output Strings sanitycheckfeedback_o
|
) declarative remote as Boolean
|
{
|
Description: 'Checks if recipe ingredient has valid input'
|
TextBody:
|
[*
|
// ying ying Nov-05-2014 (created)
|
feedback := '';
|
sanitycheckfeedback := '';
|
|
|
isvalid := BaseRecipeIngredient::ValidateInput( feedback,
|
sanitycheckfeedback,
|
this,
|
this.Minimum(),
|
this.Maximum(),
|
this.Nominal() );
|
|
if( not isnull( feedback_o ) and not isvalid )
|
{
|
feedback_o.Add( feedback );
|
sanitycheckfeedback_o.Add( sanitycheckfeedback );
|
}
|
|
return isvalid;
|
*]
|
}
|