Jump to content

GenInvoices API Function Broken, been waiting 10 days for a fix.


Recommended Posts

Matt,

 

I've had a ticket open for 10 days now with no response, i'm not normally one to go public on a forum about it but i'm starting to get irritated at the lack of response. My two tickets have been merged which means somebody has looked at them but for some reason nobody is giving me any response or update! I'm trying to be patient.

 

The API function for GenInvoices looks to be broken in 5.1.2, the function creates invoices like it should but fails to return the invoice id that was created. I need this fixed asap!

 

PHP Code

$result = localAPI( 'GenInvoices', array('userid' => $_SESSION['uid'], 'serviceids' => $invoiceproductids), 1);

 

Output Result

array(2) { ["result"]=> string(7) "success" ["numcreated"]=> string(0) "" } 

 

I'm assuming the key/value pair of numcreated should be the invoiceid that was just created, but it's empty.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated