PdcCalculation.UpdateChargesAll
Jump to navigation
Jump to search
Declaration
UpdateChargesAll
Description
Update all the charges of a calculation.
Notes
This method update all the charges of a calculation. The rates, surcharges, waste percentages, process times and all the sub items (Look at the update charges PdC screen) are updated by calling this method.
Code example
This code example updates calculation "1403-00005".
dim objCalc
set objCalc = pdc.Calculations.Open("1403-00005")
if objCalc.UpdateChargesAll then
objCalc.Save
objCalc.Show
else
msgbox "The calculation is in production."
end if
Availability
Available since april 2014 (version 4.3 onwards)