Step
1: Form ClassDecleration
public class FormRun extends ObjectRun
{
DimensionDefaultingController dimensionDefaultingControllerHeader;
DimensionDefaultingController dimensionDefaultingControllerLine;
DimensionDefaultingController dimensionDefaultingController;
}
Step
2: Form Init()
public void init()
{
super();
DimensionDefaultingController::constructInTabWithValues(true,true,true,0,
this,DimensionsFastTab,"@SYS14926");
dimensionDefaultingController.parmAttributeValueSetDataSource(BiddingMainCostSheetTable_ds,fieldstr(BiddingMainCostSheetTable,
DimensionDefault));
dimensionDefaultingController.pageActivated();
}
Step
3: Data source
public void delete()
{
;
ttsbegin;
element.numberSeqFormHandler().formMethodDataSourceDelete();
super();
dimensionDefaultingController.deleted();
//
ttscommit;
}
Step
4: Data source
public void write()
{
ttsbegin;
dimensionDefaultingController.writing();
super();
element.numberSeqFormHandler().formMethodDataSourceWrite();
ttscommit;
//
}
Step
5: Data source active()
public int active()
{
int ret;
ret = super();
dimensionDefaultingController.activated();//true);
return ret;
}
Step
6: Design Tab-> Tabpage
public void pageActivated()
{
dimensionDefaultingController.pageActivated();
super();
}
No comments:
Post a Comment