Previous Topic

Next Topic

Inhoudsopgave

Book Index

Process Forms

Description

Process forms start actions such as deleting part calculation lines. They are based on the IISERPProcessForm interface. In order to display a process form you have to create a process form object based on the form number and subsequently you have to fill in any parameters that may be present. It is up to the user to start the process. With the IISERPBatchProcess interface you can run the process in the background without user intervention.

The following code opens the Release part revision form and fills in the values of the PartCode and RevisionNr parameters.

Dim oProcessForm As IERPLink.IISERPProcessForm

Set oProcessForm = oERPLink.CreateProcessForm("0924")

oProcessForm.ProcessParams.Add("PartCode", “Auto”)

oProcessForm.ProcessParams.Add("RevisionNr", “000”)

oProcessForm.Show()

Set oProcessForm = Nothing