MfgProcessOccurrence.AssignProduct()
Assigns a product to this item occurrence.
Signature
MfgProcessOccurrence.AssignProduct(A Product Occurrence : ProductOccurrence)
Arguments
Name |
Input / Output |
Required? |
Type |
Comment |
A Product Occurrence |
In |
|
ProductOccurrence |
Product to assign as a ProductOccurrence |
Example
let MyPrcOcc(MfgProcessOccurrence)
let MyPrdOcc(ProductOccurrence)
set MyPrcOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set MyPrdOcc = Occ2 //[Occ2 from Argument List ,given by user selection]
MyPrcOcc->AssignProduct(MyPrdOcc)
MfgProcessOccurrence.AssignProductPath()
Assigns a product path to this item occurrence.
Signature
MfgProcessOccurrence.AssignProductPath(A List (should contain a path of product instances) : List)
Arguments
Name |
Input / Output |
Required? |
Type |
Comment |
A List (should contain a path of product
instances) |
In |
|
List |
Product path to assign as list of VPMInstance |
Example
let MyPrcOcc(MfgProcessOccurrence)
let MyList(list)
let MyPrdInst(VPMInstance)
set MyPrcOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set MyPrdInst = Inst //[Inst from Argument List ,given by user selection]
MyList[1] = MyPrdInst
MyPrcOcc->AssignProductPath(MyList)
MfgProcessOccurrence.CreateAssignmentFilter()
Creates a MBOM assignment filter connection between a process reference and
a product occurrence.
Arguments
Name |
Input/Output |
Required? |
Type |
Comment |
A Product Occurrence |
In |
|
ProductOccurrence |
- |
Example
let I(Integer)
let MyPrcOcc(MfgProcessOccurrence)
let MyPrdOcc(ProductOccurrence)
set MyPrcOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set MyPrdOcc = Occ2 //[Occ2 from Argument List ,given by user selection]
set I = MyPrcOcc->CreateAssignmentFilter(MyPrdOcc)
MfgProcessOccurrence.CreatePartialScope()
Creates a partial scope link between a MBOM occurrence and a product
occurrence.
Signature
MfgProcessOccurrence.CreatePartialScope(A Product Occurrence : ProductOccurrence, CheckModeOnly : Boolean, ProductFromCrossingScope : VPMReference, MBOMFromCrossingScope : DELFmiFunctionReference, ListOfChildrenMBOMFromExistingAssignments : List, ListOfProductfromExistingAssignments : List, ListOfReAssignmentStatus : List, A Product Context Reference : VPMReference, A MBOM Context Reference : DELFmiFunctionReference) : Boolean
Arguments
Name |
Input/Output |
Required? |
Type |
Comment |
A Product Occurrence |
In |
|
ProductOccurrence |
- |
CheckModeOnly |
In |
|
Boolean |
- |
ProductFromCrossingScope |
Out |
|
VPMReference |
- |
MBOMFromCrossingScope |
Out |
|
DELFmiFunctionReference |
- |
ListOfChildrenMBOMFromExistingAssignments |
Out |
|
List |
- |
ListOfProductfromExistingAssignments |
Out |
|
List |
- |
ListOfReAssignmentStatus |
Out |
|
List |
- |
A Product Context Reference |
In |
|
VPMReference |
- |
A MBOM Context Reference |
In |
|
DELFmiFunctionReference |
- |
Example
let MyMBOMOcc(MfgProcessOccurrence)
let MyPrdOcc(ProductOccurrence)
let BooleanPartialScope(Boolean)
let CheckModeOnly(Boolean)
let oProductFromCrossingScope(VPMReference )
let oMBOMFromCrossingScope(DELFmiFunctionReference)
let oListOfChildrenMBOMFromExistingAssignments(List)
let oListOfProductfromExistingAssignments(List)
let ListOfReAssignmentStatus(List)
let iContextReferenceForPrd(VPMReference)
let iContextReferenceForMBOM(DELFmiFunctionReference)
set MyMBOMOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set MyPrdOcc = Occ2 //[Occ2 from Argument List ,given by user selection]
set BooleanPartialScope = MyMBOMOcc->CreatePartialScope(MyPrdOcc,CheckModeOnly,oProductFromCrossingScope,oMBOMFromCrossingScope,oListOfChildrenMBOMFromExistingAssignments,oListOfProductfromExistingAssignments,oListOfReAssignmentStatus,iContextReferenceForPrd,iContextReferenceForMBOM)
MfgProcessOccurrence.CreateProcessGroup()
Creates a group of items.
Signature
MfgProcessOccurrence.CreateProcessGroup() : GroupOfProcessInstance
ReturnType
GroupOfProcessInstance
Example
Let MyPrcsGroup (GroupOfProcessInstance)
Let MyPrcsOcc (MfgProcessOccurrence)
set MyPrcsOcc = Occ //[Occ from Argument List ,given by user selection]
Set MyPrcsGroup = MyPrcsOcc.CreateProcessGroup()
For more information, see Example of Use: Managing Process Groups.
MfgProcessOccurrence.CreateScope()
Creates a scope link between a product and this item occurrence.
Arguments
Name |
Input / Output |
Required? |
Type |
Comment |
A Product Occurrence |
In |
|
ProductOccurrence |
Product as ProductOccurrence |
Example
let MyPrcOcc(MFgProcessOccurrence)
let MyPrdOcc(ProductOccurrence)
set MyPrcOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set MyPrdOcc = Occ2 //[Occ2 from Argument List ,given by user selection]
MyPrcOcc->CreateScope(MyPrdOcc)
MfgProcessOccurrence.CreateScopeToProduct()
Creates a scope link between a product and this item occurrence.
Signature
MfgProcessOccurrence.CreateScopeToProduct(A PLM Core Reference : PLMCoreReference)
Arguments
Name |
Input / Output |
Required? |
Type |
Comment |
A PLM Core Reference |
In |
|
PLMCoreReference |
Product as PLMCoreReference |
Example
let MyPrcOcc(MFgProcessOccurrence)
let MyPrdRef(PLMCoreReference )
set MyPrcOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set MyPrdRef = Occ2 //[Occ2 from Argument List ,given by user selection]
MyPrcOcc->CreateScopeToProduct(MyPrdRef)
MfgProcessOccurrence.CreateScopeWithContext()
Creates a full scope link between a MBOM occurrence and a product
occurrence.
Signature
MfgProcessOccurrence.CreateScopeWithContext(A Product Occurrence : ProductOccurrence, CheckModeOnly : Boolean, ProductFromCrossingScope : VPMReference, MBOMFromCrossingScope : DELFmiFunctionReference, ListOfChildrenMBOMFromExistingAssignments : List, ListOfProductfromExistingAssignments : List, ListOfReAssignmentStatus : List, A Product Context Reference : VPMReference, A MBOM Context Reference : DELFmiFunctionReference) : Boolean
Arguments
Name |
Input/Output |
Required? |
Type |
Comment |
A Product Occurrence |
In |
|
ProductOccurrence |
- |
CheckModeOnly |
In |
|
Boolean |
- |
ProductFromCrossingScope |
Out |
|
VPMReference |
- |
MBOMFromCrossingScope |
Out |
|
DELFmiFunctionReference |
- |
ListOfChildrenMBOMFromExistingAssignments |
Out |
|
List |
- |
ListOfProductfromExistingAssignments |
Out |
|
List |
- |
ListOfReAssignmentStatus |
Out |
|
List |
- |
A Product Context Reference |
In |
|
VPMReference |
- |
A MBOM Context Reference |
In |
|
DELFmiFunctionReference |
- |
Example
let MyMBOMOcc(MfgProcessOccurrence)
let MyPrdOcc(ProductOccurrence)
let BooleanScope(Boolean)
let CheckModeOnly(Boolean)
let oProductFromCrossingScope(VPMReference )
let oMBOMFromCrossingScope(DELFmiFunctionReference)
let oListOfChildrenMBOMFromExistingAssignments(List)
let oListOfProductfromExistingAssignments(List)
let ListOfReAssignmentStatus(List)
let iContextReferenceForPrd(VPMReference)
let iContextReferenceForMBOM(DELFmiFunctionReference)
set MyMBOMOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set MyPrdOcc = Occ2 //[Occ2 from Argument List ,given by user selection]
set BooleanScope = MyMBOMOcc->CreateScopeWithContext(MyPrdOcc,CheckModeOnly,oProductFromCrossingScope,oMBOMFromCrossingScope,oListOfChildrenMBOMFromExistingAssignments,oListOfProductfromExistingAssignments,oListOfReAssignmentStatus,iContextReferenceForPrd,iContextReferenceForMBOM)
MfgProcessOccurrence.GetListOfAssignmentFiltersAndStatus()
Returns a list of status, alias, and occurrence of the filter target
product on the item reference.
Signature
MfgProcessOccurrence.GetListOfAssignmentFiltersAndStatus(A List (should contain integer correspnding to status) : List, A List (should contain Product Name Alias) : List, A List ( should contain filtered product occurrences) : List) : Integer
Arguments
Name |
Input/Output |
Required? |
Type |
Comment |
A List (should contain integer correspnding to
status) |
Out |
|
List |
- |
A List (should contain Product Name
Alias) |
Out |
|
List |
- |
A List (should contain filtered product
occurrences) |
Out |
|
List |
- |
Example
let I(Integer)
let MyPrcOcc(MfgProcessOccurrence)
let StatusList(List)
let AliasList(List)
let FilteredProdList(List)
set MyPrcOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set I = MyPrcOcc->GetListOfAssignmentFiltersAndStatus(StatusList,AliasList,FilteredProdList)
MfgProcessOccurrence.GetListOfFilteredProductOccurrences()
Returns the list of filtered product occurrences as per the filtering
rule.
Signature
MfgProcessOccurrence.GetListOfFilteredProductOccurrences(A List ( should contain assignable product occurrences) : List) : List
Arguments
Name |
Input/Output |
Required? |
Type |
Comment |
A List ( should contain assignable product
occurrences) |
In |
|
List |
- |
Example
let MyPrcOcc(MfgProcessOccurrence)
let FilteredProdList(List)
let AssignableProdList(List)//[List to be given by user]
set MyPrcOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set FilteredProdList = MyPrcOcc->GetListOfFilteredProductOccurrences(AssignableProdList)
MfgProcessOccurrence.InsertPredecessor()
Inserts an item reference as a predecessor of this item occurrence.
Signature
MfgProcessOccurrence.InsertPredecessor(Manufactured Item Reference : DELFmiFunctionReference) : MfgProcessOccurrence
Arguments
Name |
Input / Output |
Required? |
Type |
Comment |
Manufactured Item Reference |
In |
|
DELFmiFunctionReference |
Item reference to insert as DELFmiFunctionReference |
Example
let MyPrcsOcc (MfgProcessOccurrence)
let MyPrcsRef(DELFmiFunctionReference)
set MyPrcsRef = Ref //[Ref from Argument List ,Provided by User either using new or selecting existing process]
set MyPrcsOcc = Occ //[Occ from Argument List ,given by user selection]
set MyPrcsOcc =MyPrcsOcc-> InsertPredecessor(MyPrcsRef)
MfgProcessOccurrence.RemoveAllProcessGroups()
Removes all Groups.
Signature
MfgProcessOccurrence.RemoveAllProcessGroups()
Example
let MyPrcsOcc(MfgProcessOccurrence)
set MyPrcsOcc = Occ//[Occ from argument list,given by a user selection]
MyPrcsOcc.RemoveAllProcessGroups()
For more information, see Example of Use: Managing Process Groups.
MfgProcessOccurrence.RemoveAssignmentFilter()
Removes the MBOM assignment filter connection between a process reference
and a product occurrence.
Arguments
Name |
Input/Output |
Required? |
Type |
Comment |
A Product Occurrence |
In |
|
ProductOccurrence |
- |
Example
let I(Integer)
let MyPrcOcc(MfgProcessOccurrence)
let MyPrdOcc(ProductOccurrence)
set MyPrcOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set MyPrdOcc = Occ2 //[Occ2 from Argument List ,given by user selection]
set I = MyPrcOcc->RemoveAssignmentFilter(MyPrdOcc)
MfgProcessOccurrence.RemoveAssignmentFilterFromAlias()
Removes the MBOM assignment filter connection between a process reference
and a product occurrence from a product occurrence alias.
Signature
MfgProcessOccurrence.RemoveAssignmentFilterFromAlias(A Product Occurrence Alias : String) : Integer
Arguments
Name |
Input/Output |
Required? |
Type |
Comment |
A Product Occurrence Alias |
In |
|
String |
The alias may be retrieved from the EKL
GetListOfAssignmentFiltersAndStatus. |
Example
let I(Integer)
let MyPrcOcc(MfgProcessOccurrence)
let MyPrdOccAlias(String)
set MyPrcOcc = Occ1 // [Occ1 from Argument List ,given by user selection]
set MyPrdOccAlias = Alias // [Alias from Argument List]
set I = MyPrcOcc->RemoveAssignmentFilterFromAlias(MyPrdOccAlias)
MfgProcessOccurrence.RemoveNextProcess()
Removes the next item according to the precedence link.
Signature
MfgProcessOccurrence.RemoveNextProcess(Next manufactured item to remove)
Arguments
Name |
Input / Output |
Required? |
Type |
Comment |
Next manufactured item to remove |
In |
|
MfgProcessOccurrence |
None |
Example
let MyPrcsOcc1(MfgProcessOccurrence)
let MyPrcsOcc2(MfgProcessOccurrence)
set MyPrcsOcc1 = Occ1//[Occ1 from argument list,given by a user selection]
set MyPrcsOcc2 = Occ2//[Occ2 from argument list,given by a user selection]
MyPrcsOcc1.RemoveNextProcess(MyPrcsOcc2)
MfgProcessOccurrence.RemovePredecessor()
Removes the predecessor item according to the data requirement
link.
Signature
MfgProcessOccurrence.RemovePredecessor(Predecessor)
Example
let MyPrcsOcc1(MfgProcessOccurrence)
let MyPrcsOcc2(MfgProcessOccurrence)
set MyPrcsOcc1 = Occ1//[Occ1 from argument list,given by a user selection]
set MyPrcsOcc2 = Occ2//[Occ2 from argument list,given by a user selection]
MyPrcsOcc1.RemovePredecessor(MyPrcsOcc2)
MfgProcessOccurrence.RemoveProcessGroup()
Removes a Group.
Signature
MfgProcessOccurrence.RemoveProcessGroup(Group : GroupOfProcessInstance)
Arguments
Name |
Input / Output |
Required? |
Type |
Comment |
Group |
In |
|
GroupOfProcessInstance |
None |
Example
Let MyPrcsGroup(GroupOfProcessInstance)
Let MyPrcsOcc (MfgProcessOccurrence)
set MyPrcsOcc = Occ //[Occ from Argument List ,given by user selection]
MyPrcsOcc.RemoveProcessGroup(MyPrcsGroup)
For more information, see Example of Use: Managing Process Groups.
MfgProcessOccurrence.RemoveProcessOutput()
Removes the item output of this item occurrence.
Example
let MyPrcsOcc(MfgProcessOccurrence)
set MyPrcsOcc = Occ//[Occ1 from argument list,given by a user selection]
MyPrcsOcc.RemoveProcessOutput()
MfgProcessOccurrence.RemoveScope()
Removes the scope link between the reference of the input product
occurrence and the reference of this item occurrence.
Signature
MfgProcessOccurrence.RemoveScope()
Example
Let MyOcc(MfgProcessOccurrence)
set MyOcc = Occ //[Occ from Argument List ,given by user selection]
MyOcc.RemoveScope()
MfgProcessOccurrence.RemoveScopeWithContext()
Removes the scope link on the MBOM occurrence.
Signature
MfgProcessOccurrence.RemoveScopeWithContext(CheckModeOnly : Boolean, Product Reference : VPMReference, ListOfChildrenMBOMFromExistingAssignments : List, ListOfProductfromExistingAssignments : List, A Product Context Reference : VPMReference, A MBOM Context Reference : DELFmiFunctionReference) : Boolean
Arguments
Name |
Input/Output |
Required? |
Type |
Comment |
CheckModeOnly |
In |
|
Boolean |
- |
Product Reference |
Out |
|
VPMReference |
- |
ListOfChildrenMBOMFromExistingAssignments |
Out |
|
List |
- |
ListOfProductfromExistingAssignments |
Out |
|
List |
- |
A Product Context Reference |
In |
|
VPMReference |
- |
A MBOM Context Reference |
In |
|
DELFmiFunctionReference |
- |
Example
let MyMBOMOcc(MfgProcessOccurrence)
let BooleanScope(Boolean)
let CheckModeOnly(Boolean)
let oProductRef(VPMReference )
let oListOfChildrenMBOMFromExistingAssignments(List)
let oListOfProductfromExistingAssignments(List)
let iContextReferenceForPrd(VPMReference)
let iContextReferenceForMBOM(DELFmiFunctionReference)
set MyMBOMOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set BooleanScope = MyMBOMOcc->RemoveScopeWithContext(CheckModeOnly,oProductRef,oListOfChildrenMBOMFromExistingAssignments,oListOfProductfromExistingAssignments,iContextReferenceForPrd,iContextReferenceForMBOM)
MfgProcessOccurrence.SetProcessOutput()
Sets the item output reference to this item
occurrence.
Note:
When setting the item output to product, the input reference
should be of type VPMReference.
Signature
MfgProcessOccurrence.SetProcessOutput(A PLM Core Reference : PLMCoreReference) : MfgProcessOccurrence
Arguments
Name |
Input / Output |
Required? |
Type |
Comment |
A PLM Core Reference |
In |
|
PLMCoreReference |
Output reference as PLMCoreReference |
Example
let MyRef(PLMCoreReference)
let MyPrcsOcc(MfgProcessOccurrence)
set MyPrcsOcc = Occ//[Occ From Argument List,Given by User Selection]
set MyRef = Ref//[Ref From Argument List,Given by User Selection]
set MyPrcsOcc =MyPrcsOcc->SetProcessOutput(MyRef)
MfgProcessOccurrence.UnassignProduct()
Unassigns the product occurrence assigned to this item
occurrence.
Signature
MfgProcessOccurrence.UnassignProduct()
Example
let MyPrcOcc(MfgProcessOccurrence)
let MyPrdOcc(ProductOccurrence)
set MyPrcOcc = Occ1 //[Occ1 from Argument List ,given by user selection]
set MyPrdOcc = Occ2 //[Occ2 from Argument List ,given by user selection]
MyPrcOcc->UnAssignProduct(Occ2)
|