Quintiq file version 2.0
|
#parent: #root
|
Method GetHasValidInput (
|
output Strings feedback_o,
|
output Strings sanitycheckfeedback_o
|
) declarative remote as Boolean
|
{
|
Description: 'Checks if currency has valid input'
|
TextBody:
|
[*
|
feedback := '';
|
sanitycheckfeedback := '';
|
|
isvalid := TransitionType_MP::ValidateInput( feedback,
|
sanitycheckfeedback,
|
this.Unit(),
|
this.FromCampaignType(),
|
this.ToCampaignType(),
|
this.DefaultMinQuantity(),
|
this.DefaultMaxQuantity(),
|
this.DefaultMinDuration(),
|
this.DefaultMaxDuration(),
|
this,
|
false,
|
this.InputType(),
|
this.HasInputMaxQuantity(),
|
this.HasInputMaxDuration() );
|
|
if( not isnull( feedback_o ) and not isvalid )
|
{
|
feedback_o.Add( feedback );
|
sanitycheckfeedback_o.Add( sanitycheckfeedback );
|
}
|
|
return isvalid;
|
*]
|
}
|