Exemplo n.º 1
0
 public App_History(App_WorkTicket workTicket, CI_Item item, JT_EquipmentAsset equipmentAsset,
                    JT_ServiceAgreementHeader serviceAgreementHeader, JT_ServiceAgreementDetail serviceAgreementDetail,
                    JT_TransactionHistory transactionHistory, JT_LaborText laborText)
 {
     _workTicket             = workTicket;
     _item                   = item;
     _equipmentAsset         = equipmentAsset;
     _serviceAgreementHeader = serviceAgreementHeader;
     _serviceAgreementDetail = serviceAgreementDetail;
     _transaction            = new JT_Transaction()
     {
         Comment         = transactionHistory.Comment,
         HoursWorked     = transactionHistory.HoursWorked,
         ItemCode        = transactionHistory.ItemCode,
         ItemCodeDesc    = transactionHistory.ItemCodeDesc,
         QuantityUsed    = transactionHistory.QuantityUsed,
         RecordType      = transactionHistory.RecordType,
         SalesOrderNo    = transactionHistory.SalesOrderNo,
         TransactionDate = transactionHistory.TransactionDate,
         WTNumber        = transactionHistory.WTNumber,
         WTStep          = transactionHistory.WTStep
     };
     _transactionHistory = transactionHistory;
     _laborText          = laborText;
 }
Exemplo n.º 2
0
 public App_History(App_WorkTicket workTicket, CI_Item item, JT_EquipmentAsset equipmentAsset,
                    JT_ServiceAgreementHeader serviceAgreementHeader, JT_ServiceAgreementDetail serviceAgreementDetail,
                    JT_TransactionHistory transactionHistory, JT_LaborText laborText)
 {
     _workTicket             = workTicket;
     _item                   = item;
     _equipmentAsset         = equipmentAsset;
     _serviceAgreementHeader = serviceAgreementHeader;
     _serviceAgreementDetail = serviceAgreementDetail;
     _transactionHistory     = transactionHistory;
     _laborText              = laborText;
 }