PdcMasterData.Material: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == Material as PdcMaterial == Description == == Notes == This property represents the material file in Plan-de-CAMpagne. == Code example == This code ex..." |
No edit summary |
||
Line 4: | Line 4: | ||
== Description == | == Description == | ||
== Methods == | |||
== Properties == | |||
[[PdcMaterial.NettPurchPriceUnit]]<br> | |||
== Notes == | == Notes == |
Revision as of 09:56, 16 January 2017
Declaration
Material as PdcMaterial
Description
Methods
Properties
PdcMaterial.NettPurchPriceUnit
Notes
This property represents the material file in Plan-de-CAMpagne.
Code example
This code example opens material "ABC123", changes the nett purchase price unit to 50 and saves.
dim objBaseMat
dim strMatNo
strMatNo = "ABC123"
set objBaseMat = pdc.MasterData.Material
if objBaseMat.Load(strMatNo) then
ObjBaseMat.NettPurchPriceUnit = 50
if not objBaseMat.Save(true) then
msgbox pdc.LastError
end if
else
msgbox pdc.LastError
end if
Availability
Available since Januari 2017 (From version 5.3)