Posted Mon, 18 Nov 2019 14:22:18 GMT by Carlos López Developer
We are building dwControls for importing documents and there is no information about how to set the type of a Numeric (without decimals) Field
The most intuitive way to do this is:

<Field dbName="Total" type="Numeric" value="31" decimalPlaces="0"/>

But it is failing the import with a message similar to 'the type was not found'.

REF: https://support.docuware.com/en-us/knowledgebase/article/KBA-34830
Posted Mon, 18 Nov 2019 14:43:32 GMT by Simon H. Hellmann Toshiba TGIS GmbH | IT-Consultant - Document Management Solutions
Hello Carlos,

the correct way to import numeric fields without decimal places is as following:
  <Field dbName="TOTAL" type="Numeric" value="31" culture="en-US" decimalPlaces="0" /> 

for date and numeric fields, the culture parameter is always required. You should choose the one fitting for your localization.
If you are not sure which one you should use, have a look here: http://help.docuware.com/en/#b62903t59751n92298

Hope this helps.

Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant
 

Posted Mon, 18 Nov 2019 15:02:06 GMT by Carlos López Developer
Oh ok, we thought that culture was optional as a decimal number gets imported right when no culture is specified.

You must be signed in to post in this forum.