Error on filling items on Sales Order

View: New views
3 Messages — Rating Filter:   Alert me  

Error on filling items on Sales Order

by agb80 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

First, let me tell you that your soft it's awesome. Thanks for all the great job.

Now, let me tell you about two problems I came from using the 1.6 egroupware Trunk version and the last svn perp revisio (4076):

When I try to go into the AP Settings I get the following error message:

PHP Parse error:  syntax error, unexpected T_STRING in /opt/egroupware/perp_ap/inc/order_methods/MinMax.inc.php on line 89.

Just for make the app work and finish the config I comment the 89 and 90 lines:

GROUP BY perp_location_stock.stock_id
HAVING quantity_ordered > 0';

But the real big problem it's on the Sales Order app. After config the clients, sales area, sales types, price list, etc. I go into the New Sales Order and when try to add an item to the order, the dropdown list comes but the click do not auto fill the item information.

I have try filling the information manually, but the system dosn't seems to recognize the infor because trought the following errors on a orange square on the top of the screen:

  • Couldn't add line, no stock item selected
  • Empty order. Orders need at least one OrderLine.

I have being searching around the list but could't find anything related that could help me. By the way and in case you need it, all the other dropdown lists and auto fill functions works good.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Perp-developers mailing list
Perp-developers@...
https://lists.sourceforge.net/lists/listinfo/perp-developers

Re: Error on filling items on Sales Order

by Nathan Gray-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/7 Agustín Cruz Lozano <agustin.cruz@...>:
> First, let me tell you that your soft it's awesome. Thanks for all the great
> job.

Thanks.

> ...
> PHP Parse error:  syntax error, unexpected T_STRING in
> /opt/egroupware/perp_ap/inc/order_methods/MinMax.inc.php on line 89.

Fixed, (rev 4077) thanks for reporting it.

> ...
> But the real big problem it's on the Sales Order app. After config the
> clients, sales area, sales types, price list, etc. I go into the New Sales
> Order and when try to add an item to the order, the dropdown list comes but
> the click do not auto fill the item information.

So you do get a list of items for sale to the selected client?
This sounds like an AJAX error.  The easiest way to figure out what
went wrong is to use Firefox with the Firebug plug-in.
Check the Console tab after selecting the inventory item, it should
have the actual communication that is supposed to fill the
information.  I need the response please, it will probably have an
error message in it that I need.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Perp-developers mailing list
Perp-developers@...
https://lists.sourceforge.net/lists/listinfo/perp-developers

Parent Message unknown Re: Error on filling items on Sales Order

by Nathan Gray-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/9 Agustín Cruz Lozano <agustin.cruz@...>:

>  Hello Nathan,
>
> Yes, I get the list of items to select. I'm doing what you ask me whit
> firebug and notice that when I select the items on the Client box, for
> example, two instances of POST http://server/egroupware/xajax.php are
> generating; the first one generates when introduce any character for make
> the search, and the second one on the click over the selected item.
>
> When make the same inspection on the item select box from the New Sales
> form, only the fist instance it's generating, nothing generate when make
> click.
>
> Hope this could be helpfull, but if you need anything else just ask.

That is helpful, but I cannot duplicate this on the demo site.
Are there any JavaScript or other errors when you create the new sales order?

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Perp-developers mailing list
Perp-developers@...
https://lists.sourceforge.net/lists/listinfo/perp-developers