Publication Behaviour Customization
You can use dedicated business rules to customize publication behavior.
The PLM opening ID is DELNCDocPublication_BL_ID.
The business rule has the following input:
PublishedDocumentName: Can be modified and sent back as an output argument.MachineOccurence: The machine occurrence of the program that the file belongs to.
The business rule has the following output:
DocumentType(string)CreateNewDocumentRevision(Boolean)
The default business logic is:
Let CreateNewDocumentRevisionBool(Boolean)
Let CustomDocumentType(String)
CreateNewDocumentRevisionBool = false
CustomDocumentType = "Document"
Parameters->SetAttributeBoolean("CreationNewDocumentRevision",CreateNewDocumentRevisionBool)
Parameters->SetAttributeString("DocumentType", CustomDocumentType)
To create a document, set the DocumentType output to
VPMDocument.