COC of active method of the form data source
Today we are going to create a COC of the acive method and we have written some code on the form level how we are going to call
[ExtensionOf(FormDataSourceStr(EntAssetWorkOrderTable, IHSAuctionPlan))]
Final class IHSEntAssetWorkOrderTableFrm_IHSAuctionPlanDS_Extension
{
public int active()
{
int ret = next active();
FormRun formRun = this.FormRun();
FormDataSource auctionPlan_DS = formRun.datasource(FormDatasourceStr(EntAssetWorkOrderTable, IHSAuctionPlan));
element.ihsEnableDisableOfferOfferReceived(auctionPlan_DS);
element.ihsEnableDisableOfferAccepted(auctionPlan_DS);
return ret;
}
}
Comments
Post a Comment