MFG Products Process API - Implementation Template
Data mappings
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
| Module | Description |
|---|---|
| update-externalId-source-system | Update External Id for Source System Mapping |
| update-external-id-to-product | Update Product External Id Mapping |
update-externalId-source-system
Update External Id for Source System Mapping
Source:
./src/main/resources/dwl/update-externalId-source-system.dwl
Mapping Tables
Maps External Id for Source sytem to Update Product
| Source | External Id Fields | Description |
|---|---|---|
| externalIds | payload.externalIds | The External Id of External Id type - MDM |
| id | payload.externalIds.externalId | The External Id of the Source System |
| priceBookEntry | priceBookEntry | Price Book Entry |
| productCategory | productCategory | Product Category |
| productCatalog | productCatalog | Product Catalog |
| externalSourceRecord | externalSourceRecord | Record of External Source |
update-external-id-to-product
Update Product External Id Mapping
Source:
./src/main/resources/dwl/update-external-id-to-product.dwl
Mapping Tables
Maps External Id to Update Product
| Product | External Id Fields | Description |
|---|---|---|
| sourceSystem.id | null | The Id of Source System |
| sourceSystem.externalIds | IncommingPayload.externalIds.externalId | The External Id of the Source System |
| sourceSystem.externalIdType.id | null | The id of externalId Type |
| sourceSystem.externalIdType.name | sourceSystem | The Name of External Id Type of Source System |
| sourceSystem.status | VALID | The status of Source System |
| MDM.id | null | The Id of MDM system |
| MDM.externalIds | productsmdmId | The External Id of the MDM System |
| MDM.externalIdType.id | null | The id of externalId Type |
| MDM.externalIdType.name | MDM | The Name of External Id Type of MDM System |
| MDM.status | VALID | The status of MDM System |