public App_WorkTicket(JT_WorkTicket workTicket, JT_WorkTicket workTicketStepZero, JT_WorkTicketClass workTicketClass, App_RepairItem repairItem, App_ServiceAgreement serviceAgreement, JT_ClassificationCode problemCode, JT_ClassificationCode coverageExceptionCode) { _workTicket = workTicket; _workTicketStepZero = workTicketStepZero; _workTicketClass = workTicketClass; _repairItem = repairItem; _serviceAgreement = serviceAgreement; _problemCode = problemCode; _coverageExceptionCode = coverageExceptionCode; // puke... need service agreement (hdr, dtl, pmdtl) // puke... need sales order header for address info _hdrServiceContractCode = workTicket.HdrServiceContractCode; _statusCode = workTicket.StatusCode; _statusDescription = "PUKE"; // comes from JT_Status.Description -- need to add _dtlWarrantyRepair = workTicket.DtlWarrantyRepair; _dtlCoveredOnContract = workTicket.DtlCoveredOnContract; _activityCode = workTicket.ActivityCode; _dtlMfgSerialNo = workTicket.DtlMfgSerialNo; }
public App_WorkTicket(JT_WorkTicket workTicket, JT_WorkTicket workTicketStepZero, JT_WorkTicketClass workTicketClass, App_RepairItem repairItem, App_ServiceAgreement serviceAgreement, JT_ClassificationCode problemCode, JT_ClassificationCode coverageExceptionCode) { _workTicket = workTicket; _workTicketStepZero = workTicketStepZero; _workTicketClass = workTicketClass; _repairItem = repairItem; _serviceAgreement = serviceAgreement; _problemCode = problemCode; _coverageExceptionCode = coverageExceptionCode; _hdrServiceContractCode = workTicket.HdrServiceContractCode; _statusCode = workTicket.StatusCode; _statusDescription = ""; // comes from JT_Status.Description -- need to add TODO _dtlWarrantyRepair = workTicket.DtlWarrantyRepair; _dtlCoveredOnContract = workTicket.DtlCoveredOnContract; _activityCode = workTicket.ActivityCode; _dtlMfgSerialNo = workTicket.DtlMfgSerialNo; _statusDate = workTicket.StatusDate; // dch rkl 12/01/2016 Add Status Date }