Store Computation (INFRAStoreSelection)

An opening ID is an entry point used to customize business logic. Store Computation allows you to select the store where objects of the document type, or any of its derived type, are persisted.

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

This page discusses:

Environment: On premises only

General Information

Store Computation is an on-premises opening ID that allows you to select the store where objects of the document type, or any of its derived type, are persisted.

This opening ID belongs to the Business Logics for Object Typing group of business logics, meaning that your script can only access type information; it cannot access object information.

Definition Description
PLM Opening ID INFRAStoreSelection
Customization intent Computation
Execution context Server

Input Objects

Input objects must be of the following types:

  • ThisObject: a Knowledge view of the type of the document.
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read or Write Comments
FactType Any Document type and derived type. Type of ThisObject in the business rule body.
StoreName String Write Name of the store.

Sample

In the following example, documents are persisted in the my_store store.

Parameters->SetAttributeString("StoreName", "my_store")