PdcMaterialFile.MergeStockLines
Declaration
MergeStockLines(oldID as Integer, newID as Integer, quantity as double, code as integer)
Description
This function merges two stocklines into one. The amount of the old stockline is merged into the new stockline. All checks are done by standard PdC.
Notes
Code example
PDC.App.MasterData.MaterialFile.MergeStockLines(oldID, newID, row.Cells("coltotaalaantal").Value, 15)
Availability
Available since August 2020 (5.6)