Import Inventory "Holding tables", October 28, 2013

Source data

TypeH2
Table or viewINVENTORY

How is this link constructed?

Client conducts the export or view
The link operates on an export or view of your application's database. This export or view is conducted by your organization, with assistance from a third party if necessary. This should be planned in a timely manner by your in-house database specialist (or third party) in the case of a version upgrade of your source application. If needed, this person can update the export or view for the new version of your application.

Unique keys

Source fieldTOPdesk
OBJECT_IDObject ID

Source filters

No source filters have been defined for this import

Miscellaneous settings

Automatically archiveNo
Automatically activateYes
Add new cardsYes

Field mappings

TOPdeskTypeLengthSourceTypeLengthOverwriteDefault value
Notestext0NOTEStext0When the source is filled
Depreciationinteger0DEPRECIATIONinteger0When the target is empty
Budget holdertext60BUDGET_HOLDERtext60When the target is empty
Link field: Budget holder
Configuration IDtext30CONFIGURATION_IDtext30Always
Link field: Configuration ID (Link as: Configuration)
Source expression: IIF(LOCATION_LINK = 2, CONFIGURATION_ID, .NULL.)
Suppliertext60SUPPLIERtext60When the target is empty
Link field: Name
Maketext100MAKEtext100Always
Link field: Object Make
Persontext100PERSONtext100Always
Link field: Network Login Name
Source expression: IIF(LOCATION_LINK = 6, PERSON, .NULL.)
Location Linkinteger0LOCATION_LINKinteger0Always
Use 2 for Configuration, Use 6 for Person
Typetext30OBJECT_TYPEtext30Always
Link field: Object Type
Card Typeinteger0text0Always
Source expression: IIF(LOWER(STATUS) = 'archived', -1, 1)
Archive when status equals 'Archived'
Statustext30STATUStext30When the source is filled
Link field: Status
Order Numbertext30ORDER_NUMBERtext30When the target is empty
Purchase Datedate0PURCHASE_DATEdate0When the target is empty
Warranty Endsdate0WARRANTY_EXPIRESdate0When the source is filled
Insured Untildate0INSURED_UNTILdate0When the source is filled
Purchase Pricebigdecimal0PURCHASE_PRICEbigdecimal0When the target is empty
Residual Valuebigdecimal0RESIDUAL_VALUEbigdecimal0When the target is empty
Modeltext50MODELtext50Always
Specificationtext60SPECIFICATIONtext60Always
Host nametext50HOSTNAMEtext50When the source is filled
Object IDtext60OBJECT_IDtext60Always
Serial Numbertext100SERIAL_NUMBERtext100Always
importtypeinteger0-0Always10

Unique keys

Source records will be matched with TOPdesk records through these fields.

Source

The column or field name in the source.

Type

The type of column or field in the source. Text - Number - Date - Memo

Default value

If the source doesn't provide a value, it will be replaced with the default value in the TOPdesk database. It is possible to use only a default value, without any given source value.

Import type

The import type is used to identify the source of an imported card in order to distinguish it from other import sources. This field is not visible in the card. It is possible to show it in the overviews. The field is mainly used to make sure only cards that were edited by the import will be archived.

Overwrite

When should the value in TOPdesk be overwritten? Always (A) - When the source is filled (SF) - When the target is empty (TE) - Never (only new cards) (N).

There are a number of possibilities as shown in the table below:

OverwriteSourceDefault valueTOPdesk
BeforeAfter
AlwaysXZYbecomes X
emptynoneYbecomes empty
emptyZYbecomes Z
When the source is filledXZYbecomes X
emptynoneYstays Y
emptyZYbecomes Z
When the target is emptyXZYstays Y
Xnoneemptybecomes X
emptyZemptybecomes Z