Roo.log('setdata');
Roo.log(_this.data);
// reversal...
+ _this.toLocation._is_internalcompany = false;
_this.grid.setColumns();
_this.saveBtn.show();
if (_this.data.createFromRev) {
this.findField('_roo_office').setValue( _this.data._roo_office );
Roo.log(action);
_this.data = action.result.data;
+
+ _this.toLocation._is_internalcompany = true;
+ if(!_this.data.cust_to_internalcompany || !_this.data.cust_to_internalcompany.length){
+ _this.toLocation._is_internalcompany = false;
+ }
+
if(_this.data.invhist_transfer_void){
_this.saveBtn.hide();
}