Pseudo-Algorithm for SetBusCompFields

  1. Get the required inputs to get an instance of the business component.

  2. Get the search specification fields:

    If they are passed, then set the search specification on the business component.

  3. Query the business component if it has not been queried or if the search specification is passed.

  4. Go through all the input arguments for <Field Name n> and set the value to the business component.

  5. Write to the record.