public App_History(App_WorkTicket workTicket, CI_Item item, JT_EquipmentAsset equipmentAsset,
                    JT_ServiceAgreementHeader serviceAgreementHeader, JT_ServiceAgreementDetail serviceAgreementDetail,
                    JT_Transaction transaction, JT_LaborText laborText)
 {
     _workTicket             = workTicket;
     _item                   = item;
     _equipmentAsset         = equipmentAsset;
     _serviceAgreementHeader = serviceAgreementHeader;
     if (serviceAgreementDetail == null)
     {
         _serviceAgreementDetail = new JT_ServiceAgreementDetail();
     }
     else
     {
         _serviceAgreementDetail = serviceAgreementDetail;
     }
     _transaction = transaction;
     if (laborText == null)
     {
         _laborText = new JT_LaborText();
     }
     else
     {
         _laborText = laborText;
     }
 }
 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;
 }
Exemple #3
0
 public App_History(App_WorkTicket workTicket, CI_Item item, JT_EquipmentAsset equipmentAsset,
                    JT_ServiceAgreementHeader serviceAgreementHeader, JT_ServiceAgreementDetail serviceAgreementDetail,
                    JT_Transaction transaction, JT_LaborText laborText)
 {
     _workTicket             = workTicket;
     _item                   = item;
     _equipmentAsset         = equipmentAsset;
     _serviceAgreementHeader = serviceAgreementHeader;
     _serviceAgreementDetail = serviceAgreementDetail;
     _transaction            = transaction;
     _laborText              = laborText;
 }
Exemple #4
0
 public App_ServiceAgreement(JT_ServiceAgreementHeader header, JT_ServiceAgreementDetail detail, JT_ServiceAgreementPMDetail pmDetail)
 {
     _header   = header;
     _detail   = detail;
     _pmDetail = pmDetail;
 }