PdcMaterialFile.MergeStockLines: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
== Description == | == 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 == | == Notes == |
Revision as of 10:25, 24 September 2020
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)