What I am trying here is to replicate copy function that run from the click on copy. is that possible ?
What I am trying here is to replicate copy function that run from the click on copy. is that possible ?
// var self = this, prefill = app.data.createBean(this.model.module); prefill.copy(this.model); app.drawer.open({ layout: 'create', context : { module: '', lockedFieldsWarning: false , action: 'edit', model: prefill } });
Rodrigo Manara
Sr. Developer