public CFAccFeeBuff firstFeeCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = 1;
   CFAccFeeBuff rec = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextFeeCursor(Cursor);
   }
   return (rec);
 }
 public CFAccFeeDetailBuff firstFeeDetailCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = 1;
   CFAccFeeDetailBuff buff = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextFeeDetailCursor(Cursor);
   }
   return (buff);
 }
 public CFAccFeeBuff nthFeeCursor(CFSecurityCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFAccFeeBuff rec = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextFeeCursor(Cursor);
   }
   return (rec);
 }
 public CFAccFeeBuff prevFeeCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFAccFeeBuff rec = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextFeeCursor(Cursor);
   }
   return (rec);
 }
 public CFAccFeeDetailBuff prevFeeDetailCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFAccFeeDetailBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextFeeDetailCursor(Cursor);
   }
   return (buff);
 }
 public CFAccFeeDetailBuff nthFeeDetailCursor(CFSecurityCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFAccFeeDetailBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextFeeDetailCursor(Cursor);
   }
   return (buff);
 }