public class CreateSalesCycleCommand extends SQLCommand
  CREATES_SALES_CYCLE [QUOTE quote_key] |
                      [SUBSCRIPTION invoice_key] |
                      [ FIRST_NAME sc_first_name
                        LAST_NAME sc_last_name
                        [EMAIL sc_email]
                        [AREA_CODE sc_area_code]
                        [PHONE sc_phone]
                        [COUNTRY sc_country]                      
                        [SUBURB_CITY sc_suburb_city]
                        [COMPANY sc_company]
                        [POSITION sc_position]
                        [SUMMARY sc_summary]
                        [DESCRIPTION sc_description]
                        [PRODUCT sc_product]
                        [ENQUIRY_SOURCE sc_source]
                      ]
  
  
  Usage/* generates a SalesCycle*/ /* * generates a renewal cycle from an invoice */ CREATES_SALES_CYCLE SUBSCRIPTION invoice_keyTHREAD MODE: SINGLE THREADED command
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
PARAM_KEY  | 
CURSOR_SIZE| Constructor and Description | 
|---|
CreateSalesCycleCommand(Connection connection,
                       Pattern pattern)
Creates a new instance of CreateSalesCycleCommand 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
execute(Parser p)
Execute the JOB command. 
 | 
java.lang.String | 
getColumnName(int col)
The column name 
 | 
java.lang.String | 
getColumnType(int col)
The column type 
 | 
java.lang.String | 
getRecordID(int row)
The record ID for this row 
 | 
java.lang.Object | 
getValue(int row,
        int col)
The value for this row/col 
 | 
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic static final java.lang.String PARAM_KEY
public CreateSalesCycleCommand(Connection connection, Pattern pattern)
protected void execute(Parser p) throws java.lang.Exception
public java.lang.String getColumnName(int col)
col - offset from 1public java.lang.String getColumnType(int col)
                               throws java.lang.Exception
col - offset from 1java.lang.Exception - a serious problempublic java.lang.Object getValue(int row,
                                 int col)
                          throws java.lang.Exception
row - offset from 1col - offset from 1java.lang.Exception - a serious problempublic java.lang.String getRecordID(int row)
row - offset from 1stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.