public WorkOrderSelect(string woNumber) { _row = WorkorderShared.GetWorkorderInfo(woNumber); if (_row != null) { _woID = Convert.ToInt32(_row["woID"]); } }
private int GetIsInstallto() { int installToID = 0; DataRow row = WorkorderShared.GetWorkorderInfo(_woID); installToID = Convert.ToInt32(row["Company1"]); return(installToID); }
private bool GetChecklistApplicable() { bool b = false; if (_woID > 100) { DataRow row = WorkorderShared.GetWorkorderInfo(_woID); b = Convert.ToBoolean(row["ChecklistApplicable"]); } return(b); }
public bool isDeletable() { bool b = false; DataRow woTitleInfo = WorkorderShared.GetWorkorderInfo(_woID); if (woTitleInfo != null) { int woStatus = Convert.ToInt32(woTitleInfo["woStatus"]); if (woStatus == (int)NJobStatus.woNew | woStatus == (int)NJobStatus.woInvalid | woStatus == (int)NJobStatus.woObsolete) { b = true; } } return(b); }
public WorkOrderSelect(int woID) { _woID = woID; _row = WorkorderShared.GetWorkorderInfo(_woID); }
public WorkorderValidationItem(int woID, int itemValidationNo) { _row = WorkorderShared.GetWorkorderInfo(woID); _woID = woID; _itemValidationNo = itemValidationNo; }
public WorkorderValidationItem(int woID) { _row = WorkorderShared.GetWorkorderInfo(woID); _woID = woID; }