Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weberp.xmlrpc_StockAdjustment API throws error 500 when called #24

Closed
minhnguyen-ew opened this issue Mar 29, 2018 · 4 comments
Closed

Comments

@minhnguyen-ew
Copy link

I am using Java for communicating with the WebERP XML-RPC API. Call the above API and I receive the error 500 with this log.

[Thu Mar 29 09:49:17.788294 2018] [:error] [pid 30695] [client 115.79.192.118:41532] PHP Fatal error: Call to undefined function GetNextTransactionNo() in /var/www/html/jio/api/api_stock.php on line 809

I am using version 4.14.1 downloaded from SourceForge.

@andrewcouling
Copy link
Contributor

I recommend that you post your query on the WebERP support forum here: http://www.weberp.org/forum/

@timschofield
Copy link
Owner

Try changing the GetNextTransactionNo references to GetNextTransNo in api_stock.php.

@andrewcouling I am told you can sometimes wait days to get your account on the forum.

Tim

timschofield added a commit that referenced this issue Mar 29, 2018
Files Changed:
api/api_debtortransactions.ph
api/api_stock.php
api/api_workorders.php
Correct function call from GetNextTransactionNo() to GetNextTransNo()
Change variable names to conform to coding standards
Change code layout to conform to coding standards
Fixes issue no #24 see - #24
@timschofield
Copy link
Owner

I have fixed this issue, you need to download the following files from here:
api/api_debtortransactions.php
api/api_stock.php
api/api_workorders.php
Do not download the whole repo as the xmlrpc library is broken.

Tim

@minhnguyen-ew
Copy link
Author

Work flawlessly now, thanks.

TurboPT added a commit to TurboPT/webERP-svn that referenced this issue Mar 31, 2018
TurboPT added a commit to webERP-team/webERP that referenced this issue Mar 31, 2018
timschofield pushed a commit that referenced this issue Apr 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants