Hi Kranthi , thanks for the reply.
finally I added a field at Dialog . Now i am getting field at dialog level.[:O]
Now I have another challenge[:(] . whenever i will select the dropdown (i.e Marketing type =direct/indirect )
if I Select the direct in the drop down at dialog level then in the report i want add one column with name Marketing type . in the that column should show direct . if select the indirect in the dropdown, then in the report it should show indirect.
please suggest me how to achieve this this requirement .
shall i add a field ( i.e Marketing type )at InventValueReportTmpLine or how to achieve it ? please give me steps
below code i added contract class and ui builder class to get enum type filed at report dialog
[
DataMemberAttribute(‘PwC_MarketingType’),
//SysOperationGroupMemberAttribute(‘IdentificationGroup’),
SysOperationLabelAttribute(literalStr("@SJS69"))
]
public MarketingType parmMarketingType(MarketingType _MarketingType = marketingType)
{
MarketingType = _MarketingType;
return MarketingType;
}
public void build()
{
super();
reportIdField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(InventValueReportContract, parmReportId));
dateCodeField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(InventValueReportContract, parmDateInterval));
fromDateField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(InventValueReportContract, parmFromDate));
toDateField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(InventValueReportContract, parmToDate));
MarketingType=this.bindInfo().getDialogField(this.dataContractObject(),methodStr(InventValueReportContract,parmMarketingType));
}