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/Import/Viewsjs/ImportSync/ImportSyncModel.js

159 lines
6.7 KiB
JavaScript

Ext.define('ImportSyncmb', {
extend: 'Ext.data.Model',
idProperty: 'Local_ContractNo',
fields: [
{ name: 'Local_ContractNo', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'HTHRef', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'BillNo', type: 'string' },
{ name: 'ContainerNo', type: 'string' },
{ name: 'SealNo', type: 'string' },
{ name: 'ShipCompany_id', type: 'string' },
{ name: 'Vessel', type: 'string' },
{ name: 'Voyage', type: 'string' },
{ name: 'Ex_sailingdate', type: 'string' },
{ name: 'Sailingdate', type: 'string' },
{ name: 'ArrivalDate', type: 'string' },
{ name: 'RecDate', type: 'string' },
{ name: 'tax_date', type: 'string' },
{ name: 'tax_paydate', type: 'string' },
{ name: 'Sampling_need', type: 'string' },
{ name: 'SamplingDate_Act', type: 'string' },
{ name: 'CustomsReleaseDate', type: 'string' },
{ name: 'PortDays', type: 'string' },
{ name: 'inspection_date', type: 'string' },
{ name: 'ReceiveDate', type: 'string' },
{ name: 'Received', type: 'string' },
{ name: 'ReceivedRef', type: 'string' }
]
});
Ext.define('Syncmb', {
extend: 'Ext.data.Model',
idProperty: 'FieldName',
fields: [
{ name: 'FieldName', type: 'string' },
{ name: 'Field', type: 'string' },
{ name: 'NewValueRef', type: 'string' },
{ name: 'OldValue', type: 'string' },
{ name: 'NewValue', type: 'string' },
{ name: 'isSame', type: 'string' }
]
});
Ext.define('HTHmb', {
extend: 'Ext.data.Model',
idProperty: 'FieldName',
fields: [
{ name: 'HTH', type: 'string' },
{ name: 'ContractNo', type: 'string' }
]
});
Ext.define('FeeSyncmb', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'FEETYPE', type: 'string' },
{ name: 'FEETYPERef', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'FEENAME', type: 'string' },
{ name: 'UNITPRICE', type: 'string' },
{ name: 'QUANTITY', type: 'string' },
{ name: 'AMOUNT', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'EXCHANGERATE', type: 'string' },
{ name: 'SETTLEDATE', type: 'string' },
{ name: 'SETTLEMENT', type: 'string' },
{ name: 'FEESTATUS', type: 'string' },
{ name: 'FEESTATUS_REF', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('DocPubmb', {
extend: 'Ext.data.Model',
idProperty: 'FieldName',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'RECEIPTTYPE', type: 'string' },
{ name: 'R_GID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'URL', type: 'string' },
{ name: 'Driect_URL', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDUSERRef', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' }
]
});
Ext.define('CargoSyncmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'cargoinfo_id', type: 'string' },
{ name: 'cargociq_id', type: 'string' },
{ name: 'Name', type: 'string' },
{ name: 'Ename', type: 'string' },
{ name: 'UNIT', type: 'string' },
{ name: 'U_PRICE', type: 'string' },
{ name: 'U_weight', type: 'string' },
{ name: 'weight', type: 'string' },
{ name: 'm_weight', type: 'string' },
{ name: 'price', type: 'string' },
{ name: 'price_limit', type: 'string' },
{ name: 'Amount', type: 'string' },
{ name: 'tax_Amount', type: 'string' },
{ name: 'BoxCount', type: 'string' },
{ name: 'BoxWeight', type: 'string' },
{ name: 'Exporter', type: 'string' },
{ name: 'FactoryNo', type: 'string' },
{ name: 'Productiondate', type: 'string' },
{ name: 'currid', type: 'string' },
{ name: 'prepayments', type: 'string' },
{ name: 'balance', type: 'string' },
{ name: 'paypart', type: 'string' },
{ name: 'baolv', type: 'string' },
{ name: 'tariff', type: 'string' },
{ name: 'tax', type: 'string' },
{ name: 'tax_zz', type: 'string' },
{ name: 'tax_1', type: 'string' },
{ name: 'tax_zz_1', type: 'string' },
{ name: 'Declarenumber', type: 'string' },
{ name: 'Exchangerate', type: 'string' },
{ name: 'Exchangerate_Customs', type: 'string' },
{ name: 'PreProportion', type: 'string' },
{ name: 'Amount_Writeoffs', type: 'string' },
{ name: 'sequence', type: 'string' },
{ name: 'SBYS', type: 'string' },
{ name: 'BZTCHNO', type: 'string' },
{ name: 'CargoType', type: 'string' },
{ name: 'KINDPKGS', type: 'string' },
{ name: 'Weight_Act', type: 'string' },
{ name: 'BoxCount_Act', type: 'string' },
{ name: 'ExpirationDate', type: 'string' },
{ name: 'AGENCRATE', type: 'string' },
{ name: 'MOREORLESS', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'SPECIFICATIONS', type: 'string' },
{ name: 'cicodeandname', type: 'string' },
{ name: 'ciqcodeandname', type: 'string' }
]
});
Ext.define('ConutryRef', {
extend: 'Ext.data.Model',
fields: [
{ name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' },
{ name: 'country_idandname', type: 'string' }
]
});