PdcMaterialFile.UpdatePriceBracket

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

UpdatePriceBracket(MatNo as string) as boolean

Description

Recalculates the materialcard with default supplier line.

Notes

Recalculates the materialcard with default supplier line. Always used after an import of supplier lines.

MatNo
The material number for recalculation the deafault supplier line to the main card.

Code example VB.NET

dim MatNo as string = "MaterialNo12345"

If not PDC.App.MasterData.MaterialFile.UpdatePriceBracket(MatNo) Then
  msgbox(PDC.App.LastError)
end if

Availability

Available since April 2018 (from version 5.4)