Q:

I need to get number series in suffix character

I need to get number series in suffix in the cell example given below

A1 = Recurring12453-001
A2 = Recurring12453-001

Please help me out from this problem
function ff() {
  var spreadsheet = SpreadsheetApp.getActive();
  spreadsheet.getRange('O2:O4').activate();
  spreadsheet.getRange('O2:O4').autoFill(spreadsheet.getRange('O2:O19'), SpreadsheetApp.AutoFillSeries.DEFAULT_SERIES);
  spreadsheet.getRange('O2:O19').activate();
};

A:

I didn't find any reference to 

SpreadsheetApp.AutoFillSeries

or 

Range.autoFill()

Maybe you could link us a reference ?
Otherwise, here is a (bit ugly) solution which provide you what you looking for :
function ff() {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var sheet = ss.getActiveSheet();
  var value = sheet.getRange('A1').getValue().split("-");
  var prefix = value[0];
  var suffix = parseInt(value[1]);
  var data = [];
  for(var i = 1; i<=21; i++){
    suffix++;
    data.push(["" + prefix + "-" + ('00' + suffix).slice(-3)]);
  }
  sheet.getRange('A2:A22').setValues(data);  
};

