continues … 2 nd form name MAINTANENCE add following code in this methods
public class FormRun extends ObjectRun
{
NumberSeqFormHandler numberSeqFormHandler;
}
NumberSeqFormHandler numberSeqFormHandler()
{
if (!numberSeqFormHandler)
{
numberSeqFormHandler = NumberSeqFormHandler::newForm(MaintanenceTable::numRefMaintanenceId().NumberSequence, element, MaintanenceTable.dataSource(),fieldnum(MaintanenceTable,MaintanenceId));
}
return numberSeqFormHandler;
}
public void create(boolean _append = false)
{
element.numberSeqFormHandler().formMethodDataSourceCreatePre();
super(_append);
element.numberSeqFormHandler().formMethodDataSourceCreate();
}
public void delete()
{
element.numberSeqFormHandler().formMethodDataSourceDelete();
super();
}
public void write()
{
super();
element.numberSeqFormHandler().formMethodDataSourceWrite();
}
after completing this two forms … adding it into menu item for display in content pane for module name ------ maintanence ----> sub menu name ------ setup—> menu item name ------- parameters …
this all steps want to create newly for create a new module with number sequence … and in class want to create new class for newly create module (MAINTANENCE )
class NumberSeqReference_Maintanence extends NumberSeqReference
{
}
protected void loadModule()
{
NumberSequenceReference numRef;
;
/* Setup Customer numbers */
numRef.dataTypeId = typeId2ExtendedTypeId(typeid(MaintanenceId));
// numRef.configurationKeyId = configurationKeyNum(MaintanenceBasic);
numRef.referenceHelp = literalStr("@SAI394");
numRef.wizardContinuous = true;
numRef.wizardManual = NoYes::No;
numRef.wizardAllowChangeDown = NoYes::No;
numRef.wizardAllowChangeUp = NoYes::No;
numRef.wizardHighest = 999999;
numRef.sortField = 1;
this.create(numRef);
numRef.dataTypeId = typeId2ExtendedTypeId(typeid(MaintanenceId));
numRef.referenceHelp = “Unique key for the Complaint Report”;
numRef.wizardContinuous = true;
numRef.wizardManual = NoYes::No;
numRef.wizardAllowChangeDown = NoYes::No;
numRef.wizardAllowChangeUp = NoYes::No;
numRef.wizardHighest = 999999;
this.create(numRef);
}
public static client server NumberSeqModule numberSeqModule()
{
return NumberSeqModule::Main;
}
after this want to add two important steps in class ------> number seq reference ------------> construct & loadmodulelist . i mention in below picture
thats it … a new module and number seq creating successfully … thanks for MARTIN & ANDRE for your information was helpful to resolve my problems and complete for creating a new module