How Do I Customize New List Elements?

When you use '+' button on a grid or scroll you get a new, empty list element. If you want to customize the object, define a function in the TabMenu's user exit file named initializeNewElement_​<LIST_​NAME>(newElement).

Example:


function initializeNewElement_ENRL_LOG(newElement) {
    newElement.set('ENRL_LOG_TYPE_FLG', 'USER');
    newElement.set('USER_INFO', parent.model.getValue('CURRENT_USER_INFO'));
}