Validate Logical Port to PCP Allocation (LFS_ValidateAllocationLogicalPortToPCP)

An opening ID is an entry point used to customize business logic. LFS_ValidateAllocationLogicalPortToPCP validates the allocation of a Logical port of a Logical equipment to a Pathway connection point.

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 each time a Logical Port is added or removed from the association to the selected PCP.

This opening ID is used to customize:

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

PLM Opening ID: LFS_ValidateAllocationLogicalPortToPCP
Customization intent:
Execution context:

Input Objects

Input objects must be of the following types:

  • ThisObject: Logical Instance of the Logical Port.
  • Parameters: Standard context.
  • Validation: Variable to set to know if the validation succeeded or failed.

Context Object Parameters

Parameter NameTypeRead/WriteComments
Severity Read

Set to 1 (default) to raise a warning and the operation can continue.

Set to 2 to raise an error and the operation is undone.

MessageReadDisplayed in a window if the validation fails(warning or error depending on Severity).
LogicalPort

Added Logical Port .

Removed Logical Port.

LinPCPLogicalInstanceTypeReadLogical Instance of the PCP.
PCPPCP
LinkType

Equals 1 if the Logical Port is added.

Equals 2 if the Logical Port is removed.