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

Creating Product Category

0

Hi, I am trying to create Product Category using SOAP API functions.

I am using ProductGroup_CreateFromData() function as follows :

$product_cat = $client->ProductGroup_CreateFromData(array('data' => array(
 
      'Number' => $new_productgroup_id+1,
      'Name' => $category,
      'AccountForVatLiableDebtorInvoicesCurrentHandle' => array('Number' => 4000),
  
      )
 ));
$created_id = $product_cat->ProductGroup_CreateFromDataResult->Number;
 
Here, for the field AccountForVatLiableDebtorInvoicesCurrentHandle, I have used value 4000 ( a dummy value). But I dont know what this field mean and how is affect the system? How to decide what is the correct value for that field. 
created Sep 12, 2014 by Wisdmlabs
100% Accept Rate
Q 4 A 9 C 1

Visma e-conomic A/S
...