Description
You can use predefined Isah processes to change data in the database with the following interfaces:
The following code automatically calculates costs of production files with the same result as the Isah process Calculate costs.
Dim oBatchProcess As IERPLink.IISERPBatchProcess
Set oBatchProcess = oERPLink.CreateBatchProcess("TPRC0027")
oBatchProcess.InBatch = False
oBatchProcess.Params.Add "ProdHeaderDossierCode", "PD-08-0023"
oBatchProcess.Params.Add "CalcPreCalc", False
oBatchProcess.Params.Add "CalcPostCalc", True
oBatchProcess.Execute()