API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

setUnitCostPrice

0
Hey

                                   
This line works fine
$client-CurrentInvoiceLine_SetUnitNetPrice(array('currentInvoiceLineHandle' = $newCurrentInvoiceLineHandle, 'value' = $rowlinie[pris]));
               

This line don't work
$client-CurrentInvoiceLine_SetUnitCostPrice(array('currentInvoiceLineHandle' = $newCurrentInvoiceLineHandle, 'value' = $costprice));

The error message says: Function (CurrentInvoiceLine_SetUnitCostPrice) is not a valid method for this service
but i the documentation it says that it can be done.

can somebody tell me why?
created Aug 15, 2012 by bahn
0% Accept Rate
Q 10 A 10 C 5

Network

Find all the documentation and resources you need to build great apps.
Go to Developer site

Newsletter

Get the latest news and important info from the e-conomic developer world.
Sign up now

Visma e-conomic A/S
...