Navigation:  Integration via database > Published interfaces > Asset >

ASDOWNTIME – Downtime record import

Previous  Top  Next

This import template makes it possible to:

Start a downtime record;

Finish a downtime record.

 

To insert each of these items, it is necessary to follow the standard documented below.

Insert security data of the asset type

Column

Required

Type

Precision

Description

OIDINTERFACE

X

TEXT

32

Sequential code - Identifies an item to be imported into SoftExpert Suite.

FGIMPORT

X

NUMERIC

2

Import status:

1 – New;

2 – In progress;

3 – Finished;

4 – Error.

CDISOSYSTEM

X

NUMERIC

10

System code where the integration will be performed to:

106 – Asset component code

FGOPTION

X

NUMERIC

2

Code of the operation to be performed:

23 – Start a downtime record;

24 – Finish a downtime record.

NMFIELD01

X

TEXT

255

Asset ID #. Separate with ";" if multiple assets are added. Example:

Asset_1;Asset_2;Asset_3

NMFIELD02

TEXT

255

Downtime reason ID #

NMFIELD03

TEXT

255

Downtime start date. The expected format must be YYYY-MM-DD (Year-Month-Day).

If this is an import via spreadsheet, format the cell as a text; otherwise, the import will not be successful.

NMFIELD04

TEXT

255

Downtime start time

NMFIELD05

TEXT

255

Downtime end date. The expected format must be YYYY-MM-DD (Year-Month-Day).

If this is an import via spreadsheet, format the cell as a text; otherwise, the import will not be successful.

NMFIELD06

TEXT

255

Downtime end time

DSFIELD01

 

TEXT

4000

Comments

 

X¹ - Required when the "FGOPTION" field is equal to 23.

X² - Required when the "FGOPTION" field(s) is(are) equal to 23 and/or the “Start date” and/or "Start time" is(are) filled.

X³ - Required when the "FGOPTION" field(s) is(are) equal to 24 and/or the “End date” and/or "End time" is(are) filled.