Hi,
I´m trying to get the workorderstatus in activity tab but without making a query to HDR.
Something like this but to activities which not belong to same HDR table:
EAM.Utils.getScreen().getScreenController().getFormPanel().getRecord().data.workordernum;
Doesn´t the fields stay in memory when change from HDR to ACT tab?
Something like this:
Ext.define('EAM.custom.external_wsjobs', {
extend: 'EAM.custom.AbstractExtensibleFramework',
getSelectors: function () {
return {
'[extensibleFramework] [tabName=ACT][isTabView=true]': {
afterrender: function () {
var vFormPanel = this.getFormPanel(),
vWoStatus = vFormPanel.getFldValue('workorderstatus');
alert(vWoStatus);
}
}
}
}
});
Many thanks!