#g4ppinv_markInvoiceAsPaid

 *//////////////////////////////////////////////////////////////*
 * #g4ppinv_markInvoiceAs Paid - Mark Invoice as Paid           *
 *                                                              *
 * Output:                                                      *
 *   out_errMsg - The error message (if error exists).          *
 *                                                              *
 * Returns:                                                     *
 *   -1 for error, 0 for no error.                              *
 *                                                              *
 * Settable Variables ([r]=required)                            *
 *   account - PayPal Account ID [r]                            *
 *   number - Invoice Number. [r]                               *
 *   payment_method - Payment Method [r]                        *
 *     BANK_TRANSFER, CASH, CHECK, CREDIT_CARD,                 *
 *     DEBIT_CARD, PAYPAL, WIRE_TRANSFER, OTHER                 *
 *   payment_date_tz - Payment Date Timezone (Default GMT)      *
 *   payment_date - Payment Date (YYYYMMDD)                     *
 *   payment_time - Payment Time (HHMMSS)                       *
 *   note - Payment Note                                        *
 *   payment_currency_code - Payment Currency Code (Default USD)*
 *   payment_value - Payment Amount                             *
 *   temporary_directory - Temporary directory to use for work  *
 *     files.  Default /tmp.                                    *
 *   reset - Reset Values After Call (*YES or *NO, Default *YES)*
 *   ccsid - The CCSID to use (1208)                            *
 *   debug - Turn on Debug (*NO, *YES)                          *
 *   debug_file - The debug file name.                          *
 *     (/tmp/g4pp_[account]_markInvoiceAsPaid)                  *
 *                                                              *
 *//////////////////////////////////////////////////////////////*
D #g4ppinv_markInvoiceAsPaid...
D                 PR            10i 0
D  out_errMsg                  256    Options(*NOPASS)

#g4ppinv_markInvoiceAsPaid is used to mark an invoice as paid.


Optional Parameters:
  • Error Message (output) - Error message
Settable Variables:
  • account - PayPal Account ID (required)                            
  • number - Invoice Number (required)  
  • payment_method - Payment Method (required)                      
      BANK_TRANSFER, CASH, CHECK, CREDIT_CARD,                
      DEBIT_CARD, PAYPAL, WIRE_TRANSFER, OTHER
  • payment_date_tz - Payment Date Timezone      
  • payment_date - Payment Date (YYYYMMDD)                    
  • payment_time - Payment Time (HHMMSS)                      
  • note - Payment Note                                       
  • payment_currency_code - Payment Currency Code
  • payment_value - Payment Amount                                    
  • temporary_directory - Temporary directory to use for work  files.  Default /tmp.                                    
  • reset - Reset Values After Call (*YES or *NO, Default *YES)
  • ccsid - The CCSID to use (1208)                            
  • debug - Turn on Debug (*NO, *YES, default *NO)                          
  • debug_file - The debug file name (default /tmp/g4pp_[account]_markInvoiceAsPaid)                     
Comments