Answer:
Create a User Event Script that has this before load event:
function createNewCaseButton(type, form){
form.addButton('custpage_close_button', 'Create New Case', 'javascript:document.location=\'/app/crm/support/supportcase.nl?pi=' + nlapiGetRecordId() + '&pr=-30&default=' + nlapiGetFieldValue('entity')+ '\'');
}
No comments:
Post a Comment