// Dialog field mandatory in Axapta reports
public Object dialog(Object _dialog)
{
int i;
DialogRunbase dialog = _dialog;
DialogField checkField;
FormDateControl control;
;
dialog.addGroup("@SYS119346");
fieldConversionDate = dialog.addFieldValue(typeid(InventStdCostConvEndDate), conversionDate);
control = fieldConversionDate.fieldControl();
control.mandatory(true);
control.allowEdit(false);
return dialog;
}
public Object dialog(Object _dialog)
{
int i;
DialogRunbase dialog = _dialog;
DialogField checkField;
FormDateControl control;
;
dialog.addGroup("@SYS119346");
fieldConversionDate = dialog.addFieldValue(typeid(InventStdCostConvEndDate), conversionDate);
control = fieldConversionDate.fieldControl();
control.mandatory(true);
control.allowEdit(false);
return dialog;
}
No comments:
Post a Comment