PdcCalculation.UpdateChargesAll

From External Bemet Wiki
Revision as of 13:08, 15 April 2014 by TC (talk | contribs)
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")
  objCalc.UpdateChargesAll
  objCalc.Save
  objCalc.Show

Availability

Available since april 2014 (version 4.3 onwards)