Button: Codeunit execution
[DESCRIPTION]Execute proprietary code
Properties
- Type: Action button
- Groupable:
[YES/NO]No - Show in lists:
[YES/NO]No - Searchable:
[YES/NO]No
User interface
Field in show mode
FieldDue into editits mode
[INSERTthis IMAGE]field has no special editing mode.
Configuration
[EventuelDescription beskrivelse afof configs]
Ajax subforms
The following code changes subform behavior to call the codeunit silently and reload the page when done
$(function() {
$('#VB_DATA_SUBFORM a.codeunitButton').click( function(e) {
e.preventDefault();
$.get( $(this).attr("href") );
//$(this).parent().parent().hide();
location.reload();
return false;
});
});
Developer info
- FeltTypeID: 750
- SQL datatype: N/A
- Class name: FieldCodeunitPage

