#g4ppinv_createBilling

 *//////////////////////////////////////////////////////////////*
 * #g4ppinv_createBilling - Create a Billing Record             *
 *                                                              *
 * Output:                                                      *
 *   out_errMsg - The error message (if error exists).          *
 *                                                              *
 * Returns:                                                     *
 *   -1 for error, n for current Billing Index.                 *
 *                                                              *
 *//////////////////////////////////////////////////////////////*
D #g4ppinv_createBilling...
D                 PR            10i 0
D  out_errMsg                  256    Options(*NOPASS)

#g4ppinv_createBilling is used to create a billing record for the invoice you are working with. This must be called prior to adding a new billing records and using the #g4ppinv_setBillingValue() function.

Returns: Current Billing Index for success, -1 for error.

Optional Parameters:

  • Error Message (output) - Error message