psdi.app.workorder

Class FldWOCombinedTotal

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldWOCombinedTotal
    extends MboValueAdapter
    MboValue listener for the nonpersistent parent + children total attributes. This class is attached to all the sub-total attributes. Each attribute is the sum of it's related attribute on this workorder, which is the parent, and its child work orders. The names of these attributes are "C" prepended to name of the attribute totaled, one of EstLabHrs, EstLabCost, EstMatCost, EstToolCost, EstServCost, EstAtApprLabHrs, EstAtApprLabCost, EstAtApprMatCost, EstAtApprToolCost, EstAtApprServCost, ActLabHrs, ActLabCost, ActMatCost, ActToolCost, ActServCost. Change to the cost "C" attributes are passed along to on of the combined parent + children total attributes - TotalEstCost, TotalActCost, or TotalEstAtApprCost.

    When these attributes are instanciated, they are updated whenever what they total is updated. Until the value of these attributes are accessed, they are not updated.