BF [ 2807614 ] - InfoResource displays inactive resources
This BF prevents inactive records from being displayed in the resource selection combo https://sourceforge.net/tracker/?func=detail&aid=2807614&group_id=176962&atid=879332
This commit is contained in:
parent
6f76307c6c
commit
c123e1fbbd
|
@ -275,7 +275,7 @@ public class InfoSchedule extends CDialog
|
|||
// Load Resources
|
||||
m_loading = true;
|
||||
fieldResource.removeAllItems();
|
||||
String sql = "SELECT S_Resource_ID, Name FROM S_Resource WHERE S_ResourceType_ID=? ORDER BY 2";
|
||||
String sql = "SELECT S_Resource_ID, Name FROM S_Resource WHERE IsActive='Y' AND S_ResourceType_ID=? ORDER BY 2";
|
||||
PreparedStatement pstmt = null;
|
||||
ResultSet rs = null;
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue