M3 Integration: Performance improvements by smaller calls to M3 APIs

M3 BOIs have been designed to minimize the number of calls made to M3 APIs. In SCP 2022.04, the default value for the SCP_MAX_NUMBER_PARALLEL_THREADS configuration parameter has been changed to 4 so that the M3 APIs can be called in parallel.

To fully utilize the parallel imports from M3, the definitions of several BOIs have been modified to split the single large calls into several smaller calls.

These BOIs have been modified to call the M3 APIs once for each warehouse, separately, instead of calling the APIs for all warehouses in a warehouse group:

  • DPS001MI_LstRelation_ST_M3_IN_DISTRIBUTION_RELATION
  • MMS080MI_SelForcTrans_ST_M3_IN_CONSUMED_FORECAST
  • MMS080MI_SelItemWarehous_ST_M3_IN_INVENTORY_OHB
  • MMS080MI_SelMtrlTrans_ST_M3_IN_MATERIAL_PLAN_TRX
  • CRS008MI_ListFacility_ST_M3_IN_FACILITY
  • PDS010MI_SelShiftPatAdj_ ST_M3_IN_PDS010MI_SelShiftPatAdj
  • PDS010MI_SelShiftinfo_ ST_M3_IN_PDS010MI_SelShiftinfo
  • PDS010MI_Select_ST_M3_IN_PDS010MI_Select_ResUnit
  • PDS010MI_Select_ST_M3_IN_PDS010MI_Select_Resource
  • PDS030MI_SelModelLines _ST_M3_IN_PDS030MI_SelModelLines
  • PDS030MI_SelPatternLines_ST_M3_IN_PDS030MI_SelPatternLines
  • PMS100MI_SelMatByHead_ST_M3_IN_MANUFACTURING_MATERIAL
  • PMS100MI_SelOpeByHead_ST_M3_IN_MANUFACTURING_OPERATION
  • PMS100MI_SelOrderHead_ST_M3_IN_MANUFACTURING_ORDER
  • PMS170MI_SelMatByHead_ST_M3_IN_MAN_PLND_MATERIAL
  • PMS170MI_SelOpeByHead_ST_M3_IN_MAN_PLND_OPERATION
  • PMS170MI_SelOrderHead_ST_M3_IN_MAN_PLND_ORDER

The M3 APIs called by each BOI has been changed; the import behavior from M3 remains unchanged.

Note: The related content is available after loading the M3 template (base for M3.zip) for this release. Parallel imports from M3 are enabled when the SCP_MAX_NUMBER_PARALLEL_THREADS value is set to a value larger than 1. A new role or privilege is not required to access this feature.