IDEMPIERE-4240
This commit is contained in:
parent
8067cb23ed
commit
e7b227200e
|
@ -82,6 +82,8 @@ public class MDocTypeCounter extends X_C_DocTypeCounter
|
||||||
return Counter_C_DocType_ID;
|
return Counter_C_DocType_ID;
|
||||||
} // getCounterDocType_ID
|
} // getCounterDocType_ID
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get (first) valid Counter document for document type
|
* Get (first) valid Counter document for document type
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
|
@ -97,7 +99,7 @@ public class MDocTypeCounter extends X_C_DocTypeCounter
|
||||||
|
|
||||||
// Direct Relationship
|
// Direct Relationship
|
||||||
MDocTypeCounter temp = null;
|
MDocTypeCounter temp = null;
|
||||||
String sql = "SELECT * FROM C_DocTypeCounter WHERE C_DocType_ID=?";
|
String sql = "SELECT * FROM C_DocTypeCounter WHERE IsActive = 'Y' and C_DocType_ID=?";
|
||||||
PreparedStatement pstmt = null;
|
PreparedStatement pstmt = null;
|
||||||
ResultSet rs = null;
|
ResultSet rs = null;
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue