|
|
|
|
Ext.define('ClientCompanymb', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'CustomerGID' + 'CompanyID' + 'RelationShipName',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'CustomerGID', type: 'string' },
|
|
|
|
|
{ name: 'CompanyID', type: 'string' },
|
|
|
|
|
{ name: 'RelationShipName', type: 'string' },
|
|
|
|
|
{ name: 'FieldName', type: 'string' },
|
|
|
|
|
{ name: 'Value', type: 'string' },
|
|
|
|
|
{ name: 'Value1', type: 'string' },
|
|
|
|
|
{ name: 'Value2', type: 'string' },
|
|
|
|
|
{ name: 'NumValue', type: 'string' },
|
|
|
|
|
{ name: 'INSERTED', type: 'string' },
|
|
|
|
|
{ name: 'CustomerName', type: 'string' },
|
|
|
|
|
{ name: 'CompanyName', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('companymb', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'gid', type: 'string' },
|
|
|
|
|
{ name: 'name', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|