System/Operation Output Status (DELPPROutputStatus_ID)

An opening ID is an entry point used to customize business logic. This opening ID is run to return the status of the Output of a System/Operation object.

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

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

PLM Opening IDDELPPROutputStatus_ID
Customization intentExecution
Execution contextClient

Input Objects

Input objects must be of the following types:

  • ThisObject: System/Operation occurrence holding the Output.
  • Parameters: Corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
OutputRefDELFmiFunctionReference or VPMReferenceReadItem or Product reference, Output assigned to the System/Operation (can be NULL).
StatusValueStringWriteStatus of the Origin object.

Sample

The following sample shows how to use the opening ID.

/* ---- input ---- */
let  ThisSystemOcc(ProdSystemOccurrence)  
let  OutputRefAsProduct(VPMReference)
let  OutputRefAsProcess(DELFmiFunctionReference)

/* ---- output ---- */
let  sStatusValue(String)        
set sStatusValue="Not Loaded"

set ThisSystemOcc = ThisObject

/* ---- RETRIEVE OUTPUT PARAMETERS ---- */
set OutputRefAsProduct = Parameters.GetAttributeObject("OutputRef")
set OutputRefAsProcess = Parameters.GetAttributeObject("OutputRef")

/* ---- CODE ---- */
/* This code can be adapted */

if (OutputRefAsProduct <> NULL) set sStatusValue="OK"
if (OutputRefAsProcess <> NULL) set sStatusValue="OK"

/* ---- FILL OUTPUT PARAMETERS ---- */
Parameters.SetAttributeString("StatusValue", sStatusValue)