#g4ppinv_addCC

 *//////////////////////////////////////////////////////////////*
 * #g4ppinv_addCC - Add a CC to the Invoice                     *
 *                                                              *
 * Input:                                                       *
 *   in_email (required) - The email of the CC Recipient        *
 *                                                              *
 * Output:                                                      *
 *   out_errMsg - The error message (if error exists).          *
 *                                                              *
 * Returns:                                                     *
 *   -1 for error, n for the current cc index                   *
 *                                                              *
 *//////////////////////////////////////////////////////////////*
D #g4ppinv_addCC...
D                 PR            10i 0
D  in_email                    260    value
D  out_errMsg                  256    Options(*NOPASS)

#g4ppinv_addCC is used to ad a CC record to an invoice.

Returns: 0 for success, -1 for error.

Required Parameters:

  • Email Address (input)

Optional Parameters:

  • Error Message (output) - Error message