Format of a Mapping Type Definition

A mapping type is the definition of a context in which mapping takes place, such as the GL Accounts SAF-T 2.0 mapping. Such definition must be expressed in the following format:

          {
    id: string,
    name: string,
    configuration: {
        source: string,
        targets: string[],
        mapping: string,
        deleter: string,
        metrics?: string,
    }
} 

        

A valid mapping type definition must include all the following fields:

Below is an example of a valid mapping type definition:

          {
    id: 'UMA_SAFT_2_0_ACCOUNTS',
    name: 'saft_2_0_accounts',
    configuration: {
        source: '/SuiteApps/com.netsuite.universalmappingassistant/src/controllers/AccountController',
        targets: [
            '/SuiteApps/com.netsuite.universalmappingassistant/src/controllers/saft2acc/GroupingCategoryController',
            '/SuiteApps/com.netsuite.universalmappingassistant/src/controllers/saft2acc/GroupingCodeController',
        ],
        mapping: '/SuiteApps/com.netsuite.universalmappingassistant/src/controllers/saft2acc/MappingController',
        deleter: '/SuiteApps/com.netsuite.universalmappingassistant/src/services/saft2acc/MappingTypeInstanceDeleterService',
        metrics: '/SuiteApps/com.netsuite.universalmappingassistant/src/services/saft2acc/MetricsLogger',
    }
} 

        

General Notices