Major Order Mapping Opening ID

An opening ID is an entry point used to customize business logic. The Major Order Mapping opening ID is used to affect a Major Order to imported objects in function of the value of SmarTeam REVISION.

Note: For more information about customization by business rules, see Installation and Setup: Customize: Behavior: Data Setup: Customization by Business Rules.

This page discusses:

General Information

This opening ID is invoked during the import of SmarTeam objects to 3DEXPERIENCE.

The table below provides you with information related to the definition of the Opening ID.

PLM Opening ID: RepositoryProviderCustomization
Customization intent: Mapping
Execution context:Client

Input Objects

Input objects must be of the following type:

  • Parameters corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
REVISION or any customized versioning attributeString ReadThe SmarTeam REVISION or another attribute that represents the SmarTeam revisioning logic
majororderIntegerWriteThe affected major order. A negative value is used to indicate an unsupported value of REVISION.

Sample

The following sample provides a major order for SmarTeam objects whose REVISION is either a or b.

Let SMT_REVISION(String)
Let order(Integer)
/*************************************************************************************/
/* IMPORTANT : A negative order is used to indicate an unsupported value of REVISION */
/*************************************************************************************/
order=-1

if(Parameters->HasAttribute("REVISION") == true)
{
  SMT_REVISION = Parameters->GetAttributeString("REVISION")
  if(SMT_REVISION=="a")
  {
    order=0
  }
  else if(SMT_REVISION=="b")
  {
    order=1
  }
}

Parameters->SetAttributeInteger("majororder", order)