Skip to main content

Dimension types

Find

Web service type: Method driven

Resource location: /webservices/finder.asmx?wsdl

Method

public Message[] Search(
string type, // Finder type, See Finder type.
string pattern, // The search pattern. May contain wildcards * and ?
int field, // Fields to search through, see Search fields.
int firstRow, // First row to return, usefull for paging
int maxRows, // Maximum number of rows to return, usefull for paging
string[][] options, // See options below
out FinderData data) // Search results

Finder type

DMT

Search fields

Field IDFields searched
0code and name
1code
2name

The method will return an array containing validation messages. If there are no errors, then the data parameter will contain the actual search result.

Options

OptionTypeDescription
office«office code»Restricts to the office.
dim«dimension code»Restricts to the type of the specified dimension.
finlevelenumeration: 1, 2, 3, 4, 5, 6Specifies the Financial level.

Read

Web service type: XML Web Services

XML

Below example reads the balance (BAS) dimension type settings for office 001.

<dimensiontype>
<office>001</office>
<code>BAS</code>
</dimensiontype>

If the dimension type does not exist an empty dimensiontype element is returned containing an error.

Element name: code

codevalues
BASBalancesheet
PNLProfit and Loss
CRDAccounts Payable
DEBAccounts Receivable
KPLCost centers
ASTAssets
PRJProjects
ACTActivities

Update

Root

Element name: dimensiontype

NameTypeDescription
officecodeOffice code.
codecodeDimension type.
namestring(40)Dimension type name.
shortnamestring(20)Dimension type short name.
maskstring(80)Dimension type mask.
levelsnodeContains the several levels of the dimensions linked to the dimension type.
addressnodeContains labels for the address lines.

Levels

Element name: levels

NameTypeDescription
financialsintegerRead-only attribute. Financial level.
timeintegerRead-only attribute. Level in time & expenses.
fixedassetsNot in use.
invoicesNot in use.

Address labels

Element name: address

NameTypeDescription
label1string(20)Address labels, description of field1 in the dimension address element.
label2string(20)Address labels, description of field2 in the dimension address element.
label3string(20)Address labels, description of field3 in the dimension address element.
label4string(20)Address labels, description of field4 in the dimension address element.
label5string(20)Address labels, description of field5 in the dimension address element.
label6string(20)Address labels, description of field6 in the dimension address element.

XML

<dimensiontype>
<office>001</office>
<code>DEB</code>
<mask>1####</mask>
<name>Accounts Receivable</name>
<shortname>AR</shortname>
<address>
<label1/>
<label2>Address</label2>
<label3>Postal address</label3>
<label4>VAT number</label4>
<label5>COC number</label5>
<label6/>
</address>
<levels>
<financials>2</financials>
<time>0</time>
<fixedassets>0</fixedassets>
<invoices>0</invoices>
</levels>
</dimensiontype>