Exemple #1
0
 public App_WorkTicketText(JT_WorkTicketText workTicketText)
 {
     _isModified       = workTicketText.IsModified;
     _salesOrderNo     = workTicketText.SalesOrderNo;
     _workTicketNumber = workTicketText.WTNumber;
     _workTicketStep   = workTicketText.WTStep;
     _sequenceNo       = workTicketText.SequenceNo;
     _text             = workTicketText.Text;
     _id = workTicketText.ID;
 }
        public App_CurrentWorkTicket()
        {
            // empty
            _workTicket       = App.Database.RetrieveCurrentWorkTicket();
            _workTicketText   = App.Database.RetrieveTextFromCurrentWorkTicket();
            _salesOrderHeader = App.Database.RetrieveSalesOrderHeaderFromCurrentWorkTicket();
            _customer         = App.Database.RetrieveCustomerFromCurrentWorkTicket();
            _repairItem       = App.Database.RetrieveRepairItemFromCurrentWorkTicket();
            //_partsList = App.Database.RetrievePartsListFromCurrentWorkTicket();

            //_timeEntry = App.Database.
        }