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_RepairPart(JT_ServiceEquipmentParts part, App_RepairItem TODO)
        {
            // stub to stop errors

            _ciOptions           = App.Database.GetCIOptions();
            quantityFormatString = String.Concat("{0:F", _ciOptions.NumberOfDecimalPlacesInQty, "}");
            umFormatString       = string.Concat("{0:F", _ciOptions.NumberOfDecimalPlacesInUM, "}");
            costFormatString     = string.Concat("{0:F", _ciOptions.NumberOfDecimalPlacesInCost, "}");
            priceFormatString    = string.Concat("{0:F", _ciOptions.NumberOfDecimalPlacesInPrice, "}");
        }
        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
        }
 public App_RepairPart(JT_ServiceEquipmentParts part, App_RepairItem puke)
 {
     // puke...stub to stop errors
 }