PdcMaterialFile.Renumber
Jump to navigation
Jump to search
Declaration
Renumber(OldNumber as String,NewNumber as String) as Boolean
Description
Notes
With this method materialnumbers can be renumbered to an other number. The input paramaters are the old number and the new number as a string. the output paramater is a boolean.
Code example
Renumber a material
Sub btRenumberClick(Sender)
if edOldNr.Text <> "" and edNewNr.Text <> "" then
pdc.MasterData.MaterialFile.Renumber edOldNr.Text, edNewNr.Text
msgbox pdc.LastError
end if
End Sub
Availability
Available since July 2009.