public List <RAMStatus> GetRMADecision() { List <RAMStatus> lsReturn = new List <RAMStatus>(); try { RAMStatus ram = new RAMStatus(); ram.ID = 0; ram.Status = "Pending"; RAMStatus ram1 = new RAMStatus(); ram1.ID = 1; ram1.Status = "Deny"; RAMStatus ram3 = new RAMStatus(); ram3.ID = 2; ram3.Status = "Full Refund"; RAMStatus ram4 = new RAMStatus(); ram4.ID = 3; ram4.Status = "Partial-Refund"; lsReturn.Add(ram); lsReturn.Add(ram1); lsReturn.Add(ram3); lsReturn.Add(ram4); } catch (Exception ex) { ex.LogThis("mReturnDetails/GetRMAStatusList"); } return(lsReturn); }
/// <summary> /// Temparary function /// to fill combo box RMA Status and RMA Decision. /// </summary> /// <returns> /// list Status. /// </returns> public List <RAMStatus> GetRMAStatusList() { List <RAMStatus> lsReturn = new List <RAMStatus>(); try { RAMStatus ram = new RAMStatus(); ram.ID = 0; ram.Status = "Incomplete"; RAMStatus ram1 = new RAMStatus(); ram1.ID = 1; ram1.Status = "Complete"; RAMStatus ram3 = new RAMStatus(); ram3.ID = 2; ram3.Status = "Wrong RMA"; RAMStatus ram4 = new RAMStatus(); ram4.ID = 3; ram4.Status = "To Process"; lsReturn.Add(ram); lsReturn.Add(ram1); lsReturn.Add(ram3); lsReturn.Add(ram4); } catch (Exception ex) { ex.LogThis("mReturnDetails/GetRMAStatusList"); } return(lsReturn); }