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

How to change the layout to UK, when create new customer

0
Hi,

How to change the layout to UK, when create new customer. See my code below:


//$term_of_Collection_name = DK std m girokort 14;
$term_of_Collection_name = UK;
$TemplateCollectionHandle = $client-TemplateCollection_FindByName(array('name' = $term_of_Collection_name))-TemplateCollection_FindByNameResult-TemplateCollectionHandle;

          $client-Debtor_Create(array(
                        'number'            = $number,
                        'debtorGroupHandle' = $DebtorGroup,
                        'name'              = $company_name,
                        'vatZone'           = 'HomeCountry',
                        'LayoutHandle'     = $TemplateCollectionHandle))-Debtor_CreateResult;


But, the Layout, i cannot change value to UK when i create a new customer.

Anybody could help me take a look the code. where is wrong?

Thanks a lot.
created Aug 10, 2012 by ciman
0% Accept Rate
Q 2 A 0 C 0

Visma e-conomic A/S
...