public void close()
{
;
if (numberSeqFormHandler)
{
numberSeqFormHandler.formMethodClose();
}
super();
}
NumberSeqFormHandler numberSeqFormHandler()
{;
// Activate number sequence handler for the form
if (!numberSeqFormHandler)
{
numberSeqFormHandler = NumberSeqFormHandler::newForm(PMSParameters::numRefPMSObservationId().NumberSequence,
element,
PMSObservationsTable_ds,
fieldnum(PMSObservationsTable,ObservationId));
}
return numberSeqFormHandler;
}
public void linkActive()
{
element.numberSeqFormHandler().formMethodDataSourceLinkActive();
super();
}
public void create(boolean _append = false)
{
;
if (PMSObservationsTable::checkNumberSeq())
{
element.numberSeqFormHandler().formMethodDataSourceCreatePre();
super(_append);
element.numberSeqFormHandler().formMethodDataSourceCreate();
//element.setButtonAccessLine();
}
}
public void delete()
{;
element.numberSeqFormHandler().formMethodDataSourceDelete();
super();
}
public boolean validateWrite()
{
boolean ret;
;
ret = super();
ret = element.numberSeqFormHandler().formMethodDataSourceValidateWrite(ret) && ret;
return ret;
}
public void write()
{
super();
element.numberSeqFormHandler().formMethodDataSourceWrite();
}
{
;
if (numberSeqFormHandler)
{
numberSeqFormHandler.formMethodClose();
}
super();
}
NumberSeqFormHandler numberSeqFormHandler()
{;
// Activate number sequence handler for the form
if (!numberSeqFormHandler)
{
numberSeqFormHandler = NumberSeqFormHandler::newForm(PMSParameters::numRefPMSObservationId().NumberSequence,
element,
PMSObservationsTable_ds,
fieldnum(PMSObservationsTable,ObservationId));
}
return numberSeqFormHandler;
}
public void linkActive()
{
element.numberSeqFormHandler().formMethodDataSourceLinkActive();
super();
}
public void create(boolean _append = false)
{
;
if (PMSObservationsTable::checkNumberSeq())
{
element.numberSeqFormHandler().formMethodDataSourceCreatePre();
super(_append);
element.numberSeqFormHandler().formMethodDataSourceCreate();
//element.setButtonAccessLine();
}
}
public void delete()
{;
element.numberSeqFormHandler().formMethodDataSourceDelete();
super();
}
public boolean validateWrite()
{
boolean ret;
;
ret = super();
ret = element.numberSeqFormHandler().formMethodDataSourceValidateWrite(ret) && ret;
return ret;
}
public void write()
{
super();
element.numberSeqFormHandler().formMethodDataSourceWrite();
}
No comments:
Post a Comment