Pseudo-Algorithm for ValidQuote

  1. Get the Quote and Quote Item business component. Create a variable invalidFlag=N.

  2. For each record in the Quote Item business component, check the Base Price field:

    If this field is empty, set invalidFlag = Y and set the Invalid Flag field = Y for that record.

  3. Set the Invalid output argument = invalidFlag.

  4. Set the Error Message output argument if there is any error;

    If Return Error Code = N, do not return an error;

    Else return an error.