Talk:TDM Set Generation 5.5.2

From ICISWiki

Jump to: navigation, search

Contents

Developer's Manual

Configuration (INI) keys

as of v5.5.2.18

[SETGEN]
#**********************************************************************
#CROP - indicates crop (BW- bread Wheat)
#STANDARDIZE - Flag whether to apply ICIS naming conventions or not
#DEFCTYID-The Location ID of a country whose locations are initially displayed in the Select a Location window
#DEFLOCID-The Location ID of a country whose locations
#DEF_DATE - Default Date Format used in  generating GIDs in batch Mode
#PNAME_IF_UNKNOWN_GRP -Flag to display '?/?'  [preferred Name] or just '?/?'
#NO_LISTNAME - If set to YES,the default seed source value is displayed as ‘entry code’; otherwise seed 
#                                  source is displayed as ‘list name-entry code’.  The default value appears only
#                                 when an entry is selected from the Browse window.
#GENERATIVEMETHOD -The generative Method ID of a default method to appear in the Generate Crosses window.
#DERIVATIVEMETHOD -The derivative Method ID of a default method to appear in the Advance a Line One Generation window.
#CHECKDERIVATIVE-If this is less than 10, a derivative name is verified for its existence in the GMS.  
#   If a name exists, a query appears with several options for the user.  
#   Otherwise, if CHECKDERIVATIVE>=10, no checking is done; a derivative is automatically added to the local GMS, 
#                         whether or not the name already exists. 
#SOUNDEX- NameType where Soundex algorithm will be used.
#AUTOCOMMIT- Flag whether any change in DB will automatically be saved
#MULT_ENTRYCD - Used in Line One Generation window. If YES each derivative has an entry code value as ‘entry code-plant no.’;
#                                   otherwise, each derivative has the same entry code value.
#MULT_SOURCE - Used in Line One Generation window. If YES each derivative has a source code value as source code-plant no.’;
#                                   otherwise, each derivative has the same source code value.
#METHODGRP-The group of methods retrieved from the GMS METHODS table and displayed to the user to select from
#MULT_SAMENTYPE- Flag whether to allow Multiple name types
#MULT_SAMEATYPE- Flag whether to allow Multiple Attribute types
#AUTO_GENLSTNAMESCALEID-SCALEID of the  SQL to use in generating ListName
#AUTO_GENFUNCCODE- Code key for function to call when automatically generating ListName
#ENABLE_INV-Flag whether to enable IMS or not 
#AUTOFILLVCOL - If set to YES, the virtual columns are retrieved upon opening of lists in Browse or Edit
#CHECK_NTYPE - represents the NameType.  This ensures that every GID has this certain NameType upon closing/saving of list.
#UPD_GRP - values either yes or no; if yes, automatically update group if added from Browse window
#TEXTLINE - values either yes or no; if yes, this supports Textlines
#DEL_GERM_WITH_DESCENDANTS - values either yes or no; if yes, if a germplasm is deleted, its descendants are deleted as well
#DEF_C_NDX - represents the country id from Country.NDX file
#DEF_L_NDX - represents the location id (for the selected country) from DefLoc.NDX file
#NRECENTLOC - represents the number of recent locations selected
#RECENT_LOC1 - value is a key-value pair from DefLoc.NDX file;represents the most recent location selected
#RECENT_LOC2 - value is a key-value pair from DefLoc.NDX file;represents the 2nd most recent location selected
#RECENT_LOC3 - value is a key-value pair from DefLoc.NDX file;represents the 3rd most recent location selected
#RECENT_LOC4 - value is a key-value pair from DefLoc.NDX file;represents the 4th most recent location selected
#LIST_PANEL_WIDTH - determines the width of the tree or list panel of SetGen's Mainform
#MTA_PATH - represents a url or directory path for MTA feature
#MTA_FILE_EXT - represents the extension of MTA file (e.g. .doc or .pdf)
#CHECKSAME_NVALUES - values either yes or no; a key that checks if there are other germplasms with the same name.
#SEPARATOR - a string value used in Matrix Form for separating Female-Male info combination in naming Enry Code and Source
#MAINTENANCEMETHOD=The default maintenance method ID to use in Generate GIDs in Batch Form
#CHECK_ATYPE=represents the Attribute type. This ensures that every GID has this certain AttributeType(s) upon 
#           closing/saving of list. If multiple Attributes has to be checked, it is separated by a comma
#FILE_EXPORT_PATH=Default file location for export files
#OWNER_ACCESS=If set to NO, all users can have access to the lists even if he/she is not the owner.  Default is YES.
#DEFAULT_FOLDER_TO_OPEN=The default folder (specified by ID) is opened everytime SetGen is started. 
#DER_SEPARATOR=Specifies the character to use for generating derivative germplasms.  Default is dash ( - ) character.
#MGT_SEPARATOR=Specifies the character to use for generating management germplasms.  Default is colon ( : ) character.
#UNDERSCORE_IN_NAMES=Allows the germplasm name to have underscore character.  E.g IR 64_AABB
#FINAL_LABEL=The value here is used to replace the FINAL label status of lists.  E.g. Public
#CHECK_NSTAT=Checks the existence of one or more NSTAT (similar to the NYTPE where it is checked when list is saved or  closed).
#Automatic generation of the next sequence of a name type.  The Prefix and the name type is declared in the INI file as follows:
#NEXT_SEQUENCE_NAMETYPE=The value is the nametype id found in UDFLDS table
#NEXT_SEQUENCE_PREFIX=Prefix of the nametype
#FILL_WITH_CUSTOMIZED_DATA=Represents the INI file to use when a user has SQL statements to run in DMS table.
#MAN=Added checks bet. proper method-name type combination.
#        Values (comma separated) specify the name types allowed for Maintenance method
#GEN=Added checks bet. proper method-name type combination.  
#        Values (comma separated) specify the name types allowed for Generative method
#DER=Added checks bet. proper method-name type combination.
#        Values (comma separated) specify the name types allowed for Derivative method
#RBULK_B_SUFFIX=YES/NO...B- form: Enable/disable use of "-B" in naming convention.
#FILE_EXPORT_XLS='C:\WINDOWS\EXCEL.exe' (location of excel application) Export As - Auto Open File 
#AUTO_SELECT_ONE_HIT=YES/NO...B+ form:'Automatically Select Hits with One Find' YES or NO
#FILE_IMPORT_PATH=Default folder xls file for IMPORT LIST function. 
#DEF_ADD_GEN_METHOD=Default generative method to use (instead of hardcoding to method 1)
#DEF_ADD_DER_METHOD=Default derivative method to use (instead of hardcoding to method 31)
#DER_ADD_MAN_METHOD=Default maintenance method to use (instead of hardcoding to method 62)
#
#**********************************************************************
CROP=RICE
STANDARDIZE=NO
DEFCTYID=171
DEFLOCID=-1341
DEF_DATE=2008-07-16
PNAME_IF_UNKNOWN_GRP=YES
NO_LISTNAME=YES
GENERATIVEMETHOD=101
DERIVATIVEMETHOD=205
CHECKDERIVATIVE=1
AUTOCOMMIT=NO
MULT_ENTRYCD=YES
MULT_SOURCE=YES
METHODGRP=S G
MULT_SAMENTYPE=YES
MULT_SAMEATYPE=YES
AUTO_GENLSTNAMESCALEID=0
AUTO_GENFUNCCODE=GRC
ENABLE_INV=NO
AUTOFILLVCOL=YES
UPD_GRP=YES
TEXTLINE=YES
CHECK_NTYPE=7, 10
DEL_GERM_WITH_DESCENDANTS=YES
DEF_SKIN=0
#MTA_PATH=C:\WORKSPACE\SMTAWeb\smta_files
#MTA_FILE_EXT=.pdf
TEXT_SUFFIX=-CANDY
CHECKSAME_NVALUES=YES
LIST_PANEL_WIDTH=220
DEF_C_NDX=186
DEF_L_NDX=720
NEXT_SEQUENCE_NAMETYPE=1
NEXT_SEQUENCE_PREFIX=PI
CHECK_ATYPE=103,104
FILE_EXPORT_PATH=C:\ICIS5\exportfiles
SEPARATOR=-
DEFAULT_FOLDER_TO_OPEN=-23
CHECK_NSTAT=8,1
MTA_PATH=C:\WORKSPACE\SMTAWeb\smta_files
MTA_FILE_EXT=.pdf
FILL_WITH_CUSTOMIZED_DATA=C:\ICIS5\customizedData.ini
UNDERSCORE_IN_NAMES=YES
FINAL_LABEL=Public
MAINTENANCEMETHOD=62
CHECK_ATYPE= 124,118,108
OWNER_ACCESS=NO
DER_SEPARATOR=-
MGT_SEPARATOR=:
UNDERSCORE_IN_NAMES=YES
CHECK_NSTAT=8
NEXT_SEQUENCE_NAMETYPE=1
NEXT_SEQUENCE_PREFIX=PI
MAN= 1,4,6,7,9,10,11,12,13,14,15,16,20,21,22,23,1019
GEN= 2,3,1027
DER= 4,5,6,7,12,13,15,16,17,18,19,20,1027
RBULK_B_SUFFIX=YES
FILE_EXPORT_XLS='C:\WINDOWS\EXCEL.exe'
AUTO_SELECT_ONE_HIT=YES
FILE_IMPORT_PATH=C:\ICIS5\EXES\IMPORTFILES
DEF_ADD_GEN_METHOD=1
DEF_ADD_DER_METHOD=31
DER_ADD_MAN_METHOD=62

Delphi project (source code)

Project options

Project name: SetGen.dpr

Cropforge repository: icisdelphi (module name: Setgen)



Image:Setgen proj-options.jpg

These are 4 essential project options out of the 9 project options:

Forms

Defines which forms are part of the project.


Image:Setgen proj-options-forms.jpg

Application

Where application name and icon are defined.

Image:Setgen proj-options-application.jpg


Directories/Conditionals

Define links to associated files, required libraries

Image:Setgen proj-options-directoriesconditionals.jpg

Output directory          : File path/folder to contain executables (.EXE files) after successful compile
Unit output directory   : File path/folder to contain the .DCU files (e.g. create a new folder called "temp")
Search path                : Define links to associated files, required Delphi libraries/modules.
                               CVS-Checkout the "DelphiLib", "IMS" and "GMSSrch" modules from the icisdelphi repository on Cropforge.

Version Info

Image:Setgen proj-options-versioninfo.jpg

Project units

About.pas

AddAttribut.pas

AddBatch.pas

AddCheckList.pas

AddEntry.pas

AddGMS.pas

AddGMS inherits from its parent unit, EditGMS.

AddTextEntry.pas

AddtListInfo.pas

AdvanceDMS.pas

allLists.pas

Barcode.pas

BibRef.pas

BxBatchTool.pas

chckNtype.pas

confirmEntry.pas

DeriveFrm.pas

EditGMS.pas

EditGMSAddAttribut.pas

EditGMSListPopUp.pas

EntryPopUpUnit.pas

FindUnit.pas

GenerateFrm.pas

GermListChar.pas

GIDBatch.pas

GIDBatchConfirm.pas

GMSDelete.pas

GMSDeleteList.pas

GMSImport.pas

Import from Excel form. GMSImportBasic.pas inherits from GMSImport.pas

GMSImportBasic.pas

ListFn.pas

MainUnit.pas

SetGen's main form/ user interface.

MatrixMate.pas

NameConvention.pas

NameInfo.pas

NameTypes.pas

otherNames.pas

ReplaceGerm.pas

RetrieveDMS.pas

RetrieveType.pas

SELBatch.pas

SELBatchWin.pas

SetEPIT.pas

SetGenGMSSearch.pas

Known as the GMSSearch embedded in SetGen (i.e. invoked when the "+" button is clicked).

IMPORTANT: SetGenGMSSearch inherits from GMSSearchSuperClass.pas (icisdelphi GMSSrch module).

SetGenProg.pas

UserID.pas

Personal tools