TP Project XML LN resource elements mapping rules

These table list the mapping rules of the XML task elements for the cost objects and also the related Trade Group and Employee:

XML Task Elements Mapping rule Material Sub.
  (internal) resource type quantity quantity/time
Name   MAT. [PROJ.]SUB.
    tppdm005.item tppdm035.csub
      tppdm635.csub
    Item Sub
Type depends on resource type   0 or 1
CalendarUID   calendar ui calendar ui
    Calendar Calendar
    avail type ui avail type ui
CreationDate   utc.num() utc.num()
MaterialLabel depends on resource type tcibd001.cuni tppdm635.cuni
      tppdm035.cuni
      Unit
      tppdm635.cuti
      tppdm035.cuti
      Time Unit
Code   tppdm005.item tppdm035.csub
      tppdm635.csub
    Item Sub
MaxUnits depends on resource type   0 or 1
IsCostResource     0
StandardRate calculation * tppdm005.cpmc tppdm635.pric
      tppdm035.pric
    Manual Unit Cost Unit Cost
    ticpr007.ecpr tppdm035.pric
    Estimated Standard Cost  
StandardRate Format depends on resource type 8 8 or 2
NT Account      
EmailAddress      
Text1   LN Primary Key LN Primary Key
XML Task Elements Mapping rule Equipment Sundry Labor
  (internal) resource type time quantity time
Name   [PROJ.]EQU [PROJ.]SUN [PROJ.]LAB
    tppdm025 .cequ tppdm040 .cico tppdm015 .task
    tppdm625 .cequ tppdm640 .cico tppdm615 .task
    Equipment Sundry Cost Labor
Type depends on resource type 1 0 1
CalendarUID   tppdm025.ccal calendar ui calendar ui
    tppdm625.ccal    
    Calendar Calendar Calendar
    avail type ui avail type ui avail type ui
CreationDate   utc.num() utc.num() utc.num()
MaterialLabel depends on resource type   tppdm640.cuni  
      tppdm040.cuni  
      Unit  
Code   tppdm025 .cequ tppdm040 .cico tppdm015. task
    tppdm625 .cequ tppdm640 .cico tppdm615 .task
    Equipment Sundry Cost Labor
MaxUnits depends on resource type 1 0 1
IsCostResource   0 0 0
StandardRate calculation * tppdm625 .ratc tppdm640 .pric tppdm615 .ratc
    tppdm025 .ratc tppdm040 .pric tppdm015 .ratc
    Cost Rate Unit Cost Cost Rate
    tppdm025 .cccr tppdm040 .pric tppdm615 .ratc
      Unit Cost Cost Rate
StandardRate Format depends on resource type 8 8 2
NT Account        
EmailAddress        
Text1   LN Primary Key LN Primary Key LN Primary Key
XML Task Elements Mapping rule Trade Group Employee
  (internal) resource type time time
Name   TRG EMP
    tppdm016 .ctrg tccom001 .nama
    Trade Group Name
Type depends on resource type 1 1
CalendarUID   tppdm016 .ccal tppdm016 .ccal
    Calendar Code Calendar Code
    avail type ui avail type ui
CreationDate   utc.num() utc.num()
MaterialLabel depends on resource type    
Code   tppdm016 .ctrg tppdm801 .emno
    Trade Group Employee
MaxUnits depends on resource type 1 1
IsCostResource   0 0
StandardRate calculation * tppdm016 .clrt tccom001 .clrt
    Labor Rate Labor Rate
StandardRate Format depends on resource type 2 2
NT Account     tccom001.loco
      Logon Code
EmailAddress     bpmdm001.mail
      E-Mail
Text1   LN Primary Key LN Primary Key