Package CIM15 :: Package IEC61970 :: Package Informative :: Package InfWork :: Module MaterialItem' :: Class MaterialItem
[hide private]
[frames] | no frames]

Class MaterialItem

                         object --+        
                                  |        
                   Element'.Element --+    
                                      |    
Core.IdentifiedObject'.IdentifiedObject --+
                                          |
                                         MaterialItem

The physical consumable supply used for work and other purposes. It includes items such as nuts, bolts, brackets, glue, etc.The physical consumable supply used for work and other purposes. It includes items such as nuts, bolts, brackets, glue, etc.

Instance Methods [hide private]
 
__init__(self, costDescription='', quantity='', materialCode='', externalRefID='', costType='', account='', actualCost=0.0, ErpInventoryCounts=None, Usages=None, ErpPOLineItems=None, ErpRecDelvLineItems=None, DesignLocation=None, status=None, TypeMaterial=None, WorkCostDetail=None, WorkTask=None, *args, **kw_args)
Initialises a new 'MaterialItem' instance.
 
addErpInventoryCounts(self, *ErpInventoryCounts)
 
addErpPOLineItems(self, *ErpPOLineItems)
 
addErpRecDelvLineItems(self, *ErpRecDelvLineItems)
 
addUsages(self, *Usages)
 
getDesignLocation(self)
 
getErpInventoryCounts(self)
 
getErpPOLineItems(self)
 
getErpRecDelvLineItems(self)
 
getTypeMaterial(self)
 
getUsages(self)
 
getWorkCostDetail(self)
 
getWorkTask(self)
 
removeErpInventoryCounts(self, *ErpInventoryCounts)
 
removeErpPOLineItems(self, *ErpPOLineItems)
 
removeErpRecDelvLineItems(self, *ErpRecDelvLineItems)
 
removeUsages(self, *Usages)
 
setDesignLocation(self, value)
 
setErpInventoryCounts(self, value)
 
setErpPOLineItems(self, value)
 
setErpRecDelvLineItems(self, value)
 
setTypeMaterial(self, value)
 
setUsages(self, value)
 
setWorkCostDetail(self, value)
 
setWorkTask(self, value)

Inherited from Core.IdentifiedObject'.IdentifiedObject: addDiagramObjects, addNames, getDiagramObjects, getModelingAuthoritySet, getNames, removeDiagramObjects, removeNames, setDiagramObjects, setModelingAuthoritySet, setNames

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _attr_types = {'account': <type 'str'>, 'actualCost': <type 'f...
  _attrs = ['costDescription', 'quantity', 'materialCode', 'exte...
  _defaults = {'account': '', 'actualCost': 0.0, 'costDescriptio...
  _many_refs = ['ErpInventoryCounts', 'Usages', 'ErpPOLineItems'...
  _refs = ['ErpInventoryCounts', 'Usages', 'ErpPOLineItems', 'Er...
  status = None

Inherited from Element'.Element (private): _enums

Properties [hide private]
  DesignLocation
  ErpInventoryCounts
  ErpPOLineItems
  ErpRecDelvLineItems
  TypeMaterial
  Usages
  WorkCostDetail
  WorkTask

Inherited from Core.IdentifiedObject'.IdentifiedObject: DiagramObjects, ModelingAuthoritySet, Names

Inherited from object: __class__

Method Details [hide private]

__init__(self, costDescription='', quantity='', materialCode='', externalRefID='', costType='', account='', actualCost=0.0, ErpInventoryCounts=None, Usages=None, ErpPOLineItems=None, ErpRecDelvLineItems=None, DesignLocation=None, status=None, TypeMaterial=None, WorkCostDetail=None, WorkTask=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'MaterialItem' instance.

Parameters:
  • costDescription - Description of the cost.
  • quantity - The quantity of material used.
  • materialCode - Code for material.
  • externalRefID - External reference identifier for this actual material item such as a purchase order number, a serial number, etc.
  • costType - The category of cost to which this Material Item belongs.
  • account - The account to which this actual material item is charged.
  • actualCost - The actual cost of this particular material in this particular quantity.
  • ErpInventoryCounts
  • Usages
  • ErpPOLineItems
  • ErpRecDelvLineItems
  • DesignLocation
  • status
  • TypeMaterial
  • WorkCostDetail
  • WorkTask
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'account': <type 'str'>,
 'actualCost': <type 'float'>,
 'costDescription': <type 'str'>,
 'costType': <type 'str'>,
 'externalRefID': <type 'str'>,
 'materialCode': <type 'str'>,
 'quantity': <type 'str'>}

_attrs

Value:
['costDescription',
 'quantity',
 'materialCode',
 'externalRefID',
 'costType',
 'account',
 'actualCost']

_defaults

Value:
{'account': '',
 'actualCost': 0.0,
 'costDescription': '',
 'costType': '',
 'externalRefID': '',
 'materialCode': '',
 'quantity': ''}

_many_refs

Value:
['ErpInventoryCounts',
 'Usages',
 'ErpPOLineItems',
 'ErpRecDelvLineItems']

_refs

Value:
['ErpInventoryCounts',
 'Usages',
 'ErpPOLineItems',
 'ErpRecDelvLineItems',
 'DesignLocation',
 'status',
 'TypeMaterial',
 'WorkCostDetail',
...

Property Details [hide private]

DesignLocation

Get Method:
getDesignLocation(self)
Set Method:
setDesignLocation(self, value)

ErpInventoryCounts

Get Method:
getErpInventoryCounts(self)
Set Method:
setErpInventoryCounts(self, value)

ErpPOLineItems

Get Method:
getErpPOLineItems(self)
Set Method:
setErpPOLineItems(self, value)

ErpRecDelvLineItems

Get Method:
getErpRecDelvLineItems(self)
Set Method:
setErpRecDelvLineItems(self, value)

TypeMaterial

Get Method:
getTypeMaterial(self)
Set Method:
setTypeMaterial(self, value)

Usages

Get Method:
getUsages(self)
Set Method:
setUsages(self, value)

WorkCostDetail

Get Method:
getWorkCostDetail(self)
Set Method:
setWorkCostDetail(self, value)

WorkTask

Get Method:
getWorkTask(self)
Set Method:
setWorkTask(self, value)