« Return to Thread: Error posting invoice of purchase order

Error posting invoice of purchase order

by PCS-Lists :: Rate this Message:

Reply to Author | View in Thread

Hello,

when invoicing a PO, after received it, I selected GL accounts for each line of the invoice and save. when I try to post this invoice appears the error:
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] PHP Warning:  sprintf() [function.sprintf]: Too few arguments in /usr/share/egroupware/perp_ap/inc/class.PayableInvoice.inc.php on line 50, referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list                                                         
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] An error happend: Invalid account (100) for line: produto 3*, referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list       
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #0 /usr/share/egroupware/perp_api/inc/class.InvoiceLine.inc.php(156): GLTransaction->add_line('100', 'produto 3', '305.300'), referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list                       
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #1 /usr/share/egroupware/perp_ap/inc/class.PayableInvoice.inc.php(62): InvoiceLine->post(Object(GLTransaction)), referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list                                   
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #2 /usr/share/egroupware/perp_ap/inc/class.ui_perp_payable_invoice.inc.php(325): PayableInvoice->post(), referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list                                           
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #3 /usr/share/egroupware/perp_api/inc/class.ui_perp_invoice.inc.php(137): ui_perp_payable_invoice->handle_action('post', 7), referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list                       
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #4 /usr/share/egroupware/perp_ap/inc/class.ui_perp_payable_invoice.inc.php(37): ui_perp_invoice->list_update(Array), referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list                               
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #5 [internal function]: ui_perp_payable_invoice->invoice_list(Array), referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #6 /usr/share/egroupware/phpgwapi/inc/common_functions.inc.php(821): call_user_func(Array, Array), referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list                                                 
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #7 /usr/share/egroupware/etemplate/inc/class.etemplate.inc.php(517): ExecMethod('perp_ap.ui_perp...', Array), referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list                                       
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #8 [internal function]: etemplate->process_exec(), referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list                   
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #9 /usr/share/egroupware/phpgwapi/inc/common_functions.inc.php(821): call_user_func(Array), referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list                                                         
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #10 /usr/share/egroupware/etemplate/process_exec.php(24): ExecMethod('etemplate.etemp...'), referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list                                                         
[Mon Apr 13 14:16:33 2009] [error] [client 192.168.4.5] #11 {main}, referer: http://skmmaua.dyndns.biz/egroupware/index.php?menuaction=perp_ap.ui_perp_payable_invoice.invoice_list


I've tested with four or five different GL accounts, that belong to different sequences, groups and sections but the error is always similar.

Does it make sense?

 « Return to Thread: Error posting invoice of purchase order