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

Change 'Your reference' to nothing by Order_SetYourReference

0
Hello

I need to change an orders 'your reference' to nothing via XML/SOAP and i have tried
Order_SetYourReference in these two ways:

Order_SetYourReference(array('orderHandle' = array('Id' = 200), 'valueHandle' = array('Id' = '')));

Order_SetYourReference(array('orderHandle' = array('Id' = 200), 'valueHandle' = array('Id' = 0)));

And none of it works. Is it not possible to reset an orders 'Your reference'?

I know it is possible in E-conomic by clearing the value in the input field that represents your ref. and then pressing the OK button.
created Mar 4, 2013 by hmsmax
0% Accept Rate
Q 1 A 0 C 0

1 Answer

0
Hi,

It seems like it is PHP code you are using and I am not entirely sure of the syntax in PHP, but what you would like to do is to set the YourReference to null.

Something like this I assume:

Order_SetYourReference(array('orderHandle' = array('Id' = 200), 'valueHandle' = array(NULL)));
answered Mar 7, 2013 by nkn
Visma e-conomic A/S
...