CurrentInvoice_CreateFromDataArray

Forum for .PHP developers using the E-conomic API.
Exchange your ideas, tip and tricks using the API.
Best Practices

CurrentInvoice_CreateFromDataArray

Postby Hansen » Mon Feb 14, 2011 12:54 pm

Hi.

I'm trying, to change my script, so that i create e large number of invoices, using CurrentInvoice_CreateFromDataArray.
My script runs like this.

1. Create DataArray holding CurrentInvoices.
2. Create DataArray holding CurrentInvoicesLines.
3. Call CurrentInvoice_CreateFromDataArray();
4. CurrentInvoiceLine_CreateFromDataArray();

Everything seems to work fine, but i'm a little unsecure about, the InvoiceHandle in CurrentInvoiceLine_CreateFromDataArray();

I'm not sure that the CurrentInvoiceLines are created to the right CurrentInvoice.

I have worked with e-cononmics api for 14 days now, and i have to say it's brilliant, but love a little more dokumentation. I have to use a lot og try and errors, to get it to work, but when it works.........damn its good.

All the very best

To all of you
The CurrentInvoices are not created with the Handle i specify, the are Created with Handle supplied, by E-conomics.

I'm trying to build the script, using as few call to the API as possible.
-
Hansen
 
Posts: 4
Joined: Tue Jan 11, 2011 11:35 pm

Return to PHP



cron