Role and limitations of MainRepresentation Valuation Business Logic Openness
This Business Logic Openness (BLO) allows retrieving MainRepresentation contained in each Terminal PLMCoreReference to transfer.
This BLO allows to define and identify a MainRepresentation element among multiple Representations in terminal Reference.
This BLO is provided with certain inputs: PLMCoreReference, list of PLMCoreRepReference, name of context during transfer and a dynamic attribute “DWCMainRep” to evaluate inside BLO.
Once BLO sets “DWCMainRep” , DownwardCompatibility will use it further for MultiRepresentation conversion.
The BLO would be launched for each PLMCoreReference entity. As recommended above, MainRep valuation BLO must set the “DWCMainRep” attribute with the type object PLMCoreRepReference satisfying the MainRep logic. Of course the value of this attribute could be different from one PLMCoreReference element to the other. You must set “DWCMainRep” to a valid PLMCoreRepReference entity if more than one PLMCoreRepReference are found to satisfy MainRep logic.
DownwardCompatibility takes care that this BLO is launched only on terminal PLMCoreReference, it is recommended to write the BLO with the same understanding.
Also note that the MainRepresentation retrieved by the BLO must fulfill all criteria defined for MainRep in “DownwardCompatibility: MultiRepresentation conversion support”.