...
Idoc of type /PACG/ECM_ITYPE_EQUI mapped with source SAP tables and target FSM Equipment DTO fields (https://docs.coresystems.net/api/dtos/equipmentdto_v22.html)
IDOC SEGMENT | IDOC FIELD | SAP TABLE | FSM OBJECT DTO [EQUIPMENT DTO] |
/PACG/ECM_IS_EQUI
| ID | EQUI-EQUNR | ID |
NAME | EQKT-EQKTX | NAME | |
MANSERIALNR | EQUI-SERGE | MANUFACTURERSERIALNUMBER | |
SERIALNR | EQUI-SERNR | SERIALNUMBER | |
ADDRESSID | Object_type_name / EQUI-EQUNR |
| |
CONTACT | IHPA-PARNR | CONTACT | |
BUSPARTNER | IHPA-PARNR EQBS-KUNNR EQUZ-KUND1 (value is searched in the first table, if not found, the next table is used) | BUSINESSPARTNER | |
MATERIAL | EQUI-MATNR | ITEM | |
SERIALNR2 | EQUI-MATNR + EQUI-SERNR
| SERIALNUMBER2 | |
EARTX | EQUI-EQART | TYPE | |
PARENT_ID | EQUZ-HEQUI | PARENTID | |
CODE | EQUI-EQUNR | CODE | |
STATUS | /PACG/ECM_EQSM-ISTAT | STATUS | |
TOOL | /pacg/ecm_cinc01-tool Boolean value (X when is tool, space if not) | TOOL
| |
/PACG/ECM_IS_EQUI2 | RESPONSIBLE | IHPA-PARNR (if PARTNER type = ‘PE’ personal number = partner number from IHPA, if partner type = ‘US’ Table PA0105-pernr Is used) Final result is a constant (Personnel number as Cloud User with value ‘X’ ) / value from table above | RESPONSIBLE |
/PACG/ECM_IS_EQUI_DESCR | CLANGU | EQKT-SPRAS | nameTranslations.selectionKeyValues (key) Language like DE, EN |
EQUI_DESC | EQKT-EQKTX | nameTranslations.selectionKeyValues (value) Description in a certain language | |
E1TLINE | TDFORMAT |
|
|
TDLINE | EQKT-KZLTX |
| |
/PACG/ECM_IS_EXTERNAL | EXTERNALID |
|
|
/PACG/ECM_IS_LOCATION | LATITUDE |
| location.latitude |
LONGITUDE |
| location.longitude |