CopyRefObjReferences
You can use this function for Optiva Copy Methods.
Purpose
Copies the references of the reference object to the new object for the designated object type(s). The reference must be configured for both types of objects.
See the Infor PLM for Process Application Configuration Guide.
Syntax
Dim variable As Long = CopyRefObjReferences([SymbolOne, SymbolTwo,...])
Arguments
Part | Description |
---|---|
SymbolOne , SymbolTwo |
List of object types. The object types are copied from the reference object to the References tab of the new object. |
Example
This script is in a copy method for a specification created from the References tab of a formula (Object Type = SPECIFICATION, Reference Type = FORMULA, Events = Create From As New
).
It copies the programs (symbol = PROJECT
) and customers from the tab to the tab.
Dim lNewRef As Long = CopyRefObjReferences("PROJECT", "CUSTOMER")