You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/MvcShipping/Viewsjs/MsCodeVesselSet/MsCodeVesselSetModel.js

65 lines
2.4 KiB
JavaScript

Ext.define('code_vessel', {
extend: 'Ext.data.Model',
fields: [
{ name: 'vsid', type: 'string' },
{ name: 'vessel', type: 'string' },
{ name: 'cname', type: 'string' },
{ name: 'carrier', type: 'string' },
{ name: 'edicode', type: 'string' }
]
});
Ext.define('code_voyno', {
extend: 'Ext.data.Model',
fields: [
{ name: 'VOID', type: 'string' },
{ name: 'VSID', type: 'string' },
{ name: 'VOYNO', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'PORTLOADREF', type: 'string' },
{ name: 'PORTDISCHARGEREF', type: 'string' },
{ name: 'ETD', type: 'string' },
{ name: 'CLOSINGDATE', type: 'string' },
{ name: 'ETA', type: 'string' },
{ name: 'CORPID', type: 'number' },
{ name: 'YARDID', type: 'string' },
{ name: 'ENTREPORT', type: 'string' },
{ name: 'ENTREPORTREF', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'ATD', type: 'string' },
{ name: 'CLOSEDOCDATE', type: 'string' }
]
});
Ext.define('DsShipping.ux.CustomRefModel', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GId', type: 'string' },
{ name: 'CustCode', type: 'string' },
{ name: 'CustName', type: 'string' },
{ name: 'CodeAndName', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'BSSOURCE', type: 'string' },
{ name: 'FEEFRT', type: 'string' },
{ name: 'EMAIL', type: 'string' },
{ name: 'TEL', type: 'string' }
]
});
Ext.define('MsCodeCtnEdi', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'CTN', type: 'string' },
{ name: 'EDICODE', type: 'string' },
{ name: 'EDINAME', type: 'string' },
{ name: 'EDINAMEREF', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'PORTID', type: 'string' }
]
});