« Return to Thread: Error posting invoice of purchase order

Re: Error posting invoice of purchase order

by Nathan Gray :: Rate this Message:

Reply to Author | View in Thread


On 16-Apr-09, at 11:04 AM, PCS-Lists wrote:

>
>> Unfortunately, again, nothing to do with your original "Invalid
>> account (100) for line: produto 3*" error.
>
> Nathan,
>
> Is It is necessary that the accounts for the invoice have positive  
> balance,

No

> or that the supplier has credit limit available,

No

> or that is a bank account...

No

> something or not I can understand immediately?

If you ran the query I provided, and for every account you tried it
returned a row, then the only thing I can suggest is to step through
perp_ledger/inc/class.GLTransaction.inc.php, the function
set_account(), starting at line 461, and see if you can find out what
exactly causes it to fail.

Nathan Gray
nathan at goarctic dot com


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Perp-developers mailing list
Perp-developers@...
https://lists.sourceforge.net/lists/listinfo/perp-developers

 « Return to Thread: Error posting invoice of purchase order